--- pth-2.0.7.orig/config.sub +++ pth-2.0.7/config.sub @@ -1,9 +1,10 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, +# Inc. -timestamp='2005-12-11' +timestamp='2006-07-02' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -240,7 +241,7 @@ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ @@ -248,7 +249,8 @@ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ - | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ @@ -268,16 +270,17 @@ | mn10200 | mn10300 \ | mt \ | msp430 \ + | nios | nios2 \ | ns16k | ns32k \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ - | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ - | sparcv8 | sparcv9 | sparcv9b \ - | strongarm \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ + | spu | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ @@ -285,9 +288,6 @@ | z8k) basic_machine=$basic_machine-unknown ;; - m32c) - basic_machine=$basic_machine-unknown - ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown @@ -317,7 +317,7 @@ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* \ + | avr-* | avr32-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ @@ -328,7 +328,7 @@ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ - | m32r-* | m32rle-* \ + | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ @@ -350,17 +350,18 @@ | mmix-* \ | mt-* \ | msp430-* \ + | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ @@ -371,8 +372,6 @@ | ymp-* \ | z8k-*) ;; - m32c-*) - ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) @@ -818,6 +817,12 @@ pc532 | pc532-*) basic_machine=ns32k-pc532 ;; + pc98) + basic_machine=i386-pc + ;; + pc98-*) + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; @@ -1120,7 +1125,7 @@ sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; - sparc | sparcv8 | sparcv9 | sparcv9b) + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) @@ -1193,7 +1198,8 @@ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ + | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ @@ -1208,7 +1214,7 @@ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos*) + | -skyos* | -haiku* | -rdos* | -toppers*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1360,6 +1366,9 @@ # system, and we'll never get to this point. case $basic_machine in + spu-*) + os=-elf + ;; *-acorn) os=-riscix1.2 ;; @@ -1369,9 +1378,9 @@ arm*-semi) os=-aout ;; - c4x-* | tic4x-*) - os=-coff - ;; + c4x-* | tic4x-*) + os=-coff + ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 --- pth-2.0.7.orig/config.guess +++ pth-2.0.7/config.guess @@ -1,9 +1,10 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, +# Inc. -timestamp='2005-12-13' +timestamp='2006-07-02' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -106,7 +107,7 @@ trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; - { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; @@ -206,8 +207,11 @@ *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; + *:SolidBSD:*:*) + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} + exit ;; macppc:MirBSD:*:*) - echo powerppc-unknown-mirbsd${UNAME_RELEASE} + echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} @@ -764,7 +768,14 @@ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + case ${UNAME_MACHINE} in + pc98) + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + amd64) + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + *) + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin @@ -779,8 +790,11 @@ i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; - x86:Interix*:[345]*) - echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' + x86:Interix*:[3456]*) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + EM64T:Interix*:[3456]*) + echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks @@ -817,6 +831,9 @@ arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; + avr32*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; @@ -851,7 +868,11 @@ #endif #endif EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^CPU/{s: ::g;p;}'`" + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^CPU/{ + s: ::g + p + }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; mips64:Linux:*:*) @@ -870,7 +891,11 @@ #endif #endif EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^CPU/{s: ::g;p;}'`" + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^CPU/{ + s: ::g + p + }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) @@ -967,7 +992,7 @@ LIBC=gnulibc1 # endif #else - #if defined(__INTEL_COMPILER) || defined(__PGI) + #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) LIBC=gnu #else LIBC=gnuaout @@ -977,7 +1002,11 @@ LIBC=dietlibc #endif EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^LIBC/{s: ::g;p;}'`" + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^LIBC/{ + s: ::g + p + }'`" test x"${LIBC}" != x && { echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit --- pth-2.0.7.orig/debian/watch +++ pth-2.0.7/debian/watch @@ -0,0 +1,4 @@ +# watch control file for uscan + +version=3 +http://ftp.gnu.org/gnu/pth/pth-(.*)\.tar\.gz --- pth-2.0.7.orig/debian/libpthread-dev.install +++ pth-2.0.7/debian/libpthread-dev.install @@ -0,0 +1,5 @@ +/usr/bin/pthread-config +/usr/include/pthread.h +/usr/lib/libpthread.a +/usr/lib/libpthread.so +/usr/lib/libpthread.la --- pth-2.0.7.orig/debian/libpth20.shlibs +++ pth-2.0.7/debian/libpth20.shlibs @@ -0,0 +1 @@ +libpth 20 libpth20 (>= 2.0.7-2) --- pth-2.0.7.orig/debian/libpthread-dev.manpages +++ pth-2.0.7/debian/libpthread-dev.manpages @@ -0,0 +1,2 @@ +pthread-config.1 +pthread.3 --- pth-2.0.7.orig/debian/libpthread20.install +++ pth-2.0.7/debian/libpthread20.install @@ -0,0 +1 @@ +/usr/lib/libpthread.so.* --- 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.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/copyright +++ pth-2.0.7/debian/copyright @@ -0,0 +1,27 @@ +This package was first debianized by Raphael Bossek on +Thu, 5 Aug 1999 23:42:02 +0200. + +It was downloaded from . + +Upstream Author: Ralf S. Engelschall + +License: + + Copyright (C) 1999-2006 Ralf S. Engelschall + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General Public License +can be found in /usr/share/common-licenses/LGPL file. --- pth-2.0.7.orig/debian/patches/00list +++ pth-2.0.7/debian/patches/00list @@ -0,0 +1 @@ +01-ia64 --- 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/libpthread20.docs +++ pth-2.0.7/debian/libpthread20.docs @@ -0,0 +1,8 @@ +ANNOUNCE +AUTHORS +HISTORY +NEWS +README +SUPPORT +THANKS +USERS --- pth-2.0.7.orig/debian/compat +++ pth-2.0.7/debian/compat @@ -0,0 +1 @@ +5 --- pth-2.0.7.orig/debian/libpth-dev.install +++ pth-2.0.7/debian/libpth-dev.install @@ -0,0 +1,6 @@ +/usr/bin/pth-config +/usr/include/pth.h +/usr/lib/libpth.a +/usr/lib/libpth.so +/usr/lib/libpth.la +/usr/share/aclocal/pth.m4 --- pth-2.0.7.orig/debian/libpth-dev.manpages +++ pth-2.0.7/debian/libpth-dev.manpages @@ -0,0 +1,2 @@ +pth-config.1 +pth.3 --- pth-2.0.7.orig/debian/control +++ pth-2.0.7/debian/control @@ -0,0 +1,78 @@ +Source: pth +Section: devel +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: debhelper (>= 5), dpatch, autotools-dev +Standards-Version: 3.7.2 + +Package: libpth20 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: libpth2 +Replaces: libpth2 +Provides: libpth2 +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 (= ${Source-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: libpthread20 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: libpthread2 +Replaces: libpthread2 +Provides: libpthread2 +Description: The GNU Portable Threads (pthread emulation) + 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 pthread emulation. + +Package: libpthread-dev +Section: libdevel +Architecture: any +Depends: libpthread20 (= ${Source-Version}) +Description: The GNU Portable Threads (pthread emulation, 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 for the pthread emulation. + +Package: pth-dbg +Section: libdevel +Priority: extra +Architecture: any +Depends: libpth20 (= ${Source-Version}), libpthread20 (= ${Source-Version}) +Conflicts: libpth-dbg (<< 2.0.7) +Replaces: libpth-dbg (<< 2.0.7) +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/rules +++ pth-2.0.7/debian/rules @@ -0,0 +1,84 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +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 + +config.status: configure patch + dh_testdir + + # Configuring package + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --enable-pthread + +build: build-stamp +build-stamp: config.status + dh_testdir + + # Building package + $(MAKE) + $(MAKE) test + + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + + # Cleaning package + -$(MAKE) distclean +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 + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Installing package + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_install --sourcedir=debian/tmp + dh_installinfo + dh_installman + dh_link + dh_strip --dbg-package=pth-dbg + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- pth-2.0.7.orig/debian/libpthread20.shlibs +++ pth-2.0.7/debian/libpthread20.shlibs @@ -0,0 +1 @@ +libpthread 20 libpthread20 (>= 2.0.7-2) --- pth-2.0.7.orig/debian/libpthread-dev.postrm +++ pth-2.0.7/debian/libpthread-dev.postrm @@ -0,0 +1,27 @@ +#!/bin/sh + +set -e + +case "$1" in + remove) + for FILE in /usr/include/pthread.h /usr/lib/libpthread.a /usr/lib/libpthread.so + do + dpkg-divert --package libpthread-dev \ + --remove --rename --divert \ + $FILE.glibc $FILE + done + ;; + + purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- pth-2.0.7.orig/debian/libpth20.install +++ pth-2.0.7/debian/libpth20.install @@ -0,0 +1 @@ +/usr/lib/libpth.so.* --- pth-2.0.7.orig/debian/libpthread-dev.docs +++ pth-2.0.7/debian/libpthread-dev.docs @@ -0,0 +1,11 @@ +ANNOUNCE +AUTHORS +HACKING +HISTORY +NEWS +PORTING +README +SUPPORT +TESTS +THANKS +USERS --- pth-2.0.7.orig/debian/libpthread-dev.preinst +++ pth-2.0.7/debian/libpthread-dev.preinst @@ -0,0 +1,27 @@ +#!/bin/sh + +set -e + +case "$1" in + install) + for FILE in /usr/include/pthread.h /usr/lib/libpthread.a /usr/lib/libpthread.so + do + dpkg-divert --package libpthread-dev \ + --add --rename --divert \ + $FILE.glibc $FILE + done + ;; + + upgrade|abort-upgrade) + + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- pth-2.0.7.orig/debian/changelog +++ pth-2.0.7/debian/changelog @@ -0,0 +1,375 @@ +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 + +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