tools/pristine-tar.git
10 years agoFix posix tar generation
Markus Lehtonen [Thu, 22 Aug 2013 22:04:56 +0000 (01:04 +0300)]
Fix posix tar generation

Remove all timestamps the PAX extended headers of posix tar archives.

Change-Id: I5db7d76be5256442d10b6ed1d35fe2b868dd693c
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoUpdate .gbp.conf
Markus Lehtonen [Fri, 23 Aug 2013 08:50:49 +0000 (11:50 +0300)]
Update .gbp.conf

Change-Id: I3089810f3b2c4938338cd630fc4e72d8250d0d1d
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoUse 'posix' tar format and implement tar format guessing
Markus Lehtonen [Mon, 3 Jun 2013 11:00:29 +0000 (14:00 +0300)]
Use 'posix' tar format and implement tar format guessing

Fixes bug #998.

Change-Id: I54e7ab56bd80cf87e11be5c45e88a1bd50b60d17
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agodeb packaging: change format to 3.0 (quilt)
Markus Lehtonen [Mon, 10 Jun 2013 07:01:28 +0000 (10:01 +0300)]
deb packaging: change format to 3.0 (quilt)

Also update .gbp.conf so that gbp-pq and gbp-pq-rpm can use the same
development branch.

Change-Id: I89ccbcb32e8615ff31412b91d9f1de6e027c0629
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agorpm packaging: version bump to 1.28
Markus Lehtonen [Mon, 13 May 2013 08:38:03 +0000 (11:38 +0300)]
rpm packaging: version bump to 1.28

Change spec and rebase patches. Also, add an RPM changelog.

Change-Id: Ieb5e477f42888005b45882e9fea5edf80c517689
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agoMerge tag '1.28' into devel
Markus Lehtonen [Mon, 13 May 2013 08:35:44 +0000 (11:35 +0300)]
Merge tag '1.28' into devel

Tizen version bump to 1.28

Conflicts:
debian/changelog

Change-Id: I989d57024ee36bfb3607fe50cfedfb5530722cdd

11 years agodebian packaging: change source format to non-native
Markus Lehtonen [Mon, 13 May 2013 07:53:48 +0000 (10:53 +0300)]
debian packaging: change source format to non-native

Because we have changes on top of the upstream (RPM packaging, only,
but, still).

Change-Id: I9dc5e6dbf841d4c91a142534ca1462c90ce63b58
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agoAdapt to latest gbp
Markus Lehtonen [Mon, 13 May 2013 07:40:09 +0000 (10:40 +0300)]
Adapt to latest gbp

Change-Id: Ib7a61b271f1f01917bf93e98f680c2bbe67ca521
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agorpm packaging: remove Deb packaging hack
Markus Lehtonen [Mon, 13 May 2013 07:26:02 +0000 (10:26 +0300)]
rpm packaging: remove Deb packaging hack

Remove the .dsc file from RPM packaging. Now, we build Debian packages
properly with git-buildpackage.

Change-Id: I6dc613d9d7a811c8fb830d51017cdfcf9f032a12
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agoAdd gbp.conf
Markus Lehtonen [Mon, 13 May 2013 07:25:33 +0000 (10:25 +0300)]
Add gbp.conf

Change-Id: I6eb933bb3e89ae54a899675507f8367bb2a2dda3
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agoMerge upstream version 1.26
Markus Lehtonen [Mon, 13 May 2013 07:22:45 +0000 (10:22 +0300)]
Merge upstream version 1.26

Makes it possible to build Debian packages too, from the same branch.

Change-Id: Ie51d5413aeddc722e719bf926eb4bd1f0bcf4921

11 years agoMove RPM packaging files into separate dir
Markus Lehtonen [Mon, 13 May 2013 07:19:20 +0000 (10:19 +0300)]
Move RPM packaging files into separate dir

Change-Id: I198cc09aafa76cfbe9ebbdfed3083541468b6c6b
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agoPackaging updated with latest GBP
Markus Lehtonen [Mon, 25 Feb 2013 11:16:52 +0000 (13:16 +0200)]
Packaging updated with latest GBP

Use the "conditional patch export" feature of latest GBP.

Change-Id: Icc06b3d738cf24b797dde86c29fa5394650d43fd
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agoRequire/recommend pbzip2
Markus Lehtonen [Fri, 22 Feb 2013 11:04:54 +0000 (13:04 +0200)]
Require/recommend pbzip2

