summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-04-23prep releasedebian/1.311.31release-test-0.1Joey Hess3-4/+4
2014-02-12Build on Hurd without needing PATH_MAX defined. Closes: #738670 Thanks, ↵Joey Hess2-6/+18
Svante Signell
2013-11-03idempotency in clean fixdebian/1.301.30Joey Hess1-1/+1
2013-11-03prep releaseJoey Hess1-2/+2
2013-11-03debhelper v9Joey Hess2-2/+2
2013-11-03prep releaseJoey Hess3-4/+4
2013-10-27Work around change in longlink fields in tar 1.27. (Needs ↵Joey Hess2-0/+7
PRISTINE_TAR_COMPAT patch applied to tar.) Closes: #726963
2013-10-27remove unnecessary unsetJoey Hess1-1/+0
TAR_LONGLINK_100 is set and then unset inside a single function. This unset appears to be unnecessary cruft.
2013-10-27Set GIT_WORK_TREE when committing to make it work when inside a git ↵Joey Hess1-0/+7
submodule. Thanks, Victor Vasiliev. Closes: #726007
2013-10-27Handle Git submodules correctlyVictor Vasiliev1-0/+1
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.
2013-09-11Fix path to suse-bzip2's libbz2 dynamic library on Darwin.Torsten Maehne1-1/+1
2013-08-26clean generated man pages from source tarballdebian/1.29Joey Hess1-0/+1
2013-08-26prep releaseJoey Hess2-3/+6
2013-08-26Handle unprintable chars in filenames correctlyChow Loong Jin1-11/+29
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.
2013-08-26Merge remote-tracking branch 'remotes/dgit/dgit/sid'Joey Hess0-0/+0
2013-06-14changelogJoey Hess1-0/+5
2013-06-14implement tar format guessingMarkus Lehtonen1-5/+14
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>
2013-05-11Fix display of unsupported param when paranoia check fails. Closes: #707820Joey Hess4-3/+10
2013-05-05releasing version 1.281.28Joey Hess3-4/+10
2013-05-05pristine-tar (1.28) unstable; urgency=lowJoey Hess56-0/+19122
* Update lintian overrides. # imported from the archive
2013-05-05releasing version 1.271.27Joey Hess1-2/+2
2013-02-13Fix typo that led to incorrect error message when pristine-tar branch does ↵Joey Hess2-2/+3
not exist. Closes: #700448 Thanks, paul cannon
2012-09-23changelogJoey Hess1-0/+3
2012-09-22zgz: Don't hardcode /lib, avoid segfaulting on > 128 character pathsJoey Hess3-19/+46
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>
2012-08-28changelogJoey Hess1-0/+1
2012-08-28Improve INSTALL instructions.Torsten Maehne1-1/+39
2012-08-28Makefile.PL: add message about custom parametersTorsten Maehne1-0/+8
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>
2012-08-28Makefile.PL: add custom build parametersPhilipp A. Hartmann2-3/+42
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>
2012-08-27changelogJoey Hess1-0/+10
2012-08-27Revert "Makefile.PL: use MAN1PODS to build and install manpages"Joey Hess2-7/+9
This reverts commit 86d0f72ba700b7e13e42e0660695d2cda02e7f66 (mostly) Caused lintian warnings about manpage sections being 1p instead of 1
2012-08-27zgz: dynamic library handling on Mac OS XTorsten Maehne1-1/+8
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)
2012-08-27suse-bzip2/Makefile: add Mac OS X supportTorsten Maehne2-17/+44
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)
2012-08-27Makefile.PL: use EXE_FILES and clean rules, add infoPhilipp A. Hartmann1-2/+6
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.
2012-08-27Makefile.PL: use MAN1PODS to build and install manpagesPhilipp A. Hartmann2-9/+8
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>
2012-08-27Makefile.PL: avoid in-place editing with sedPhilipp A. Hartmann1-2/+3
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>
2012-08-27Makefile.PL: use #!/usr/bin/env perlTorsten Maehne1-1/+1
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>
2012-08-27Makefile.PL: drop unused suse-bzip2 targetPhilipp A. Hartmann1-4/+0
Signed-off-by: Philipp A. Hartmann <philipp.hartmann@offis.de>
2012-08-27Makefile.PL: handle PREFIX consistentlyPhilipp A. Hartmann1-8/+7
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>
2012-08-27Update .gitignoreTorsten Maehne1-1/+6
Signed-off-by: Philipp A. Hartmann <philipp.hartmann@offis.de>
2012-08-27Factorize external program names into variablesTorsten Maehne1-4/+7
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>
2012-08-27Fix minor typo in pristine-bz2.Torsten Maehne1-1/+1
2012-08-25releasing version 1.261.26Joey Hess2-3/+3
2012-07-12use --block-listJoey Hess2-12/+11
2012-06-19pristine-xz: Use xz --robot to extract information from xz files, avoiding ↵Joey Hess2-9/+179
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
2012-06-12releasing version 1.251.25Joey Hess1-2/+2
2012-06-12pristine-xz: Add --check=sha256 and compression levels 0 and 0e. Closes: ↵Joey Hess2-1/+5
#677241 Thanks, Vincent Ladeuil
2012-06-03add READMEJoey Hess3-2/+13
2012-05-31Remove unused fts.h include. Closes: #675367Joey Hess2-1/+6
2012-04-01releasing version 1.241.24Joey Hess2-1/+7
2012-04-01Add --check=crc32 to list of allowed parametersMike Miller1-0/+1
Signed-off-by: Mike Miller <mtmiller@ieee.org>