git: b1552ac06939 - main - devel/ptmalloc2: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sat, 02 Dec 2023 12:22:20 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b1552ac06939c6954bea85149f087f02f105ee04

commit b1552ac06939c6954bea85149f087f02f105ee04
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2023-12-02 12:22:07 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2023-12-02 12:22:07 +0000

    devel/ptmalloc2: Remove expired port
    
    2023-11-30 devel/ptmalloc2: Abandonware, last release in 2006 and there are other alternative malloc implementations available
---
 MOVED                                |  1 +
 devel/Makefile                       |  1 -
 devel/ptmalloc2/Makefile             | 34 -----------------------
 devel/ptmalloc2/distinfo             |  2 --
 devel/ptmalloc2/files/patch-Makefile | 52 ------------------------------------
 devel/ptmalloc2/pkg-descr            | 26 ------------------
 devel/ptmalloc2/pkg-plist            |  4 ---
 7 files changed, 1 insertion(+), 119 deletions(-)

diff --git a/MOVED b/MOVED
index c935fc6871d2..b34318472735 100644
--- a/MOVED
+++ b/MOVED
@@ -8121,3 +8121,4 @@ java/wildfly90||2023-12-02|Has expired: End of life upstream
 java/wildfly17||2023-12-02|Has expired: End of life upstream
 java/wildfly15||2023-12-02|Has expired: End of life upstream
 astro/ptiger||2023-12-02|Has expired: Depends on expired astro/tkgeomap
+devel/ptmalloc2||2023-12-02|Has expired: Abandonware, last release in 2006 and there are other alternative malloc implementations available
diff --git a/devel/Makefile b/devel/Makefile
index d77d03137b7c..f3c6a4bc30de 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4146,7 +4146,6 @@
     SUBDIR += ptl
     SUBDIR += ptlib
     SUBDIR += ptmalloc
-    SUBDIR += ptmalloc2
     SUBDIR += ptypes
     SUBDIR += publib
     SUBDIR += purescript-language-server
