Commit graph

47 commits

Author SHA1 Message Date
jlam
d75cbbb9fd Change build dependency from perl-5.* to perl>=${PERL5_REQD}. Also change
dependency from libperl-5.* to libperl>=${PERL5_REQD}.
2001-04-30 04:16:08 +00:00
wiz
dfb2d5edc6 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 00:44:09 +00:00
agc
d7d36b3561 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:57:56 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
wiz
94dc65fbec Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:38:16 +00:00
agc
1703cd47c9 Match the PLIST with reality 2001-02-05 15:02:52 +00:00
hubertf
4415486720 add missing '$' 2001-01-13 03:33:14 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
msaitoh
e723731b98 Upgrade to PTL-2.1.7
Changes:

* fixed: priority queue, used in condition variable, mutex and join,
  might corrupt if multiple threads of different priority are blocking
  on the same queue.

* fixed: fopen() and fdopen() do not unlock the mutex for the stdio.
2000-11-14 02:30:12 +00:00
msaitoh
cb55fe4e04 md5 for ptl-2.1.6 2000-10-31 04:11:08 +00:00
msaitoh
9ff3574f53 Upgrade to 2.1.6.
Changes from 2.1.5:

	* src/io.c (fcntl): support nonblocking I/O.

	* src/sleep.c (sleep): change return type and the argument of
	sleep() from int to unsigned.

	* src/cond.c: add unrenamed pthread_cond_timedwait().

	* include/pthread.h: fix the prototype of pthread_cond_timedwait().
2000-10-30 22:39:54 +00:00
msaitoh
6a9f9caed0 Upgrade to 2.1.5.
Changes:

* Add wait3() and wait4().

* fixed: wait() or waitpid() might not return even after a child
  process exits.

* fixed: bug in close() and pipe().

* fixed: processes might hang up if a signal interrupts within a
  critical region.
2000-09-24 17:14:37 +00:00
jlam
60d8d28f10 Update build dependency on perl to build in correct directory if perl
interpreter is not found.
2000-09-05 09:33:15 +00:00
jlam
bb3a955498 Use PERL5 variable for location of perl5 binary. 2000-08-28 09:14:50 +00:00
msaitoh
ccdd700704 ptl works on alpha. I removed "NOT_FOR_PLATFORM=*-*-alpha" 2000-07-17 12:40:02 +00:00
msaitoh
ce60d4541f Updated to PTL-2.1.4.
Changes between 2.1.3 and 2.1.4:

* fixed: a bug causes stack overflow if the process is interrupted by
  a UNIX signal frequently.

* fixed: sigwait() causes SIGSEGV.

* deferred cancellation is processed within BSD socket APIs.
2000-07-17 03:35:44 +00:00
tron
9752bba3bc Fix automatical creation of package list to handle symbolic links to
directories properly.
2000-06-21 08:57:04 +00:00
msaitoh
441a17f2fc Update to PTL-2.1.3
Changes from 2.1.2:

	* src/mutex.c: Now pthread_mutex_lock() is NOT a cancellation
	point, as POSIX requires.

	* src/sched.c (_pthread_block): check cancellation status before
	making the calling thread block.

	* add call to pthread_testcancel() to a lot of cancellation point
	functions.

	* src/mutex.c, src/cond.c: fixed: mutex and cv chain can be
	corrupted.