Change-Id: I1962c615345e50033b2e0c9e7a61ef8faf068d53
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agoVersion bump to 1.26
Markus Lehtonen [Mon, 29 Oct 2012 12:50:56 +0000 (14:50 +0200)]
Version bump to 1.26

Change-Id: I326dee3b9896e3ddbc302bcb8671d2bf48a21757
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agoFix make Fedora use a custom (older) xdelta
Markus Lehtonen [Mon, 3 Sep 2012 11:31:45 +0000 (14:31 +0300)]
Fix make Fedora use a custom (older) xdelta

Change-Id: Id39ae912798d1b3297df2c40e70b27b926dd3679
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agoFix Perl dependency for Fedora
Markus Lehtonen [Mon, 3 Sep 2012 10:48:54 +0000 (13:48 +0300)]
Fix Perl dependency for Fedora

Change-Id: I7fbba4a9ff39e304aff6cfd51f5096c2b0c1c53e
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agoAdd Provides tags of Perl modules
Markus Lehtonen [Wed, 29 Aug 2012 08:00:42 +0000 (11:00 +0300)]
Add Provides tags of Perl modules

Change-Id: Ia473b82cb8e10c698154360b375a9a60b2d58511
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agoRun fdupes macro only for openSUSE
Markus Lehtonen [Fri, 24 Aug 2012 06:10:53 +0000 (09:10 +0300)]
Run fdupes macro only for openSUSE

Change-Id: I421d787ac22d1df647a88db59865a5f554e95fb7
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agoreleasing version 1.28 1.28
Joey Hess [Sun, 5 May 2013 05:47:33 +0000 (01:47 -0400)]
releasing version 1.28

11 years agoreleasing version 1.27 1.27
Joey Hess [Sun, 5 May 2013 05:01:00 +0000 (01:01 -0400)]
releasing version 1.27

11 years agoFix typo that led to incorrect error message when pristine-tar branch does not exist...
Joey Hess [Wed, 13 Feb 2013 18:43:23 +0000 (14:43 -0400)]
Fix typo that led to incorrect error message when pristine-tar branch does not exist. Closes: #700448 Thanks, paul cannon

11 years agochangelog
Joey Hess [Sun, 23 Sep 2012 23:02:21 +0000 (19:02 -0400)]
changelog

11 years agozgz: Don't hardcode /lib, avoid segfaulting on > 128 character paths
Joey Hess [Sun, 23 Sep 2012 01:53:33 +0000 (21:53 -0400)]
zgz: Don't hardcode /lib, avoid segfaulting on > 128 character paths

There were a number of issues with zgz:

* It had a fixed 128 (!) size limit on paths, and if we happened
  to be installed into one longer than that, the program would
  likely segfault.
* Calling exit(system()) is inefficient; we might as well just
  execve() and avoid having a process just blocked in waitpid()
  on another.
* We should honor LIBDIR, in order to support lib64-style "multilib"
  as well as full Debian-style "multiarch".

Based on a patch from Colin Walters <walters@verbum.org>

11 years agochangelog
Joey Hess [Tue, 28 Aug 2012 21:38:08 +0000 (17:38 -0400)]
changelog

11 years agoImprove INSTALL instructions.
Torsten Maehne [Thu, 9 Aug 2012 12:11:08 +0000 (14:11 +0200)]
Improve INSTALL instructions.

11 years agoMakefile.PL: add message about custom parameters
Torsten Maehne [Tue, 28 Aug 2012 07:51:47 +0000 (09:51 +0200)]
Makefile.PL: add message about custom parameters

Since adding custom parameters to Makefile.PL scripts is not
transparently supported by MakeMaker, recent versions print a
note about unknown options given to the script.

Nevertheless, such parameters are handled correctly and are
passed through to a reinvocation in case of a changed Makefile.PL.
A message is printed to inform the user about this fact.

Signed-off-by: Philipp A. Hartmann <philipp.hartmann@offis.de>
11 years agoMakefile.PL: add custom build parameters
Philipp A. Hartmann [Tue, 28 Aug 2012 16:49:00 +0000 (18:49 +0200)]
Makefile.PL: add custom build parameters

This patch introduces three custom build parameters

 * PERL_SHEBANG
     Configure the #! line in the installed perl scripts.
     May be needed on some passwords, in case MakeMaker
     does not get the installation right
 * TAR_PROGRAM, XDELTA_PROGRAM
     Set a custom name (or location) for the required (GNU) tar and
     xdelta programs, in case they are not callable through their
     default names from the $PATH