diff --git a/devel/ptmalloc2/Makefile b/devel/ptmalloc2/Makefile
deleted file mode 100644
index c7a2f009e6f3..000000000000
--- a/devel/ptmalloc2/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-PORTNAME=	ptmalloc2
-PORTVERSION=	20060605
-PORTREVISION=	3
-CATEGORIES=	devel
-MASTER_SITES=	http://www.malloc.de/malloc/
-DISTNAME=	${PORTNAME}-current
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Alternative threads-aware malloc
-WWW=		http://www.malloc.de/en/
-
-LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/COPYRIGHT
-
-DEPRECATED=	Abandonware, last release in 2006 and there are other alternative malloc implementations available
-EXPIRATION_DATE=2023-11-30
-
-BROKEN_aarch64=	Fails to link: missing sbrk
-BROKEN_riscv64=	Fails to link: missing sbrk
-
-USES=		gmake
-WRKSRC=		${WRKDIR}/${PORTNAME}
-USE_LDCONFIG=	yes
-ALL_TARGET=	posix
-TEST_TARGET=	check
-
-do-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
-	${INSTALL_DATA} ${WRKSRC}/malloc.h ${STAGEDIR}${PREFIX}/include/${PORTNAME}/
-	${INSTALL_DATA} ${WRKSRC}/libmalloc.a ${STAGEDIR}${PREFIX}/lib/libptmalloc2.a
-	${INSTALL_LIB} ${WRKSRC}/malloc.so ${STAGEDIR}${PREFIX}/lib/libptmalloc2.so.0
-	${LN} -s libptmalloc2.so.0 ${STAGEDIR}${PREFIX}/lib/libptmalloc2.so
-
-.include <bsd.port.mk>
diff --git a/devel/ptmalloc2/distinfo b/devel/ptmalloc2/distinfo
deleted file mode 100644
index 1d5460d1350c..000000000000
--- a/devel/ptmalloc2/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (ptmalloc2-current.tar.gz) = 46a5691b19557fde3c3b97c3d86649a40cf5a2a1f4129c37b360907dd1fbdd5a
-SIZE (ptmalloc2-current.tar.gz) = 78594
diff --git a/devel/ptmalloc2/files/patch-Makefile b/devel/ptmalloc2/files/patch-Makefile
deleted file mode 100644
index 9b1015c3ef4e..000000000000
--- a/devel/ptmalloc2/files/patch-Makefile
+++ /dev/null
@@ -1,52 +0,0 @@
---- Makefile.orig	2006-06-05 06:13:57.000000000 -0500
-+++ Makefile	2008-06-17 20:56:10.000000000 -0500
-@@ -15,12 +15,12 @@
- TAR_FLAGS = --numeric-owner --exclude "*~" --exclude "debian/tmp*"
- 
- #CC = /pkg/gcc-2.95.2-wg/bin/gcc
--CC = cc
-+CC ?= cc
- 
- SYS_FLAGS  =
--OPT_FLAGS  = -g -O # -O2
-+OPT_FLAGS  = -O2 # -O2
- WARN_FLAGS = #-Wall -Wstrict-prototypes
--SH_FLAGS   = -shared -fpic
-+SH_FLAGS   = -shared -fPIC
- 
- INC_FLAGS  = -Isysdeps/generic
- 
-@@ -35,6 +35,9 @@
- THR_FLAGS = -DUSE_TSD_DATA_HACK -D_REENTRANT
- THR_LIBS  = -lpthread
- 
-+# Target libraries
-+LIBS=	libmalloc.a malloc.so
-+
- RM        = rm -f
- AR        = ar
- RANLIB    = ranlib
-@@ -46,12 +49,12 @@
- TESTS = t-test1$(T_SUF) t-test2$(T_SUF) \
-         tst-mallocstate$(T_SUF) tst-mstats$(T_SUF)
- 
--CFLAGS = $(SYS_FLAGS) $(OPT_FLAGS) $(WARN_FLAGS) $(THR_FLAGS) $(INC_FLAGS)
-+CFLAGS += $(SYS_FLAGS) $(OPT_FLAGS) $(WARN_FLAGS) $(THR_FLAGS) $(INC_FLAGS)
- 
- .c.o:
- 	$(CC) -c $(CFLAGS) $<
- 
--all: $(LIB_MALLOC) $(TESTS)
-+all: $(LIBS) $(TESTS)
- 
- malloc.o: malloc.c malloc.h
- 	$(CC) -c $(CFLAGS) $(M_FLAGS) $<
-@@ -102,7 +105,7 @@
- posix:
- 	$(MAKE) THR_FLAGS='-DUSE_TSD_DATA_HACK -D_REENTRANT' \
-  OPT_FLAGS='$(OPT_FLAGS)' SYS_FLAGS='$(SYS_FLAGS)' CC='$(CC)' \
-- INC_FLAGS='-Isysdeps/pthread -Isysdeps/generic -I.'
-+ INC_FLAGS='-Isysdeps/pthread -Isysdeps/generic -I.'	\
-  THR_LIBS=-lpthread
- 
- # posix threads with explicit initialization.  Known to be needed on HPUX.
diff --git a/devel/ptmalloc2/pkg-descr b/devel/ptmalloc2/pkg-descr
deleted file mode 100644
index 284a4a846747..000000000000
--- a/devel/ptmalloc2/pkg-descr
+++ /dev/null
@@ -1,26 +0,0 @@
-ptmalloc is the original version of the malloc that was later included
-in GNU libc.  This version is also but *not* exclusively LGPL:
-
-  Copyright (c) 2001-2006 Wolfram Gloger
-
-  Permission to use, copy, modify, distribute, and sell this software
-  and its documentation for any purpose is hereby granted without fee,
-  provided that (i) the above copyright notices and this permission
-  notice appear in all copies of the software and related
-  documentation, and (ii) the name of Wolfram Gloger may not be used
-  in any advertising or publicity relating to the software.
-
-  THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
-  EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
-  WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
-
-  IN NO EVENT SHALL WOLFRAM GLOGER BE LIABLE FOR ANY SPECIAL,
-  INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY
-  DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-  WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY
-  THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-  PERFORMANCE OF THIS SOFTWARE.
-
-This package comes with no documentation beyond a README, which isn't
-worth installing.  It appears that the GNU libc man page malloc(3)
-applies, but it's not included here for copyright reasons.
diff --git a/devel/ptmalloc2/pkg-plist b/devel/ptmalloc2/pkg-plist
deleted file mode 100644
index 82c3a920b0d8..000000000000
--- a/devel/ptmalloc2/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-include/ptmalloc2/malloc.h
-lib/libptmalloc2.a
-lib/libptmalloc2.so
-lib/libptmalloc2.so.0