tools/pristine-tar.git
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.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

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

12 years agoAdd support for gzip --rsyncable output produced by gzip 1.4.
Joey Hess [Sun, 7 Aug 2011 01:02:59 +0000 (21:02 -0400)]
Add support for gzip --rsyncable output produced by gzip 1.4.

This differs from prior --rsyncable output, which was made by a debian
specific patch and used a different rsync window size, and reset huffman
encodings less often.

12 years agoClarify man page.
Joey Hess [Thu, 7 Jul 2011 16:17:15 +0000 (12:17 -0400)]
Clarify man page.

13 years agoimprove program name in messages
Joey Hess [Fri, 25 Mar 2011 04:53:43 +0000 (00:53 -0400)]
improve program name in messages

13 years agoalso try with -1 in perl mode 1.13
Joey Hess [Tue, 15 Mar 2011 04:43:26 +0000 (00:43 -0400)]
also try with -1 in perl mode

This really fixes the bug.

13 years agotweak header info for perl quick mode
Joey Hess [Tue, 15 Mar 2011 04:43:06 +0000 (00:43 -0400)]
tweak header info for perl quick mode

avoids small xdelta

13 years agorelease prep
Joey Hess [Tue, 15 Mar 2011 04:36:24 +0000 (00:36 -0400)]
release prep

13 years agopristine-tar: handle properly Perl gzips
Faidon Liambotis [Mon, 14 Mar 2011 23:45:23 +0000 (01:45 +0200)]
pristine-tar: handle properly Perl gzips

Perl's Compress::Raw::Zlib interfaces directly with zlib and
apparently is the only implementation out there which tunes a very
specific parameter of zlib, memLevel, to 9, instead of 8 which is
the default.

The module is used, among others, by Compress::Gzip which in turn is
used by IO::Zlib.

It was found on the real world on tarballs generated by Perl 5.10's
Module::Build (cf. #618284)

13 years agoreleasing version 1.12 1.12
Joey Hess [Sun, 6 Feb 2011 04:02:34 +0000 (00:02 -0400)]
releasing version 1.12

13 years agoDEP5
Joey Hess [Thu, 13 Jan 2011 22:57:34 +0000 (18:57 -0400)]
DEP5

13 years agoFix gzg building with --as-needed. Closes: #604030
Joey Hess [Sat, 20 Nov 2010 20:49:26 +0000 (16:49 -0400)]
Fix gzg building with --as-needed. Closes: #604030

13 years agoMerge branch 'master' of ssh://git.kitenet.net/srv/git/pristine-tar 1.11
Joey Hess [Fri, 12 Nov 2010 14:31:35 +0000 (10:31 -0400)]
Merge branch 'master' of ssh://git.kitenet.net/srv/git/pristine-tar

13 years agoreleasing version 1.11
Joey Hess [Fri, 12 Nov 2010 14:29:35 +0000 (10:29 -0400)]
releasing version 1.11

13 years agobugfix
Joey Hess [Fri, 12 Nov 2010 01:14:25 +0000 (21:14 -0400)]
bugfix

13 years agoAdd workaround for Debian's tar changing its output for tarballs containing filenames...
Joey Hess [Fri, 12 Nov 2010 01:05:45 +0000 (21:05 -0400)]
Add workaround for Debian's tar changing its output for tarballs containing filenames exactly 100 bytes long. Closes: #602907 (Needs a tar with #603231 fixed in order to work.)

13 years agoLintian fixes.
Joey Hess [Thu, 19 Aug 2010 20:41:24 +0000 (16:41 -0400)]
Lintian fixes.

13 years agofound a second bzip2 that cannot be reproduced
Joey Hess [Wed, 18 Aug 2010 16:35:24 +0000 (12:35 -0400)]
found a second bzip2 that cannot be reproduced

13 years agotypo
Joey Hess [Wed, 18 Aug 2010 00:35:03 +0000 (20:35 -0400)]
typo

13 years agostupid makemaker..
Joey Hess [Wed, 18 Aug 2010 00:33:13 +0000 (20:33 -0400)]
stupid makemaker..

13 years agoupdate
Joey Hess [Wed, 18 Aug 2010 00:30:55 +0000 (20:30 -0400)]
update

13 years agoRemove environment variables used by tar, gz, and bzip2, to avoid local environment...
Joey Hess [Tue, 17 Aug 2010 21:30:50 +0000 (17:30 -0400)]
Remove environment variables used by tar, gz, and bzip2, to avoid local environment settings possibly breaking things. Closes: #498760 (probably; thanks Ralph Lange for analysis)

13 years agoupdate ignores
Joey Hess [Sat, 24 Jul 2010 05:26:11 +0000 (01:26 -0400)]
update ignores

13 years agocopyright update for file move
Joey Hess [Sat, 24 Jul 2010 05:24:36 +0000 (01:24 -0400)]
copyright update for file move

13 years agomove zgz's gzip bits into a subdir
Joey Hess [Sat, 24 Jul 2010 05:23:15 +0000 (01:23 -0400)]
move zgz's gzip bits into a subdir

13 years agominor
Joey Hess [Sat, 24 Jul 2010 05:13:15 +0000 (01:13 -0400)]
minor

13 years agorefactored file format magic numbers code
Joey Hess [Sat, 24 Jul 2010 05:02:51 +0000 (01:02 -0400)]
refactored file format magic numbers code

13 years agosimplify
Joey Hess [Sat, 24 Jul 2010 04:21:30 +0000 (00:21 -0400)]
simplify

13 years agomodularize the delta writing code
Joey Hess [Sat, 24 Jul 2010 00:57:51 +0000 (20:57 -0400)]
modularize the delta writing code

This will make it easy to add support for flat deltas, etc.

13 years agopristine-tar commit takes varying number of parameters, fix checking
Joey Hess [Sat, 24 Jul 2010 00:27:04 +0000 (20:27 -0400)]
pristine-tar commit takes varying number of parameters, fix checking