If set, the variables are used to munge the corresponding parts of
the scripts.  The $tar_program and $xdelta_program variables in
pristine-tar are now marked as such.

The patch itself extends the "macro" section of the MakeMaker generated
Makefile.  To call the inherited function, the package needs to be set
explicitly.

This patch is an updated version, incorporating a spacing fix when
using multiple replacements, as discovered by Torsten Maehne during
his review.

Signed-off-by: Philipp A. Hartmann <philipp.hartmann@offis.de>
Reviewed-by: Torsten Maehne <Torsten.Maehne@gmx.de>
11 years agochangelog
Joey Hess [Mon, 27 Aug 2012 15:48:32 +0000 (11:48 -0400)]
changelog

11 years agoRevert "Makefile.PL: use MAN1PODS to build and install manpages"
Joey Hess [Mon, 27 Aug 2012 15:47:57 +0000 (11:47 -0400)]
Revert "Makefile.PL: use MAN1PODS to build and install manpages"

This reverts commit 86d0f72ba700b7e13e42e0660695d2cda02e7f66 (mostly)

Caused lintian warnings about manpage sections being 1p instead of 1

11 years agozgz: dynamic library handling on Mac OS X
Torsten Maehne [Mon, 27 Aug 2012 09:28:48 +0000 (11:28 +0200)]
zgz: dynamic library handling on Mac OS X

On Mac OS X, DYLD_LIBRARY_PATH has to be set instead of LD_LIBRARY_PATH
to find dynamic libraries in a non-standard path.

Signed-off-by: Philipp A. Hartmann <philipp.hartmann@offis.de>
(cherry picked from commit 19748569d2d98100dabbc3c3ec9d93b8f32e5ef7)

11 years agosuse-bzip2/Makefile: add Mac OS X support
Torsten Maehne [Mon, 27 Aug 2012 09:28:30 +0000 (11:28 +0200)]
suse-bzip2/Makefile: add Mac OS X support

This commit changes the  suse-bzip2 Makefile to compile a dynamic
libbz2.dylib on Mac OS X and ensures that zgz sets DYLD_LIBRARY_PATH
on Mac OS X to swap in a different library.

The suse-bzip2 Makefile was only able to handle the compilation of
shared object libraries like they are used on Linux. Mac OS X uses
dynamic libraries, which require different compiler and linker switches.

MacPorts checks all binaries installed by a port for broken linkage.
This requires that the install_name for libbz2 is set in the suse-bzip2
Makefile to its pristine-tar install location (based on PREFIX).

Signed-off-by: Philipp A. Hartmann <philipp.hartmann@offis.de>
(cherry picked from commit 295dda0608a979d11b7acfb565745b7f507a27a1)

11 years agoMakefile.PL: use EXE_FILES and clean rules, add info
Philipp A. Hartmann [Mon, 27 Aug 2012 12:48:17 +0000 (14:48 +0200)]
Makefile.PL: use EXE_FILES and clean rules, add info

Installation of the scripts and cleanup of the zgz binary
by using MakeMake magic instead of manual rules.

Additionally, AUTHOR and ABSTRACT information is added to the
WriteMakefile call.

11 years agoMakefile.PL: use MAN1PODS to build and install manpages
Philipp A. Hartmann [Mon, 27 Aug 2012 12:46:35 +0000 (14:46 +0200)]
Makefile.PL: use MAN1PODS to build and install manpages

The installation (and removal/cleanup) of the generated manpages
can be done by MakeMaker directly.

This patch adds the corresponding configuration in a Debian Perl
Policy-compliant way (e.g. create .1 files instead of .1p files).

Signed-off-by: Philipp A. Hartmann <philipp.hartmann@offis.de>
11 years agoMakefile.PL: avoid in-place editing with sed
Philipp A. Hartmann [Mon, 27 Aug 2012 13:15:34 +0000 (15:15 +0200)]
Makefile.PL: avoid in-place editing with sed

This patch avoids the usage of the in-place editing option '-i' of sed for
version number extraction from debian/changelog to update pristine-tar.spec.

The -i option is not supported by all versions of sed (e.g. not by SunOS 5.9
nor by NetBSD 6.0).  Additionally, the exact syntax may vary.  E.g., the sed
of Mac OS X requires -i to be followed by a suffix, which is added to the
original filename to create a backup file.  The portable solution is to avoid
the in-place editing altogether and to instead write first to a temporary
file, which is then moved back to the original filename.

