summaryrefslogtreecommitdiff
path: root/devel/pth
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2001-04-05 12:16:23 +0000
committerrh <rh@pkgsrc.org>2001-04-05 12:16:23 +0000
commit6fe001c88d084747d205629bbfbd5754c61ce988 (patch)
tree9a40f312fde8f013415cb8a13947f2e996b5ef6d /devel/pth
parent726c86139370d75d75ec0f640b7e770854e9e18e (diff)
downloadpkgsrc-6fe001c88d084747d205629bbfbd5754c61ce988.tar.gz
Update pth to 1.4.0
Changes between 1.4a3 and 1.4.0 (29-Jul-2000 to 24-Mar-2001) *) Added PTHREAD_PRIO_XXXX definitions to pthread.h for conformance to the POSIX/SUSv2 Pthread API. *) Implemented the pthread_{set,get}concurrency() API parts of POSIX/SUSv2, although internally we are (allowed to be) free to not do anything based on the requested level. *) Adjusted all pthread_attr_getXXXX() functions to use a "const pthread_attr_t *" as the first argument instead of "pthread_attr_t *" to fully-conform to POSIX/SUSv2. *) Added ENOSYS-stubs for pthread_attr_{set,get}guardsize() to the Pthread API to be more complete with POSIX/SUSv2 specs. *) Added still missing soft system call mapping to Pth and Pthread APIs for functions recv(2), send(2), recvfrom(2) and sendto(2). *) Upgraded to GNU shtool 1.5.2 *) Fixed an even-manager bug which causes a thread that calls pth_nap() to never woke up if the only elapsed event was a timer. *) Added `#define _BITS_SIGTHREAD_H' to pthread.h to avoid inclusion of bits/sigthread.h (from signal.h) on Linux running glibc6 2.2. *) Added support to Makefile.in for DESTDIR variable. This allows easier rolling of installation tarballs (for instance from within RPM or similar facilities) by using "make install DESTDIR=/tmp/pth". *) Implemented a pth_system(3) function which is a thread-aware clone of the POSIX system(2) function. *) Fixed typos in pth.pod: "fd" -> "s" for pth_connect/pth_accept. *) Make --disable-shared the default under Solaris-2.[78]/x86, because it is known to segfault sporadically if Pth is built as a DSO. As traces showed, it is not a Pth problem, but it looks like a problem with the dynamic linker on Solaris/x86. The same Solaris versions on SPARC don't have this problem. *) Updated copyright messages to cover new year 2001. *) Fixed quoting in configure.in *) Let pth_sleep(3) and pth_usleep(3) immediately return if an argument of zero is given. *) Fixed pthread.pod: the newer pod2man versions seems to dislike embedded comments, so I moved them to the top of the file. *) Changed CVS URL in HACKING document. *) Mention http://www.mail-archive.com/pth-users@gnu.org/ in pth.pod and SUPPORT document. Changes between 1.4a2 and 1.4a3 (01-Jul-2000 to 29-Jul-2000) *) Upgraded to GNU shtool 1.5.1 *) Fixed (unused) pth_time_mul() function: operator & replaced by % *) Use --disable-lock for ltconfig. *) Fixed a few typos in pth.pod. Changes between 1.4a1 and 1.4a2 (16-Apr-2000 to 01-Jul-2000) *) Upgraded to GNU Shtool 1.5.0 *) Added OS/390 support to config.sub. *) Upgraded rse-pmt.ps paper to latest version as it was published on USENIX 2000. *) Stack boundary fixes for Interactive Unix support (--with-mctx-dsp=sjljisc). This allows one also to use this variant for Interix on Window-NT (a POSIX.1 compliant subsystem). *) Upgraded to GNU Libtool 1.3.5 *) Fixed config.param parsing: IF is now also allowed on VARIABLE=VALUE lines. *) Allow for convinience reasons pth_usleep() to accept also arguments greater than 1000000. *) Updated HACKING document. *) Fixed warnings in pth_string.c related to va_arg() usage and implicit type conversions. *) Merge from Pth 1.3.5: Fixed the <sys/select.h> checks in Autoconf: the logic was reversed and this way <sys/select.h> wasn't included on platforms were it existed and included where it wasn't present. Changes between 1.3.3 and 1.4a1 (10-Mar-2000 to 16-Apr-2000) *) Added a new feature to config.param: parameters can be extended with ``<space>IF<space><shell-test>''. Then the preceeding parameter is only added to the command line if the <shell-test> returns 0. <shell-test> can be anything which is possible in a Bourne-Shell `if' construct's expression. *) Fixed usage of `volatile' qualifier in pointer context. *) Now check also for -Wno-long-long compiler option under --enable-debug, because pth_string.c contains `long long' stuff. *) Now pth.h and pthread.h include the non-standard <sys/select.h> header on brain-dead platforms (like AIX) to get the definition of fd_set (which is required for the pth_select prototype). *) Fixed auto-configuration for ISC and Win32/Cygwin platforms. *) Removed -L. from $(LDFLAGS) in Makefile.in, because this is not required (libtool already takes care of this). *) Added a RPM spec file pth.spec which allows one to build RPM packages directly from the Pth distribution tarball through a simple `rpm -tb pth-1.X.Y.tar.gz' call. *) Removed the too explicit `-m 644' from the libtool/shtool installation command for libpth.la and instead use a `umask 022'. The reason is because some platforms require the shared libraries to be executable, so we cannot use an explicit mode. But we use the umask to make sure we don't result in world or group writeable files. *) Use full-path /sbin/sysctl in config.guess on FreeBSD because not all users have /sbin in their $PATH. *) Added eight new I/O functions pth_{recv,recvfrom,send,sendto}[_ev](3) which correspond to the counterparts in UNIX98 (SUSv2). *) Replaced for security reasons sprintf() and vsprintf() calls with own pth_snprintf() and pth_vsnprintf() functions from the new pth_string.c source. *) Speeded up pth_ring_t handling by inlining code and by maintaining number of contained nodes explicitly to avoid an O(n) operation when the number of elements are requested. *) Upgraded to GNU shtool 1.4.9
Diffstat (limited to 'devel/pth')
-rw-r--r--devel/pth/Makefile8
-rw-r--r--devel/pth/files/md54
-rw-r--r--devel/pth/files/patch-sum6
-rw-r--r--devel/pth/patches/patch-aa32
4 files changed, 25 insertions, 25 deletions
diff --git a/devel/pth/Makefile b/devel/pth/Makefile
index b3a4126a268..dfe9d919fe4 100644
--- a/devel/pth/Makefile
+++ b/devel/pth/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.33 2001/02/16 14:38:57 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2001/04/05 12:16:23 rh Exp $
#
-DISTNAME= pth-1.3.7
+DISTNAME= pth-1.4.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=pth/}
@@ -17,8 +17,8 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-pthread
# for PLIST
-PTH_MAJOR= 13
-PTH_MINOR= 27
+PTH_MAJOR= 14
+PTH_MINOR= 20
PLIST_SUBST+= PTH_MAJOR=${PTH_MAJOR} PTH_MINOR=${PTH_MINOR}
test:
diff --git a/devel/pth/files/md5 b/devel/pth/files/md5
index f254e8a178f..b09e9007e2e 100644
--- a/devel/pth/files/md5
+++ b/devel/pth/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.25 2000/07/30 19:55:53 rh Exp $
+$NetBSD: md5,v 1.26 2001/04/05 12:16:23 rh Exp $
-MD5 (pth-1.3.7.tar.gz) = 8735d8e113307f098749340ecbae81c6
+SHA1 (pth-1.4.0.tar.gz) = bc1adf3fd9a8fa2845f9e89e94255250b479c2d0
diff --git a/devel/pth/files/patch-sum b/devel/pth/files/patch-sum
index f06e02138d3..72402299281 100644
--- a/devel/pth/files/patch-sum
+++ b/devel/pth/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.11 2000/04/17 05:34:13 rh Exp $
+$NetBSD: patch-sum,v 1.12 2001/04/05 12:16:23 rh Exp $
-MD5 (patch-aa) = 528c5013e7d1160c798e72790fecf698
-MD5 (patch-ab) = 28f3698075dab1a2964da7394da776fc
+SHA1 (patch-aa) = c2fafc8eba5f084468fe0d07b1763d801b9ead89
+SHA1 (patch-ab) = 83a63849988f315e8295054069e4eed18d4dca06
diff --git a/devel/pth/patches/patch-aa b/devel/pth/patches/patch-aa
index 1c69a4628e0..8268a8e36cc 100644
--- a/devel/pth/patches/patch-aa
+++ b/devel/pth/patches/patch-aa
@@ -1,9 +1,9 @@
-$NetBSD: patch-aa,v 1.12 2000/04/17 05:34:13 rh Exp $
+$NetBSD: patch-aa,v 1.13 2001/04/05 12:16:23 rh Exp $
---- Makefile.in.orig Thu Mar 23 20:40:27 2000
-+++ Makefile.in Mon Apr 17 07:27:50 2000
-@@ -56,7 +56,7 @@
- LDFLAGS = @LDFLAGS@
+--- Makefile.in.orig Thu Apr 5 10:27:27 2001
++++ Makefile.in
+@@ -59,7 +59,7 @@
+ MKFLAGS = $(MFLAGS) DESTDIR=$(DESTDIR)
LIBS = @LIBS@
SHTOOL = $(srcdir)/shtool
-LIBTOOL = $(C)libtool
@@ -11,20 +11,20 @@ $NetBSD: patch-aa,v 1.12 2000/04/17 05:34:13 rh Exp $
RM = rm -f
RMDIR = rmdir
TRUE = true
-@@ -227,14 +227,14 @@
- $(SHTOOL) install -c -m 644 $(S)pth.m4 $(datadir)/aclocal/pth.m4
- $(SHTOOL) install -c -m 644 pth.h $(includedir)/pth.h
+@@ -232,14 +232,14 @@
+ $(SHTOOL) install -c -m 644 $(S)pth.m4 $(DESTDIR)$(datadir)/aclocal/pth.m4
+ $(SHTOOL) install -c -m 644 pth.h $(DESTDIR)$(includedir)/pth.h
@umask 022; $(LIBTOOL) --mode=install \
-- $(SHTOOL) install -c libpth.la $(libdir)/libpth.la
-+ install -c libpth.la $(libdir)/libpth.la
+- $(SHTOOL) install -c libpth.la $(DESTDIR)$(libdir)/libpth.la
++ install -c libpth.la $(DESTDIR)$(libdir)/libpth.la
install-pthread:
- $(SHTOOL) install -c -m 755 pthread-config $(bindir)/pthread-config
- $(SHTOOL) install -c -m 644 $(S)pthread-config.1 $(mandir)/man1/pthread-config.1
- $(SHTOOL) install -c -m 644 pthread.h $(includedir)/pthread.h
- $(SHTOOL) install -c -m 644 $(S)pthread.3 $(mandir)/man3/pthread.3
+ $(SHTOOL) install -c -m 755 pthread-config $(DESTDIR)$(bindir)/pthread-config
+ $(SHTOOL) install -c -m 644 $(S)pthread-config.1 $(DESTDIR)$(mandir)/man1/pthread-config.1
+ $(SHTOOL) install -c -m 644 pthread.h $(DESTDIR)$(includedir)/pthread.h
+ $(SHTOOL) install -c -m 644 $(S)pthread.3 $(DESTDIR)$(mandir)/man3/pthread.3
@umask 022; $(LIBTOOL) --mode=install \
-- $(SHTOOL) install -c libpthread.la $(libdir)/libpthread.la
-+ install -c libpthread.la $(libdir)/libpthread.la
+- $(SHTOOL) install -c libpthread.la $(DESTDIR)$(libdir)/libpthread.la
++ install -c libpthread.la $(DESTDIR)$(libdir)/libpthread.la
# uninstall the package
uninstall: