From cc239fc17b0b72793a39594e4cd9ffa1dd7e5342 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 23 May 2012 09:43:57 +0000 Subject: main/abuild: add support for unpacking uncompressed tar archives --- ...add-support-for-uncompressed-tar-archives.patch | 26 ++++++++++++++++++++++ main/abuild/APKBUILD | 6 +++-- 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 main/abuild/0001-abuild-add-support-for-uncompressed-tar-archives.patch (limited to 'main') 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 000000000..6ae675218 --- /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 +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 b17428a4a..de3f37010 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" -- cgit v1.2.3