--- pth-2.0.7.orig/debian/libpth20.shlibs +++ pth-2.0.7/debian/libpth20.shlibs @@ -0,0 +1 @@ +libpth 20 libpth20 (>= 2.0.7) --- pth-2.0.7.orig/debian/copyright +++ pth-2.0.7/debian/copyright @@ -0,0 +1,42 @@ +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/* +Copyright: (C) 2006-2008 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. --- pth-2.0.7.orig/debian/libpth20.docs +++ pth-2.0.7/debian/libpth20.docs @@ -0,0 +1,8 @@ +ANNOUNCE +AUTHORS +HISTORY +NEWS +README +SUPPORT +THANKS +USERS --- pth-2.0.7.orig/debian/rules +++ pth-2.0.7/debian/rules @@ -0,0 +1,76 @@ +#!/usr/bin/make -f + +include /usr/share/dpatch/dpatch.make + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + rm -f config.guess config.sub + + [ ! -f Makefile ] || $(MAKE) distclean + + dh_clean + +config.status: configure patch + dh_testdir + +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + + CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man + +build: build-stamp +build-stamp: config.status + dh_testdir + + $(MAKE) + $(MAKE) test + + touch build-stamp + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + +binary: binary-arch + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_install --fail-missing --sourcedir=debian/tmp + dh_lintian + dh_strip --dbg-package=pth-dbg + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: + +.PHONY: clean build install binary binary-arch binary-indep --- pth-2.0.7.orig/debian/pth-dbg.lintian-overrides +++ pth-2.0.7/debian/pth-dbg.lintian-overrides @@ -0,0 +1 @@ +pth-dbg: dbg-package-missing-depends pth --- pth-2.0.7.orig/debian/libpth-dev.install +++ pth-2.0.7/debian/libpth-dev.install @@ -0,0 +1,7 @@ +/usr/bin +/usr/include +/usr/lib/*.a +/usr/lib/*.so +/usr/lib/*.la +/usr/share/aclocal +/usr/share/man --- pth-2.0.7.orig/debian/libpth-dev.docs +++ pth-2.0.7/debian/libpth-dev.docs @@ -0,0 +1,11 @@ +ANNOUNCE +AUTHORS +HACKING +HISTORY +NEWS +PORTING +README +SUPPORT +TESTS +THANKS +USERS --- pth-2.0.7.orig/debian/libpth20.install +++ pth-2.0.7/debian/libpth20.install @@ -0,0 +1 @@ +/usr/lib/*.so.* --- pth-2.0.7.orig/debian/changelog +++ pth-2.0.7/debian/changelog @@ -0,0 +1,425 @@ +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, 1 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, 4 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, 4 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, 8 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, 6 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, 2 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, 2 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, 9 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, 4 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, 8 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, 9 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, 5 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, 7 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, 5 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, 9 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, 2 Oct 1999 10:46:25 +0200 + +libpth (1.1.5-1) unstable; urgency=low + + * New upstream version. + + -- Raphael Bossek Sat, 4 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, 5 Aug 1999 23:42:02 +0200 --- pth-2.0.7.orig/debian/compat +++ pth-2.0.7/debian/compat @@ -0,0 +1 @@ +6 --- pth-2.0.7.orig/debian/control +++ pth-2.0.7/debian/control @@ -0,0 +1,47 @@ +Source: pth +Section: devel +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: debhelper (>= 6), dpatch, autotools-dev +Standards-Version: 3.7.3 +Homepage: http://www.gnu.org/software/pth/ +Vcs-Browser: http://git.debian.net/?p=pth.git +Vcs-Git: git://git.debian.net/git/pth.git + +Package: libpth20 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: The 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: libpth20 (= ${binary:Version}) +Description: The 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: libdevel +Priority: extra +Architecture: any +Depends: libpth20 (= ${binary:Version}), libpth-dev (=${binary:Version}) +Description: The 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. --- pth-2.0.7.orig/debian/patches/01-ia64.dpatch +++ pth-2.0.7/debian/patches/01-ia64.dpatch @@ -0,0 +1,33 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run + +@DPATCH@ + +diff -Naur pth-2.0.7.orig/pth_sched.c pth-2.0.7/pth_sched.c +--- pth-2.0.7.orig/pth_sched.c 2006-06-08 17:54:03.000000000 +0000 ++++ pth-2.0.7/pth_sched.c 2006-06-25 09:07:25.000000000 +0000 +@@ -297,8 +297,15 @@ + /* + * 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 @@ + pth_current->state = PTH_STATE_DEAD; + kill(getpid(), SIGSEGV); + } ++#ifndef __ia64__ + } ++#endif + + /* + * If previous thread is now marked as dead, kick it out --- pth-2.0.7.orig/debian/patches/00list +++ pth-2.0.7/debian/patches/00list @@ -0,0 +1 @@ +01-ia64.dpatch