git: 85c4fc55f465 - main - devel/ptmalloc: Remove expired port

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

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

commit 85c4fc55f465484310eb7ba5aedf4d04852c1841
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2023-12-02 13:01:57 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2023-12-02 13:01:57 +0000

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

diff --git a/MOVED b/MOVED
index 86e0baea2c39..c35bbdbb0ce2 100644
--- a/MOVED
+++ b/MOVED
@@ -8144,3 +8144,4 @@ java/wildfly12||2023-12-02|Has expired: End of life upstream
 java/wildfly11||2023-12-02|Has expired: End of life upstream
 net-p2p/arbitrum-avm||2023-12-02|Has expired: BROKEN for more than an year
 www/mozplugger||2023-12-02|Has expired: Obsolete, defunct as Mozilla Firefox dropped support for plugin interface as of ESR 60
+devel/ptmalloc||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 f3c6a4bc30de..77ef8e658395 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4145,7 +4145,6 @@
     SUBDIR += pthsem
     SUBDIR += ptl
     SUBDIR += ptlib
-    SUBDIR += ptmalloc
     SUBDIR += ptypes
     SUBDIR += publib
     SUBDIR += purescript-language-server
diff --git a/devel/ptmalloc/Makefile b/devel/ptmalloc/Makefile
deleted file mode 100644
index b0fd9dc2b4ff..000000000000
--- a/devel/ptmalloc/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-PORTNAME=	ptmalloc
-PORTVERSION=	3.0
-PORTREVISION=	2
-CATEGORIES=	devel
-MASTER_SITES=	http://www.malloc.de/malloc/
-DISTNAME=	${PORTNAME}3-current
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Alternative threads-aware malloc
-WWW=		http://www.malloc.de/en/
-
-DEPRECATED=    Abandonware, last release in 2006 and there are other alternative malloc implementations available
-EXPIRATION_DATE=2023-11-30
-
-LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/COPYRIGHT
-
-USES=		gmake
-WRKSRC=		${WRKDIR}/${PORTNAME}3
-USE_LDCONFIG=	yes
-ALL_TARGET=	posix
-TEST_TARGET=	check
-
-do-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
-	${INSTALL_DATA} ${WRKSRC}/malloc-2.8.3.h ${STAGEDIR}${PREFIX}/include/${PORTNAME}/malloc.h
-	${INSTALL_DATA} ${WRKSRC}/libptmalloc3.a ${STAGEDIR}${PREFIX}/lib/libptmalloc.a
-	${INSTALL_LIB} ${WRKSRC}/ptmalloc3.so ${STAGEDIR}${PREFIX}/lib/libptmalloc.so.3
-	${LN} -sf libptmalloc.so.3 ${STAGEDIR}${PREFIX}/lib/libptmalloc.so
-
-.include <bsd.port.mk>
diff --git a/devel/ptmalloc/distinfo b/devel/ptmalloc/distinfo
deleted file mode 100644
index af9b075b5379..000000000000
--- a/devel/ptmalloc/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (ptmalloc3-current.tar.gz) = f353606f24a579597a1ff5b51009a45d75da047b3975d82c3f613f85bcf312db
-SIZE (ptmalloc3-current.tar.gz) = 82712
diff --git a/devel/ptmalloc/files/patch-Makefile b/devel/ptmalloc/files/patch-Makefile
deleted file mode 100644
index c7dd4ad31207..000000000000
--- a/devel/ptmalloc/files/patch-Makefile
+++ /dev/null
@@ -1,51 +0,0 @@
---- Makefile.orig	2006-03-31 11:25:23.000000000 -0500
-+++ Makefile	2008-08-30 17:37:37.000000000 -0500
-@@ -17,12 +17,12 @@
- TAR_FLAGS = --numeric-owner --exclude "*~" --exclude "debian/tmp*"
- 
- #CC = /pkg/gcc-2.95.2-wg/bin/gcc
--CC = gcc
-+CC ?= cc
- 
- SYS_FLAGS  =
--OPT_FLAGS  = -g -O2 #-O # -O2
-+OPT_FLAGS  = -O2 #-O # -O2
- WARN_FLAGS = -Wall -Wstrict-prototypes
--SH_FLAGS   = -shared -fpic
-+SH_FLAGS   = -shared -fPIC
- 
- INC_FLAGS  = -Isysdeps/generic
- 
-@@ -44,17 +44,20 @@
- MALLOC_OBJ = ptmalloc3.o malloc.o
- LIB_MALLOC = libptmalloc3.a
- 
-+# Target libraries
-+LIBS = libptmalloc3.a ptmalloc3.so
-+
- T_SUF =
- TESTS = t-test1$(T_SUF) t-test2$(T_SUF) \
- 	tst-independent-alloc$(T_SUF)
-         #m-test1$(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)
- 
- ptmalloc3.o: ptmalloc3.c malloc-2.8.3.h
- 	$(CC) -c $(CFLAGS) $(M_FLAGS) -DMSPACES=1 $<
-@@ -72,6 +75,9 @@
- libptmalloc3.so: $(MALLOC_OBJ)
- 	$(CC) $(SH_FLAGS) $(CFLAGS) $(M_FLAGS) $(MALLOC_OBJ) -o $@
- 
-+ptmalloc3.so: ptmalloc3.c malloc-2.8.3.h
-+	$(CC) $(SH_FLAGS) $(CFLAGS) $(M_FLAGS) malloc.c -o $@
-+
- again:
- 	$(RM) $(TESTS)
- 	$(MAKE) $(TESTS)
diff --git a/devel/ptmalloc/pkg-descr b/devel/ptmalloc/pkg-descr
deleted file mode 100644
index d3a3d8b9c0f5..000000000000
--- a/devel/ptmalloc/pkg-descr
+++ /dev/null
@@ -1,12 +0,0 @@
-This package is a modified version of Doug Lea's malloc-2.8.3
-implementation adapted for multiple threads, while trying to
-avoid lock contention as much as possible.
-
-As part of the GNU C library, the source files may be available under
-the GNU Library General Public License (see the comments in the
-files).  But as part of this stand-alone package, the code is also
-available under the (probably less restrictive) conditions described
-in the file 'COPYRIGHT'.  In any case, there is no warranty whatsoever
-for this package.
-
-This release was partly funded by Pixar Animation Studios.
diff --git a/devel/ptmalloc/pkg-plist b/devel/ptmalloc/pkg-plist
deleted file mode 100644
index 541829e21d9b..000000000000
--- a/devel/ptmalloc/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-include/ptmalloc/malloc.h
-lib/libptmalloc.a
-lib/libptmalloc.so
-lib/libptmalloc.so.3