In addition to the use of a temporary file, the rule has been changed to
use the PERLRUN variable to invoke the correct perl interpreter and a
dependency on debian/changelog (the phonyness of the rule could be
dropped as well).

Signed-off-by: Philipp A. Hartmann <philipp.hartmann@offis.de>
11 years agoMakefile.PL: use #!/usr/bin/env perl
Torsten Maehne [Mon, 27 Aug 2012 09:31:22 +0000 (11:31 +0200)]
Makefile.PL: use #!/usr/bin/env perl

To run the Makefile.PL script on other platforms, this
patch changes the shebang line to '/usr/bin/env perl'.

This is more likely to succeed on platforms (SunOS, *BSD,
Mac OS X), where the Perl binary is not located at /usr/bin.

Signed-off-by: Philipp A. Hartmann <philipp.hartmann@offis.de>
11 years agoMakefile.PL: drop unused suse-bzip2 target
Philipp A. Hartmann [Mon, 27 Aug 2012 11:22:51 +0000 (13:22 +0200)]
Makefile.PL: drop unused suse-bzip2 target

Signed-off-by: Philipp A. Hartmann <philipp.hartmann@offis.de>
11 years agoMakefile.PL: handle PREFIX consistently
Philipp A. Hartmann [Mon, 27 Aug 2012 11:23:04 +0000 (13:23 +0200)]
Makefile.PL: handle PREFIX consistently

This patch fixes the handling of the PREFIX variable in the generated
Makefile.  The following issues are addressed:

 * drop explicit PREFIX in WriteMakefile call

   By default, the local $Config{prefix} setting should be fine.
   This allows to specify either PREFIX or INSTALL_BASE as Makefile.PL
   parameter, depending on the user needs.

 * use PREFIX in extra_install target

   Previously, pristine-tar, pristine-gz, pristine-bz2, pristine-xz, and
   zgz were always installed to /usr/bin (if $DESTDIR was not set). Also,
   the man pages were always installed to /usr/share/man/man1.

 * call $(MAKE) and pass PREFIX to the build of suse-bzip2

   Although PREFIX is not really used during the build of suse-bzip2,
   it should be passed to the build to enable e.g. the inclusion
   of the "correct" location during the linking process.

Reported-by: Torsten Maehne <torsten.maehne@gmx.de>
Signed-off-by: Philipp A. Hartmann <philipp.hartmann@offis.de>
11 years agoUpdate .gitignore
Torsten Maehne [Tue, 31 Jul 2012 15:10:29 +0000 (17:10 +0200)]
Update .gitignore

Signed-off-by: Philipp A. Hartmann <philipp.hartmann@offis.de>
11 years agoFactorize external program names into variables
Torsten Maehne [Mon, 30 Jul 2012 17:00:31 +0000 (19:00 +0200)]
Factorize external program names into variables

The external programs (tar, xdelta) called by the pristine-tar script have
been hardcoded until now.  This requires that both program names are the
first in the user's PATH, which can lead to problems, especially on
non-GNU/Linux platforms:

 * Pristine-tar uses options (e.g., "--owner"), which are only present
   in GNU tar.
 * Pristine-tar uses the old 1.1 release series Xdelta, which is
   syntactically incompatible to the 3.0 release series of Xdelta.

This commit centralizes the definition of the program names of tar and
xdelta so that their exact names (or locations)  can be easily configured.

Signed-off-by: Philipp A. Hartmann <philipp.hartmann@offis.de>
11 years agoFix minor typo in pristine-bz2.
Torsten Maehne [Mon, 30 Jul 2012 16:50:57 +0000 (18:50 +0200)]
Fix minor typo in pristine-bz2.

11 years agoreleasing version 1.26 1.26
Joey Hess [Sat, 25 Aug 2012 15:57:57 +0000 (11:57 -0400)]
releasing version 1.26

11 years agoAdd Tizen patches
Markus Lehtonen [Fri, 17 Aug 2012 08:43:26 +0000 (11:43 +0300)]
Add Tizen patches

Change-Id: I06f4d675d6deaad35c80901ed4759917510f643a
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agoInitial packaging for Tizen
Markus Lehtonen [Thu, 16 Aug 2012 12:46:49 +0000 (15:46 +0300)]
Initial packaging for Tizen

