summaryrefslogtreecommitdiff
path: root/devel/ptl2
diff options
context:
space:
mode:
authormsaitoh <msaitoh@pkgsrc.org>2000-05-07 11:18:19 +0000
committermsaitoh <msaitoh@pkgsrc.org>2000-05-07 11:18:19 +0000
commitc4354bc45b40426a5748e65463ca4024596788e2 (patch)
tree9e42f138d6cb4d3b91a189c9cb18feb23b22f2d4 /devel/ptl2
parent571add49c81b64dbe9522ec71f1f39629cc67389 (diff)
downloadpkgsrc-c4354bc45b40426a5748e65463ca4024596788e2.tar.gz
Jump to PTL-2.1.2
Changes between PTL2-current-990622 and PTL-2.1.2 * support NetBSD/arm32. * fix a configure.in bug which fails if $MACHINE != $MACHINE_ARCH. * src/io_udp.c (send_timedwait, sendto_timedwait, sendmsg_timedait): While underlying system calls return with EWOULDBLOCK, continue writing. * src/signal.c (_pthread_signal_init): On system that PTL can set the stack pointer without using sigstack(), SIGUSR2 can be used for user's purpose. * src/internal.h (END_CRITICAL): fixed: signal interruptions are lost in certain situation theoretically. * src/io.c: use O_NONBLOCK rather than O_NDELAY in SunOS5. * Util/Makefile.in: version number of libPTL.so is changed to 2.0. * src/specific.c (pthread_key_create, pthread_setspecific): if fail to allocate the memory, returns ENOMEM. * src/cond.c, src/mutex.c, include/sys/types.h: pthread_mutex_t and pthread_cond_t are changed from `pointer to struct' to `struct'. * src/cond-attr.c, include/sys/types.h: pthread_condattr_t is changed from integer handle to struct. * src/cond.c, src/mutex.c, src/pthread.c: pthread_{mutex_,cond_,}setname_np returns ENOMEM if malloc() returns NULL. * src/cancel.c (pthread_setcancelstate): if FLAG_CLEANUP_HANDLER is set, do not call pthread_exit() even if PTHREAD_CANCEL_ENABLE is specified and the thread is already cancel requested. (pthread_testcancel): similar to above. * src/internal.h (FLAG_CLEANUP_HANDLER): this flag shows that the thread is currently executing cleanup handlers. * src/sched.c (after_csw): Clear FLAG_DO_CANCEL flag before executing cleanup handlers to prevent entering executing cleanup handlers loop. * src/io.c (_pthread_pdb_iostat): Implement `iostat' command into PDB.
Diffstat (limited to 'devel/ptl2')
-rw-r--r--devel/ptl2/Makefile24
-rw-r--r--devel/ptl2/files/md59
-rw-r--r--devel/ptl2/files/patch-sum6
-rw-r--r--devel/ptl2/patches/patch-aa3
-rw-r--r--devel/ptl2/patches/patch-ab9
-rw-r--r--devel/ptl2/pkg/PLIST4
6 files changed, 17 insertions, 38 deletions
diff --git a/devel/ptl2/Makefile b/devel/ptl2/Makefile
index 6b1f620a6e6..c9812fb9239 100644
--- a/devel/ptl2/Makefile
+++ b/devel/ptl2/Makefile
@@ -1,27 +1,17 @@
-# $NetBSD: Makefile,v 1.18 1999/12/28 05:09:49 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2000/05/07 11:18:19 msaitoh Exp $
-DISTNAME= PTL2-current-990622
-PKGNAME= ptl2-990622
+DISTNAME= PTL-2.1.2
+PKGNAME= ptl-2.1.2
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.media.osaka-cu.ac.jp/pub/PTL/PTL2/PTL2-current-990622/
+MASTER_SITES= ftp://ftp.media.osaka-cu.ac.jp/pub/PTL/PTL2/
PATCH_SITES= ${MASTER_SITES}
-PATCHFILES= PTL2-current-990622-patch-1 \
- PTL2-current-990622-patch-2.gz \
- PTL2-current-990622-patch-3 \
- PTL2-current-990622-patch-4 \
- PTL2-current-990622-patch-5
-PATCH_DIST_STRIP= -p1
MAINTAINER= msaitoh@netbsd.org
HOMEPAGE= http://www.media.osaka-cu.ac.jp/~k-abe/PTL/
BUILD_DEPENDS= ${LOCALBASE}/bin/perl:../../lang/perl5
-CONFLICTS= ptl-current-*
-
-USE_GMAKE=
-
MAKE_ENV= INSTALL_PROGRAM="${INSTALL_SCRIPT}"
PLIST_SRC= ${WRKDIR}/PLIST
@@ -35,11 +25,7 @@ post-install:
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@cd ${PREFIX}; \
${FIND} PTL -type f >>${PLIST_SRC}; \
- for LINK in `${FIND} PTL -type l`; do \
- set - X `file $$LINK`; \
- ${ECHO} "@exec ${LN} -s $$6 %D/$$LINK" >>${PLIST_SRC}; \
- ${ECHO} "@unexec ${RM} -f %D/$$LINK" >>${PLIST_SRC}; \
- done; \
+ ${FIND} PTL -type l >>${PLIST_SRC}; \
for DIR in `${FIND} PTL -type d | sort -r`; do \
if [ -z "`ls $$DIR`" ]; then \
${ECHO} "@exec ${MKDIR} %D/$$DIR" >>${PLIST_SRC}; \
diff --git a/devel/ptl2/files/md5 b/devel/ptl2/files/md5
index 482d7bd0a64..7c36ef1712f 100644
--- a/devel/ptl2/files/md5
+++ b/devel/ptl2/files/md5
@@ -1,8 +1,3 @@
-$NetBSD: md5,v 1.8 1999/09/30 13:15:10 msaitoh Exp $
+$NetBSD: md5,v 1.9 2000/05/07 11:18:20 msaitoh Exp $
-MD5 (PTL2-current-990622.tar.gz) = 7a8f5227fc4d864575bc4e9af9f47ad6
-MD5 (PTL2-current-990622-patch-1) = 8f607c1d5e389a711ea9360b59f81b64
-MD5 (PTL2-current-990622-patch-2.gz) = 4427c3ad8b9a3fd69696de5406a8304e
-MD5 (PTL2-current-990622-patch-3) = c532723b3f42fa661a17d46e1f8f58b8
-MD5 (PTL2-current-990622-patch-4) = 756a04be66b21d886f323c051ef50655
-MD5 (PTL2-current-990622-patch-5) = c8ff42925bbaa65eddfadb6f110ed4d5
+MD5 (PTL-2.1.2.tar.gz) = 107fc56fb71368db71ac0e154698d1eb
diff --git a/devel/ptl2/files/patch-sum b/devel/ptl2/files/patch-sum
index 816d08671f2..c544679da5f 100644
--- a/devel/ptl2/files/patch-sum
+++ b/devel/ptl2/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.2 1999/11/15 19:16:34 rh Exp $
+$NetBSD: patch-sum,v 1.3 2000/05/07 11:18:20 msaitoh Exp $
-MD5 (patch-aa) = 9e48bc58c8a0d9175cd989e212389779
-MD5 (patch-ab) = c8519322e274e9d8ab16bc0ac72cbd6e
+MD5 (patch-aa) = 9226617def6e6fa7a60de6412e5bec40
+MD5 (patch-ab) = ae2d0210bce75df2ba295702294c6895
diff --git a/devel/ptl2/patches/patch-aa b/devel/ptl2/patches/patch-aa
index 3ae4cba11da..1aad62be19a 100644
--- a/devel/ptl2/patches/patch-aa
+++ b/devel/ptl2/patches/patch-aa
@@ -1,5 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 1999/03/29 23:13:56 tron Exp $
-
+$NetBSD: patch-aa,v 1.2 2000/05/07 11:18:20 msaitoh Exp $
--- Makefile.orig Wed Mar 24 13:33:28 1999
+++ Makefile Thu Mar 25 01:03:04 1999
@@ -7,13 +7,13 @@
diff --git a/devel/ptl2/patches/patch-ab b/devel/ptl2/patches/patch-ab
index b4e373448e6..08f15147090 100644
--- a/devel/ptl2/patches/patch-ab
+++ b/devel/ptl2/patches/patch-ab
@@ -1,8 +1,7 @@
-$NetBSD: patch-ab,v 1.5 1999/11/15 19:16:36 rh Exp $
-
---- Util/Makefile.in.orig Mon Nov 15 20:12:32 1999
-+++ Util/Makefile.in Mon Nov 15 20:12:32 1999
-@@ -293,7 +293,6 @@
+$NetBSD: patch-ab,v 1.6 2000/05/07 11:18:20 msaitoh Exp $
+--- Util/Makefile.in.orig Thu Feb 3 12:44:33 2000
++++ Util/Makefile.in Mon Feb 21 00:12:18 2000
+@@ -292,7 +292,6 @@
@echo "Loading $@ ... "
$(MKSHLIBCMD) -o $@ $(LIBRARY_OBJS_PIC) $(LIBC_R_OBJS_PIC) $(NET_R_OBJS_PIC) $(altsysdir)/*.po
-rm -f $(SHARED_LIBRARY)
diff --git a/devel/ptl2/pkg/PLIST b/devel/ptl2/pkg/PLIST
index 8cf0136f3c4..3ffa640dfce 100644
--- a/devel/ptl2/pkg/PLIST
+++ b/devel/ptl2/pkg/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.4 1999/08/06 17:08:58 msaitoh Exp $
+@comment $NetBSD: PLIST,v 1.5 2000/05/07 11:18:21 msaitoh Exp $
bin/ptlgcc
bin/ptlg++
lib/libPTL.a
-lib/libPTL.so.1.2
+lib/libPTL.so.2.0