git: d1d9c77d1cf2 - main - devel/pth: Remove expired port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Aug 2025 09:52:36 UTC
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d1d9c77d1cf259db8bac4dd6c9fe99c712e4078c
commit d1d9c77d1cf259db8bac4dd6c9fe99c712e4078c
Author: Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-08-02 09:52:32 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-08-02 09:52:32 +0000
devel/pth: Remove expired port
2025-07-31 devel/pth: Abandoned, last release in 2006
---
MOVED | 1 +
devel/Makefile | 1 -
devel/pth/Makefile | 54 ----------------------------------------
devel/pth/distinfo | 2 --
devel/pth/files/patch-pth_p.h.in | 19 --------------
devel/pth/pkg-descr | 18 --------------
devel/pth/pkg-plist | 17 -------------
7 files changed, 1 insertion(+), 111 deletions(-)
diff --git a/MOVED b/MOVED
index 155c2c1b454b..fdf4ada0aeeb 100644
--- a/MOVED
+++ b/MOVED
@@ -4686,3 +4686,4 @@ devel/arpc||2025-08-02|Has expired: Unmaintained upstream
devel/libgpc||2025-08-02|Has expired: No longer distributed by upstream as of August 2020
devel/libfortuna||2025-08-02|Has expired: Legacy fortuna library, last upstream activity 10 years ago
devel/pth-hard||2025-08-02|Has expired: Abandoned, last release in 2006
+devel/pth||2025-08-02|Has expired: Abandoned, last release in 2006
diff --git a/devel/Makefile b/devel/Makefile
index 815babd0fe87..febeee7afbe5 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4348,7 +4348,6 @@
SUBDIR += psimd
SUBDIR += pstreams
SUBDIR += psvn
- SUBDIR += pth
SUBDIR += pthreadpool
SUBDIR += pthsem
SUBDIR += ptl
diff --git a/devel/pth/Makefile b/devel/pth/Makefile
deleted file mode 100644
index aa3277d4c30d..000000000000
--- a/devel/pth/Makefile
+++ /dev/null
@@ -1,54 +0,0 @@
-PORTNAME= pth
-PORTVERSION= 2.0.7
-PORTREVISION= 2
-CATEGORIES= devel
-MASTER_SITES= GNU
-PKGNAMESUFFIX?= # empty
-
-MAINTAINER= vd@FreeBSD.org
-COMMENT= GNU Portable Threads
-WWW= https://www.gnu.org/software/pth/
-
-DEPRECATED= Abandoned, last release in 2006
-EXPIRATION_DATE=2025-07-31
-
-MAKE_JOBS_UNSAFE= yes
-
-GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
-CONFIGURE_ARGS= --enable-optimize \
- --enable-batch \
- --includedir="${PREFIX}/include/pth" \
- --libdir="${PREFIX}/lib/pth"
-USES= libtool
-USE_LDCONFIG= ${PREFIX}/lib/pth
-
-OPTIONS_DEFINE= OPTIMIZED_CFLAGS
-OPTIONS_DEFAULT= OPTIMIZED_CFLAGS
-
-CONFLICTS?= pth-hard-2.*
-
-.include <bsd.port.options.mk>
-
-.if ${PKGNAMESUFFIX} == "-hard"
-CONFIGURE_ARGS+= --enable-syscall-hard --disable-syscall-soft
-PLIST_SUB+= PTHREAD="@comment "
-.else
-CONFIGURE_ARGS+= --enable-syscall-soft --enable-pthread
-PLIST_SUB+= PTHREAD=""
-.endif
-
-post-patch:
-.if ! ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
- ${REINPLACE_CMD} -e \
- 's|-funroll-loops -fstrength-reduce -fomit-frame-pointer -ffast-math||' \
- ${WRKSRC}/configure
-.endif
-
-post-build:
- @${ECHO_MSG} "===> Use 'make test' to run a quick test suite."
-
-test: build
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test
-
-.include <bsd.port.mk>
diff --git a/devel/pth/distinfo b/devel/pth/distinfo
deleted file mode 100644
index 3f28099e3426..000000000000
--- a/devel/pth/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (pth-2.0.7.tar.gz) = 72353660c5a2caafd601b20e12e75d865fd88f6cf1a088b306a3963f0bc77232
-SIZE (pth-2.0.7.tar.gz) = 652640
diff --git a/devel/pth/files/patch-pth_p.h.in b/devel/pth/files/patch-pth_p.h.in
deleted file mode 100644
index e127154c517a..000000000000
--- a/devel/pth/files/patch-pth_p.h.in
+++ /dev/null
@@ -1,19 +0,0 @@
---- pth_p.h.in.orig 2006-06-08 20:54:03.000000000 +0300
-+++ pth_p.h.in 2009-04-28 23:06:45.000000000 +0300
-@@ -32,7 +32,15 @@
- #include <stdarg.h>
- #include <string.h>
- #include <setjmp.h>
--#include <signal.h>
-+#ifdef __FreeBSD__
-+# include <osreldate.h>
-+# if __FreeBSD_version < 800070
-+ /* See http://www.freebsd.org/cgi/query-pr.cgi?pr=132828 */
-+# include <signal.h>
-+# endif /* __FreeBSD_version */
-+#else /* __FreeBSD__ */
-+# include <signal.h>
-+#endif /* __FreeBSD__ */
- #include <unistd.h>
- #include <fcntl.h>
- #include <errno.h>
diff --git a/devel/pth/pkg-descr b/devel/pth/pkg-descr
deleted file mode 100644
index e93ac6200a14..000000000000
--- a/devel/pth/pkg-descr
+++ /dev/null
@@ -1,18 +0,0 @@
-GNU Pth - The GNU Portable Threads
-Copyright (c) 1999-2005 Ralf S. Engelschall <rse@gnu.org>
-
-Pth is a very portable POSIX/ANSI-C based library for Unix platforms
-which provides non-preemptive priority-based scheduling for multiple
-threads of execution (aka ``multithreading'') inside event-driven
-applications. All threads run in the same address space of the server
-application, but each thread has it's own individual program-counter,
-run-time stack, signal mask and errno variable.
-
-The thread scheduling itself is done in a cooperative way, i.e., the
-threads are managed by a priority- and event-based non-preemptive
-scheduler. The intention is that this way one can achieve better
-portability and run-time performance than with preemptive scheduling.
-The event facility allows threads to wait until various types of events
-occur, including pending I/O on file descriptors, asynchronous signals,
-elapsed timers, pending I/O on message ports, thread and process
-termination, and even customized callback functions.
diff --git a/devel/pth/pkg-plist b/devel/pth/pkg-plist
deleted file mode 100644
index 2af79546f21d..000000000000
--- a/devel/pth/pkg-plist
+++ /dev/null
@@ -1,17 +0,0 @@
-bin/pth-config
-%%PTHREAD%%bin/pthread-config
-include/pth/pth.h
-%%PTHREAD%%include/pth/pthread.h
-lib/pth/libpth.a
-lib/pth/libpth.so
-lib/pth/libpth.so.20
-lib/pth/libpth.so.20.0.27
-%%PTHREAD%%lib/pth/libpthread.a
-%%PTHREAD%%lib/pth/libpthread.so
-%%PTHREAD%%lib/pth/libpthread.so.20
-%%PTHREAD%%lib/pth/libpthread.so.20.0.27
-share/aclocal/pth.m4
-share/man/man1/pth-config.1.gz
-%%PTHREAD%%share/man/man1/pthread-config.1.gz
-share/man/man3/pth.3.gz
-%%PTHREAD%%share/man/man3/pthread.3.gz