Change-Id: Ida2f7beb42a72f906db498247e5455e8b909e760
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agouse --block-list
Joey Hess [Thu, 12 Jul 2012 16:15:20 +0000 (12:15 -0400)]
use --block-list

11 years agopristine-xz: Use xz --robot to extract information from xz files, avoiding the need...
Joey Hess [Tue, 19 Jun 2012 13:28:41 +0000 (09:28 -0400)]
pristine-xz: Use xz --robot to extract information from xz files, avoiding the need to do more expensive guessing. Will also later allow supporting files needing --block-split (once upstream xz provides that option; a patch has been submitted). Closes: #677250 Thanks, Vincent Ladeuil

11 years agoreleasing version 1.25 1.25
Joey Hess [Tue, 12 Jun 2012 15:50:31 +0000 (11:50 -0400)]
releasing version 1.25

11 years agopristine-xz: Add --check=sha256 and compression levels 0 and 0e. Closes: #677241...
Joey Hess [Tue, 12 Jun 2012 15:45:07 +0000 (11:45 -0400)]
pristine-xz: Add --check=sha256 and compression levels 0 and 0e. Closes: #677241 Thanks, Vincent Ladeuil

12 years agoadd README
Joey Hess [Mon, 4 Jun 2012 01:16:44 +0000 (21:16 -0400)]
add README

12 years agoRemove unused fts.h include. Closes: #675367
Joey Hess [Thu, 31 May 2012 16:33:49 +0000 (12:33 -0400)]
Remove unused fts.h include. Closes: #675367

12 years agoreleasing version 1.24 1.24
Joey Hess [Sun, 1 Apr 2012 16:23:36 +0000 (12:23 -0400)]
releasing version 1.24

12 years agoAdd --check=crc32 to list of allowed parameters
Mike Miller [Sun, 1 Apr 2012 14:55:34 +0000 (10:55 -0400)]
Add --check=crc32 to list of allowed parameters

Signed-off-by: Mike Miller <mtmiller@ieee.org>
12 years agoreleasing version 1.23 1.23
Joey Hess [Sat, 31 Mar 2012 23:03:21 +0000 (19:03 -0400)]
releasing version 1.23

12 years agoAdd cases to handle CRC32 files made with PylibLZMA
Mike Miller [Sat, 31 Mar 2012 21:50:41 +0000 (17:50 -0400)]
Add cases to handle CRC32 files made with PylibLZMA

Signed-off-by: Mike Miller <mtmiller@ieee.org>
12 years agoDetect git submodules procuded by recent git, where .git is a file, not a directory...
Joey Hess [Tue, 27 Mar 2012 23:42:49 +0000 (19:42 -0400)]
Detect git submodules procuded by recent git, where .git is a file, not a directory. Closes: #666033

12 years agomove zgz/pit to pit
Joey Hess [Tue, 20 Mar 2012 21:01:27 +0000 (17:01 -0400)]
move zgz/pit to pit

12 years agoadd list command to status
Joey Hess [Sun, 18 Mar 2012 16:58:24 +0000 (12:58 -0400)]
add list command to status

12 years agoreleasing version 1.22 1.22
Joey Hess [Sun, 11 Mar 2012 22:51:05 +0000 (18:51 -0400)]
releasing version 1.22

12 years agoStore the sha1 of the tree that is being committed, rather than a sha1 of a commit...
Joey Hess [Sun, 11 Mar 2012 22:49:10 +0000 (18:49 -0400)]
Store the sha1 of the tree that is being committed, rather than a sha1 of a commit or other object that points to the tree. This makes committed tarballs more resilient against git filter-branch when it's only used to change commit metadata. Closes: #467288

12 years agoreleasing version 1.21 1.21
Joey Hess [Fri, 2 Mar 2012 19:02:59 +0000 (15:02 -0400)]
releasing version 1.21

12 years agoFix bug in mtime resetting code, which caused delta files to be created that failed...
Joey Hess [Fri, 2 Mar 2012 18:56:25 +0000 (14:56 -0400)]
Fix bug in mtime resetting code, which caused delta files to be created that failed to regenerate the original tarball. Closes: #661902

Need to set mtime in a separate pass, after symlink replacement with
regular file is complete.

12 years agoupdated debian copyright format url
Joey Hess [Sat, 25 Feb 2012 14:54:35 +0000 (10:54 -0400)]
updated debian copyright format url

