diff options
author | jk7744.park <jk7744.park@samsung.com> | 2015-02-01 13:11:50 +0900 |
---|---|---|
committer | jk7744.park <jk7744.park@samsung.com> | 2015-02-01 13:11:50 +0900 |
commit | 2e071c45ed8b1287114d19fbdf08c5b9040c5487 (patch) | |
tree | 78e7c7482c1a8796995385f6ab41f1b893590829 | |
parent | 6a7f0ce66dbb310c900b96a04d8a1c64881c0431 (diff) | |
download | bzip2-tizen_2.3.tar.gz bzip2-tizen_2.3.tar.bz2 bzip2-tizen_2.3.zip |
tizen 2.3 releasetizen_2.3_releasesubmit/tizen_2.3/20150202.054451tizen_2.3
-rw-r--r-- | debian/changelog | 621 | ||||
-rw-r--r-- | debian/control | 127 | ||||
-rw-r--r-- | debian/copyright | 60 | ||||
-rw-r--r-- | debian/copyright.in | 18 | ||||
-rw-r--r-- | debian/docbase | 20 | ||||
-rw-r--r-- | debian/postinst-dev | 10 | ||||
-rw-r--r-- | debian/postinst-doc | 16 | ||||
-rw-r--r-- | debian/postinst-lib | 15 | ||||
-rw-r--r-- | debian/postinst-run | 10 | ||||
-rw-r--r-- | debian/postrm-lib | 7 | ||||
-rw-r--r-- | debian/preinst-run | 20 | ||||
-rw-r--r-- | debian/prerm-dev | 8 | ||||
-rw-r--r-- | debian/prerm-doc | 10 | ||||
-rw-r--r-- | debian/prerm-lib | 8 | ||||
-rw-r--r-- | debian/prerm-run | 8 | ||||
-rwxr-xr-x | debian/rules | 423 | ||||
-rw-r--r-- | debian/shlibs | 1 | ||||
-rwxr-xr-x | packaging/bzip2.spec | 1 |
18 files changed, 1 insertions, 1382 deletions
diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index c1f9160..0000000 --- a/debian/changelog +++ /dev/null @@ -1,621 +0,0 @@ -bzip2 (1.0.5-4slp2+s2) unstable; urgency=low - - * Disable building of packages lib64bz2-1.0, lib64bz2-dev, lib32bz2- - 1.0, lib32bz2-dev, bzip2-doc. - * Set myself as maintainer. - - -- Rafal Krypa <r.krypa@samsung.com> Tue, 20 Apr 2010 16:42:19 +0200 - -bzip2 (1.0.5-4slp2+s1) unstable; urgency=low - - * Disable documentation building - - -- Karol Lewandowski <k.lewandowsk@samsung.com> Mon, 19 Apr 2010 16:31:43 +0200 - -bzip2 (1.0.5-4) unstable; urgency=low - - [Jorge Ernesto Guevara Cuenca] - * New co-maintainer. Jorge Ernesto Guevara Cuenca <jguevara@debiancolombia.org> - * Add -h and --help options to the manual page (Closes: 517257) - - [Santiago Ruano Rincón] - * Move DEBIAN/md5sums to a macro and rewrite to be more robust using find | - xargs and to drop the broken chmod calls. Thank to Loïc Minier from - Ubuntu. (Closes: #565393) - - -- Santiago Ruano Rincón <santiago@debian.org> Mon, 18 Jan 2010 10:46:25 +0100 - -bzip2 (1.0.5-3) unstable; urgency=low - - [ Santiago Ruano Rincón ] - * Add md5sums files. (Closes: #484342) - * Update debian/copyright. - - [ Anibal Monsalve Salazar ] - * Merge from Ubuntu - * Install into /usr/lib32 as /emul/ia32-linux is deprecated - lib32bz2-1.0 pre-depends on libc6-i386 (>= 2.9-18) - Closes: #533007 - - -- Anibal Monsalve Salazar <anibal@debian.org> Tue, 23 Jun 2009 15:23:59 +1000 - -bzip2 (1.0.5-2ubuntu1) karmic; urgency=low - - * Merge from Debian unstable, remaining changes: - - debian/rules: install to /usr/lib32 on amd64 - - -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 15 Jun 2009 10:34:48 +0200 - -bzip2 (1.0.5-2) unstable; urgency=low - - * Standards version is 3.8.1 - * Add Vcs-* fields in control file - * Reinstate the $(CROSS) variable in the call to $(MAKE) - Closes: #529404 - - -- Anibal Monsalve Salazar <anibal@debian.org> Tue, 09 Jun 2009 22:49:51 +1000 - -bzip2 (1.0.5-1ubuntu1) jaunty; urgency=low - - * Merge from Debian unstable, remaining changes: - - debian/rules: install to /usr/lib32 on amd64 - - -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 10 Nov 2008 12:48:20 +0100 - -bzip2 (1.0.5-1) unstable; urgency=low - - * Fix "bzdiff doesn't work if $TMPDIR contains spaces"; closes: #493710 - Patch by Vincent Lefevre <vincent@vinc17.org> - * Standards-Version is 3.8.0 - * Fix the following lintian issues: - W: bzip2-doc: doc-base-unknown-section bzip2:9 Apps/Tools - - -- Anibal Monsalve Salazar <anibal@debian.org> Tue, 05 Aug 2008 19:52:24 +1000 - -bzip2 (1.0.5-0.1ubuntu1) intrepid; urgency=low - - * Merge from Debian unstable, remaining changes: - - debian/rules: install to /usr/lib32 on amd64 - - -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 23 Jun 2008 09:55:20 +0200 - -bzip2 (1.0.5-0.1) unstable; urgency=high - - * NMU - * New upstream version. Fixes a denial of service via a crafted file. - Ref: CVE-2008-1372. (Closes: #471670). - - -- Luis Uribe <acme@eviled.org> Mon, 24 Mar 2008 13:34:34 -0500 - -bzip2 (1.0.4-4) unstable; urgency=low - - * bzcmp: Fixed exit status for one-argument usage. Thanks to - Peter Samuelson <peter@p12n.org> (Closes: #464217). - * debian/control: Added ${shlibs:Depends} to bzip2's Depends - - -- Santiago Ruano Rincón <santiago@debian.org> Mon, 10 Mar 2008 20:41:46 +0100 - -bzip2 (1.0.4-3) unstable; urgency=low - - * debian/rules: changing mode for actual files in dev{32,64} dirs to - avoid afecting dangling symlinks and make chmod happy. - (Closes: #464270) - - -- Santiago Ruano Rincón <santiago@debian.org> Wed, 06 Feb 2008 23:31:58 +0100 - -bzip2 (1.0.4-2ubuntu4) hardy; urgency=low - - * SECURITY UPDATE: denial of service via heap memory corruption. - * bzlib.c, bzlib_private.h: upstream patch from 1.0.5 applied inline. - * References - CVE-2008-1372 - - -- Kees Cook <kees@ubuntu.com> Wed, 19 Mar 2008 13:11:42 -0700 - -bzip2 (1.0.4-2ubuntu3) hardy; urgency=low - - * rebuild to regenerate bzip2.info (LP: #187946) - - -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 14 Mar 2008 19:30:36 +0100 - -bzip2 (1.0.4-2ubuntu2) hardy; urgency=low - - * debian/rules: don't try to chmod dangling symlinks in the binary - target, since coreutils now throws an error in this case. LP: #194449. - - -- Steve Langasek <steve.langasek@ubuntu.com> Sun, 24 Feb 2008 05:27:49 +0000 - -bzip2 (1.0.4-2ubuntu1) hardy; urgency=low - - * lib32bz2-*: Install into /usr/lib32, instead of /emul; change incorrectly - dropped in last sync. - * Set Ubuntu maintainer address. - * Modify Maintainer value to match the DebianMaintainerField - specification. - - -- Steve Langasek <vorlon@debian.org> Mon, 07 Jan 2008 13:24:41 -0800 - -bzip2 (1.0.4-2) unstable; urgency=low - - * lib32bz2-*: install into /emul/ia32-linux. Closes: #458853 - * bzexe: correct path is /bin/bzip2. Closes: #418532 - * debian/copyright: provide a copyright file in source package. - Closes: #381230 - - -- Anibal Monsalve Salazar <anibal@debian.org> Sat, 05 Jan 2008 11:13:05 +1100 - -bzip2 (1.0.4-1) unstable; urgency=low - - * Synchronise with Ubuntu. Closes: #456237 - * Bumped Standards-Version to 3.7.3 - * Moved homepage from description to pseudo header field in - debian/control - * Improved cross-building. Closes: #445036 - * Removed debian/rules.orig - * Fixed the following lintian messages: - - W: bzip2 source: debian-rules-ignores-make-clean-error line 90 - - W: bzip2 source: substvar-source-version-is-deprecated libbz2-dev - - W: bzip2 source: substvar-source-version-is-deprecated bzip2 - - W: bzip2 source: substvar-source-version-is-deprecated lib64bz2-dev - - W: bzip2 source: substvar-source-version-is-deprecated lib32bz2-dev - - -- Anibal Monsalve Salazar <anibal@debian.org> Sun, 23 Dec 2007 21:56:32 +1100 - -bzip2 (1.0.4-0ubuntu2) gutsy; urgency=low - - * Move the user manual in texinfo and ps format into bzip2-doc. - - -- Matthias Klose <doko@ubuntu.com> Fri, 05 Oct 2007 14:05:39 +0200 - -bzip2 (1.0.4-0ubuntu1) gutsy; urgency=low - - * New upstream version. - - Fix file permissions race problem (CAN-2005-0953). - - Sanitise file names more carefully in bzgrep. Fixes CAN-2005-0758 - to the extent that applies to bzgrep. - * lib32bz2-*: Install into /usr/lib32, instead of /emul. - * Set Ubuntu maintainer address. - - -- Matthias Klose <doko@ubuntu.com> Tue, 3 Jul 2007 12:35:47 +0200 - -bzip2 (1.0.3-7) unstable; urgency=low - - * Updated Build-depends, added gcc-multilib to fix FTBFS. Thanks to - "brian m. carlson" <sandals@crustytoothpaste.ath.cx>. (Closes: #422380) - - -- Santiago Ruano Rincón <santiago@debian.org> Sun, 6 May 2007 00:34:43 -0500 - -bzip2 (1.0.3-6) unstable; urgency=low - - * Fixed ppc64 Build-Depends, added Build-Depends on 'libc6-dev-powerpc - [ppc64]' in control. Patch by Andreas Jochens <aj@andaco.de>. (Closes: #384610) - - -- Santiago Ruano Rincón <santiago@debian.org> Fri, 25 Aug 2006 11:56:44 -0500 - -bzip2 (1.0.3-5) unstable; urgency=low - - * 32-bit libraries installed in /usr/lib32 instead of - /emul/ia32-linux/usr/lib on ppc64. Patch by Andreas Jochens <aj@andaco.de> - (Closes: #384284) - * Fixed doc-base control file, added Index: value for "info" format. - (Closes: #377184) - - -- Santiago Ruano Rincón <santiago@debian.org> Wed, 23 Aug 2006 12:31:02 -0500 - -bzip2 (1.0.3-4) unstable; urgency=low - - * The file of lib32bz2-1.0 and lib32bz2-dev are installed into - /emul/ia32-linux/usr/lib, not /usr/lib32. (Closes: #379858) - - -- Santiago Ruano Rincón <santiago@debian.org> Tue, 8 Aug 2006 21:22:51 -0500 - -bzip2 (1.0.3-3) unstable; urgency=low - - * Updated co-maintainer mail address. - * Set Standards-Version to 3.7.2. - * Fixed "bzip2: Bug in bzgrep, with fix", closes: #374168. - * Fixed "Superfluous symlinks in /usr", closes: #375285. - * Fixed lintian doc-base-file-unknown-format message. - * Synchronise with Ubuntu. - - Fixed "build dependency ia32-libs-dev [amd64] -> libc6-dev-i386 - [amd64]", closes: #357271. - - -- Anibal Monsalve Salazar <anibal@debian.org> Wed, 05 Jul 2006 20:31:25 +1000 - -bzip2 (1.0.3-2ubuntu1) edgy; urgency=low - - * Synchronize to Debian; apply the remaining Ubuntu changes to pristine - Debian version, since the current diffs were way too messy. - * debian/rules: - - Enable 32 bit libraries on amd64. - - Do not use ia32-libs as alternative shlibs. - * debian/control: Drop alternate build-dep on ia32-libs-dev. - - -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 28 Jun 2006 10:31:59 +0200 - -bzip2 (1.0.3-2) unstable; urgency=low - - * Fixed "upgrading fails", closes: #348266. Patches by Paul Brook - <paul@nowt.org> and Paul Wise <pabs3@bonedaddy.net>. - * Replaces amd64-libs and amd64-libs-dev versions << 1.5. - - -- Anibal Monsalve Salazar <anibal@debian.org> Mon, 16 Jan 2006 14:37:38 +1100 - -bzip2 (1.0.3-1) unstable; urgency=low - - * Synchronise with Ubuntu. - - Fixed "new upstream bzip2 1.0.3 is available", closes: #318619. - - Fixed "Please provide 64-bit packages on i386", closes: #341159. - * Fixed "/usr/bin/$i -> /bin/$i symlinks make bzip2 break on some - GNU/Hurd installations", closes: #346420. - * Updated debian/copyright file. - * Fixed linda error "File not found for field Files in doc-base file - /usr/share/doc/bzip2/manual_*.html". - - -- Anibal Monsalve Salazar <anibal@debian.org> Sun, 15 Jan 2006 10:35:23 +1100 - -bzip2 (1.0.3-0ubuntu1) dapper; urgency=low - - * New upstream version. - * Synchronise with Debian unstable. - - -- Matthias Klose <doko@ubuntu.com> Sat, 31 Dec 2005 00:59:50 +0100 - -bzip2 (1.0.2-11) unstable; urgency=low - - * Fixed "Would be nice if it was installed in /bin (and /lib)", - closes: #140157. - * Fixed "The --color option can't be used by bzgrep", closes: - #316028. - * Fixed "libbz2-1.0 suggests libbz2-dev without a good reason", - closes: #333524. - - -- Anibal Monsalve Salazar <anibal@debian.org> Thu, 24 Nov 2005 08:43:24 +1100 - -bzip2 (1.0.2-10ubuntu1) dapper; urgency=low - - * Resynchronise with Debian. - - Still generate 64 bit packages - - -- Tollef Fog Heen <tfheen@ubuntu.com> Thu, 10 Nov 2005 15:21:50 +0100 - -bzip2 (1.0.2-10) unstable; urgency=low - - * Fixed "libbz2-1.0: broken .shlibs file", closes: #330637. - - -- Anibal Monsalve Salazar <anibal@debian.org> Thu, 29 Sep 2005 13:04:47 +1000 - -bzip2 (1.0.2-9) unstable; urgency=low - - * Acknowledge NMU, closes: #321286. - * Fixed dependency problem, closes: #330003. - - -- Anibal Monsalve Salazar <anibal@debian.org> Mon, 26 Sep 2005 23:26:55 +1000 - -bzip2 (1.0.2-8.1) unstable; urgency=low - - * NMU - * Patch from Martin Pitt to bzgrep, to properly quote characters that can - break out of the generated sed command, in analogy to the recent zgrep - fix. Fixes CAN-2005-0758. Closes: #321286 - - -- Joey Hess <joeyh@debian.org> Sun, 4 Sep 2005 16:09:03 -0400 - -bzip2 (1.0.2-8) unstable; urgency=low - - * Fixed priority disparity. Changed priority from standard to important. - * Fixed "libbz2-1.0: missing symlink", closes: #320012. - * Changed upstream homepage, added new uploader. - * Changed Standards-Version to 3.6.2. - - -- Anibal Monsalve Salazar <anibal@debian.org> Sat, 30 Jul 2005 22:16:25 +1000 - -bzip2 (1.0.2-7ubuntu2) breezy; urgency=low - - * Build 64bit packages to replace amd64-libs. - * Build 32bit packages on amd64 (currently disabled). - - -- Matthias Klose <doko@ubuntu.com> Fri, 12 Aug 2005 16:39:17 +0200 - -bzip2 (1.0.2-7ubuntu1) breezy; urgency=low - - * SECURITY UPDATE: Fix shell command injection. - * bzgrep: Properly quote characters that can break out of the generated sed - command, in analogy to the recent zgrep fix. - * CAN-2005-0758 - - -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 4 Aug 2005 18:46:52 +0200 - -bzip2 (1.0.2-7) unstable; urgency=high - - * Fixed "CAN-2005-1260 decompression bomb vulnerability", closes: #310803. - Patch by Martin Pitt <martin.pitt@ubuntu.com>. - * Fixed "Example provided in documentation causes data loss", closes: - #293581. Patch by Adam Borowski <kilobyte@mimuw.edu.pl>. - - -- Anibal Monsalve Salazar <anibal@debian.org> Sat, 28 May 2005 14:05:46 +1000 - -bzip2 (1.0.2-6) unstable; urgency=high - - * Fixed RC bug "file permissions modification race (CAN-2005-0953)", closes: - #303300. Patch by Santiago Ruano Rincon <santiago@unicauca.edu.co>. - Original patch available at - http://marc.theaimsgroup.com/?l=bugtraq&m=111352423504277&w=2 - - -- Anibal Monsalve Salazar <anibal@debian.org> Wed, 04 May 2005 17:13:20 +1000 - -bzip2 (1.0.2-5) unstable; urgency=low - - * Fixed "missing opening bracket in libbz2-dev.prerm" (Closes: #293673, - #294663). Patches by Joshua Kwan <joshk@triplehelix.org> and - Jeremy Laine <jeremy.laine@m4x.org>. - * Fixed "uses #!/bin/sh and command -v" (Closes: #292965). - - -- Anibal Monsalve Salazar <anibal@debian.org> Sat, 12 Feb 2005 15:33:23 +1100 - -bzip2 (1.0.2-4) unstable; urgency=low - - * Put back hardlinks for - /usr/bin/{bunzip2,bzcat,bzcmp,bzegrep,bzfgrep,bzless} - * Created script bzexe and its manpage (Closes: #292485). - Patch by Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr> - * New maintainer's email address. - - -- Anibal Monsalve Salazar <anibal@debian.org> Wed, 02 Feb 2005 19:50:22 +1100 - -bzip2 (1.0.2-3) unstable; urgency=low - - * Fixed "Overly strict Depends (libc6-dev)" (Closes: #196264). - * Fixed "bzgrep munges filenames with '&' in them" (Closes: #231144). - * Fixed "bunzip2 -qt returns 0 for corrupt archives" (Closes: #279025). - * Fixed "bzip2 --version should exit with success" (Closes: #220374). - * Fixed "Several XSI:isms in package" (Closes: #256251). - Patch by David Weinehall <tao@debian.org> - * Enable bzip2 to cross-build (Closes: #282036). - Patch by NIIBE Yutaka <gniibe@fsij.org> - * Fixed lintian warning "bzip2 libbz2-1.0 libbz2-dev binaries: - postinst-should-not-set-usr-doc-link". - * Fixed lintian warning "bzip2 binary: package-contains-hardlink - usr/bin/{bunzip2,bzcat,bzcmp,bzegrep,bzfgrep,bzless}". - - -- Anibal Monsalve Salazar <A.Monsalve.Salazar@IEEE.org> Sun, 09 Jan 2005 21:48:21 +1100 - -bzip2 (1.0.2-2) unstable; urgency=high - - * New maintainer. - * Updated package to Policy 3.6.1.1. - * The package description does not follow Debian policy - (Closes: #209811, #210074). - - -- Anibal Monsalve Salazar <A.Monsalve.Salazar@IEEE.org> Wed, 27 Oct 2004 06:35:59 +1000 - -bzip2 (1.0.2-1) unstable; urgency=low - - * New upstream version; closes: #132318. Most of our patches merged - upstream. - * Generate copyright automatically from debian/rules. - - -- Philippe Troin <phil@fifi.org> Wed, 6 Feb 2002 19:23:15 -0800 - -bzip2 (1.0.1-14) unstable; urgency=low - - * Set SHELL to bash in debian/rules so that we may use bashisms when - building bzip2 on boxes where /bin/sh != /bin/bash; closes: #116807. - - -- Philippe Troin <phil@fifi.org> Thu, 29 Nov 2001 15:08:32 -0800 - -bzip2 (1.0.1-13) unstable; urgency=low - - * Fixed upstream version detection in debian/rules. - * Cleanup left-over dhelp-induced /usr/doc/bzip2 in preinst; closes: #107233. - - -- Philippe Troin <phil@fifi.org> Mon, 6 Aug 2001 21:18:37 -0700 - -bzip2 (1.0.1-12) unstable; urgency=low - - * Set up the shlib file *before* running dpkg-shlibdeps to generate - correct dependencies for bzip2; closes: #105264. - - -- Philippe Troin <phil@fifi.org> Sat, 14 Jul 2001 19:39:07 -0700 - -bzip2 (1.0.1-11) unstable; urgency=low - - * Added support for DEB_BUILD_OPTIONS. - * Added support for debian/rules get-orig-source. - * Ldconfig on postrm and remove per policy. - * Upgraded to policy 3.5.5.0. - - -- Philippe Troin <phil@fifi.org> Thu, 12 Jul 2001 18:44:40 -0700 - -bzip2 (1.0.1-10) unstable; urgency=low - - * Fix the /usr/doc compatibility symlink; closes: #102450. - - -- Philippe Troin <phil@fifi.org> Mon, 2 Jul 2001 12:25:54 -0700 - -bzip2 (1.0.1-9) unstable; urgency=low - - * Stripping libz2.a does not remove the .comment and .note sections - since this is non portable and more stripping will be needed anyways - after building executables; closes: #95601. - - -- Philippe Troin <phil@fifi.org> Sat, 28 Apr 2001 17:00:41 -0700 - -bzip2 (1.0.1-8) unstable; urgency=low - - * Bzip2 -d -f now clobbers output file; closes: #95371. - - -- Philippe Troin <phil@fifi.org> Thu, 26 Apr 2001 13:21:02 -0700 - -bzip2 (1.0.1-7) unstable; urgency=low - - * Spelling correction in bzip2.1 manpage; closes: #89315. - * Bzmore manpage comment fix; closes: #90713. - * Added --fast and --best; closes: #92203. - * Remove .note and .comment sections to make lintian happy. - - -- Philippe Troin <phil@fifi.org> Tue, 24 Apr 2001 14:46:59 -0700 - -bzip2 (1.0.1-6) unstable; urgency=low - - * Build-depends on texinfo; closes: #88363. - - -- Philippe Troin <phil@fifi.org> Sun, 4 Mar 2001 17:16:53 -0800 - -bzip2 (1.0.1-5) unstable; urgency=low - - * Include stdio.h in bzlib.h unconditionnaly; closes: #84096. - - -- Philippe Troin <phil@fifi.org> Mon, 29 Jan 2001 22:37:04 -0800 - -bzip2 (1.0.1-4) unstable; urgency=low - - * Fix the test for shell script stripping; closes: #83236. - - -- Philippe Troin <phil@fifi.org> Tue, 23 Jan 2001 10:34:21 -0800 - -bzip2 (1.0.1-3) unstable; urgency=low - - * -f really overwrites files (this was introduced in 1.0.1-1 when we - changed the fopen call to be safer with O_EXCL); closes: #81277. - * No more complaints when attempting to uncompress directories if -q - flag is specified; closes #81672. - * Added bz{more,less,{e,f,}grep,diff,cmp} wrapper scripts; - closes: #81113, #69621. - - -- Philippe Troin <phil@fifi.org> Sat, 20 Jan 2001 17:51:39 -0800 - -bzip2 (1.0.1-2) unstable; urgency=low - - * Allow shell metacharacters in filenames; closes: #74961. - - -- Philippe Troin <phil@fifi.org> Tue, 17 Oct 2000 11:19:55 -0700 - -bzip2 (1.0.1-1) unstable; urgency=low - - * New upstream version; closes: #64269, #72324. - * The new upstream version has a better message when catching a fatal - signal; closes: #58688. - * Versionned replaces for libbz2 and libzz2-dev. - * Fixed unsafe race condition in opening output files (closes: #56386). - Patch provided by Colin Phipps <crp22@cam.ac.uk>. - * Updated copyright file, fixed URL; closes: #64270, #64271. - * Don't give statistics when no bytes were compressed; closes: #68932. - * Make bzcat and bzip2 -d cat the file if the -f option is set; - closes: #65391. - * Added sections and priorities to packages. - * Bumped standards-version to 3.2.1.0. - * Moved back the ldconfig from the bzip2 postinst to the library - postinst (crept therein 0.9.5d-3). - - -- Philippe Troin <phil@fifi.org> Sun, 1 Oct 2000 22:34:39 -0700 - -bzip2 (0.9.5d-3) unstable; urgency=low - - * Moved the bzip2 documentation from the library package to the binary - package in order to roll out bzip2 1.0.x. - - -- Philippe Troin <phil@fifi.org> Wed, 13 Sep 2000 23:14:22 -0700 - -bzip2 (0.9.5d-2) unstable; urgency=low - - * Libbz2 and libzz2-dev now replaces bzip2 (overwrite bzip2's files...) - - -- Philippe Troin <phil@fifi.org> Sat, 16 Oct 1999 15:51:23 -0700 - -bzip2 (0.9.5d-1) unstable; urgency=low - - * New maintainer. - * New upstream release; closes: #41658, #43557. - * Shared library compiled with -D_REENTRANT. - * Splitted out shared library to new package. - * Binary now linked with shlib. - * Fixed shlibs file; closes: #43656. - * Bzcat now has a manpage; closes: #17604. - - -- Philippe Troin <phil@fifi.org> Fri, 15 Oct 1999 18:08:16 -0700 - -bzip2 (0.9.5c-1) unstable; urgency=low - - * New upstream release (closes: Bug#41217). - * bz2cat is no more. Use bzcat instead, as per upstream. - * Updated to Standards-Version 3.0.1: - - Man pages are placed in /usr/share/man. - - debian/copyright now points to /usr/share/common-licenses/GPL - instead of /usr/doc/copyright/GPL - * The bzip2 Home Page is now at http://www.bzip2.org/. - * Thanks to the patch from "Sean 'Shaleh' Perry" <shaleh@varesearch.com>, - a shared libbz2 library is here! (closes: Bug#27517, Bug#40804) - - -- Anthony Fok <foka@debian.org> Wed, 25 Aug 1999 00:46:06 -0600 - -bzip2 (0.9.0c-2) frozen unstable; urgency=low - - * Now registers bzip2's HTML and PS manual with doc-base. - Thanks to the suggestion from Wichert Akkerman - <wichert@cs.leidenuniv.nl> (closes: Bug#31166). - - -- Anthony Fok <foka@debian.org> Sun, 27 Dec 1998 00:01:30 -0700 - -bzip2 (0.9.0c-1) frozen unstable; urgency=low - - * New upstream bugfix release. - * [debian/control]: Upgraded to standards version 2.5.0.0 (no changes). - - -- Anthony Fok <foka@debian.org> Sat, 28 Nov 1998 21:36:04 -0700 - -bzip2 (0.9.0-1) unstable; urgency=low - - * New upstream release. - * [debian/rules]: - - bzcat and bz2cat are now both hard-linked to bzip2. - - Likewise, added symlinks bzcat.1.gz and bz2cat1.gz to bzip2.1.gz. - - Install new upstream bzip2 manual.ps and manual*.html. - - Install new upstream /usr/lib/libbz2.a and /usr/include/bzlib.h. - * [debian/copyright]: Replaced the "Copyright" section with the new - BSD-style license found in ./LICENSE. - - -- Anthony Fok <foka@debian.org> Tue, 8 Sep 1998 00:28:02 -0600 - -bzip2 (0.1pl2-5) frozen unstable; urgency=low - - * Removed dh_du from debian/rules. - (Fixed Lintian error: unknown-control-file du) - * Upgraded to standards version 2.4.1.0 (no changes). - * Fixed Lintian error: copyright-refers-to-compressed-license - usr/doc/copyright/GPL.gz - * Removed the note about bzip2's magic numbers in README.Debian. - The new Debian `file' package already includes them. :-) - - -- Anthony Fok <foka@debian.org> Mon, 11 May 1998 05:11:50 -0600 - -bzip2 (0.1pl2-4) unstable; urgency=low - - * Now provides bz2cat, thanks to suggestions from John Goerzen - <jgoerzen@complete.org> and Joel Klecker <jk@espy.org>. - (fixes: bug#17222, bug#17484) - * /usr/bin/bunzip2 is now hardlinked to /usr/bin/bzip2. - - -- Anthony Fok <foka@debian.org> Wed, 28 Jan 1998 00:35:52 -0700 - -bzip2 (0.1pl2-3) unstable; urgency=low - - * Updated Standards-Version to 2.3.0.1. - * Revised debian/rules. - * Added a note in README.Debian about some suggested bzip2 magic numbers. - * Changed my maintainer e-mail address to <foka@debian.org>. :) - - -- Anthony Fok <foka@debian.org> Tue, 6 Jan 1998 01:41:15 -0700 - -bzip2 (0.1pl2-2) unstable; urgency=low - - * Added md5sums, thanks to the new debhelper-0.10. <smile> - - -- Anthony Fok <foka@gpu.srv.ualberta.ca> Tue, 21 Oct 1997 02:06:51 -0600 - -bzip2 (0.1pl2-1) unstable; urgency=low - - * Initial Release. - - -- Anthony Fok <foka@gpu.srv.ualberta.ca> Sat, 11 Oct 1997 16:52:07 -0600 - diff --git a/debian/control b/debian/control deleted file mode 100644 index b160947..0000000 --- a/debian/control +++ /dev/null @@ -1,127 +0,0 @@ -Source: bzip2 -Section: utils -Priority: important -Maintainer: Rafal Krypa <r.krypa@samsung.com> -X-Original-Maintainer: Anibal Monsalve Salazar <anibal@debian.org> -X-Original-Uploaders: Santiago Ruano Rincón <santiago@debian.org>, Jorge Ernesto Guevara Cuenca <jguevara@debiancolombia.org> -Standards-Version: 3.8.2 -Homepage: http://www.bzip.org/ -Vcs-Git: git://git.debian.org/collab-maint/bzip2.git -Vcs-Browser: http://git.debian.org/?p=collab-maint/bzip2.git - -Package: libbz2-1.0 -Priority: important -Section: libs -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: high-quality block-sorting file compressor library - runtime - This package contains libbzip2 which is used by the bzip2 compressor. - . - bzip2 is a freely available, patent free, high-quality data compressor. - It typically compresses files to within 10% to 15% of the best available - techniques, whilst being around twice as fast at compression and six - times faster at decompression. - . - bzip2 compresses files using the Burrows-Wheeler block-sorting text - compression algorithm, and Huffman coding. Compression is generally - considerably better than that achieved by more conventional - LZ77/LZ78-based compressors, and approaches the performance of the PPM - family of statistical compressors. - . - The archive file format of bzip2 (.bz2) is incompatible with that of its - predecessor, bzip (.bz). - -Package: libbz2-dev -Priority: optional -Section: libdevel -Architecture: any -Depends: libbz2-1.0 (=${binary:Version}), libc6-dev | libc-dev -Replaces: bzip2 (<<0.9.5d-3) -Description: high-quality block-sorting file compressor library - development - Static libraries and include files for the bzip2 compressor library. - . - bzip2 is a freely available, patent free, high-quality data compressor. - It typically compresses files to within 10% to 15% of the best available - techniques, whilst being around twice as fast at compression and six - times faster at decompression. - . - bzip2 compresses files using the Burrows-Wheeler block-sorting text - compression algorithm, and Huffman coding. Compression is generally - considerably better than that achieved by more conventional - LZ77/LZ78-based compressors, and approaches the performance of the PPM - family of statistical compressors. - . - The archive file format of bzip2 (.bz2) is incompatible with that of its - predecessor, bzip (.bz). - -Package: bzip2 -Priority: optional -Section: utils -Architecture: any -Depends: libbz2-1.0 (=${binary:Version}), ${shlibs:Depends} -Suggests: bzip2-doc -Replaces: libbz2 (<<0.9.5d-3) -Description: high-quality block-sorting file compressor - utilities - bzip2 is a freely available, patent free, high-quality data compressor. - It typically compresses files to within 10% to 15% of the best available - techniques, whilst being around twice as fast at compression and six - times faster at decompression. - . - bzip2 compresses files using the Burrows-Wheeler block-sorting text - compression algorithm, and Huffman coding. Compression is generally - considerably better than that achieved by more conventional - LZ77/LZ78-based compressors, and approaches the performance of the PPM - family of statistical compressors. - . - The archive file format of bzip2 (.bz2) is incompatible with that of its - predecessor, bzip (.bz). - -Package: lib64bz2-1.0 -Priority: optional -Section: libs -Architecture: i386 powerpc sparc s390 -Depends: ${shlibs:Depends}, ${misc:Depends} -Replaces: amd64-libs (<< 1.5) -Description: high-quality block-sorting file compressor library - 64bit runtime - This package contains the libbzip2 64bit runtime library. - -Package: lib64bz2-dev -Priority: optional -Section: libdevel -Replaces: amd64-libs-dev (<< 1.5) -Architecture: i386 powerpc sparc s390 -Depends: lib64bz2-1.0 (=${binary:Version}), libbz2-dev (=${binary:Version}), ${dev:Depends} -Description: high-quality block-sorting file compressor library - 64bit development - Static libraries and include files for the bzip2 compressor library (64bit). - -Package: lib32bz2-1.0 -Priority: optional -Section: libs -Architecture: amd64 ppc64 -Pre-Depends: libc6-i386 (>= 2.9-18) -Depends: ${shlibs:Depends}, ${misc:Depends} -Replaces: ia32-libs -Description: high-quality block-sorting file compressor library - 32bit runtime - This package contains the libbzip2 32bit runtime library. - -Package: lib32bz2-dev -Priority: optional -Section: libdevel -Architecture: amd64 ppc64 -Depends: lib32bz2-1.0 (=${binary:Version}), libbz2-dev (=${binary:Version}), ${dev:Depends} -Replaces: ia32-libs-dev -Description: high-quality block-sorting file compressor library - 32bit development - Static libraries and include files for the bzip2 compressor library (32bit). - -Package: bzip2-doc -Priority: optional -Section: doc -Architecture: all -Replaces: bzip2 (<< 1.0.4-0ubuntu2) -Description: high-quality block-sorting file compressor - documentation - bzip2 is a freely available, patent free, high-quality data compressor. - It typically compresses files to within 10% to 15% of the best available - techniques, whilst being around twice as fast at compression and six - times faster at decompression. - . - This package contains the bzip2 user manual. diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index db42630..0000000 --- a/debian/copyright +++ /dev/null @@ -1,60 +0,0 @@ -This package (bzip2) was created by Philippe Troin <phil@fifi.org>. -It is currently mantained by Anibal Monsalve Salazar <anibal@debian.org>. -This package is Copyright (C) 1999, 2000, 2001, 2002 Philippe Troin -<phil@fifi.org> and Copyright (C) 2004-2007 Anibal Monsalve Salazar. -It is licensed under the GNU General Public License which can be -found in /usr/share/common-licenses/GPL. - -It was downloaded from - http://www.bzip.org/downloads.html - -For more information about bzip2, please visit: - http://www.bzip.org/ - -Author: - Julian Seward <jseward@acm.org> - -Copyright: (from LICENSE) - - --------------------------------------------------------------------------- - -This program, "bzip2", the associated library "libbzip2", and all -documentation, are copyright (C) 1996-2007 Julian R Seward. All -rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. The origin of this software must not be misrepresented; you must - not claim that you wrote the original software. If you use this - software in a product, an acknowledgment in the product - documentation would be appreciated but is not required. - -3. Altered source versions must be plainly marked as such, and must - not be misrepresented as being the original software. - -4. The name of the author may not be used to endorse or promote - products derived from this software without specific prior written - permission. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS -OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -Julian Seward, jseward@bzip.org -bzip2/libbzip2 version 1.0.5 of 10 December 2007 - --------------------------------------------------------------------------- diff --git a/debian/copyright.in b/debian/copyright.in deleted file mode 100644 index faea7de..0000000 --- a/debian/copyright.in +++ /dev/null @@ -1,18 +0,0 @@ -This package (bzip2) was created by Philippe Troin <phil@fifi.org>. -It is currently mantained by Anibal Monsalve Salazar <anibal@debian.org>. -This package is Copyright (C) 1999, 2000, 2001, 2002 Philippe Troin -<phil@fifi.org> and Copyright (C) 2004-2007 Anibal Monsalve Salazar. -It is licensed under the GNU General Public License which can be -found in /usr/share/common-licenses/GPL. - -It was downloaded from - http://www.bzip.org/downloads.html - -For more information about bzip2, please visit: - http://www.bzip.org/ - -Author: - Julian Seward <jseward@acm.org> - -Copyright: (from LICENSE) - diff --git a/debian/docbase b/debian/docbase deleted file mode 100644 index ec5fbde..0000000 --- a/debian/docbase +++ /dev/null @@ -1,20 +0,0 @@ -Document: bzip2 -Title: bzip2 and libbzip2: a program and library for data compression -Author: Julian Seward <jseward@acm.org> -Abstract: bzip2 compresses files using the Burrows-Wheeler block-sorting - text compression algorithm, and Huffman coding. Compression is generally - considerably better than that achieved by more conventional - LZ77/LZ78-based compressors, and approaches the performance of the PPM - family of statistical compressors. -Section: File Management - -Format: HTML -Index: /usr/share/doc/bzip2/manual.html -Files: /usr/share/doc/bzip2/manual.html - -Format: PostScript -Files: /usr/share/doc/bzip2/manual.ps.gz - -Format: Info -Index: /usr/share/doc/bzip2/manual.texi.gz -Files: /usr/share/doc/bzip2/manual.texi.gz diff --git a/debian/postinst-dev b/debian/postinst-dev deleted file mode 100644 index 93e6981..0000000 --- a/debian/postinst-dev +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -set -eu - -# FHS -#pkg=libbz2-dev -#if [ "$1" = "configure" ]; then -# if [ -d /usr/doc ] && [ ! -e /usr/doc/$pkg ] && [ -d /usr/share/doc/$pkg ]; then -# ln -sf ../share/doc/$pkg /usr/doc/$pkg -# fi -#fi diff --git a/debian/postinst-doc b/debian/postinst-doc deleted file mode 100644 index eeff927..0000000 --- a/debian/postinst-doc +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -set -eu - -# Doc base -if [ "$1" = "configure" ] ; then -# if command -v install-docs >/dev/null 2>&1; then -# install-docs -i /usr/share/doc-base/bzip2 -# fi - if test -x /usr/sbin/install-docs >/dev/null 2>&1; then - /usr/sbin/install-docs -i /usr/share/doc-base/bzip2 - fi -fi - -# Info -install-info --quiet --section "General Commands" "General Commands" \ - /usr/share/info/bzip2.info diff --git a/debian/postinst-lib b/debian/postinst-lib deleted file mode 100644 index c9c480b..0000000 --- a/debian/postinst-lib +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -set -eu - -# Ldconfig -if [ "$1" = "configure" ]; then - ldconfig -fi - -# FHS -#pkg=libbz2-1.0 -#if [ "$1" = "configure" ]; then -# if [ -d /usr/doc ] && [ ! -e /usr/doc/$pkg ] && [ -d /usr/share/doc/$pkg ]; then -# ln -sf ../share/doc/$pkg /usr/doc/$pkg -# fi -#fi diff --git a/debian/postinst-run b/debian/postinst-run deleted file mode 100644 index f4c6bbd..0000000 --- a/debian/postinst-run +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -set -eu - -# FHS -#pkg=bzip2 -#if [ "$1" = "configure" ]; then -# if [ -d /usr/doc ] && [ ! -e /usr/doc/$pkg ] && [ -d /usr/share/doc/$pkg ]; then -# ln -sf ../share/doc/$pkg /usr/doc/$pkg -# fi -#fi diff --git a/debian/postrm-lib b/debian/postrm-lib deleted file mode 100644 index d4ba8c0..0000000 --- a/debian/postrm-lib +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -set -eu - -# Ldconfig -if [ "$1" = "remove" ]; then - ldconfig -fi diff --git a/debian/preinst-run b/debian/preinst-run deleted file mode 100644 index f240728..0000000 --- a/debian/preinst-run +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -set -eu - -# If and only if we are uprading from a version lower than 0.9.5d-3, -# then we want to break the old /usr/share/doc/libbz2 symlink (which was -# pointing to libbz2). -if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" "<<" "0.9.5d-3" -then - if test -L /usr/share/doc/bzip2 - then - rm -f /usr/share/doc/bzip2 - fi -fi - -# And we should never ever have a directory in /usr/doc/bzip2 -if [ -d /usr/doc/bzip2 ] && [ ! -L /usr/doc/bzip2 ] -then - echo "Cleaning up left-over /usr/doc/bzip2." - rm -fr /usr/doc/bzip2 -fi diff --git a/debian/prerm-dev b/debian/prerm-dev deleted file mode 100644 index 3c16ac2..0000000 --- a/debian/prerm-dev +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -set -eu - -# FHS -pkg=libbz2-dev -if ( [ "$1" = "upgrade" ] || [ "$1" = "remove" ] ) && [ -L /usr/doc/$pkg ]; then - rm -f /usr/doc/$pkg -fi diff --git a/debian/prerm-doc b/debian/prerm-doc deleted file mode 100644 index 06e151b..0000000 --- a/debian/prerm-doc +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -set -eu - -# Docbase -if command -v install-docs >/dev/null 2>&1; then - install-docs -r bzip2 -fi - -# Info -install-info --quiet --remove /usr/share/info/bzip2.info diff --git a/debian/prerm-lib b/debian/prerm-lib deleted file mode 100644 index fd61717..0000000 --- a/debian/prerm-lib +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -set -eu - -# FHS -pkg=libbz2-1.0 -if ( [ "$1" = "upgrade" ] || [ "$1" = "remove" ] ) && [ -L /usr/doc/$pkg ]; then - rm -f /usr/doc/$pkg -fi diff --git a/debian/prerm-run b/debian/prerm-run deleted file mode 100644 index 7f8d35c..0000000 --- a/debian/prerm-run +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -set -eu - -# FHS -pkg=bzip2 -if ( [ "$1" = "upgrade" ] || [ "$1" = "remove" ] ) && [ -L /usr/doc/$pkg ]; then - rm -f /usr/doc/$pkg -fi diff --git a/debian/rules b/debian/rules deleted file mode 100755 index 051a141..0000000 --- a/debian/rules +++ /dev/null @@ -1,423 +0,0 @@ -#!/usr/bin/make -f -# debian/rules file for building the Debian GNU/Linux package bzip2. -# Copyright (C) 1999, 2000, 2001, 2002 Philippe Troin -# Copyright (C) 2004-2007 Anibal Monsalve Salazar <anibal@debian.org> - -TARGET = SLP -SHELL = /bin/bash -package = bzip2 - -testdir=test -x debian/rules && test -f bzip2.c -testroot=test "`id -nu`" = root - -DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) -DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) -DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) -ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) - CROSS=CC=$(DEB_HOST_GNU_TYPE)-gcc - CC=$(DEB_HOST_GNU_TYPE)-gcc -else - CROSS=CC=gcc - CC=gcc -endif - -DEBCFLAGS:= -DEBSTRIP:=strip -WGET=wget -ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) -DEBCFLAGS += -g -endif -ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) -DEBSTRIP:=: -endif - -gen_md5sums = cd debian/tmp-$(1)/ && find -type f \! -regex '.*/DEBIAN/.*' -printf '%P\0' | xargs -r0 md5sum >DEBIAN/md5sums - -DEBVERSION:=$(shell head -n 1 debian/changelog \ - | sed -e 's/^[^(]*(\([^)]*\)).*/\1/') -UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/-[0-9.]*$$//') - -ifneq ($(TARGET),SLP) -ifneq (,$(findstring /$(DEB_HOST_ARCH)/,/i386/powerpc/sparc/s390/)) - build64-stamp := build64-stamp - CC64=$(CC) -m64 -endif -ifeq ($(DEB_HOST_ARCH),i386) - CC64 += -march=x86-64 -mtune=x86-64 -endif - -ifneq (,$(findstring /$(DEB_HOST_ARCH)/,/amd64/ppc64/)) - build32-stamp := build32-stamp - lib32 := usr/lib32 -endif -endif - -build: build-stamp $(build32-stamp) $(build64-stamp) -build-stamp: - $(testdir) - # Add here commands to compile the package. - $(MAKE) $(CROSS) DEBCFLAGS="$(DEBCFLAGS)" -ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) - $(MAKE) DEBCFLAGS="$(DEBCFLAGS)" test -endif -ifneq ($(TARGET),SLP) - makeinfo -o bzip2.info manual.texi -endif - cat debian/copyright.in LICENSE > debian/copyright - touch build-stamp - -# requires: docbook-xml docbook2x -manual.texi: manual.xml - docbook2x-texi --to-stdout manual.xml | \ - awk '/^@direntry/,/^@end direntry/ {if ($$0 !~ /@/) {print "* Bzip2: (bzip2). A program and library for data compression."; next}} {print}' > manual.texi - -build32: build32-stamp -build32-stamp: - $(testdir) - rm -rf 32 - mkdir 32 - cp -p *.h *.c Makefile 32/ - $(MAKE) -C 32 "$(CROSS) -m32" DEBCFLAGS="$(DEBCFLAGS)" - touch build32-stamp - -build64: build64-stamp -build64-stamp: - $(testdir) - rm -rf 64 - mkdir 64 - cp -p *.h *.c Makefile 64/ - $(MAKE) -C 64 CC="$(CC64)" DEBCFLAGS="$(DEBCFLAGS)" - touch build64-stamp - - -clean: - $(testdir) - rm -f build*-stamp - [ ! -f Makefile ] || $(MAKE) distclean - rm -rf 32 64 - rm -f debian/substvars debian/files bzip2.info* - rm -fr debian/tmp* - find . -name "*~" -print0 | xargs -r0 rm -f - -# Build architecture-independent files here. -binary-indep: build -ifneq ($(TARGET),SLP) - $(testdir) - $(testroot) - - # Info - install -d debian/tmp-doc/usr/share/info - cp bzip2.info* debian/tmp-doc/usr/share/info/ - gzip -v9 debian/tmp-doc/usr/share/info/* - - install -d debian/tmp-doc/usr/share/doc/bzip2 - install -d debian/tmp-doc/usr/share/doc/bzip2-doc - cp *.ps *.html *.texi debian/tmp-doc/usr/share/doc/bzip2 - gzip -v9 debian/tmp-doc/usr/share/doc/bzip2/*.{ps,texi} - for i in debian/tmp-doc/usr/share/doc/bzip2/*.{ps.gz,texi.gz,html}; do \ - b=$$(basename $$i); \ - ln -sf ../bzip2/$$b debian/tmp-doc/usr/share/doc/bzip2-doc/$$b; \ - done - - cp debian/changelog \ - debian/tmp-doc/usr/share/doc/bzip2-doc/changelog.Debian - gzip -v9 debian/tmp-doc/usr/share/doc/bzip2-doc/changelog* - cp debian/copyright debian/tmp-doc/usr/share/doc/bzip2-doc/ - - # Doc-base support - install -d debian/tmp-doc/usr/share/doc-base - cp debian/docbase debian/tmp-doc/usr/share/doc-base/bzip2 - - # Control files - install -d debian/tmp-doc/DEBIAN - - dpkg-gencontrol -isp -Pdebian/tmp-doc -pbzip2-doc - - for i in doc; do \ - cp debian/postinst-$$i debian/tmp-$$i/DEBIAN/postinst; \ - cp debian/prerm-$$i debian/tmp-$$i/DEBIAN/prerm; \ - chmod +x debian/tmp-$$i/DEBIAN/postinst; \ - chmod +x debian/tmp-$$i/DEBIAN/prerm; \ - done - - # Add md5sums - $(call gen_md5sums,doc) - - # Fix perms - chown -R root.root debian/tmp-doc - chmod -R a+rX-wts,u+w debian/tmp-doc - - # Buildit - dpkg --build debian/tmp-doc .. -endif - -# Build architecture-dependent files here. -binary-arch: build - $(testdir) - $(testroot) - rm -fr debian/tmp* - install -d debian/tmp/usr - - $(MAKE) PREFIX=`pwd`/debian/tmp install - - ### Split - - # Development package - install -d debian/tmp-dev/usr/lib - rm debian/tmp/lib/libbz2.so - ln -s /lib/libbz2.so.1.0 debian/tmp-dev/usr/lib/libbz2.so - mv debian/tmp/lib/libbz2.a debian/tmp-dev/usr/lib/ - mv debian/tmp/include debian/tmp-dev/usr/include - - - # Library package - install -d debian/tmp-lib/lib - for i in $$(ls debian/tmp/lib/libbz2.so*); do \ - (set -x; echo $$i; mv $$i debian/tmp-lib/lib/); \ - done - ln -s libbz2.so.1.0.4 debian/tmp-lib/lib/libbz2.so.1 - chmod -x debian/tmp-lib/lib/* - - # Binary package - install -d debian/tmp-run - mv debian/tmp/bin debian/tmp-run/bin - ln -sf bzdiff debian/tmp-run/bin/bzcmp - ln -sf bzgrep debian/tmp-run/bin/bzegrep - ln -sf bzgrep debian/tmp-run/bin/bzfgrep - ln -sf bzmore debian/tmp-run/bin/bzless - install -d debian/tmp-run/usr/share - mv debian/tmp/man debian/tmp-run/usr/share/man - - ### Check the install - test "$$(find debian/tmp ! -type d -print | wc -l)" -eq 0 - rm -fr debian/tmp - - ### Finalize documentation - - # Man pages - gzip -v9 debian/tmp-run/usr/share/man/man1/*.1 - ( cd debian/tmp-run/usr/share/man/man1 && \ - for i in bunzip2 bzcat bzip2recover; do \ - ln -s bzip2.1.gz $$i.1.gz; \ - done ) - - # Other docs in lib package - install -d debian/tmp-run/usr/share/doc/bzip2 - cp CHANGES debian/tmp-run/usr/share/doc/bzip2/changelog - cp debian/changelog \ - debian/tmp-run/usr/share/doc/bzip2/changelog.Debian - gzip -v9 debian/tmp-run/usr/share/doc/bzip2/changelog* - cp debian/copyright debian/tmp-run/usr/share/doc/bzip2/ - - # Library package - install -d debian/tmp-lib/usr/share/doc/libbz2-1.0 - cp debian/copyright debian/tmp-lib/usr/share/doc/libbz2-1.0/ - cp CHANGES debian/tmp-lib/usr/share/doc/libbz2-1.0/changelog - cp debian/changelog \ - debian/tmp-lib/usr/share/doc/libbz2-1.0/changelog.Debian - gzip -v9 debian/tmp-lib/usr/share/doc/libbz2-1.0/changelog* - - # Other packages point to libbz2-1.0 - install -d debian/tmp-dev/usr/share/doc - ln -s libbz2-1.0 debian/tmp-dev/usr/share/doc/libbz2-dev - - ### Package finalize - - # Stripping - for i in debian/tmp-run/bin/*; \ - do \ - if [ ! -h $$i ] && head -n 1 $$i | grep -vq '^#!'; \ - then \ - (set -x; $(DEBSTRIP) -R .note -R .comment $$i); \ - fi; \ - done - $(DEBSTRIP) --strip-unneeded -R .note -R .comment \ - debian/tmp-lib/lib/*.so* - $(DEBSTRIP) --strip-debug debian/tmp-dev/usr/lib/*.a - - # Control files - install -d debian/tmp-{lib,dev,run}/DEBIAN - cp debian/shlibs debian/tmp-lib/DEBIAN/shlibs - - dpkg-shlibdeps debian/tmp-lib/lib/*.so* - dpkg-gencontrol -isp -Pdebian/tmp-lib -plibbz2-1.0 - rm debian/substvars - dpkg-gencontrol -isp -Pdebian/tmp-dev -plibbz2-dev - dpkg-shlibdeps debian/tmp-run/bin/* - dpkg-gencontrol -isp -Pdebian/tmp-run -pbzip2 - - for i in run dev lib; do \ - cp debian/postinst-$$i debian/tmp-$$i/DEBIAN/postinst; \ - cp debian/prerm-$$i debian/tmp-$$i/DEBIAN/prerm; \ - chmod +x debian/tmp-$$i/DEBIAN/postinst; \ - chmod +x debian/tmp-$$i/DEBIAN/prerm; \ - done - cp debian/preinst-run debian/tmp-run/DEBIAN/preinst - cp debian/postrm-lib debian/tmp-lib/DEBIAN/postrm - chmod +x debian/tmp-run/DEBIAN/preinst debian/tmp-lib/DEBIAN/postrm - - # Add md5sums - $(call gen_md5sums,run) - $(call gen_md5sums,lib) - $(call gen_md5sums,dev) - - # Fix perms - chown -R root.root debian/tmp* - chmod -R a+rX-wts,u+w debian/tmp* - - # Buildit - dpkg --build debian/tmp-run .. - dpkg --build debian/tmp-lib .. - dpkg --build debian/tmp-dev .. - -ifneq (,$(build64-stamp)) - rm -rf debian/tmp-lib64 - rm -rf debian/tmp-dev64 - - install -d debian/tmp-lib64/usr/lib64 - cp -a 64/libbz2.so.* debian/tmp-lib64/usr/lib64/ - chmod -x debian/tmp-lib64/usr/lib64/* - - install -d debian/tmp-dev64/usr/lib64 - cp -a 64/libbz2.so 64/libbz2.a debian/tmp-dev64/usr/lib64/ - chmod -x debian/tmp-dev64/usr/lib64/*.a - - install -d debian/tmp-lib64/usr/share/doc/lib64bz2-1.0 - cp debian/copyright debian/tmp-lib64/usr/share/doc/lib64bz2-1.0/ - cp debian/changelog \ - debian/tmp-lib64/usr/share/doc/lib64bz2-1.0/changelog.Debian - gzip -v9 debian/tmp-lib64/usr/share/doc/lib64bz2-1.0/changelog* - - install -d debian/tmp-dev64/usr/share/doc - ln -s lib64bz2-1.0 debian/tmp-dev64/usr/share/doc/lib64bz2-dev - - $(DEBSTRIP) --strip-unneeded -R .note -R .comment \ - debian/tmp-lib64/usr/lib64/*.so* - $(DEBSTRIP) --strip-debug debian/tmp-dev64/usr/lib64/*.a - - install -d debian/tmp-{lib,dev}64/DEBIAN - /bin/echo -e 'libbz2\t1.0\tlib64bz2-1.0' > debian/tmp-lib64/DEBIAN/shlibs - - -dpkg-shlibdeps debian/tmp-lib/usr/lib64/*.so* -ifeq ($(DEB_HOST_ARCH),i386) - echo 'shlibs:Depends=libc6-amd64' > debian/substvars -endif -ifeq ($(DEB_HOST_ARCH),powerpc) - echo 'shlibs:Depends=libc6-ppc64' > debian/substvars -endif -#ifeq ($(DEB_HOST_ARCH),s390) -# echo 'shlibs:Depends=libc6-s390x' > debian/substvars -#endif -#ifeq ($(DEB_HOST_ARCH),sparc) -# echo 'shlibs:Depends=libc6-sparc64' > debian/substvars -#endif - dpkg-gencontrol -isp -Pdebian/tmp-lib64 -plib64bz2-1.0 - rm -f debian/substvars - -ifeq ($(DEB_HOST_ARCH),i386) - echo 'dev:Depends=libc6-dev-amd64' > debian/substvars -endif -ifeq ($(DEB_HOST_ARCH),powerpc) - echo 'dev:Depends=libc6-dev-ppc64' > debian/substvars -endif -ifeq ($(DEB_HOST_ARCH),s390) - echo 'dev:Depends=libc6-dev-s390x' > debian/substvars -endif -ifeq ($(DEB_HOST_ARCH),sparc) - echo 'dev:Depends=libc6-dev-sparc64' > debian/substvars -endif - dpkg-gencontrol -isp -Pdebian/tmp-dev64 -plib64bz2-dev - - for i in dev lib; do \ - cp debian/postinst-$$i debian/tmp-$${i}64/DEBIAN/postinst; \ - cp debian/prerm-$$i debian/tmp-$${i}64/DEBIAN/prerm; \ - chmod +x debian/tmp-$${i}64/DEBIAN/postinst; \ - chmod +x debian/tmp-$${i}64/DEBIAN/prerm; \ - done - - $(call gen_md5sums,lib64) - $(call gen_md5sums,dev64) - - chown -R root.root debian/tmp*64 - chmod -R a+rX-wts,u+w debian/tmp*64 - - dpkg --build debian/tmp-lib64 .. - dpkg --build debian/tmp-dev64 .. -endif - -ifneq (,$(build32-stamp)) - rm -rf debian/tmp-lib32 - rm -rf debian/tmp-dev32 - - install -d debian/tmp-lib32/$(lib32) - cp -a 32/libbz2.so.* debian/tmp-lib32/$(lib32)/ - chmod -x debian/tmp-lib32/$(lib32)/* - - install -d debian/tmp-dev32/$(lib32) - cp -a 32/libbz2.so 32/libbz2.a debian/tmp-dev32/$(lib32)/ - chmod -x debian/tmp-dev32/$(lib32)/*.a - - install -d debian/tmp-lib32/usr/share/doc/lib32bz2-1.0 - cp debian/copyright debian/tmp-lib32/usr/share/doc/lib32bz2-1.0/ - cp debian/changelog \ - debian/tmp-lib32/usr/share/doc/lib32bz2-1.0/changelog.Debian - gzip -v9 debian/tmp-lib32/usr/share/doc/lib32bz2-1.0/changelog* - - install -d debian/tmp-dev32/usr/share/doc - ln -s lib32bz2-1.0 debian/tmp-dev32/usr/share/doc/lib32bz2-dev - - $(DEBSTRIP) --strip-unneeded -R .note -R .comment \ - debian/tmp-lib32/$(lib32)/*.so* - $(DEBSTRIP) --strip-debug debian/tmp-dev32/$(lib32)/*.a - - install -d debian/tmp-{lib,dev}32/DEBIAN - /bin/echo -e 'libbz2\t1.0\tlib32bz2-1.0' > debian/tmp-lib32/DEBIAN/shlibs - - -dpkg-shlibdeps debian/tmp-lib/$(lib32)/*.so* -ifeq ($(DEB_HOST_ARCH),amd64) - echo 'shlibs:Depends=libc6-i386' > debian/substvars -endif -ifeq ($(DEB_HOST_ARCH),ppc64) - echo 'shlibs:Depends=libc6-powerpc' > debian/substvars -endif - dpkg-gencontrol -isp -Pdebian/tmp-lib32 -plib32bz2-1.0 - rm -f debian/substvars - -ifeq ($(DEB_HOST_ARCH),amd64) - echo 'dev:Depends=libc6-dev-i386' > debian/substvars -endif -ifeq ($(DEB_HOST_ARCH),ppc64) - echo 'shlibs:Depends=libc6-dev-powerpc' > debian/substvars -endif - dpkg-gencontrol -isp -Pdebian/tmp-dev32 -plib32bz2-dev - - for i in dev lib; do \ - cp debian/postinst-$$i debian/tmp-$${i}32/DEBIAN/postinst; \ - cp debian/prerm-$$i debian/tmp-$${i}32/DEBIAN/prerm; \ - chmod +x debian/tmp-$${i}32/DEBIAN/postinst; \ - chmod +x debian/tmp-$${i}32/DEBIAN/prerm; \ - done - - $(call gen_md5sums,lib32) - $(call gen_md5sums,dev32) - - chown -R root.root debian/tmp*32 - chmod -R a+rX-wts,u+w debian/tmp*32 - - dpkg --build debian/tmp-lib32 .. - dpkg --build debian/tmp-dev32 .. -endif - -print-version: - @@echo "Debian version: $(DEBVERSION)" - @@echo "Upstream version: $(UPVERSION)" - -get-orig-source: - $(WGET) -O bzip2_$(UPVERSION).orig.tar.gz \ - ftp://sourceware.cygnus.com/pub/bzip2/v100/bzip2-$(UPVERSION).tar.gz - -binary: binary-indep binary-arch - -.PHONY: build clean binary-indep binary-arch binary print-version \ - get-orig-source diff --git a/debian/shlibs b/debian/shlibs deleted file mode 100644 index 888387b..0000000 --- a/debian/shlibs +++ /dev/null @@ -1 +0,0 @@ -libbz2 1.0 libbz2-1.0 diff --git a/packaging/bzip2.spec b/packaging/bzip2.spec index 9632a5e..da5b38d 100755 --- a/packaging/bzip2.spec +++ b/packaging/bzip2.spec @@ -115,3 +115,4 @@ rm -rf ${RPM_BUILD_ROOT} # Temporary for rpm %{_libdir}/*.a %manifest %{name}.manifest + |