2000-06-07 04:28:20 +00:00
msaitoh
c4354bc45b 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.
2000-05-07 11:18:19 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
wiz
ff6d4f8317 replaced some commands by their ${COMMAND} counterparts 1999-12-28 05:09:49 +00:00
rh
c742e6f2f9 defuzz 1999-11-15 19:16:34 +00:00
msaitoh
72dd01f651 add PTL2-current-990622-patch-5 1999-09-30 13:15:09 +00:00
bad
54a0899079 Pull in patch4 too. Fixes a compile problem on sparc. From Kota Abe. 1999-09-08 16:17:24 +00:00
msaitoh
fb2df0060c upgraded to -patch-3 1999-08-06 17:08:57 +00:00
agc
a910a6fd62 Add package patch-sum files 1999-07-09 13:50:05 +00:00
msaitoh
cd81798b2f upgrade PTL2 to PTL2-current-990622 (with patch-1) 1999-06-23 16:57:07 +00:00
msaitoh
d16c8e4536 PTL2-current-990512-patch-2 1999-05-31 10:13:57 +00:00
tv
5c60ed5794 Change {ONLY,NOT}_FOR_{ARCH,OPSYS} format to {ONLY,NOT}_FOR_PLATFORM
pattern match format.  Minor pkglint along the way.
1999-05-24 20:39:35 +00:00
tsarna
c3117ace92 patch-1 breaks sigjmp. Instead of using it, add patch-ac, which is
corrected version of patch-1.

Still have problems with ttyname()...
1999-05-22 03:23:13 +00:00
msaitoh
eed1199a4d PTL2-current-990512-patch-1 1999-05-20 17:28:31 +00:00
tv
a724af7aa3 Do not create a "libPTL.so" link. This will be done by the pkg system at
install time, and should NOT happen for a.out at all.  (I'll re-add the
removed patches to do this correctly for ELF, and use shlib constructor as
opposed to "every object file constructor", later.)
1999-05-12 16:17:53 +00:00
msaitoh
c49c48e186 Upate PTL2 to PTL2-current-990512. 1999-05-12 13:24:26 +00:00
tv
9c7c60b9c5 Turn off on alpha. This was hosed before, and still is after the ctor change.
Will look into it.
1999-05-06 22:38:08 +00:00
tv
f10ebc39a7 Install ptlg++ with the right permissions by handing down INSTALL_SCRIPT. 1999-05-06 21:01:46 +00:00
tv
6ffc0333da Use proper ELF build (with -soname); also add c++rt0 for a.out and
crt{begin,end}S for ELF so that a constructor does not have to be attached
to every resultant .o file (_pthread_init() becomes a constructor in the
library itself).  Add ptlg++ as analogue of ptlgcc.
The pkgname is renamed ptl-990315 (drop -current-) so this version is not
considered compatible in binary form.
1999-05-06 20:07:21 +00:00
abs
8767426093 s/datail/detail 1999-05-04 01:51:44 +00:00
tron
ddc0bf51a1 Backout this change, the link options are passed to "ld" not "gcc" 1999-05-02 17:18:53 +00:00
tron
ee0c971f4f Add missing prototypes to PTL's "include/arpa/inet.h". Patch supplied
by Michael Graff in PR pkg/7507.
1999-05-02 16:53:00 +00:00
tron
e547cb75e9 Use "../../lang/perl5" to shut up "pkglint". 1999-05-02 12:04:11 +00:00
tron
f37c597c55 Use "-Wl,-R" instead of "-R" in "ptlgcc" to be compatible with the
broken "cc" on 1.3 ELF systems.
1999-05-01 14:38:53 +00:00
tron
f13208f8d9 perl is only required at build time. 1999-05-01 14:37:30 +00:00
tron
f4b715441e Fix complilation warning caused by missing prototype for init hook.
Patch supplied by Michael Graff in PR pkg/7495.
1999-05-01 10:24:40 +00:00
agc
5e550b01df Minor modifications to the English. 1999-04-06 09:48:18 +00:00
msaitoh
bddf511b15 Eliminate libdata/PTL 1999-03-30 00:59:24 +00:00
tron
975278f2db Remove commented out instructions and fix botch caused by pkglinting. 1999-03-29 23:31:08 +00:00
tron
e4e661d09b New "ptl2" package supplied by SAITOH Masanobu in pkg/7212:
This is PTL2 -- Portable Thread Library 2 wrrtten by Kota Abe.
1999-03-29 23:13:56 +00:00