12 years agoreleasing version 1.20 1.20
Joey Hess [Sun, 12 Feb 2012 18:30:09 +0000 (14:30 -0400)]
releasing version 1.20

12 years agopristine-xz: Try --extreme too. While my corpus has no such xz files, Darren Salt...
Joey Hess [Sun, 12 Feb 2012 18:23:47 +0000 (14:23 -0400)]
pristine-xz: Try --extreme too. While my corpus has no such xz files, Darren Salt points out that automake 1.11.2 has started using extreme mode. Closes: #658666

12 years agoreleasing version 1.19 1.19
Joey Hess [Wed, 1 Feb 2012 15:03:14 +0000 (11:03 -0400)]
releasing version 1.19

12 years agoreleasing version 1.18 1.18
Joey Hess [Tue, 31 Jan 2012 20:36:28 +0000 (16:36 -0400)]
releasing version 1.18

12 years agoxz: try levels 6 and 9
Joey Hess [Tue, 31 Jan 2012 20:13:21 +0000 (16:13 -0400)]
xz: try levels 6 and 9

12 years agoadded makefile
Joey Hess [Mon, 9 Jan 2012 17:08:52 +0000 (13:08 -0400)]
added makefile

missed due to ignore

12 years agoxz stuff
Joey Hess [Mon, 9 Jan 2012 17:04:45 +0000 (13:04 -0400)]
xz stuff

12 years agopristine-xz
Joey Hess [Mon, 9 Jan 2012 16:20:59 +0000 (12:20 -0400)]
pristine-xz

works, at least minimally

12 years agorefactor and fix a minor bug
Joey Hess [Mon, 9 Jan 2012 16:20:46 +0000 (12:20 -0400)]
refactor and fix a minor bug

12 years agoreleasing version 1.17 1.17
Joey Hess [Mon, 9 Jan 2012 15:48:04 +0000 (11:48 -0400)]
releasing version 1.17

12 years agopristine-tar: Fail when the delta is excessively large, probably due to the tarball...
Joey Hess [Mon, 9 Jan 2012 15:42:52 +0000 (11:42 -0400)]
pristine-tar: Fail when the delta is excessively large, probably due to the tarball being compressed with something that tar x can  auto-extract, but that pristine-tar does not support.

It would be cleaner to test the tarball's magic to see if it's a regular,
non-compressed tarball. But, there are a lot of historical tar-like
formats, so implementing magic for tar is hard. (And I don't use file(1)
in pristine-tar).

Anyway, this also catches any other failure that can result in a delta >=
the size of the input. Completely failing to get any of the input files
right could also make this happen, perhaps.

12 years agooverrides needed due to auto-reject
Joey Hess [Thu, 5 Jan 2012 01:47:22 +0000 (21:47 -0400)]
overrides needed due to auto-reject

12 years agoreleasing version 1.16 1.16
Joey Hess [Thu, 5 Jan 2012 00:17:14 +0000 (20:17 -0400)]
releasing version 1.16

12 years agobugfix
Joey Hess [Wed, 4 Jan 2012 23:56:29 +0000 (19:56 -0400)]
bugfix

12 years agoadd --suse-pbzip2
Joey Hess [Wed, 4 Jan 2012 23:49:08 +0000 (19:49 -0400)]
add --suse-pbzip2

12 years agofix suse-bzip2
Joey Hess [Wed, 4 Jan 2012 23:28:54 +0000 (19:28 -0400)]
fix suse-bzip2

My hack job to remove the compressor changed its output (dunno how but it was
on byte 11 of the output file), so I am instead just copying in all of bzip2,
modified with suse's patch.

12 years agochangelog
Joey Hess [Wed, 4 Jan 2012 22:24:51 +0000 (18:24 -0400)]
changelog

12 years agoapply suse's maxlen patch
Joey Hess [Wed, 4 Jan 2012 22:09:09 +0000 (18:09 -0400)]
apply suse's maxlen patch

https://build.opensuse.org/package/view_file?file=bzip2-maxlen20.patch&package=bzip2&project=openSUSE%3AFactory&srcmd5=3ee4cf959e98e3ca50a881d1cdc13570

12 years agoMerge branch 'separate-suse'
Joey Hess [Wed, 4 Jan 2012 22:00:00 +0000 (18:00 -0400)]
Merge branch 'separate-suse'

