tools/pristine-tar.git
10 years agoprep release release-test-0.1 1.31 debian/1.31
Joey Hess [Wed, 23 Apr 2014 18:02:36 +0000 (14:02 -0400)]
prep release

10 years agoBuild on Hurd without needing PATH_MAX defined. Closes: #738670 Thanks, Svante Signell
Joey Hess [Wed, 12 Feb 2014 17:14:26 +0000 (13:14 -0400)]
Build on Hurd without needing PATH_MAX defined. Closes: #738670 Thanks, Svante Signell

10 years agoidempotency in clean fix 1.30 debian/1.30
Joey Hess [Sun, 3 Nov 2013 17:33:57 +0000 (13:33 -0400)]
idempotency in clean fix

10 years agoprep release
Joey Hess [Sun, 3 Nov 2013 17:33:31 +0000 (13:33 -0400)]
prep release

10 years agodebhelper v9
Joey Hess [Sun, 3 Nov 2013 17:33:12 +0000 (13:33 -0400)]
debhelper v9

10 years agoprep release
Joey Hess [Sun, 3 Nov 2013 17:32:02 +0000 (13:32 -0400)]
prep release

10 years agoWork around change in longlink fields in tar 1.27. (Needs PRISTINE_TAR_COMPAT patch...
Joey Hess [Sun, 27 Oct 2013 17:12:57 +0000 (13:12 -0400)]
Work around change in longlink fields in tar 1.27. (Needs PRISTINE_TAR_COMPAT patch applied to tar.) Closes: #726963

10 years agoremove unnecessary unset
Joey Hess [Sun, 27 Oct 2013 17:00:21 +0000 (13:00 -0400)]
remove unnecessary unset

TAR_LONGLINK_100 is set and then unset inside a single function.
This unset appears to be unnecessary cruft.

10 years agoSet GIT_WORK_TREE when committing to make it work when inside a git submodule. Thanks...
Joey Hess [Sun, 27 Oct 2013 16:32:29 +0000 (12:32 -0400)]
Set GIT_WORK_TREE when committing to make it work when inside a git submodule. Thanks, Victor Vasiliev. Closes: #726007

10 years agoHandle Git submodules correctly
Victor Vasiliev [Fri, 11 Oct 2013 02:23:15 +0000 (22:23 -0400)]
Handle Git submodules correctly

Due to the way submodules are organized in the latest versions of Git,
the working directory in the submodule repository configuration is set
to the relative path of submodule with respect to its physical GIT_DIR
location, instead of default ".". This confuses git-update-index, and
causes `pristine-tar commit' to fail.

10 years agoFix path to suse-bzip2's libbz2 dynamic library on Darwin.
Torsten Maehne [Wed, 11 Sep 2013 11:41:30 +0000 (13:41 +0200)]
Fix path to suse-bzip2's libbz2 dynamic library on Darwin.

10 years agoclean generated man pages from source tarball debian/1.29
Joey Hess [Mon, 26 Aug 2013 16:02:27 +0000 (12:02 -0400)]
clean generated man pages from source tarball

10 years agoprep release
Joey Hess [Mon, 26 Aug 2013 15:54:14 +0000 (11:54 -0400)]
prep release

10 years agoHandle unprintable chars in filenames correctly
Chow Loong Jin [Thu, 8 Aug 2013 10:27:17 +0000 (18:27 +0800)]
Handle unprintable chars in filenames correctly

tar's -t and --files-from options implement quoting/unquoting of unprintable
characters, so we need to unquote the filenames before passing them to mkpath.

10 years agoMerge remote-tracking branch 'remotes/dgit/dgit/sid'
Joey Hess [Mon, 26 Aug 2013 15:50:26 +0000 (11:50 -0400)]
Merge remote-tracking branch 'remotes/dgit/dgit/sid'

10 years agochangelog
Joey Hess [Sat, 15 Jun 2013 00:44:20 +0000 (20:44 -0400)]
changelog

10 years agoimplement tar format guessing
Markus Lehtonen [Mon, 3 Jun 2013 10:16:00 +0000 (13:16 +0300)]
implement tar format guessing

Try "posix" and "gnu" formats if tarball re-creation with the default
tar format fails.

Makes pristine-tar more compatible accross different Linux distributions
as the default format used by tar varies.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agoFix display of unsupported param when paranoia check fails. Closes: #707820
Joey Hess [Sat, 11 May 2013 15:20:20 +0000 (11:20 -0400)]
Fix display of unsupported param when paranoia check fails. Closes: #707820

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 agopristine-tar (1.28) unstable; urgency=low
Joey Hess [Sun, 5 May 2013 05:45:27 +0000 (01:45 -0400)]
pristine-tar (1.28) unstable; urgency=low

  * Update lintian overrides.

# imported from the archive

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 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

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

11 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

12 years agoFix Vcs-Browser url. Closes: #636926
Joey Hess [Sun, 7 Aug 2011 12:53:38 +0000 (08:53 -0400)]
Fix Vcs-Browser url. Closes: #636926

12 years agoreleasing version 1.14 1.14
Joey Hess [Sun, 7 Aug 2011 01:11:56 +0000 (21:11 -0400)]
releasing version 1.14