debian/0000755000000000000000000000000012255354425007175 5ustar debian/libpth-dev.install0000644000000000000000000000014712166475360012630 0ustar /usr/bin /usr/include /usr/lib/*/*.a /usr/lib/*/*.so /usr/lib/*/*.la /usr/share/aclocal /usr/share/man debian/copyright0000644000000000000000000000616511372406511011131 0ustar Author: Ralf S. Engelschall Download: http://ftp.gnu.org/gnu/pth/ Files: * Copyright: (C) 1999-2006 Ralf S. Engelschall License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. . You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU Library General Public License can be found in /usr/share/common-licenses/LGPL-2.1 file. Files: debian/control debian/libpth-dev.docs debian/libpth-dev.install debian/libpth20.docs debian/libpth20.install Copyright: (C) 2006-2009 Daniel Baumann License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. . You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU Library General Public License can be found in /usr/share/common-licenses/LGPL-2.1 file. Files: debian/patches/01-ia64.patch Copyright: (C) 2004 "Jamin W. Collins" License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. . You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU Library General Public License can be found in /usr/share/common-licenses/LGPL-2.1 file. Files: debian/* All files (and parts in files) written by NIIBE Yutaka are put into public domain. debian/libpth20.install0000644000000000000000000000002212166473344012206 0ustar /usr/lib/*/*.so.* debian/changelog0000644000000000000000000004164412255354420011053 0ustar pth (2.0.7-19ubuntu1) trusty; urgency=medium * Patch libtool.m4 and configure for ppc64el support. -- Matthias Klose Sat, 21 Dec 2013 19:07:32 +0100 pth (2.0.7-19) unstable; urgency=low * debian/control: Remove Multi-arch from libpth-dev. [pth-dbg] (Depends): Remove libpth-dev. * debian/rules: Add _FORTIFY_SOURCE=0 for m68k. -- NIIBE Yutaka Wed, 10 Jul 2013 00:49:32 +0000 pth (2.0.7-18) unstable; urgency=low * debian/control (Description): Remove THE. Add Multi-arch to libpth-dev and pth-dbg. * debian/watch: Update. * debian/rules: Remove _FORTIFY_SOURCE=0 thing, as we have newer libc and fix for newer kernel now. * debian/patches/07-test_uctx_fix.patch: New. -- NIIBE Yutaka Mon, 08 Jul 2013 11:31:46 +0000 pth (2.0.7-17) unstable; urgency=low [ NIIBE Yutaka ] * debian/patches/05-linux_3.patch: New. * debian/patches/06-ldflags.patch: New. * debian/control (Standards-Version): Conforms to 3.9.4. [ Frédéric Brière ] * Multi-arch support (Closes: 698949). * debian/{libpth20.install,libpth-dev.install}: Update for multi-arch. * debian/compat: Require 9. * debian/control (Build-Depends): Require debhelper >=9. (Multi-Arch, Pre-Depends): Added. [ Jani Monoses ] * debian/patches/04-exit_on_failed_test.patch: New. * debian/rules: disable _FORTIFY_SOURCE for armel and armhf build. -- NIIBE Yutaka Mon, 08 Jul 2013 08:16:40 +0000 pth (2.0.7-16) unstable; urgency=low * debian/patches/03-hurd-pth_mctx.patch: New file. Added workaround for GNU/Hurd to fix FTBFS (Closes: #466115). -- NIIBE Yutaka Wed, 12 May 2010 19:57:47 +0900 pth (2.0.7-15) unstable; urgency=low * debian/control (Maintainer): New maintainer (Closes: #543857). (Standards-Version): Bumped to 3.8.4. (Build-Depends): Specify newer versions for debhelper and quilt. Removed libc6-dev. * debian/copyright: Updated. * debian/patches/01-ia64.patch: Investigated original patch, then reviewed it again and added information. * debian/patches/02-configure.patch: New file. * debian/libpth20.symbols: New file. * debian/watch: New file. * debian/rules: Write from scratch based on sample debian/rules of dh-make. -- NIIBE Yutaka Wed, 12 May 2010 09:22:53 +0900 pth (2.0.7-14) unstable; urgency=low * Wrapping build-depends. * Adding misc depends. * Removing unused lintian overrides. * Removing shlibs file. * Updating package to standards version 3.8.3. * Removing vcs fields. * Orphaning package. -- Daniel Baumann Thu, 27 Aug 2009 09:35:58 +0200 pth (2.0.7-13) unstable; urgency=low * Replacing obsolete dh_clean -k with dh_prep. * Updating section of the debug package. * Using correct rfc-2822 date formats in changelog. * Updating package to standards version 3.8.2. * Updating year in copyright. * Using quilt rather than dpatch. * Updating rules file to the current state of the art. -- Daniel Baumann Fri, 17 Jul 2009 01:22:39 +0200 pth (2.0.7-12) unstable; urgency=low * Also enforcing fixed libc6-dev on sparc, thanks to Moritz Muehlenhoff . -- Daniel Baumann Tue, 07 Oct 2008 12:29:00 +0200 pth (2.0.7-11) unstable; urgency=low * Acknowledge NMU (Closes: #492779). * Correcting indenting in copyright file. * Updatingto debhelper 7. * Updating to standards 3.8.0. * Updating vcs fields in control file. * Using patch-stamp rather than patch in rules file. -- Daniel Baumann Tue, 07 Oct 2008 06:38:00 +0200 pth (2.0.7-10.1) unstable; urgency=low * Non-maintainer upload. * debian/control: add versioned libc6-dev for hppa to force compilation with *context implementation. Closes: #492779. -- Thomas Viehmann Mon, 06 Oct 2008 21:20:11 +0200 pth (2.0.7-10) unstable; urgency=low * Adding pth-dbg lintian overrides. * Relaxing shlibs. * Reordering rules file. * Rewriting copyright file in machine-interpretable format. * Removing watch file. * Updating pth-dbg depends in control. * Adding vcs fields in control file. * Updating package to debhelper 6. * Removing useless whitespaces in changelog file. * Reverting config.guess and config.sub to upstream. -- Daniel Baumann Thu, 17 Apr 2008 21:34:00 +0200 pth (2.0.7-9) unstable; urgency=low * Bumping to new policy. * Using new homepage field in control. * Don't hide make errors in clean target of rules. * Adding fail-missing to dh_install call in rules. -- Daniel Baumann Sun, 23 Dec 2007 17:01:00 +0100 pth (2.0.7-8) unstable; urgency=low * Added proper timestamp to a previous changelog entry. -- Daniel Baumann Tue, 15 May 2007 15:02:00 +0200 pth (2.0.7-7) unstable; urgency=low * Removed old provides/conflicts/replaces. Only two packages require a binNMU. * Minor cleanups. -- Daniel Baumann Tue, 01 May 2007 13:31:00 +0200 pth (2.0.7-6) unstable; urgency=medium * Re-added previously removed sarge conflicts for etch migration. -- Daniel Baumann Sun, 04 Mar 2007 13:22:00 +0100 pth (2.0.7-5) unstable; urgency=medium * Removing libpthread2 and libpthread-dev (Closes: #410692). -- Daniel Baumann Tue, 27 Feb 2007 22:05:00 +0100 pth (2.0.7-4) unstable; urgency=medium * Added missing depends to the previous, wrong, package names (Closes: #390850, #390851). -- Daniel Baumann Wed, 04 Oct 2006 10:58:00 +0200 pth (2.0.7-3) unstable; urgency=medium * Added divertion for /usr/lib/libpthread.a in libpthread-dev (Closes: #379413). * Renamed libpth2 to libpth20 and libpthread2 to libpthread20 to match the soname. * Removed lintian overrides. * Bumped shlibs. * Added libpthread20 as depends to pth-dbg. -- Daniel Baumann Fri, 22 Sep 2006 19:22:00 +0200 pth (2.0.7-2) unstable; urgency=low * New email address. * Added lintian overrides. -- Daniel Baumann Sat, 08 Jul 2006 14:13:00 +0200 pth (2.0.7-1) unstable; urgency=low * New maintainer (Closes: #356846). * New upstream release (Closes: #332338): - ships fixed pth.m4 (Closes: #249328). * Acknowledge NMU (Closes: #285408, #305290, #312124). * Redone debian-directory: - removed libpth-prof package - renamed libpth-dbg to pth-dbg, contains now *only* the debug symbols, not the whole library anymore - libpthread is always build now (the previous skip for kfreebsd matched all other architectures, by mistake, too) - using dpatch for upstream modifications now - don't know if the manpages were included already before, now they are (Closes: #197962). -- Daniel Baumann Sun, 25 Jun 2006 08:02:00 +0200 pth (2.0.1-2.1) unstable; urgency=low * NMU. * Don't enable libpthread2 on k*bsd (closes: bug#312124). * Fixed pth.m4 (closes: bug#305290). * Fixed cross build (closes: bug#285408). -- Aurelien Jarno Wed, 06 Jul 2005 23:36:30 +0200 pth (2.0.1-2) unstable; urgency=high * Bumped Standards-Version to 3.6.1. No changes required. * Forced locale to C in debian/rules to prevent errors with UTF8 and gawk. Thanks Steve (closes: 267683) -- Luis Bustamante Thu, 02 Sep 2004 14:46:38 +0200 pth (2.0.1-1) unstable; urgency=high * The "I'm still alive" release * New upstream release * Acknowledging NMU fixes. Thanks guys. (closes: #218011, #218397, #186987, #237209, #225780) -- Luis Bustamante Thu, 02 Sep 2004 11:34:30 +0200 pth (2.0.0-1.5) unstable; urgency=low * NMU durings Darmstadt BSP * add dependency for dbg-package. Closes: #263771 -- Andreas Barth Sat, 21 Aug 2004 17:05:00 +0200 pth (2.0.0-1.4) unstable; urgency=low * NMU * Moving library development packages from 'devel' to 'libdevel' section. (This fixes an override disparity the installer complained about). -- Robert Millan Sat, 24 Jul 2004 23:42:00 +0200 pth (2.0.0-1.3) unstable; urgency=low * NMU * Provide libpthread2 and libpthread-dev for GNU/k*BSD. (Closes: #218011) * Update libtool. (Closes: #218397) * Fix minor "informations" syntax error. (Closes: #186987) -- Robert Millan Sat, 24 Jul 2004 18:09:56 +0200 pth (2.0.0-1.2) unstable; urgency=low * NMU * Fix soname (change 2 to 20 in debian/libpth2.shlibs). Closes: #237209 -- LaMont Jones Sat, 26 Jun 2004 00:04:41 -0600 pth (2.0.0-1.1) unstable; urgency=low * NMU * Apply patch from bts; add make test in build target. Closes: #225780 -- LaMont Jones Mon, 09 Feb 2004 21:15:52 -0700 pth (2.0.0-1) unstable; urgency=low * New upstream release. * Updated standards to 3.5.8. -- Luis Bustamante Tue, 04 Mar 2003 16:03:19 -0500 pth (1.4.1-4) unstable; urgency=low * Fixed bashism in debian/rules. (Closes: #153842) * Changed maintainer address. -- Luis Bustamante Sat, 27 Jul 2002 19:50:32 -0500 pth (1.4.1-3) unstable; urgency=low * New maintainer. (Closes: #146952) -- Luis Bustamante Tue, 14 May 2002 14:59:36 -0500 pth (1.4.1-2) unstable; urgency=low * libpth-dbg does not distribute static libraries but shared ones only. -- Domenico Andreoli Sat, 23 Mar 2002 16:49:49 +0100 pth (1.4.1-1) unstable; urgency=low * New upstream version. -- Domenico Andreoli Thu, 14 Mar 2002 18:19:32 +0100 pth (1.4.0-3) unstable; urgency=low * Adjusted for NetBSD where Pthreads interface is now built and installed. Patch courtesy of Joel Baker (Closes: #133439). * Package relationship reworked: - libpth14 does not only conflict with the older libpth-dbg, libpth-prof and libpth-dev but also replace them forcing their automatic removal - libpth-dbg and libpth-prof now conflict and replace the older countrparties libpth13-dbg and libpth13-prof. This way installing the newers removes automagically the olders. -- Domenico Andreoli Thu, 14 Feb 2002 01:28:39 +0100 pth (1.4.0-2) unstable; urgency=low * Fixed bug in debian/rules that made libpth-dbg and libpth-prof packages empty. * Fixed a lack of quotation in a test condition of ltmain.sh. * Fixed some typos in package descriptions (Closes: #125018, #125019, #125020, #125024). * Acknowledged NMU, courtesy of LaMont Jones (Closes: #95002). -- Domenico Andreoli Tue, 08 Jan 2002 01:14:09 +0100 pth (1.4.0-1.1) unstable; urgency=low * Non maintainer upload. * Re-run libtoolize && aclocal for new arch support (Closes: #95002). -- LaMont Jones Tue, 25 Dec 2001 16:35:05 -0700 pth (1.4.0-1) unstable; urgency=low * New upstream version. * New debian maintainer (Closes: #123493). * Added Build-Depends (Closes: #104306). -- Domenico Andreoli Thu, 13 Dec 2001 00:32:11 +0100 libpth (1.3.7-3.1) unstable; urgency=medium * Run libtoolize to get support for new architectures (Closes: #95002). -- LaMont Jones Mon, 09 Jul 2001 21:39:34 -0600 libpth (1.3.7-3) unstable; urgency=medium * Re-build agains new libc packages to reflect changes to nfds_t. Thanks to Thomas Muldowney for this note. -- Raphael Bossek Fri, 23 Feb 2001 18:41:11 +0100 libpth (1.3.7-2) unstable; urgency=low * Already fixed using atomaticaly shlibs creation by dh_shlibs (Closes: #64109). -- Raphael Bossek Sun, 14 Sep 2003 17:02:58 +0200 libpth (1.3.7-1) unstable; urgency=low * New upstream version. -- Raphael Bossek Sat, 05 Aug 2000 19:45:37 +0200 libpth (1.3.5-1) unstable; urgency=low * New upstream version. -- Raphael Bossek Wed, 19 Apr 2000 21:11:32 +0200 libpth (1.3.4-1) unstable; urgency=low * New upstream version. -- Raphael Bossek Sun, 16 Apr 2000 18:17:15 +0200 libpth (1.3.3-2) unstable; urgency=low * Dark rejected if because of frozen so we leave it in unstable only (Closes: #59437). -- Raphael Bossek Thu, 23 Mar 2000 20:43:54 +0100 libpth (1.3.3-1) unstable; urgency=low * New upstream version. * Under Solaris add --enable-optimize we now also check for the compiler option -fast. * Fixed AC_COMPILER_OPTION macro in aclocal.m4. * Fixed semantics of pth_cond_notify() to match POSIX. * Allow pth_yield() to yield also to if is a freshly spawned thread. * Fixed internal pth_pqueue_delete() and pth_pqueue_tail() function. * API CHANGE: Changed pth_time(int,int) to pth_time(long,long) and pth_timeout(int,int) to pth_timeout(long,long). * Cleaned up source code even more by making sure "signed", "unsigned" and "const" qualifiers are used correctly and consistently. * Changed default stack size from 32kB to 65kB. * Fixed make depend. * Fixed make install for pth.m4. -- Raphael Bossek Fri, 10 Mar 2000 23:09:49 +0100 libpth (1.3.2-2) unstable; urgency=low * Some build problems resolved (Closes: #59437). * libpth13 replaces libpth-dev packages with different versions now. -- Raphael Bossek Tue, 07 Mar 2000 14:48:17 +0100 libpth (1.3.2-1) unstable; urgency=low * New upstream version. -- Raphael Bossek Thu, 24 Feb 2000 18:36:29 +0100 libpth (1.2.3-2) frozen unstable; urgency=low * Examples work again (Closes: #57474). * Package build process does not install files in directries any more (Closes: #57707). * Corrects grave blocking problem with pth_connect_ev (Closes: #57870). -- Raphael Bossek Sun, 13 Feb 2000 07:42:28 +0100 libpth (1.2.3-1) frozen unstable; urgency=low * New upstream version. * Fix pthread_cond_timedwait by making it more POSIX compliant. * Added more complete Linux support for --enable-syscall-hard. * Added a few more errno_shild sections. * Use SYS__newselect instead of SYS_select under Linux. * Removed +DAportable from HPUX flags to avoid problems. * Added a workround in Makefile.in. * Fixed example in pth manual page. * Fixed memory leaks in some test programs. -- Raphael Bossek Sat, 05 Feb 2000 12:59:55 +0100 libpth (1.2.2-3) frozen unstable; urgency=low * Related to freeze state of potato this package goes to frozen and unstable. -- Raphael Bossek Fri, 21 Jan 2000 09:14:11 +0100 libpth (1.2.2-2) unstable; urgency=low * shlib entry changed. -- Raphael Bossek Wed, 19 Jan 2000 15:24:21 +0100 libpth (1.2.2-1) unstable; urgency=low * New upstream version. -- Raphael Bossek Sun, 09 Jan 2000 15:41:46 +0100 libpth (1.2.1-1) unstable; urgency=low * New upstream version. -- Raphael Bossek Mon, 29 Nov 1999 14:49:45 +0100 libpth (1.2.0-3) unstable; urgency=low * libpth-dev dependency problems with old version resolved (Closes: #49795, #49865). -- Raphael Bossek Sat, 13 Nov 1999 02:37:37 +0100 libpth (1.2.0-2) unstable; urgency=low * libpth-dev dependency resolved (Closes: #49543). * Typo in description removed (Closes: #49544). * Wrong shared library version handling resolved. -- Raphael Bossek Wed, 10 Nov 1999 11:22:05 +0100 libpth (1.2.0-1) unstable; urgency=low * New upstream version. -- Raphael Bossek Sun, 31 Oct 1999 23:18:35 +0200 libpth (1.1.6-1) unstable; urgency=low * New upstream version. * FHS 2.0 compilent. -- Raphael Bossek Sat, 02 Oct 1999 10:46:25 +0200 libpth (1.1.5-1) unstable; urgency=low * New upstream version. -- Raphael Bossek Sat, 04 Sep 1999 12:21:42 +0200 libpth (1.1.3-1) unstable; urgency=low * New upstream version. * Applied patch for alpha build process (Closes: #43278). * Patch from Roman Hodek applied for m68k compatibility within pth_mctx.c (Closes: #43613). * Confirms with debian policy 3.0.1. -- Raphael Bossek Fri, 27 Aug 1999 19:04:13 +0200 libpth (1.1.0-1) unstable; urgency=low * New upstream version. -- Raphael Bossek Thu, 19 Aug 1999 20:56:23 +0200 libpth (1.0.6-1) unstable; urgency=low * New upstream version. * Debian copyright notice corrected. * postinst script completed. * Manual pages overwritting removed (Closes: #43186, #43193). -- Raphael Bossek Sun, 15 Aug 1999 19:40:24 +0200 libpth (1.0.5-1) unstable; urgency=low * New upstream version. -- Raphael Bossek Thu, 10 Aug 1999 22:58:31 +0200 libpth (1.0.4-1) unstable; urgency=low * First upstream version. -- Raphael Bossek Thu, 05 Aug 1999 23:42:02 +0200 debian/libpth20.symbols0000644000000000000000000001162611372406014012230 0ustar libpth.so.20 libpth20 #MINVER# __pth_DQ@Base 2.0.7 __pth_NQ@Base 2.0.7 __pth_RQ@Base 2.0.7 __pth_SQ@Base 2.0.7 __pth_WQ@Base 2.0.7 __pth_asprintf@Base 2.0.7 __pth_attr_ctrl@Base 2.0.7 __pth_cleanup_popall@Base 2.0.7 __pth_compat_unit@Base 2.0.7 __pth_current@Base 2.0.7 __pth_debug@Base 2.0.7 __pth_dumpqueue@Base 2.0.7 __pth_dumpstate@Base 2.0.7 __pth_errno_flag@Base 2.0.7 __pth_errno_storage@Base 2.0.7 __pth_favournew@Base 2.0.7 __pth_initialized@Base 2.0.7 __pth_key_destroydata@Base 2.0.7 __pth_loadval@Base 2.0.7 __pth_main@Base 2.0.7 __pth_mctx_set@Base 2.0.7 __pth_mutex_releaseall@Base 2.0.7 __pth_pqueue_contains@Base 2.0.7 __pth_pqueue_delete@Base 2.0.7 __pth_pqueue_delmax@Base 2.0.7 __pth_pqueue_favorite@Base 2.0.7 __pth_pqueue_increase@Base 2.0.7 __pth_pqueue_init@Base 2.0.7 __pth_pqueue_insert@Base 2.0.7 __pth_pqueue_tail@Base 2.0.7 __pth_pqueue_walk@Base 2.0.7 __pth_readv_faked@Base 2.0.7 __pth_ring_append@Base 2.0.7 __pth_ring_contains@Base 2.0.7 __pth_ring_delete@Base 2.0.7 __pth_ring_dequeue@Base 2.0.7 __pth_ring_favorite@Base 2.0.7 __pth_ring_init@Base 2.0.7 __pth_ring_insert_after@Base 2.0.7 __pth_ring_insert_before@Base 2.0.7 __pth_ring_pop@Base 2.0.7 __pth_ring_prepend@Base 2.0.7 __pth_sched@Base 2.0.7 __pth_sched_eventmanager@Base 2.0.7 __pth_sched_eventmanager_sighandler@Base 2.0.7 __pth_scheduler@Base 2.0.7 __pth_scheduler_drop@Base 2.0.7 __pth_scheduler_init@Base 2.0.7 __pth_scheduler_kill@Base 2.0.7 __pth_snprintf@Base 2.0.7 __pth_state_names@Base 2.0.7 __pth_syscall_init@Base 2.0.7 __pth_syscall_kill@Base 2.0.7 __pth_tcb_alloc@Base 2.0.7 __pth_tcb_free@Base 2.0.7 __pth_thread_cleanup@Base 2.0.7 __pth_thread_exists@Base 2.0.7 __pth_time_cmp@Base 2.0.7 __pth_time_div@Base 2.0.7 __pth_time_mul@Base 2.0.7 __pth_time_pos@Base 2.0.7 __pth_time_t2d@Base 2.0.7 __pth_time_t2i@Base 2.0.7 __pth_time_usleep@Base 2.0.7 __pth_time_zero@Base 2.0.7 __pth_util_cpystrn@Base 2.0.7 __pth_util_fd_valid@Base 2.0.7 __pth_util_fds_merge@Base 2.0.7 __pth_util_fds_select@Base 2.0.7 __pth_util_fds_test@Base 2.0.7 __pth_util_sigdelete@Base 2.0.7 __pth_vasprintf@Base 2.0.7 __pth_vsnprintf@Base 2.0.7 __pth_writev_faked@Base 2.0.7 __pth_writev_iov_advance@Base 2.0.7 __pth_writev_iov_bytes@Base 2.0.7 pth_abort@Base 2.0.7 pth_accept@Base 2.0.7 pth_accept_ev@Base 2.0.7 pth_atfork_pop@Base 2.0.7 pth_atfork_push@Base 2.0.7 pth_attr_destroy@Base 2.0.7 pth_attr_get@Base 2.0.7 pth_attr_init@Base 2.0.7 pth_attr_new@Base 2.0.7 pth_attr_of@Base 2.0.7 pth_attr_set@Base 2.0.7 pth_barrier_init@Base 2.0.7 pth_barrier_reach@Base 2.0.7 pth_cancel@Base 2.0.7 pth_cancel_point@Base 2.0.7 pth_cancel_state@Base 2.0.7 pth_cleanup_pop@Base 2.0.7 pth_cleanup_push@Base 2.0.7 pth_cond_await@Base 2.0.7 pth_cond_init@Base 2.0.7 pth_cond_notify@Base 2.0.7 pth_connect@Base 2.0.7 pth_connect_ev@Base 2.0.7 pth_ctrl@Base 2.0.7 pth_event@Base 2.0.7 pth_event_concat@Base 2.0.7 pth_event_extract@Base 2.0.7 pth_event_free@Base 2.0.7 pth_event_isolate@Base 2.0.7 pth_event_status@Base 2.0.7 pth_event_typeof@Base 2.0.7 pth_event_walk@Base 2.0.7 pth_exit@Base 2.0.7 pth_fdmode@Base 2.0.7 pth_fork@Base 2.0.7 pth_init@Base 2.0.7 pth_join@Base 2.0.7 pth_key_create@Base 2.0.7 pth_key_delete@Base 2.0.7 pth_key_getdata@Base 2.0.7 pth_key_setdata@Base 2.0.7 pth_kill@Base 2.0.7 pth_msgport_create@Base 2.0.7 pth_msgport_destroy@Base 2.0.7 pth_msgport_find@Base 2.0.7 pth_msgport_get@Base 2.0.7 pth_msgport_pending@Base 2.0.7 pth_msgport_put@Base 2.0.7 pth_msgport_reply@Base 2.0.7 pth_mutex_acquire@Base 2.0.7 pth_mutex_init@Base 2.0.7 pth_mutex_release@Base 2.0.7 pth_nanosleep@Base 2.0.7 pth_nap@Base 2.0.7 pth_once@Base 2.0.7 pth_poll@Base 2.0.7 pth_poll_ev@Base 2.0.7 pth_pread@Base 2.0.7 pth_pselect@Base 2.0.7 pth_pwrite@Base 2.0.7 pth_raise@Base 2.0.7 pth_read@Base 2.0.7 pth_read_ev@Base 2.0.7 pth_readv@Base 2.0.7 pth_readv_ev@Base 2.0.7 pth_recv@Base 2.0.7 pth_recv_ev@Base 2.0.7 pth_recvfrom@Base 2.0.7 pth_recvfrom_ev@Base 2.0.7 pth_resume@Base 2.0.7 pth_rwlock_acquire@Base 2.0.7 pth_rwlock_init@Base 2.0.7 pth_rwlock_release@Base 2.0.7 pth_select@Base 2.0.7 pth_select_ev@Base 2.0.7 pth_self@Base 2.0.7 pth_send@Base 2.0.7 pth_send_ev@Base 2.0.7 pth_sendto@Base 2.0.7 pth_sendto_ev@Base 2.0.7 pth_sfiodisc@Base 2.0.7 pth_sigmask@Base 2.0.7 pth_sigwait@Base 2.0.7 pth_sigwait_ev@Base 2.0.7 pth_sleep@Base 2.0.7 pth_spawn@Base 2.0.7 pth_suspend@Base 2.0.7 pth_syscall_hard@Base 2.0.7 pth_syscall_soft@Base 2.0.7 pth_system@Base 2.0.7 pth_time@Base 2.0.7 pth_timeout@Base 2.0.7 pth_uctx_create@Base 2.0.7 pth_uctx_destroy@Base 2.0.7 pth_uctx_make@Base 2.0.7 pth_uctx_switch@Base 2.0.7 pth_uctx_trampoline_ctx@Base 2.0.7 pth_usleep@Base 2.0.7 pth_version@Base 2.0.7 pth_wait@Base 2.0.7 pth_waitpid@Base 2.0.7 pth_write@Base 2.0.7 pth_write_ev@Base 2.0.7 pth_writev@Base 2.0.7 pth_writev_ev@Base 2.0.7 pth_yield@Base 2.0.7 debian/compat0000644000000000000000000000000212166473106010372 0ustar 9 debian/patches/0000755000000000000000000000000012255354341010621 5ustar debian/patches/06-ldflags.patch0000644000000000000000000000167112166477537013524 0ustar Description: LDFLAGS for shared library build Author: NIIBE Yutaka Last_Update: 2013-07-08 Index: pth-2.0.7/Makefile.in =================================================================== --- pth-2.0.7.orig/Makefile.in 2013-07-08 08:58:19.000000000 +0000 +++ pth-2.0.7/Makefile.in 2013-07-08 08:58:19.000000000 +0000 @@ -168,10 +168,10 @@ # build the static and possibly shared libraries libpth.la: $(LOBJS) - $(LIBTOOL) --mode=link --quiet $(CC) -o libpth.la $(LOBJS) \ + $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o libpth.la $(LOBJS) \ -rpath $(libdir) -version-info `$(SHTOOL) version -lc -dlibtool $(_VERSION_FILE)` libpthread.la: pthread.lo $(LOBJS) - $(LIBTOOL) --mode=link --quiet $(CC) -o libpthread.la pthread.lo $(LOBJS) \ + $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o libpthread.la pthread.lo $(LOBJS) \ -rpath $(libdir) -version-info `$(SHTOOL) version -lc -dlibtool $(_VERSION_FILE)` # build the manual pages debian/patches/05-linux_3.patch0000644000000000000000000000215512166474672013463 0ustar Description: Linux 3 configure check Author: Mikael Pettersson Last_Update: 2013-07-08 ## https://lists.fedoraproject.org/pipermail/scm-commits/2012-June/804968.html ## ## Thanks to Raul Porcel to notify. Index: pth-2.0.7/aclocal.m4 =================================================================== --- pth-2.0.7.orig/aclocal.m4 2013-07-08 08:35:00.597877643 +0000 +++ pth-2.0.7/aclocal.m4 2013-07-08 08:35:00.513877629 +0000 @@ -1074,7 +1074,7 @@ braindead=no case "x`uname -r`" in changequote(, )dnl - x2.[23456789]* ) ;; + x2.[23456789]* | x3.[0-9]* ) ;; changequote([, ]) * ) braindead=yes ;; esac Index: pth-2.0.7/configure =================================================================== --- pth-2.0.7.orig/configure 2013-07-08 08:35:00.597877643 +0000 +++ pth-2.0.7/configure 2013-07-08 08:35:00.533877631 +0000 @@ -22504,7 +22504,7 @@ *-*-linux* ) braindead=no case "x`uname -r`" in - x2.[23456789]* ) ;; + x2.[23456789]* | x3.[0-9]* ) ;; * ) braindead=yes ;; esac debian/patches/07-test_uctx_fix.patch0000644000000000000000000000305312166533107014757 0ustar Description: Fix test_uctx.c for LP64 Author: NIIBE Yutaka Last_Update: 2013-07-08 Index: pth-2.0.7/test_uctx.c =================================================================== --- pth-2.0.7.orig/test_uctx.c 2013-07-08 12:51:56.327238378 +0000 +++ pth-2.0.7/test_uctx.c 2013-07-08 12:53:19.851226156 +0000 @@ -42,22 +42,22 @@ static void worker(void *ctx) { - volatile int n = (int)ctx; + volatile long n = (long)ctx; volatile int i = 0; - fprintf(stderr, "worker #%d: enter\n", n); + fprintf(stderr, "worker #%ld: enter\n", n); for (i = 0; i < 100; i++) { - fprintf(stderr, "worker #%d: working (step %d)\n", n, i); + fprintf(stderr, "worker #%ld: working (step %d)\n", n, i); pth_uctx_switch(uctx[n], uctx[0]); } worker_done[n] = TRUE; - fprintf(stderr, "worker #%d: exit\n", n); + fprintf(stderr, "worker #%ld: exit\n", n); return; } static void test_working(void) { - volatile int i; + volatile long i; volatile int todo; fprintf(stderr, "master: startup\n"); @@ -75,9 +75,9 @@ todo = 0; for (i = 1; i < 10; i++) { if (!worker_done[i]) { - fprintf(stderr, "master: switching to worker #%d\n", i); + fprintf(stderr, "master: switching to worker #%ld\n", i); pth_uctx_switch(uctx[0], uctx[i]); - fprintf(stderr, "master: came back from worker #%d\n", i); + fprintf(stderr, "master: came back from worker #%ld\n", i); todo = 1; } } debian/patches/04-exit_on_failed_test.patch0000644000000000000000000000121112166474660016076 0ustar Description: Let build fail if test fails Author: Jani Monoses Last_Update: 2013-07-08 ## Taken from launchpad.net (patch for 2.0.7-16ubuntu1) Index: pth-2.0.7/Makefile.in =================================================================== --- pth-2.0.7.orig/Makefile.in 2013-07-08 08:34:12.177869462 +0000 +++ pth-2.0.7/Makefile.in 2013-07-08 08:34:40.049874095 +0000 @@ -340,7 +340,7 @@ # execute and debug one of the test programs test: test-std test-std: test_std - -@./test_std; \ + @./test_std; \ if [ $$? -eq 0 ]; then \ touch .done-test >/dev/null 2>&1 || $(TRUE); \ if [ ".`grep $(PLATFORM) $(S)PORTING`" = . ]; then \ debian/patches/01-ia64.patch0000644000000000000000000000264711372377255012644 0ustar Description: patch for ia64's pth problem Author: "Jamin W. Collins" Date: Tue, 27 Jan 2004 13:14:35 -0700 Forwarded: Status Unknown Bug-Debian: http://bugs.debian.org/225780 Reviewed-By: NIIBE Yutaka Last_Update: 2010-05-12 diff -Naurp pth.orig/pth_sched.c pth/pth_sched.c --- pth.orig/pth_sched.c 2009-07-16 23:16:52.000000000 +0000 +++ pth/pth_sched.c 2009-07-16 23:20:51.000000000 +0000 @@ -297,8 +297,15 @@ intern void *pth_scheduler(void *dummy) /* * Check for stack overflow */ +#ifndef __ia64__ if (pth_current->stackguard != NULL) { if (*pth_current->stackguard != 0xDEAD) { +#else + /* On ia64 the stack grows down but the bottom part is used for register + * backing store which grows up. So we check for a meet in the middle + */ + if (pth_current->mctx.uc.uc_mcontext.sc_gr[12] <= pth_current->mctx.uc.uc_mcontext.sc_ar_bsp) { +#endif pth_debug3("pth_scheduler: stack overflow detected for thread 0x%lx (\"%s\")", (unsigned long)pth_current, pth_current->name); /* @@ -324,7 +331,9 @@ intern void *pth_scheduler(void *dummy) pth_current->state = PTH_STATE_DEAD; kill(getpid(), SIGSEGV); } +#ifndef __ia64__ } +#endif /* * If previous thread is now marked as dead, kick it out debian/patches/02-configure.patch0000644000000000000000000000141611372404653014045 0ustar Description: patch to enable -g option for compiling Without this, pth-dbg package is not that useful Author: NIIBE Yutaka Forwarded: No Reviewed-By: NIIBE Yutaka Last_Update: 2010-05-12 --- pth-2.0.7.orig/configure 2006-06-09 03:14:48.000000000 +0900 +++ pth-2.0.7/configure 2010-05-12 10:49:23.000000000 +0900 @@ -3054,14 +3054,6 @@ ;; esac fi -case "$CFLAGS" in - *-g* ) CFLAGS=`echo "$CFLAGS" |\ - sed -e 's/ -g / /g' -e 's/ -g$//' -e 's/^-g //g' -e 's/^-g$//'` ;; -esac -case "$CXXFLAGS" in - *-g* ) CXXFLAGS=`echo "$CXXFLAGS" |\ - sed -e 's/ -g / /g' -e 's/ -g$//' -e 's/^-g //g' -e 's/^-g$//'` ;; -esac msg="disabled" fi; echo "$as_me:$LINENO: checking for compilation debug mode" >&5 debian/patches/03-hurd-pth_mctx.patch0000644000000000000000000000214012166474563014657 0ustar Description: Work around for GNU/Hurd Newer glibc hide the definition of JB_SP/JB_PC as private, so, there is no clean way other than define them here. GNU/Linux or GNU/kfreebsd doesn't use this version of pth_mctx_set anymore (because their mctx implementation now is mcsc/sc/mc), so, we have no problem modifying this. Author: NIIBE Yutaka Bug-Debian: http://bugs.debian.org/466115 Forwarded: no Reviewed-By: NIIBE Yutaka Last-Update: 2010-05-12 Index: pth-2.0.7/pth_mctx.c =================================================================== --- pth-2.0.7.orig/pth_mctx.c 2013-07-08 08:33:26.000000000 +0000 +++ pth-2.0.7/pth_mctx.c 2013-07-08 08:33:30.000000000 +0000 @@ -465,6 +465,10 @@ pth_mctx_t *mctx, void (*func)(void), char *sk_addr_lo, char *sk_addr_hi) { pth_mctx_save(mctx); +#if defined(__i386__) /* Workaround for GNU/Hurd */ +#define JB_SP 4 +#define JB_PC 5 +#endif #if defined(__GLIBC__) && defined(__GLIBC_MINOR__) \ && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 0 && defined(JB_PC) && defined(JB_SP) mctx->jb[0].__jmpbuf[JB_PC] = (int)func; debian/patches/powerpc64le.diff0000644000000000000000000000256112255354341013631 0ustar Index: b/configure =================================================================== --- a/configure +++ b/configure @@ -4383,7 +4383,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; - ppc64-*linux*|powerpc64-*linux*) + powerpc64le-*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) @@ -4399,7 +4402,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - ppc*-*linux*|powerpc*-*linux*) + powerpcle-*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*) Index: b/libtool.m4 =================================================================== --- a/libtool.m4 +++ b/libtool.m4 @@ -533,7 +533,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; - ppc64-*linux*|powerpc64-*linux*) + powerpc64le-*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) @@ -549,7 +552,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - ppc*-*linux*|powerpc*-*linux*) + powerpcle-*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*) debian/patches/series0000644000000000000000000000023712255354067012045 0ustar 01-ia64.patch 02-configure.patch 03-hurd-pth_mctx.patch 04-exit_on_failed_test.patch 05-linux_3.patch 06-ldflags.patch 07-test_uctx_fix.patch powerpc64le.diff debian/libpth20.docs0000644000000000000000000000007211372372245011471 0ustar ANNOUNCE AUTHORS HISTORY NEWS README SUPPORT THANKS USERS debian/control0000644000000000000000000000371512167131130010572 0ustar Source: pth Section: devel Priority: optional Maintainer: NIIBE Yutaka Build-Depends: debhelper (>= 9), quilt (>= 0.46-7~), autotools-dev Standards-Version: 3.9.4 Homepage: http://www.gnu.org/software/pth/ Package: libpth20 Section: libs Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Description: GNU Portable Threads 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 ("multithreading") inside server applications. All threads run in the same address space of the server application, but each thread has its own individual program-counter, run-time stack, signal mask and errno variable. Package: libpth-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, libpth20 (= ${binary:Version}) Description: GNU Portable Threads (development) 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 ("multithreading") inside server applications. All threads run in the same address space of the server application, but each thread has its own individual program-counter, run-time stack, signal mask and errno variable. . This package contains the development files. Package: pth-dbg Section: debug Priority: extra Architecture: any Depends: ${misc:Depends}, libpth20 (= ${binary:Version}) Multi-Arch: same Description: GNU Portable Threads (debug) 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 ("multithreading") inside server applications. All threads run in the same address space of the server application, but each thread has its own individual program-counter, run-time stack, signal mask and errno variable. . This package contains the debug symbols. debian/rules0000755000000000000000000000075712167127371010266 0ustar #!/usr/bin/make -f # -*- makefile-gmake -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 #Disable longjmp sanity checks in glibc for m68k ifeq ($(DEB_HOST_ARCH),m68k) CFLAGS += -D_FORTIFY_SOURCE=0 endif %: dh $@ --with quilt override_dh_auto_clean: dh_auto_clean rm -f config.sub config.guess override_dh_auto_configure: ln -sf /usr/share/misc/config.sub . ln -sf /usr/share/misc/config.guess . dh_auto_configure override_dh_strip: dh_strip --dbg-package=pth-dbg debian/source/0000755000000000000000000000000011372372340010470 5ustar debian/source/format0000644000000000000000000000001411372372340011676 0ustar 3.0 (quilt) debian/libpth-dev.docs0000644000000000000000000000012011372372245012075 0ustar ANNOUNCE AUTHORS HACKING HISTORY NEWS PORTING README SUPPORT TESTS THANKS USERS debian/watch0000644000000000000000000000010212166520263010213 0ustar version=3 http://ftp.ossp.org/pkg/lib/pth/ .*/pth-(\d.*)\.tar\.gz