Conflicts:
debian/copyright
zgz/pit/suse-bzip2/blocksort.c

12 years agorevert commits trying to add suse support into old-bzip2
Joey Hess [Wed, 4 Jan 2012 21:57:03 +0000 (17:57 -0400)]
revert commits trying to add suse support into old-bzip2

12 years agotry --quirk suse
Joey Hess [Wed, 4 Jan 2012 21:53:57 +0000 (17:53 -0400)]
try --quirk suse

12 years agocomment
Joey Hess [Wed, 4 Jan 2012 21:45:11 +0000 (17:45 -0400)]
comment

12 years agolicenses
Joey Hess [Wed, 4 Jan 2012 21:43:39 +0000 (17:43 -0400)]
licenses

12 years agoignores
Joey Hess [Wed, 4 Jan 2012 21:40:28 +0000 (17:40 -0400)]
ignores

12 years agoforgot to add main
Joey Hess [Wed, 4 Jan 2012 21:39:49 +0000 (17:39 -0400)]
forgot to add main

12 years agorun external program from zgz
Joey Hess [Wed, 4 Jan 2012 21:39:33 +0000 (17:39 -0400)]
run external program from zgz

12 years agogot it to compile standalone
Joey Hess [Wed, 4 Jan 2012 21:21:49 +0000 (17:21 -0400)]
got it to compile standalone

12 years agomoved to pit
Joey Hess [Wed, 4 Jan 2012 21:21:42 +0000 (17:21 -0400)]
moved to pit

12 years agoreleasing version 1.15 1.15
Joey Hess [Sat, 8 Oct 2011 21:58:37 +0000 (17:58 -0400)]
releasing version 1.15

12 years ago'pristine-tar list' displays a list of tarballs that are available for checkout.
Joey Hess [Sun, 18 Sep 2011 02:03:31 +0000 (22:03 -0400)]
'pristine-tar list' displays a list of tarballs that are available for checkout.

12 years agoseparate copy of bzip2 1.0.5 for suse quirk
Joey Hess [Mon, 12 Sep 2011 19:57:31 +0000 (15:57 -0400)]
separate copy of bzip2 1.0.5 for suse quirk

Doesn't work yet. Making two copies of bzip2 live in one program would
be hard. Might be better to have a helper program?

12 years agoupdate to reflect some newer code
Joey Hess [Mon, 12 Sep 2011 20:10:05 +0000 (16:10 -0400)]
update to reflect some newer code

12 years agoadd --quirk suse, which affects --old-bzip2 mode to inexactly replicate suse bzip2
Joey Hess [Mon, 12 Sep 2011 20:06:02 +0000 (16:06 -0400)]
add --quirk suse, which affects --old-bzip2 mode to inexactly replicate suse bzip2

Suse's bzip2 is modifed for some reason to use a huffman table of 17 bytes.

While suse has a newer bzip2 than the version in old-bzip2, it was most
expedient to keep only one copy of bzip2 in zgz, and parameterize it to
emulate suse's patched newer version. This is done by using the blocksort
code from bzip 1.0.5.

This does not 100% replicate the output of suse's bzip2, but the
differences seem to just be in some preliminary header info, and are
quite small. So this will be combined with using xdelta.

12 years agorename entry point
Joey Hess [Mon, 12 Sep 2011 19:18:36 +0000 (15:18 -0400)]
rename entry point

12 years agoadjust to use UInt16 for block in EState
Joey Hess [Mon, 12 Sep 2011 19:14:08 +0000 (15:14 -0400)]
adjust to use UInt16 for block in EState

This is a bit weird, but the old-bzip2 used a UInt16 rather than a UChar
in the data structire, and the new blocksort code seems to work fine
that way, which avoids needing two data structures.

12 years agoadded blocksort.c from bzip 1.0.5
Joey Hess [Mon, 12 Sep 2011 19:12:37 +0000 (15:12 -0400)]
added blocksort.c from bzip 1.0.5

12 years ago-Wall clean fixes with new gcc
Joey Hess [Mon, 12 Sep 2011 18:43:39 +0000 (14:43 -0400)]
-Wall clean fixes with new gcc

Remove unused variables. Set a few uninitialized variables.

12 years agoPropigate nonzero exit status from doit_redir. Closes: #600724
Joey Hess [Thu, 8 Sep 2011 18:28:40 +0000 (14:28 -0400)]
Propigate nonzero exit status from doit_redir. Closes: #600724