tools/pristine-tar.git
8 months agoMerge branch 'sandbox/xuwc/devel-riscv-py2' into devel-py2 55/306555/1 devel-py2
wanchao-xu [Fri, 23 Feb 2024 01:54:57 +0000 (09:54 +0800)]
Merge branch 'sandbox/xuwc/devel-riscv-py2' into devel-py2

Change-Id: Ib274f076cdb9ed8d7139a52076e79c3477212f09
Signed-off-by: wanchao-xu <wanchao.xu@samsung.com>
9 months agoRemove the unnecessary package 'perl(ExtUtils::MakeMaker)' for opensuse42.x sandbox/xuwc/devel-riscv-py2
wanchao-xu [Fri, 12 Jan 2024 08:38:02 +0000 (16:38 +0800)]
Remove the unnecessary package 'perl(ExtUtils::MakeMaker)' for opensuse42.x
  * The suse_version of opensuse42.x is 1315

Change-Id: I413377f089897c58182e266002dc34b1a14b1367

5 years agoMerge branch 'master' into devel 06/201206/1 accepted/tizen_devbase_tools devel master accepted/tizen/devbase/tools/20200104.060134 accepted/tizen/devbase/tools/20200106.014331 accepted/tizen/devbase/tools/20200109.052815 accepted/tizen/devbase/tools/20200110.011739 accepted/tizen/devbase/tools/20200114.020256 accepted/tizen/devbase/tools/20200114.115829 accepted/tizen/devbase/tools/20200115.231508 accepted/tizen/devbase/tools/20200219.094557 accepted/tizen/devbase/tools/20200415.093506 accepted/tizen/devbase/tools/20200423.100559 accepted/tizen/devbase/tools/20200514.023621 accepted/tizen/devbase/tools/20200520.012818 accepted/tizen/devbase/tools/20200618.010559 accepted/tizen/devbase/tools/20200623.003420 accepted/tools/devbase/tools/legacy/20240422.110807 accepted/tools/devbase/tools/legacy/20240423.040654 accepted/tools/devbase/tools/legacy/20240424.050635 submit/trunk/20200104.111033 submit/trunk/20200104.134833 submit/trunk/20200105.091923 submit/trunk/20200108.172702 submit/trunk/20200109.105802 submit/trunk/20200109.112402 submit/trunk/20200109.124502 submit/trunk/20200109.151502 submit/trunk/20200109.154402 submit/trunk/20200110.111659 submit/trunk/20200114.100000 submit/trunk/20200114.110000 submit/trunk/20200115.110101 submit/trunk/20200219.120523 submit/trunk/20200409.194520 submit/trunk/20200409.200220 submit/trunk/20200409.202020 submit/trunk/20200410.143020 submit/trunk/20200410.160020 submit/trunk/20200413.132320 submit/trunk/20200413.150000 submit/trunk/20200413.150500 submit/trunk/20200413.151000 submit/trunk/20200414.141500 submit/trunk/20200414.173500 submit/trunk/20200414.191000 submit/trunk/20200422.115210 submit/trunk/20200422.142510 submit/trunk/20200422.165210 submit/trunk/20200423.102810 submit/trunk/20200423.115423 submit/trunk/20200423.122334 submit/trunk/20200513.162810 submit/trunk/20200519.161030 submit/trunk/20200519.164610 submit/trunk/20200519.184310 submit/trunk/20200612.131210 submit/trunk/20200612.180310 submit/trunk/20200612.182210 submit/trunk/20200612.185510 submit/trunk/20200612.191020 submit/trunk/20200615.140020 submit/trunk/20200617.133020 submit/trunk/20200619.141212 submit/trunk/20200622.151812 submit/trunk/20201029.114030 submit/trunk/20201029.132130
jingui.ren [Mon, 11 Mar 2019 09:01:19 +0000 (17:01 +0800)]
Merge branch 'master' into devel

Change-Id: I7be3069a863ac52c373fb7afdddfd871ef9215f0

7 years agoVersion bump to 1.35
SoonKyu Park [Tue, 27 Dec 2016 08:27:06 +0000 (17:27 +0900)]
Version bump to 1.35

Change-Id: I4fe4ff4e8f0ab6e9e79d0f9221c86b6f46164157

7 years agoFix xdelta upgrade to xdelta3 but left pristine-gz
Jiankang Fan [Tue, 27 Sep 2016 03:31:20 +0000 (11:31 +0800)]
Fix xdelta upgrade to xdelta3 but left pristine-gz

Change-Id: I6fe34718e339dd42826fac5971d36abf291850e3

7 years agoAdd debian ignore and packing ignore in .gbp.conf
Jiankang Fan [Tue, 27 Sep 2016 03:29:34 +0000 (11:29 +0800)]
Add debian ignore and packing ignore in .gbp.conf

Change-Id: I297839192071298e35ade2696ce2e98672a00bb2

7 years agoVersion bump to 1.35 release-20161231 accepted/tizen/devbase/tools/20190927.044846 submit/trunk/20190927.012842 submit/trunk/20191017.111201 submit/trunk/20191017.233826 submit/trunk/20191030.112603 submit/trunk/20191101.102136
SoonKyu Park [Tue, 27 Dec 2016 08:27:06 +0000 (17:27 +0900)]
Version bump to 1.35

Change-Id: I4fe4ff4e8f0ab6e9e79d0f9221c86b6f46164157

7 years agoFix xdelta upgrade to xdelta3 but left pristine-gz 1.35 debian/1.35
Jiankang Fan [Tue, 27 Sep 2016 03:31:20 +0000 (11:31 +0800)]
Fix xdelta upgrade to xdelta3 but left pristine-gz

Change-Id: I6fe34718e339dd42826fac5971d36abf291850e3

7 years agoAdd debian ignore and packing ignore in .gbp.conf
Jiankang Fan [Tue, 27 Sep 2016 03:29:34 +0000 (11:29 +0800)]
Add debian ignore and packing ignore in .gbp.conf

Change-Id: I297839192071298e35ade2696ce2e98672a00bb2

8 years agoModify provide to 20160517 to keep same with Debian 38/82838/1 release-20160808 release-20160930
y0169.zhang [Wed, 3 Aug 2016 03:16:29 +0000 (12:16 +0900)]
Modify provide to 20160517 to keep same with Debian

Change-Id: I1494a4589b19081ac48a3d185066c74783eb5c94

8 years agoModify provide to 20160517 to keep same with Debian
y0169.zhang [Wed, 3 Aug 2016 03:16:29 +0000 (12:16 +0900)]
Modify provide to 20160517 to keep same with Debian

Change-Id: I1494a4589b19081ac48a3d185066c74783eb5c94

8 years agoUpgrade xdelta to xdelta3 to solve file bigger than 2g release-20160531 release-20160615 1.34 debian/1.34 tizen/1.34-20160517
yang.zhang [Tue, 17 May 2016 08:48:15 +0000 (16:48 +0800)]
Upgrade xdelta to xdelta3 to solve file bigger than 2g

Change-Id: I68f84873b45757acdc06bf57a5df34a328f97a5f

9 years agomodify spec give up perl(ExtUtils::MakeMaker) when the version of opensuse >= 13.2. release-20160315 release-20160411
shuai.fu [Mon, 2 Nov 2015 11:07:32 +0000 (19:07 +0800)]
modify spec give up perl(ExtUtils::MakeMaker) when the version of  opensuse >= 13.2.
Signed-off-by: shuai.fu <shuai01.fu@samsung.com>
Change-Id: I507d2e0b46a9a1ed46131e1e83d4741474097848

9 years agoFix 'debian/changelog' file. tizen/1.33-20150212
Rong Jinhui [Tue, 13 Oct 2015 08:14:14 +0000 (16:14 +0800)]
Fix 'debian/changelog' file.

Change-Id: I888b08eedc3c8902b54959bdb3dade94e9085690
Signed-off-by: Rong Jinhui <jinhui.rong@samsung.com>
9 years agoVersion bump to 1.33 1.33 debian/1.33
Rong Jinhui [Tue, 13 Oct 2015 07:50:58 +0000 (15:50 +0800)]
Version bump to 1.33

Change-Id: I0354c4a2c38ccbf5eb61791d98c9f8cf5e136bfd
Signed-off-by: Rong Jinhui <jinhui.rong@samsung.com>
9 years agoTizen 1.32-20150212 release release tizen/1.32-20150212
Markus Lehtonen [Thu, 12 Feb 2015 12:16:30 +0000 (12:16 +0000)]
Tizen 1.32-20150212 release

Change-Id: I35e1b61496188c0d5bdd6d487c55dcfc4815156b
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agorpm packaging: allow any version of tar
Markus Lehtonen [Thu, 12 Feb 2015 09:53:33 +0000 (11:53 +0200)]
rpm packaging: allow any version of tar

Relax the tar dependency by allowing any version of tar to be used.
Initially, the requirement for tar < v1.27 was because the tar gnu
format changed a bit between v1.26 and v1.27 (more specifically the
mode/time fields of @LongLink headers). Thus, the delta might not apply
and tarballs committed (with pristine-tar) on a system with old tar
could possibly not be checked out on a system with newer tar (and vice
versa). Debian has a patched tar program (PRISTINE_TAR_COMPAT patch)
that restores the old tar format when pristine-tar is used (pristine-tar
sets the PRISTINE_TAR_COMPAT environment variable which the tar program
looks at).

However, it turns out that we do not suffer this problem (and do not
need patched tar) in Tizen tools. We have for a long time had
"Use-posix-tar-format-by-default.patch" which makes pristine-tar to
always use the posix tar format, regardless of the underlying system.
Thus, virtually all pristine-tar delta in Tizen packages should have
been generated using the posix tar format (which has not changed) and
delta should apply cleanly.

Change-Id: Ib0f203f69dc4ccb7a9ca9e8346d69522c0507734
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoTizen release v1.32 tizen/1.32-20140915
Markus Lehtonen [Mon, 15 Sep 2014 14:25:09 +0000 (14:25 +0000)]
Tizen release v1.32

Change-Id: Ie09434b76b94dba0090263563c16a7f4daf63821
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agorpm packaging: fix build for CentOS 7
Markus Lehtonen [Fri, 12 Sep 2014 09:31:52 +0000 (12:31 +0300)]
rpm packaging: fix build for CentOS 7

Change-Id: I81406ed8de243c759f1a52f2c6537188d95f950f
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoSync with upstream v1.32
Markus Lehtonen [Mon, 16 Jun 2014 14:44:02 +0000 (17:44 +0300)]
Sync with upstream v1.32

Change-Id: I11ed656f1b5fa646dc03e155c7cd61012a87bef9
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoMerge tag '1.32' into devel
Markus Lehtonen [Mon, 16 Jun 2014 14:38:58 +0000 (17:38 +0300)]
Merge tag '1.32' into devel

tagging package pristine-tar version 1.32

Conflicts:
debian/changelog

Change-Id: I37b8b92b367215b31708e45e3754b2a6df392a66

10 years agoorphaned upstream 1.32 debian/1.32
Joey Hess [Tue, 27 May 2014 20:02:04 +0000 (16:02 -0400)]
orphaned

10 years agoTizen release v1.31 tizen/1.31-20140520
Markus Lehtonen [Tue, 20 May 2014 12:49:34 +0000 (12:49 +0000)]
Tizen release v1.31

Change-Id: I5de33bd4057944c57ecdac4ad9ac97e6d169bc2f

10 years agoUpdate .gbp.conf
Markus Lehtonen [Tue, 20 May 2014 09:32:53 +0000 (12:32 +0300)]
Update .gbp.conf

Set rpm changelog revision format and vendor.

Change-Id: Ic6d6eaa0fef19d78bca62df3aaae7caee4868eab
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoMerge tag '1.31' into devel
Markus Lehtonen [Tue, 20 May 2014 09:20:06 +0000 (12:20 +0300)]
Merge tag '1.31' into devel

tagging package pristine-tar version 1.31

Conflicts:
debian/changelog

Change-Id: Ia4f7bdad3f0b64559b3f507fe8b7c79a1f3f37af

10 years agodebian packaging: fix dependency on tar
Markus Lehtonen [Mon, 9 Dec 2013 09:55:53 +0000 (11:55 +0200)]
debian packaging: fix dependency on tar

Allow releases of tar v1.27 that contain the PRISTINE_TAR_COMPAT patch
from Debian.

Change-Id: I55bf0b08100314af2e188608336f5365541edba2
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
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 agoRelease, update changelogs tizen/1.30-20140227
Markus Lehtonen [Thu, 27 Feb 2014 11:04:37 +0000 (11:04 +0000)]
Release, update changelogs

Change-Id: I010b3793da501ce3bb3e92556cb9978bea032b7f

10 years agogbp.conf: add packaging tag format
Markus Lehtonen [Thu, 27 Feb 2014 08:36:35 +0000 (10:36 +0200)]
gbp.conf: add packaging tag format

Change-Id: I41a8c668dd6a65d6baaeb381a44241f9d9934843
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
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 agopackaging: change dependency to tar
Markus Lehtonen [Mon, 9 Dec 2013 09:55:53 +0000 (11:55 +0200)]
packaging: change dependency to tar

Require tar < 1.27 for now - the Debian PRISTINE_TAR_COMPAT patch for tar
to cope with tar file format changes is not generally available in other
distributions.

Change-Id: I5d87e4b54c15942d0b5e9ad185882554ba063e99
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agopackaging: version bump to 1.30
Markus Lehtonen [Mon, 9 Dec 2013 09:22:18 +0000 (11:22 +0200)]
packaging: version bump to 1.30

Rebase patches and update changelogs.

Change-Id: I6aa54c76be6d94d1c427f0177678bdad684961d9
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoMerge tag '1.30' into devel
Markus Lehtonen [Mon, 9 Dec 2013 08:53:02 +0000 (10:53 +0200)]
Merge tag '1.30' into devel

tagging package pristine-tar version 1.30

Conflicts:
debian/changelog

Change-Id: If614284b36fb696eecc5e2dfbc20540e49d34b81

10 years agoUpdate packaging for next gbs release
Zhang Qiang [Thu, 5 Dec 2013 01:18:41 +0000 (09:18 +0800)]
Update packaging for next gbs release

10 years agoWorkaround for broken pristine-tar branches in Tizen
Markus Lehtonen [Fri, 29 Nov 2013 10:54:27 +0000 (12:54 +0200)]
Workaround for broken pristine-tar branches in Tizen

Makes it possible to checkout tarballs from certain broken pristine-tar
branches created with buggy versions of Tizen pristine-tar on openSUSE.

Also limit the suse bzip2 hack to older openSUSE distros.

Change-Id: Ifc5b173f8a5f5db5266a79c9cfd2b27c4293f7c7
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 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

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

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

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

11 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

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

11 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

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

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

11 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

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

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

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

11 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>
11 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>
11 years agochangelog
Joey Hess [Sat, 15 Jun 2013 00:44:20 +0000 (20:44 -0400)]
changelog

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

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

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

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

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

12 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>
12 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>
12 years agochangelog
Joey Hess [Mon, 27 Aug 2012 15:48:32 +0000 (11:48 -0400)]
changelog

12 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

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

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

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

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

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

12 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>
12 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>
12 years agouse --block-list
Joey Hess [Thu, 12 Jul 2012 16:15:20 +0000 (12:15 -0400)]
use --block-list

12 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

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

12 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