diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-23 09:43:57 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2012-05-25 12:21:05 +0000 |
commit | cc239fc17b0b72793a39594e4cd9ffa1dd7e5342 (patch) | |
tree | 945ae2030f5dde59445e4648452ee88e548c0c53 /main | |
parent | a226c77a9be898d7964bbbd27e7c1f10107dd99f (diff) | |
download | aports-cc239fc17b0b72793a39594e4cd9ffa1dd7e5342.tar.bz2 aports-cc239fc17b0b72793a39594e4cd9ffa1dd7e5342.tar.xz |
main/abuild: add support for unpacking uncompressed tar archives
Diffstat (limited to 'main')
-rw-r--r-- | main/abuild/0001-abuild-add-support-for-uncompressed-tar-archives.patch | 26 | ||||
-rw-r--r-- | main/abuild/APKBUILD | 6 |
2 files changed, 30 insertions, 2 deletions
diff --git a/main/abuild/0001-abuild-add-support-for-uncompressed-tar-archives.patch b/main/abuild/0001-abuild-add-support-for-uncompressed-tar-archives.patch new file mode 100644 index 0000000000..6ae675218a --- /dev/null +++ b/main/abuild/0001-abuild-add-support-for-uncompressed-tar-archives.patch @@ -0,0 +1,26 @@ +From a5f67dcf25fae7c0200298623cccb61d9275fd28 Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Wed, 23 May 2012 09:42:27 +0000 +Subject: [PATCH] abuild: add support for uncompressed tar archives + +--- + abuild.in | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/abuild.in b/abuild.in +index 2780d2e..32dd153 100755 +--- a/abuild.in ++++ b/abuild.in +@@ -404,6 +404,9 @@ default_unpack() { + for u in $source; do + local s="$SRCDEST/${u##*/}" # $(basename $s) + case "$s" in ++ *.tar) ++ msg "Unpacking $s..." ++ tar -C "$srcdir" -xf "$s" || return 1;; + *.tar.gz|*.tgz) + msg "Unpacking $s..." + tar -C "$srcdir" -zxf "$s" || return 1;; +-- +1.7.10.2 + diff --git a/main/abuild/APKBUILD b/main/abuild/APKBUILD index b17428a4a4..de3f370106 100644 --- a/main/abuild/APKBUILD +++ b/main/abuild/APKBUILD @@ -2,9 +2,10 @@ pkgdesc="Script to build Alpine Packages" pkgname=abuild pkgver=2.12.1 -pkgrel=0 +pkgrel=1 url=http://git.alpinelinux.org/cgit/abuild/ source="http://git.alpinelinux.org/cgit/abuild/snapshot/abuild-$pkgver.tar.bz2 + 0001-abuild-add-support-for-uncompressed-tar-archives.patch " depends="fakeroot file sudo pax-utils openssl apk-tools>=2.0.7-r1 uclibc-utils abuildhelper curl" @@ -47,4 +48,5 @@ cpan() { mv "$pkgdir"/usr/bin/apkbuild-cpan "$subpkgdir"/usr/bin/ } -md5sums="92348750a3354c3ec7b811716543b8e5 abuild-2.12.1.tar.bz2" +md5sums="92348750a3354c3ec7b811716543b8e5 abuild-2.12.1.tar.bz2 +b04eb6325bf8014ea9fc974344f71a82 0001-abuild-add-support-for-uncompressed-tar-archives.patch" |