r1387 - in glibc-package/trunk/debian: . control.in debhelper.in rules.d
Author: aurel32
Date: 2006-04-10 17:26:13 +0000 (Mon, 10 Apr 2006)
New Revision: 1387
Added:
glibc-package/trunk/debian/debhelper.in/libc-dev.manpages
glibc-package/trunk/debian/debhelper.in/libc.docs
Removed:
glibc-package/trunk/debian/debhelper.in/libc-alt-dev.preinst
glibc-package/trunk/debian/debhelper.in/libc-alt.dirs
glibc-package/trunk/debian/debhelper.in/libc-alt.preinst
glibc-package/trunk/debian/debhelper.in/libc-bin.dirs
glibc-package/trunk/debian/debhelper.in/libc-bin.docs
glibc-package/trunk/debian/debhelper.in/libc-bin.install
glibc-package/trunk/debian/debhelper.in/libc-bin.manpages
glibc-package/trunk/debian/debhelper.in/libc-bin.postinst
glibc-package/trunk/debian/debhelper.in/libc-bin.postrm
glibc-package/trunk/debian/debhelper.in/libc-dev-bin.install
glibc-package/trunk/debian/debhelper.in/libc-dev-bin.manpages
glibc-package/trunk/debian/debhelper.in/libc-dev.preinst
glibc-package/trunk/debian/debhelper.in/libc-otherbuild.dirs
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/control
glibc-package/trunk/debian/control.in/amd64
glibc-package/trunk/debian/control.in/libc
glibc-package/trunk/debian/control.in/libc0.1
glibc-package/trunk/debian/control.in/main
glibc-package/trunk/debian/control.in/powerpc
glibc-package/trunk/debian/control.in/ppc64
glibc-package/trunk/debian/control.in/s390x
glibc-package/trunk/debian/control.in/sparc64
glibc-package/trunk/debian/debhelper.in/libc-alt.install
glibc-package/trunk/debian/debhelper.in/libc-dev.install
glibc-package/trunk/debian/debhelper.in/libc-otherbuild.install
glibc-package/trunk/debian/debhelper.in/libc-otherbuild.preinst
glibc-package/trunk/debian/debhelper.in/libc.dirs
glibc-package/trunk/debian/debhelper.in/libc.install
glibc-package/trunk/debian/debhelper.in/libc.manpages
glibc-package/trunk/debian/debhelper.in/libc.postinst
glibc-package/trunk/debian/debhelper.in/libc.postrm
glibc-package/trunk/debian/debhelper.in/libc.preinst
glibc-package/trunk/debian/rules
glibc-package/trunk/debian/rules.d/debhelper.mk
Log:
The split into libc6 -> libc-bin + libc6 and libc6-dev -> libc-dev-bin + libc6-dev has been rejected by the ftp-master
Revert the corresponding changes.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/changelog 2006-04-10 17:26:13 UTC (rev 1387)
@@ -1,28 +1,8 @@
-glibc (2.3.6-7) UNRELEASED; urgency=low
-
- [ Aurelien Jarno ]
- * Build a libc6-xen flavour on i386.
- * Fix a typo in the description of the libc6-sparcv9 and libc6-sparcv9b
- packages.
- * local/usr_sbin/tzconfig:
- - Put a copy of the current timezone into /etc/localtime instead of a
- symlink. (Closes: #346342)
- - Handle the case where /etc/localtime does not exists. (Closes:
- #360383).
- * local/manpages/tzconfig.8: Update the manpage accordingly.
- * script.in/kernelcheck.sh: Also take in account 64-bit mips(el) kernels.
-
- -- Aurelien Jarno <aurel32@debian.org> Mon, 10 Apr 2006 06:40:33 +0200
-
glibc (2.3.6-6) unstable; urgency=low
[ Aurelien Jarno ]
* Remove the timezone database from the libc6 package. It is not provided
by a separate package called tzdata.
- * Split out binaries from libc6 into libc-bin, and binaries from libc6-bin
- into libc-bin-dev. (Closes: #330735)
- * Remove old /usr/share/doc/libc* directories in preinst, so they can be
- replaced by symlinks by dpkg.
* Put each test log file in the corresponding package instead of putting all
of them in libc6.
* Remove sparc/local-sparc64-fixups.diff as /lib64 and /usr/lib64 are now a
@@ -43,6 +23,16 @@
packages. (Closes: #361642)
* /etc/ld.so.nohwcap is now supported on non-Linux architectures. Drop the
"Linux" check from libc-otherbuild.preinst.
+ * Build a libc6-xen flavour on i386.
+ * Fix a typo in the description of the libc6-sparcv9 and libc6-sparcv9b
+ packages.
+ * local/usr_sbin/tzconfig:
+ - Put a copy of the current timezone into /etc/localtime instead of a
+ symlink. (Closes: #346342)
+ - Handle the case where /etc/localtime does not exists. (Closes:
+ #360383).
+ * local/manpages/tzconfig.8: Update the manpage accordingly.
+ * script.in/kernelcheck.sh: Also take in account 64-bit mips(el) kernels.
[ Denis Barbier ]
* debian/debhelper.in/locales.config: /etc/locale.gen was not generated at
Modified: glibc-package/trunk/debian/control
===================================================================
--- glibc-package/trunk/debian/control 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/control 2006-04-10 17:26:13 UTC (rev 1387)
@@ -15,25 +15,6 @@
Uploaders: Ben Collins <bcollins@debian.org>, GOTO Masanori <gotom@debian.org>, Philip Blundell <pb@nexus.co.uk>, Jeff Bailey <jbailey@raspberryginger.com>, Daniel Jacobowitz <dan@debian.org>, Clint Adams <schizo@debian.org>, Denis Barbier <barbier@debian.org>, Aurelien Jarno <aurel32@debian.org>
Standards-Version: 3.6.2
-Package: libc-bin
-Architecture: any
-Section: libs
-Priority: required
-Depends: libc6 (>= ${Source-Version})
-Replaces: libc0.1, libc0.3, libc6, libc6.1
-Description: GNU C Library: Binaries
- Contains the binary programs needed by the standard C library.
-
-Package: libc-dev-bin
-Architecture: any
-Section: libdevel
-Priority: required
-Depends: libc6 (>= ${Source-Version})
-Replaces: libc0.1-dev, libc0.3-dev, libc6-dev, libc6.1-dev
-Description: GNU C Library: Development Binaries
- Contains the binary programs needed to compile and link programs which
- use the standard C library.
-
Package: glibc-doc
Architecture: all
Section: doc
@@ -79,7 +60,7 @@
Section: libs
Priority: required
Provides: ${locale-compat:Depends}
-Depends: libc-bin (>= ${Source-Version}), tzdata
+Depends: tzdata
Description: GNU C Library: Shared libraries
Contains the standard libraries that are used by nearly all programs on
the system. This package includes shared versions of the standard C library
@@ -89,7 +70,7 @@
Architecture: amd64 arm armeb i386 m68k mips mipsel powerpc ppc64 sparc s390 hppa sh3 sh4 sh3eb sh4eb
Section: libdevel
Priority: standard
-Depends: libc6 (= ${Source-Version}), libc-dev-bin (>= ${Source-Version})
+Depends: libc6 (= ${Source-Version})
Recommends: gcc | c-compiler
Description: GNU C Library: Development Libraries and Header Files
Contains the symlinks, headers, and object files needed to compile
@@ -151,7 +132,7 @@
Section: libs
Priority: required
Provides: ${locale-compat:Depends}
-Depends: libc-bin (>= ${Source-Version}), tzdata
+Depends: tzdata
Description: GNU C Library: Shared libraries
Contains the standard libraries that are used by nearly all programs on
the system. This package includes shared versions of the standard C library
@@ -161,7 +142,7 @@
Architecture: alpha ia64
Section: libdevel
Priority: standard
-Depends: libc6.1 (= ${Source-Version}), libc-dev-bin (>= ${Source-Version})
+Depends: libc6.1 (= ${Source-Version})
Recommends: gcc | c-compiler
Description: GNU C Library: Development Libraries and Header Files
Contains the symlinks, headers, and object files needed to compile
@@ -223,7 +204,7 @@
Section: libs
Priority: required
Provides: ${locale-compat:Depends}
-Depends: libc-bin (>= ${Source-Version}), tzdata
+Depends: tzdata
Description: GNU C Library: Shared libraries
Contains the standard libraries that are used by nearly all programs on
the system. This package includes shared versions of the standard C library
@@ -233,7 +214,7 @@
Architecture: hurd-i386
Section: libdevel
Priority: standard
-Depends: libc0.3 (= ${Source-Version}), libc-dev-bin (>= ${Source-Version})
+Depends: libc0.3 (= ${Source-Version})
Recommends: gcc | c-compiler
Description: GNU C Library: Development Libraries and Header Files
Contains the symlinks, headers, and object files needed to compile
@@ -295,7 +276,7 @@
Section: libs
Priority: required
Provides: ${locale-compat:Depends}
-Depends: libc-bin (>= ${Source-Version}), tzdata
+Depends: tzdata
Description: GNU C Library: Shared libraries
Contains the standard libraries that are used by nearly all programs on
the system. This package includes shared versions of the standard C library
@@ -305,7 +286,7 @@
Architecture: kfreebsd-i386 kfreebsd-amd64
Section: libdevel
Priority: standard
-Depends: libc0.1 (= ${Source-Version}), libc-dev-bin (>= ${Source-Version})
+Depends: libc0.1 (= ${Source-Version})
Recommends: gcc | c-compiler
Description: GNU C Library: Development Libraries and Header Files
Contains the symlinks, headers, and object files needed to compile
@@ -390,7 +371,7 @@
Architecture: sparc
Section: libs
Priority: standard
-Depends: libc-bin (>= ${Source-Version})
+Depends: libc6 (= ${Source-Version})
Conflicts: gcc-3.0 (<< 1:3.0.4ds3-11), libgcc1 (<< 1:3.0.4ds3-11), fakeroot (<< 0.4.5-2.7)
Description: GNU C Library: 64bit Shared libraries for UltraSPARC
This package includes shared versions of the standard C library and the
@@ -402,7 +383,7 @@
Section: libdevel
Priority: optional
Provides: lib64c-dev
-Depends: libc6-sparc64 (= ${Source-Version}), libc-dev-bin (>= ${Source-Version}), lib64gcc1
+Depends: libc6-sparc64 (= ${Source-Version}), libc6-dev (= ${Source-Version}), lib64gcc1
Description: GNU C Library: 64bit Development Libraries for UltraSPARC
Contains the symlinks and object files needed to compile and link programs
which use the standard C library. This is the 64bit version of the
@@ -412,7 +393,7 @@
Architecture: s390
Section: libs
Priority: standard
-Depends: libc-bin (>= ${Source-Version})
+Depends: libc6 (= ${Source-Version})
Description: GNU C Library: 64bit Shared libraries for IBM zSeries
This package includes shared versions of the standard C library and the
standard math library, as well as many others. This is the 64bit version
@@ -423,7 +404,7 @@
Section: libdevel
Priority: optional
Provides: lib64c-dev
-Depends: libc6-s390x (= ${Source-Version}), libc-dev-bin (>= ${Source-Version}), lib64gcc1
+Depends: libc6-s390x (= ${Source-Version}), libc6-dev (= ${Source-Version}), lib64gcc1
Description: GNU C Library: 64bit Development Libraries for IBM zSeries
Contains the symlinks and object files needed to compile and link programs
which use the standard C library. This is the 64bit version of the
@@ -433,7 +414,7 @@
Architecture: i386
Section: libs
Priority: standard
-Depends: libc-bin (>= ${Source-Version})
+Depends: libc6 (= ${Source-Version})
Conflicts: amd64-libs (<= 1.2)
Description: GNU C Library: 64bit Shared libraries for AMD64
This package includes shared versions of the standard C library and the
@@ -444,7 +425,7 @@
Architecture: i386
Section: libdevel
Priority: optional
-Depends: libc6-amd64 (= ${Source-Version}), libc-dev-bin (>= ${Source-Version}), lib64gcc1
+Depends: libc6-amd64 (= ${Source-Version}), libc6-dev (= ${Source-Version}), lib64gcc1
Replaces: amd64-libs-dev (<= 1.2)
Provides: lib64c-dev
Description: GNU C Library: 64bit Development Libraries for AMD64
@@ -456,7 +437,7 @@
Architecture: ppc64
Section: libs
Priority: standard
-Depends: libc-bin (>= ${Source-Version})
+Depends: libc6 (= ${Source-Version})
Description: GNU C Library: 32bit powerpc shared libraries for ppc64
This package includes shared versions of the standard C
library and the standard math library, as well as many others.
@@ -467,7 +448,7 @@
Section: libdevel
Priority: optional
Provides: lib32c-dev
-Depends: libc6-powerpc (= ${Source-Version}), libc-dev-bin (= ${Source-Version}), lib32gcc1
+Depends: libc6-powerpc (= ${Source-Version}), libc6-dev (= ${Source-Version}), lib32gcc1
Description: GNU C Library: 32bit powerpc development libraries for ppc64
Contains the symlinks and object files needed to compile and link programs
which use the standard C library. This is the 32bit version of the
@@ -477,7 +458,7 @@
Architecture: powerpc
Section: libs
Priority: standard
-Depends: libc-bin (>= ${Source-Version})
+Depends: libc6 (= ${Source-Version})
Description: GNU C Library: 64bit Shared libraries for PowerPC64
This package includes shared versions of the standard C library and the
standard math library, as well as many others. This is the 64bit version
@@ -488,7 +469,7 @@
Section: libdevel
Priority: optional
Provides: lib64c-dev
-Depends: libc6-ppc64 (= ${Source-Version}), libc-dev-bin (>= ${Source-Version}), lib64gcc1
+Depends: libc6-ppc64 (= ${Source-Version}), libc6-dev (= ${Source-Version}), lib64gcc1
Description: GNU C Library: 64bit Development Libraries for PowerPC64
Contains the symlinks and object files needed to compile and link programs
which use the standard C library. This is the 64bit version of the
@@ -506,7 +487,7 @@
.
This set of libraries is optimized for the UltraSPARC v9 ABI. It only
needs to be installed on UltraSPARC machines. If you install this on a
- non-UltraSPARC, it wont even be used.
+ non-UltraSPARC, it won't even be used.
.
WARNING: Some commercial programs do not work well with these libraries.
Most notably, IBM's JDK. If you experience problems with such
@@ -524,7 +505,7 @@
.
This set of libraries is optimized for the UltraSPARC v9b ABI. It only
needs to be installed on UltraSPARC machines. If you install this on a
- non-UltraSPARC, it wont even be used.
+ non-UltraSPARC, it won't even be used.
.
WARNING: Some commercial programs do not work well with these libraries.
Most notably, IBM's JDK. If you experience problems with such
Modified: glibc-package/trunk/debian/control.in/amd64
===================================================================
--- glibc-package/trunk/debian/control.in/amd64 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/control.in/amd64 2006-04-10 17:26:13 UTC (rev 1387)
@@ -2,7 +2,7 @@
Architecture: i386
Section: libs
Priority: standard
-Depends: libc-bin (>= ${Source-Version})
+Depends: libc6 (= ${Source-Version})
Conflicts: amd64-libs (<= 1.2)
Description: GNU C Library: 64bit Shared libraries for AMD64
This package includes shared versions of the standard C library and the
@@ -13,7 +13,7 @@
Architecture: i386
Section: libdevel
Priority: optional
-Depends: libc6-amd64 (= ${Source-Version}), libc-dev-bin (>= ${Source-Version}), lib64gcc1
+Depends: libc6-amd64 (= ${Source-Version}), libc6-dev (= ${Source-Version}), lib64gcc1
Replaces: amd64-libs-dev (<= 1.2)
Provides: lib64c-dev
Description: GNU C Library: 64bit Development Libraries for AMD64
Modified: glibc-package/trunk/debian/control.in/libc
===================================================================
--- glibc-package/trunk/debian/control.in/libc 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/control.in/libc 2006-04-10 17:26:13 UTC (rev 1387)
@@ -3,7 +3,7 @@
Section: libs
Priority: required
Provides: ${locale-compat:Depends}
-Depends: libc-bin (>= ${Source-Version}), tzdata
+Depends: tzdata
Description: GNU C Library: Shared libraries
Contains the standard libraries that are used by nearly all programs on
the system. This package includes shared versions of the standard C library
@@ -13,7 +13,7 @@
Architecture: @archs@
Section: libdevel
Priority: standard
-Depends: @libc@ (= ${Source-Version}), libc-dev-bin (>= ${Source-Version})
+Depends: @libc@ (= ${Source-Version})
Recommends: gcc | c-compiler
Description: GNU C Library: Development Libraries and Header Files
Contains the symlinks, headers, and object files needed to compile
Modified: glibc-package/trunk/debian/control.in/libc0.1
===================================================================
--- glibc-package/trunk/debian/control.in/libc0.1 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/control.in/libc0.1 2006-04-10 17:26:13 UTC (rev 1387)
@@ -3,7 +3,7 @@
Section: libs
Priority: required
Provides: ${locale-compat:Depends}
-Depends: libc-bin (>= ${Source-Version}), tzdata
+Depends: tzdata
Description: GNU C Library: Shared libraries
Contains the standard libraries that are used by nearly all programs on
the system. This package includes shared versions of the standard C library
@@ -13,7 +13,7 @@
Architecture: kfreebsd-i386 kfreebsd-amd64
Section: libdevel
Priority: standard
-Depends: libc0.1 (= ${Source-Version}), libc-dev-bin (>= ${Source-Version})
+Depends: libc0.1 (= ${Source-Version})
Recommends: gcc | c-compiler
Description: GNU C Library: Development Libraries and Header Files
Contains the symlinks, headers, and object files needed to compile
Modified: glibc-package/trunk/debian/control.in/main
===================================================================
--- glibc-package/trunk/debian/control.in/main 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/control.in/main 2006-04-10 17:26:13 UTC (rev 1387)
@@ -15,25 +15,6 @@
Uploaders: Ben Collins <bcollins@debian.org>, GOTO Masanori <gotom@debian.org>, Philip Blundell <pb@nexus.co.uk>, Jeff Bailey <jbailey@raspberryginger.com>, Daniel Jacobowitz <dan@debian.org>, Clint Adams <schizo@debian.org>, Denis Barbier <barbier@debian.org>, Aurelien Jarno <aurel32@debian.org>
Standards-Version: 3.6.2
-Package: libc-bin
-Architecture: any
-Section: libs
-Priority: required
-Depends: @libc@ (>= ${Source-Version})
-Replaces: libc0.1, libc0.3, libc6, libc6.1
-Description: GNU C Library: Binaries
- Contains the binary programs needed by the standard C library.
-
-Package: libc-dev-bin
-Architecture: any
-Section: libdevel
-Priority: required
-Depends: @libc@ (>= ${Source-Version})
-Replaces: libc0.1-dev, libc0.3-dev, libc6-dev, libc6.1-dev
-Description: GNU C Library: Development Binaries
- Contains the binary programs needed to compile and link programs which
- use the standard C library.
-
Package: @glibc@-doc
Architecture: all
Section: doc
Modified: glibc-package/trunk/debian/control.in/powerpc
===================================================================
--- glibc-package/trunk/debian/control.in/powerpc 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/control.in/powerpc 2006-04-10 17:26:13 UTC (rev 1387)
@@ -2,7 +2,7 @@
Architecture: ppc64
Section: libs
Priority: standard
-Depends: libc-bin (>= ${Source-Version})
+Depends: libc6 (= ${Source-Version})
Description: GNU C Library: 32bit powerpc shared libraries for ppc64
This package includes shared versions of the standard C
library and the standard math library, as well as many others.
@@ -13,7 +13,7 @@
Section: libdevel
Priority: optional
Provides: lib32c-dev
-Depends: libc6-powerpc (= ${Source-Version}), libc-dev-bin (= ${Source-Version}), lib32gcc1
+Depends: libc6-powerpc (= ${Source-Version}), libc6-dev (= ${Source-Version}), lib32gcc1
Description: GNU C Library: 32bit powerpc development libraries for ppc64
Contains the symlinks and object files needed to compile and link programs
which use the standard C library. This is the 32bit version of the
Modified: glibc-package/trunk/debian/control.in/ppc64
===================================================================
--- glibc-package/trunk/debian/control.in/ppc64 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/control.in/ppc64 2006-04-10 17:26:13 UTC (rev 1387)
@@ -2,7 +2,7 @@
Architecture: powerpc
Section: libs
Priority: standard
-Depends: libc-bin (>= ${Source-Version})
+Depends: libc6 (= ${Source-Version})
Description: GNU C Library: 64bit Shared libraries for PowerPC64
This package includes shared versions of the standard C library and the
standard math library, as well as many others. This is the 64bit version
@@ -13,7 +13,7 @@
Section: libdevel
Priority: optional
Provides: lib64c-dev
-Depends: libc6-ppc64 (= ${Source-Version}), libc-dev-bin (>= ${Source-Version}), lib64gcc1
+Depends: libc6-ppc64 (= ${Source-Version}), libc6-dev (= ${Source-Version}), lib64gcc1
Description: GNU C Library: 64bit Development Libraries for PowerPC64
Contains the symlinks and object files needed to compile and link programs
which use the standard C library. This is the 64bit version of the
Modified: glibc-package/trunk/debian/control.in/s390x
===================================================================
--- glibc-package/trunk/debian/control.in/s390x 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/control.in/s390x 2006-04-10 17:26:13 UTC (rev 1387)
@@ -2,7 +2,7 @@
Architecture: s390
Section: libs
Priority: standard
-Depends: libc-bin (>= ${Source-Version})
+Depends: libc6 (= ${Source-Version})
Description: GNU C Library: 64bit Shared libraries for IBM zSeries
This package includes shared versions of the standard C library and the
standard math library, as well as many others. This is the 64bit version
@@ -13,7 +13,7 @@
Section: libdevel
Priority: optional
Provides: lib64c-dev
-Depends: libc6-s390x (= ${Source-Version}), libc-dev-bin (>= ${Source-Version}), lib64gcc1
+Depends: libc6-s390x (= ${Source-Version}), libc6-dev (= ${Source-Version}), lib64gcc1
Description: GNU C Library: 64bit Development Libraries for IBM zSeries
Contains the symlinks and object files needed to compile and link programs
which use the standard C library. This is the 64bit version of the
Modified: glibc-package/trunk/debian/control.in/sparc64
===================================================================
--- glibc-package/trunk/debian/control.in/sparc64 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/control.in/sparc64 2006-04-10 17:26:13 UTC (rev 1387)
@@ -2,7 +2,7 @@
Architecture: sparc
Section: libs
Priority: standard
-Depends: libc-bin (>= ${Source-Version})
+Depends: libc6 (= ${Source-Version})
Conflicts: gcc-3.0 (<< 1:3.0.4ds3-11), libgcc1 (<< 1:3.0.4ds3-11), fakeroot (<< 0.4.5-2.7)
Description: GNU C Library: 64bit Shared libraries for UltraSPARC
This package includes shared versions of the standard C library and the
@@ -14,7 +14,7 @@
Section: libdevel
Priority: optional
Provides: lib64c-dev
-Depends: libc6-sparc64 (= ${Source-Version}), libc-dev-bin (>= ${Source-Version}), lib64gcc1
+Depends: libc6-sparc64 (= ${Source-Version}), libc6-dev (= ${Source-Version}), lib64gcc1
Description: GNU C Library: 64bit Development Libraries for UltraSPARC
Contains the symlinks and object files needed to compile and link programs
which use the standard C library. This is the 64bit version of the
Deleted: glibc-package/trunk/debian/debhelper.in/libc-alt-dev.preinst
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc-alt-dev.preinst 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc-alt-dev.preinst 2006-04-10 17:26:13 UTC (rev 1387)
@@ -1,39 +0,0 @@
-#! /bin/sh
-# preinst script for libc-alt-dev
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <new-preinst> `install'
-# * <new-preinst> `install' <old-version>
-# * <new-preinst> `upgrade' <old-version>
-# * <old-preinst> `abort-upgrade' <new-version>
-
-case "$1" in
- install)
- ;;
-
- upgrade)
- if [ ! -L /usr/share/doc/ALT ]; then
- rm -rf /usr/share/doc/ALT
- fi
- ;;
-
- abort-upgrade)
- ;;
-
- *)
- echo "preinst called with unknown argument \`$1'" >&2
- exit 0
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-#DEBHELPER#
-
-exit 0
-
-
Deleted: glibc-package/trunk/debian/debhelper.in/libc-alt.dirs
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc-alt.dirs 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc-alt.dirs 2006-04-10 17:26:13 UTC (rev 1387)
@@ -1 +0,0 @@
-usr/share/doc/libc-bin
Modified: glibc-package/trunk/debian/debhelper.in/libc-alt.install
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc-alt.install 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc-alt.install 2006-04-10 17:26:13 UTC (rev 1387)
@@ -2,4 +2,3 @@
TMPDIR/SLIBDIR/*.so* SLIBDIR
TMPDIR/LIBDIR/gconv/*.so* LIBDIR/gconv/
TMPDIR/LIBDIR/gconv/gconv-modules LIBDIR/gconv
-log-test-*-FLAVOR usr/share/doc/libc-bin
Deleted: glibc-package/trunk/debian/debhelper.in/libc-alt.preinst
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc-alt.preinst 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc-alt.preinst 2006-04-10 17:26:13 UTC (rev 1387)
@@ -1,39 +0,0 @@
-#! /bin/sh
-# preinst script for libc-alt
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <new-preinst> `install'
-# * <new-preinst> `install' <old-version>
-# * <new-preinst> `upgrade' <old-version>
-# * <old-preinst> `abort-upgrade' <new-version>
-
-case "$1" in
- install)
- ;;
-
- upgrade)
- if [ ! -L /usr/share/doc/ALT ]; then
- rm -rf /usr/share/doc/ALT
- fi
- ;;
-
- abort-upgrade)
- ;;
-
- *)
- echo "preinst called with unknown argument \`$1'" >&2
- exit 0
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-#DEBHELPER#
-
-exit 0
-
-
Deleted: glibc-package/trunk/debian/debhelper.in/libc-bin.dirs
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc-bin.dirs 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc-bin.dirs 2006-04-10 17:26:13 UTC (rev 1387)
@@ -1,2 +0,0 @@
-sys
-etc/init.d
Deleted: glibc-package/trunk/debian/debhelper.in/libc-bin.docs
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc-bin.docs 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc-bin.docs 2006-04-10 17:26:13 UTC (rev 1387)
@@ -1,11 +0,0 @@
-DEB_SRCDIR/BUGS
-DEB_SRCDIR/FAQ
-DEB_SRCDIR/INTERFACE
-DEB_SRCDIR/NEWS
-DEB_SRCDIR/NOTES
-DEB_SRCDIR/PROJECTS
-DEB_SRCDIR/README
-DEB_SRCDIR/hesiod/README.hesiod
-DEB_SRCDIR/CONFORMANCE
-DEB_SRCDIR/NAMESPACE
-debian/TODO
Deleted: glibc-package/trunk/debian/debhelper.in/libc-bin.install
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc-bin.install 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc-bin.install 2006-04-10 17:26:13 UTC (rev 1387)
@@ -1,19 +0,0 @@
-debian/tmp-libc/usr/bin/iconv usr/bin
-debian/tmp-libc/usr/bin/locale usr/bin
-debian/tmp-libc/usr/bin/localedef usr/bin
-debian/tmp-libc/usr/bin/getent usr/bin
-debian/tmp-libc/usr/bin/getconf usr/bin
-debian/tmp-libc/usr/bin/catchsegv usr/bin
-debian/tmp-libc/usr/bin/tzselect usr/bin
-debian/tmp-libc/usr/bin/ldd* usr/bin
-debian/tmp-libc/usr/sbin/zdump usr/bin
-debian/tmp-libc/usr/sbin/rpcinfo usr/bin
-
-debian/tmp-libc/usr/sbin/zic usr/sbin
-debian/tmp-libc/usr/sbin/iconvconfig usr/sbin
-
-debian/tmp-libc/sbin/ldconfig sbin
-
-debian/tmp-libc/usr/lib/pt_chown usr/lib
-
-debian/local/usr_sbin/tzconfig usr/sbin
Deleted: glibc-package/trunk/debian/debhelper.in/libc-bin.manpages
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc-bin.manpages 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc-bin.manpages 2006-04-10 17:26:13 UTC (rev 1387)
@@ -1,14 +0,0 @@
-debian/local/manpages/catchsegv.1
-debian/local/manpages/getent.1
-debian/local/manpages/getconf.1
-debian/local/manpages/iconv.1
-debian/local/manpages/iconvconfig.8
-debian/local/manpages/ldconfig.8
-debian/local/manpages/ldd.1
-debian/local/manpages/locale.1
-debian/local/manpages/localedef.1
-debian/local/manpages/rpcinfo.8
-debian/local/manpages/tzselect.1
-debian/local/manpages/tzconfig.8
-debian/local/manpages/zdump.1
-debian/local/manpages/zic.8
Deleted: glibc-package/trunk/debian/debhelper.in/libc-bin.postinst
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc-bin.postinst 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc-bin.postinst 2006-04-10 17:26:13 UTC (rev 1387)
@@ -1,72 +0,0 @@
-#!/bin/bash
-set -e
-export LC_ALL=C
-
-type=$1
-preversion=$2
-
-# Borrowed from sysvinit's postinst.
-# Function like update-rc.d but simpler & faster.
-# Usage: updatercd basename start|stop NN runlevel .
-#
-# Now we use the real update-rc.d, so now this function should
-# be equivalent to /usr/sbin/update-rc.d.
-#
-updatercd() {
-
- if [ ! -f /etc/init.d/$1 ]
- then
- return
- fi
-
- if [ -x /usr/sbin/update-rc.d ]
- then
- update-rc.d "$@" > /dev/null
- return $?
- fi
-
- base=$1
- shift
- while [ "$1" != "" ]
- do
- if [ "$1" = stop ]
- then
- tlet=K
- else
- tlet=S
- fi
- lev=$2
- shift 2
- while [ "$1" != "." ]
- do
- cd /etc/rc$1.d
- tmp="`echo $tlet??$base`"
- case "$tmp" in
- "$tlet??$base")
- # Not present yet.
- ln -s ../init.d/$base $tlet$lev$base
- ;;
- *)
- # Already present.
- ;;
- esac
- shift
- done
- shift
- done
-}
-
-if [ "$type" = "configure" ]
-then
-# # DO NOT FOLLOW THIS EXAMPLE IN OTHER PACKAGES
- updatercd glibc.sh start 01 S .
- if [ -x /usr/sbin/invoke-rc.d ]; then
- invoke-rc.d glibc.sh start
- else
- /etc/init.d/glibc.sh 2>/dev/null || true
- fi
-fi
-
-#DEBHELPER#
-
-exit 0
Deleted: glibc-package/trunk/debian/debhelper.in/libc-bin.postrm
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc-bin.postrm 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc-bin.postrm 2006-04-10 17:26:13 UTC (rev 1387)
@@ -1,16 +0,0 @@
-#! /bin/sh
-set -e
-
-if [ "$1" = remove ]; then
- if command -v suidunregister >/dev/null 2>&1 && [ -e /etc/suid.conf ]; then
- if [ -x /usr/lib/pt_chown ]; then
- suidunregister -s LIBC /usr/lib/pt_chown
- elif [ -x /usr/libexec/pt_chown ]; then
- suidunregister -s LIBC /usr/libexec/pt_chown
- fi
- fi
-fi
-
-#DEBHELPER#
-
-exit 0
Deleted: glibc-package/trunk/debian/debhelper.in/libc-dev-bin.install
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc-dev-bin.install 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc-dev-bin.install 2006-04-10 17:26:13 UTC (rev 1387)
@@ -1,4 +0,0 @@
-debian/tmp-libc/usr/bin/gencat usr/bin
-debian/tmp-libc/usr/bin/mtrace usr/bin
-debian/tmp-libc/usr/bin/rpcgen usr/bin
-debian/tmp-libc/usr/bin/sprof usr/bin
Deleted: glibc-package/trunk/debian/debhelper.in/libc-dev-bin.manpages
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc-dev-bin.manpages 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc-dev-bin.manpages 2006-04-10 17:26:13 UTC (rev 1387)
@@ -1,4 +0,0 @@
-debian/local/manpages/gencat.1
-debian/local/manpages/mtrace.1
-debian/local/manpages/rpcgen.1
-debian/local/manpages/sprof.1
Modified: glibc-package/trunk/debian/debhelper.in/libc-dev.install
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc-dev.install 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc-dev.install 2006-04-10 17:26:13 UTC (rev 1387)
@@ -1,3 +1,8 @@
+debian/tmp-libc/usr/bin/gencat usr/bin
+debian/tmp-libc/usr/bin/mtrace usr/bin
+debian/tmp-libc/usr/bin/rpcgen usr/bin
+debian/tmp-libc/usr/bin/sprof usr/bin
+
debian/tmp-libc/usr/lib/libanl.a usr/lib
debian/tmp-libc/usr/lib/libBrokenLocale.a usr/lib
debian/tmp-libc/usr/lib/libbsd-compat.a usr/lib
Added: glibc-package/trunk/debian/debhelper.in/libc-dev.manpages
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc-dev.manpages 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc-dev.manpages 2006-04-10 17:26:13 UTC (rev 1387)
@@ -0,0 +1,4 @@
+debian/local/manpages/gencat.1
+debian/local/manpages/mtrace.1
+debian/local/manpages/rpcgen.1
+debian/local/manpages/sprof.1
Deleted: glibc-package/trunk/debian/debhelper.in/libc-dev.preinst
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc-dev.preinst 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc-dev.preinst 2006-04-10 17:26:13 UTC (rev 1387)
@@ -1,39 +0,0 @@
-#! /bin/sh
-# preinst script for libc-dev
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <new-preinst> `install'
-# * <new-preinst> `install' <old-version>
-# * <new-preinst> `upgrade' <old-version>
-# * <old-preinst> `abort-upgrade' <new-version>
-
-case "$1" in
- install)
- ;;
-
- upgrade)
- if [ ! -L /usr/share/doc/LIBC-dev ]; then
- rm -rf /usr/share/doc/LIBC-dev
- fi
- ;;
-
- abort-upgrade)
- ;;
-
- *)
- echo "preinst called with unknown argument \`$1'" >&2
- exit 0
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-#DEBHELPER#
-
-exit 0
-
-
Deleted: glibc-package/trunk/debian/debhelper.in/libc-otherbuild.dirs
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc-otherbuild.dirs 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc-otherbuild.dirs 2006-04-10 17:26:13 UTC (rev 1387)
@@ -1 +0,0 @@
-usr/share/doc/libc-bin
Modified: glibc-package/trunk/debian/debhelper.in/libc-otherbuild.install
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc-otherbuild.install 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc-otherbuild.install 2006-04-10 17:26:13 UTC (rev 1387)
@@ -1,4 +1,3 @@
# This file is used for making NPTL and other
# optimized libraries.
TMPDIR/SLIBDIR/*.so* SLIBDIR
-log-test-*-FLAVOR usr/share/doc/libc-bin
Modified: glibc-package/trunk/debian/debhelper.in/libc-otherbuild.preinst
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc-otherbuild.preinst 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc-otherbuild.preinst 2006-04-10 17:26:13 UTC (rev 1387)
@@ -8,12 +8,6 @@
echo $opt >> /etc/ld.so.nohwcap
fi
-if [ "$1" = upgrade ]; then
- if [ ! -L /usr/share/doc/OPT ]; then
- rm -rf /usr/share/doc/OPT
- fi
-fi
-
#DEBHELPER#
exit 0
Modified: glibc-package/trunk/debian/debhelper.in/libc.dirs
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc.dirs 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc.dirs 2006-04-10 17:26:13 UTC (rev 1387)
@@ -1 +1,2 @@
-usr/share/doc/libc-bin
+sys
+etc/init.d
Added: glibc-package/trunk/debian/debhelper.in/libc.docs
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc.docs 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc.docs 2006-04-10 17:26:13 UTC (rev 1387)
@@ -0,0 +1,11 @@
+DEB_SRCDIR/BUGS
+DEB_SRCDIR/FAQ
+DEB_SRCDIR/INTERFACE
+DEB_SRCDIR/NEWS
+DEB_SRCDIR/NOTES
+DEB_SRCDIR/PROJECTS
+DEB_SRCDIR/README
+DEB_SRCDIR/hesiod/README.hesiod
+DEB_SRCDIR/CONFORMANCE
+DEB_SRCDIR/NAMESPACE
+debian/TODO
Modified: glibc-package/trunk/debian/debhelper.in/libc.install
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc.install 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc.install 2006-04-10 17:26:13 UTC (rev 1387)
@@ -1,9 +1,28 @@
debian/tmp-libc/lib/*.so* lib
debian/tmp-libc/usr/lib/gconv/*.so usr/lib/gconv
debian/tmp-libc/usr/lib/gconv/gconv-modules usr/lib/gconv
+debian/tmp-libc/usr/bin/iconv usr/bin
+debian/tmp-libc/usr/bin/locale usr/bin
+debian/tmp-libc/usr/bin/localedef usr/bin
+debian/tmp-libc/usr/bin/getent usr/bin
+debian/tmp-libc/usr/bin/getconf usr/bin
+debian/tmp-libc/usr/bin/catchsegv usr/bin
+debian/tmp-libc/usr/bin/tzselect usr/bin
+debian/tmp-libc/usr/bin/ldd* usr/bin
+debian/tmp-libc/usr/sbin/zdump usr/bin
+debian/tmp-libc/usr/sbin/rpcinfo usr/bin
+debian/tmp-libc/usr/sbin/zic usr/sbin
+debian/tmp-libc/usr/sbin/iconvconfig usr/sbin
+
+debian/tmp-libc/sbin/ldconfig sbin
+
+debian/tmp-libc/usr/lib/pt_chown usr/lib
+
+debian/local/usr_sbin/tzconfig usr/sbin
+
debian/tmp-libc/lib/ldconfig/* lib/ldconfig
debian/tmp-libc/lib/*-*-gnu/ lib
debian/tmp-libc/usr/lib/*-*-gnu/ usr/lib
-log-test-*-libc usr/share/doc/libc-bin
+log-test-*-libc usr/share/doc/LIBC
Modified: glibc-package/trunk/debian/debhelper.in/libc.manpages
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc.manpages 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc.manpages 2006-04-10 17:26:13 UTC (rev 1387)
@@ -0,0 +1,14 @@
+debian/local/manpages/catchsegv.1
+debian/local/manpages/getent.1
+debian/local/manpages/getconf.1
+debian/local/manpages/iconv.1
+debian/local/manpages/iconvconfig.8
+debian/local/manpages/ldconfig.8
+debian/local/manpages/ldd.1
+debian/local/manpages/locale.1
+debian/local/manpages/localedef.1
+debian/local/manpages/rpcinfo.8
+debian/local/manpages/tzselect.1
+debian/local/manpages/tzconfig.8
+debian/local/manpages/zdump.1
+debian/local/manpages/zic.8
Modified: glibc-package/trunk/debian/debhelper.in/libc.postinst
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc.postinst 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc.postinst 2006-04-10 17:26:13 UTC (rev 1387)
@@ -10,6 +10,57 @@
echo LIBC
}
+# Borrowed from sysvinit's postinst.
+# Function like update-rc.d but simpler & faster.
+# Usage: updatercd basename start|stop NN runlevel .
+#
+# Now we use the real update-rc.d, so now this function should
+# be equivalent to /usr/sbin/update-rc.d.
+#
+updatercd() {
+
+ if [ ! -f /etc/init.d/$1 ]
+ then
+ return
+ fi
+
+ if [ -x /usr/sbin/update-rc.d ]
+ then
+ update-rc.d "$@" > /dev/null
+ return $?
+ fi
+
+ base=$1
+ shift
+ while [ "$1" != "" ]
+ do
+ if [ "$1" = stop ]
+ then
+ tlet=K
+ else
+ tlet=S
+ fi
+ lev=$2
+ shift 2
+ while [ "$1" != "." ]
+ do
+ cd /etc/rc$1.d
+ tmp="`echo $tlet??$base`"
+ case "$tmp" in
+ "$tlet??$base")
+ # Not present yet.
+ ln -s ../init.d/$base $tlet$lev$base
+ ;;
+ *)
+ # Already present.
+ ;;
+ esac
+ shift
+ done
+ shift
+ done
+}
+
# element() is a helper function for file-rc:
element() {
local element list IFS
@@ -285,6 +336,14 @@
fi
fi # end upgrading and $preversion lt 2.3.5-1
fi # Upgrading
+
+# # DO NOT FOLLOW THIS EXAMPLE IN OTHER PACKAGES
+ updatercd glibc.sh start 01 S .
+ if [ -x /usr/sbin/invoke-rc.d ]; then
+ invoke-rc.d glibc.sh start
+ else
+ /etc/init.d/glibc.sh 2>/dev/null || true
+ fi
fi
if [ "`uname -s`" = Linux ]; then
Modified: glibc-package/trunk/debian/debhelper.in/libc.postrm
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc.postrm 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc.postrm 2006-04-10 17:26:13 UTC (rev 1387)
@@ -1,6 +1,16 @@
#! /bin/sh
set -e
+if [ "$1" = remove ]; then
+ if command -v suidunregister >/dev/null 2>&1 && [ -e /etc/suid.conf ]; then
+ if [ -x /usr/lib/pt_chown ]; then
+ suidunregister -s LIBC /usr/lib/pt_chown
+ elif [ -x /usr/libexec/pt_chown ]; then
+ suidunregister -s LIBC /usr/libexec/pt_chown
+ fi
+ fi
+fi
+
if [ "$1" = upgrade ]; then
case $(dpkg --print-architecture) in
i386|sparc)
Modified: glibc-package/trunk/debian/debhelper.in/libc.preinst
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc.preinst 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/debhelper.in/libc.preinst 2006-04-10 17:26:13 UTC (rev 1387)
@@ -97,11 +97,6 @@
fi
fi
- # Remove the old directory so that it could be replaced by a symlink
- if [ ! -L /usr/share/doc/LIBC ]; then
- rm -rf /usr/share/doc/LIBC;
- fi
-
# This will keep us from using hwcap libs (optimized) during an
# upgrade.
touch /etc/ld.so.nohwcap
Modified: glibc-package/trunk/debian/rules
===================================================================
--- glibc-package/trunk/debian/rules 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/rules 2006-04-10 17:26:13 UTC (rev 1387)
@@ -117,7 +117,7 @@
# Which build pass are we on?
curpass = $(filter-out %_,$(subst _,_ ,$@))
-DEB_ARCH_REGULAR_PACKAGES = $(libc) $(libc)-dev $(libc)-dbg $(libc)-prof $(libc)-pic libc-bin libc-dev-bin
+DEB_ARCH_REGULAR_PACKAGES = $(libc) $(libc)-dev $(libc)-dbg $(libc)-prof $(libc)-pic
DEB_INDEP_REGULAR_PACKAGES = glibc-doc locales
DEB_UDEB_PACKAGES = $(libc)-udeb libnss-dns-udeb libnss-files-udeb
Modified: glibc-package/trunk/debian/rules.d/debhelper.mk
===================================================================
--- glibc-package/trunk/debian/rules.d/debhelper.mk 2006-04-10 14:41:19 UTC (rev 1386)
+++ glibc-package/trunk/debian/rules.d/debhelper.mk 2006-04-10 17:26:13 UTC (rev 1387)
@@ -17,18 +17,23 @@
install --mode=0644 build-tree/$(DEB_HOST_ARCH)-libc/libresolv.map debian/$(libc)-pic/usr/lib/libresolv_pic.map
# Some per-package extra files to install.
-define libc-bin_extra_debhelper_pkg_install
+define $(libc)_extra_debhelper_pkg_install
+ install --mode=0644 $(DEB_SRCDIR)/ChangeLog debian/$(curpass)/usr/share/doc/$(curpass)/changelog
+ install --mode=0644 $(DEB_SRCDIR)/linuxthreads/README debian/$(curpass)/usr/share/doc/$(curpass)/README.linuxthreads
+ install --mode=0644 $(DEB_SRCDIR)/linuxthreads/ChangeLog debian/$(curpass)/usr/share/doc/$(curpass)/ChangeLog.linuxthreads
+ case " $(GLIBC_PASSES) " in \
+ *" nptl "*) \
+ install --mode=0644 $(DEB_SRCDIR)/nptl/ChangeLog debian/$(curpass)/usr/share/doc/$(curpass)/ChangeLog.nptl; \
+ ;; \
+ esac
sed -e "/KERNEL_VERSION_CHECK/r debian/script.in/kernelcheck.sh" \
debian/local/etc_init.d/glibc.sh | \
sed -e "s/EXIT_CHECK/sleep 5/" -e "s/DEB_HOST_ARCH/$(DEB_HOST_ARCH)/" > debian/glibc.sh.generated
install --mode=0755 debian/glibc.sh.generated debian/$(curpass)/etc/init.d/glibc.sh
# dh_installmanpages thinks that .so is a language.
install --mode=0644 debian/local/manpages/ld.so.8 debian/$(curpass)/usr/share/man/man8/ld.so.8
+
install --mode=0644 debian/FAQ debian/$(curpass)/usr/share/doc/$(curpass)/README.Debian
- install --mode=0644 $(DEB_SRCDIR)/ChangeLog debian/$(curpass)/usr/share/doc/$(curpass)/changelog
- install --mode=0644 $(DEB_SRCDIR)/linuxthreads/README debian/$(curpass)/usr/share/doc/$(curpass)/README.linuxthreads
- install --mode=0644 $(DEB_SRCDIR)/linuxthreads/ChangeLog debian/$(curpass)/usr/share/doc/$(curpass)/ChangeLog.linuxthreads
- install --mode=0644 $(DEB_SRCDIR)/nptl/ChangeLog debian/$(curpass)/usr/share/doc/$(curpass)/ChangeLog.nptl
endef
define locales_extra_debhelper_pkg_install
@@ -58,19 +63,9 @@
dh_installman -p$(curpass)
dh_installinfo -p$(curpass)
dh_installdebconf -p$(curpass)
- case $(curpass) in \
- $(libc)*-bin) \
- dh_installchangelogs -p$(curpass) ; \
- dh_installdocs -p$(curpass) ;; \
- $(libc)-dev*) \
- dh_link -p$(curpass) usr/share/doc/libc-dev-bin usr/share/doc/$(curpass) ;; \
- $(libc)-* | $(libc)) \
- dh_link -p$(curpass) usr/share/doc/libc-bin usr/share/doc/$(curpass) ;; \
- *) \
- dh_installchangelogs -p$(curpass) ; \
- dh_installdocs -p$(curpass) ;; \
- esac
+ dh_installchangelogs -p$(curpass)
dh_installinit -p$(curpass)
+ dh_installdocs -p$(curpass)
dh_link -p$(curpass)
# extra_debhelper_pkg_install is used for debhelper.mk only.
@@ -181,16 +176,10 @@
for x in `find debian/debhelper.in -type f -maxdepth 1`; do \
y=debian/`basename $$x`; \
z=`echo $$y | sed -e 's#/libc#/$(libc)#'`; \
- case $$y in \
- debian/libc-bin* | debian/libc-dev-bin*) \
- z=$$y ;; \
- *) \
- z=`echo $$y | sed -e 's#/libc#/$(libc)#'` ;; \
- esac; \
cp $$x $$z; \
sed -e "s#TMPDIR#debian/tmp-libc#" -i $$z; \
sed -e "s#DEB_SRCDIR#$(DEB_SRCDIR)#" -i $$z; \
- sed -e "s#LIBC#$(libc)#g" -i $$z; \
+ sed -e "s#LIBC#$(libc)#" -i $$z; \
sed -e "s#CURRENT_VER#$(DEB_VERSION)#" -i $$z; \
sed -e "/KERNEL_VERSION_CHECK/r debian/script.in/kernelcheck.sh" -i $$z; \
sed -e "s#EXIT_CHECK##" -i $$z; \
@@ -207,43 +196,38 @@
for x in $(OPT_PASSES); do \
slibdir=$$1; \
shift; \
- y=debian/$(libc)-$$x.preinst; \
z=debian/$(libc)-$$x.install; \
case $$slibdir in \
/lib32 | /lib64 | /emul/ia32-linux/lib) \
libdir=$$1; \
shift; \
- cp debian/debhelper.in/libc-alt.preinst $$y; \
- sed -e "s#ALT#$(libc)-$$x#" -i $$y; \
- yd=debian/$(libc)-dev-$$x.preinst; \
- cp debian/debhelper.in/libc-alt-dev.preinst $$yd; \
- sed -e "s#ALT#$(libc)-dev-$$x#" -i $$yd; \
cp debian/debhelper.in/libc-alt.install $$z; \
zd=debian/$(libc)-dev-$$x.install; \
cp debian/debhelper.in/libc-alt-dev.install $$zd; \
- sed -e "s#TMPDIR#debian/tmp-$$x#" -i $$zd; \
- sed -e "s#DEB_SRCDIR#$(DEB_SRCDIR)#" -i $$zd; \
- sed -e "s#LIBDIR#$$libdir#" -i $$zd; \
- sed -e "s/^#.*//" -i $$zd; \
+ sed -e "s#TMPDIR#debian/tmp-$$x#g" -i $$zd;
+ sed -e "s#DEB_SRCDIR#$(DEB_SRCDIR)#g" -i $$zd; \
+ sed -e "s#LIBC#$(libc)#" -i $$z; \
+ sed -e "s#LIBDIR#$$libdir#g" -i $$zd; \
+ sed -e "s/^#.*//g" -i $$zd; \
;; \
*) \
cp debian/debhelper.in/libc-otherbuild.install $$z; \
cp debian/debhelper.in/libc-otherbuild.preinst debian/$(libc)-$$x.preinst ; \
cp debian/debhelper.in/libc-otherbuild.postinst debian/$(libc)-$$x.postinst ; \
cp debian/debhelper.in/libc-otherbuild.postrm debian/$(libc)-$$x.postrm ; \
- sed -e "s#OPT#$(libc)-$$x#" -i debian/$(libc)-$$x.preinst; \
- sed -e "s#OPT#$(libc)-$$x#" -i debian/$(libc)-$$x.postinst; \
- sed -e "s#OPT#$(libc)-$$x#" -i debian/$(libc)-$$x.postrm; \
- sed -e "s#CURRENT_VER#$(DEB_VERSION)#" -i debian/$(libc)-$$x.postinst; \
- sed -e "s#CURRENT_VER#$(DEB_VERSION)#" -i debian/$(libc)-$$x.postrm; \
+ sed -e "s#OPT#$(libc)-$$x#g" -i debian/$(libc)-$$x.preinst; \
+ sed -e "s#OPT#$(libc)-$$x#g" -i debian/$(libc)-$$x.postinst; \
+ sed -e "s#OPT#$(libc)-$$x#g" -i debian/$(libc)-$$x.postrm; \
+ sed -e "s#CURRENT_VER#$(DEB_VERSION)#g" -i debian/$(libc)-$$x.postinst; \
+ sed -e "s#CURRENT_VER#$(DEB_VERSION)#g" -i debian/$(libc)-$$x.postrm; \
;; \
esac; \
- sed -e "s#TMPDIR#debian/tmp-$$x#" -i $$z; \
- sed -e "s#DEB_SRCDIR#$(DEB_SRCDIR)#" -i $$z; \
+ sed -e "s#TMPDIR#debian/tmp-$$x#g" -i $$z; \
+ sed -e "s#DEB_SRCDIR#$(DEB_SRCDIR)#g" -i $$z; \
sed -e "s#SLIBDIR#$$slibdir#g" -i $$z; \
sed -e "s#LIBDIR#$$libdir#g" -i $$z; \
- sed -e "s#FLAVOR#$$x#" -i $$z; \
- sed -e "s#LIBC#$(libc)#" -i $$z; \
+ sed -e "s#FLAVOR#$$x#g" -i $$z; \
+ sed -e "s#LIBC#$(libc)#g" -i $$z; \
sed -e "s/^#.*//" -i $$z; \
done
@@ -255,12 +239,12 @@
for x in $(NPTL); do \
z=debian/$(libc).install; \
cat debian/debhelper.in/libc-otherbuild.install >>$$z; \
- sed -e "s#TMPDIR#debian/tmp-$$x#" -i $$z; \
- sed -e "s#DEB_SRCDIR#$(DEB_SRCDIR)#" -i $$z; \
- sed -e "s#FLAVOR#nptl#" -i $$z; \
+ sed -e "s#TMPDIR#debian/tmp-$$x#g" -i $$z; \
+ sed -e "s#DEB_SRCDIR#$(DEB_SRCDIR)#g" -i $$z; \
+ sed -e "s#FLAVOR#nptl#g" -i $$z; \
sed -e "s#SLIBDIR#/lib/tls#g" -i $$z; \
case $$z in \
- *.install) sed -e "s/^#.*//" -i $$z ;; \
+ *.install) sed -e "s/^#.*//g" -i $$z ;; \
esac; \
done
Reply to: