diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-01-13 12:40:27 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-01-13 12:40:27 +0000 |
commit | c91ecca714196c497d8798b518aee3075b22df53 (patch) | |
tree | d06573c0b7c1d9ffded2ccd557cb0ed7610d5016 /main/abuild | |
parent | 94db82c1eceb72f2ef9b5a9a0ec742ef2964b231 (diff) | |
download | aports-c91ecca714196c497d8798b518aee3075b22df53.tar.bz2 aports-c91ecca714196c497d8798b518aee3075b22df53.tar.xz |
main/abuild: exit with error if pkgrel is unset
Diffstat (limited to 'main/abuild')
-rw-r--r-- | main/abuild/0001-abuild-exit-with-error-if-pkgrel-is-unset.patch | 25 | ||||
-rw-r--r-- | main/abuild/APKBUILD | 12 |
2 files changed, 33 insertions, 4 deletions
diff --git a/main/abuild/0001-abuild-exit-with-error-if-pkgrel-is-unset.patch b/main/abuild/0001-abuild-exit-with-error-if-pkgrel-is-unset.patch new file mode 100644 index 0000000000..bf94a48498 --- /dev/null +++ b/main/abuild/0001-abuild-exit-with-error-if-pkgrel-is-unset.patch @@ -0,0 +1,25 @@ +From e98bdd23b0582e26c40abc545a9ff1cf348dfe86 Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Mon, 13 Jan 2014 12:36:07 +0000 +Subject: [PATCH] abuild: exit with error if pkgrel is unset + +--- + abuild.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/abuild.in b/abuild.in +index 3a904f6..c37af4d 100755 +--- a/abuild.in ++++ b/abuild.in +@@ -1921,7 +1921,7 @@ APKBUILD=$(readlink -f "$APKBUILD") + startdir="${APKBUILD%/*}" + srcdir=${srcdir:-"$startdir/src"} + pkgbasedir=${pkgbasedir:-"$startdir/pkg"} +-pkgrel=0 ++ + repo=${startdir%/*} + repo=${repo##*/} + +-- +1.8.5.2 + diff --git a/main/abuild/APKBUILD b/main/abuild/APKBUILD index 3c3df448be..56455fff9e 100644 --- a/main/abuild/APKBUILD +++ b/main/abuild/APKBUILD @@ -2,7 +2,7 @@ pkgname=abuild pkgver=2.19.1 _ver=${pkgver%_git*} -pkgrel=0 +pkgrel=1 pkgdesc="Script to build Alpine Packages" url="http://git.alpinelinux.org/cgit/abuild/" arch="all" @@ -18,6 +18,7 @@ install="$pkgname.pre-install $pkgname.pre-upgrade" subpackages="apkbuild-cpan:cpan" pkggroups="abuild" source="http://dev.alpinelinux.org/archive/abuild/abuild-$pkgver.tar.xz + 0001-abuild-exit-with-error-if-pkgrel-is-unset.patch " _builddir="$srcdir/$pkgname-$_ver" @@ -54,6 +55,9 @@ cpan() { mv "$pkgdir"/usr/bin/apkbuild-cpan "$subpkgdir"/usr/bin/ } -md5sums="8888d0fd3fcc620c8b815c473e51652d abuild-2.19.1.tar.xz" -sha256sums="5e583d53eced10bdc39301c2cb9a74a644033e98daff636533859a929e27ca63 abuild-2.19.1.tar.xz" -sha512sums="b2e78b4d23d49477b27283cdc569d9b7bac5745024b50670251682dba26fc24d7d7b5d90d4e252af13ac3109252450169595215650713314f96bbacf485084c6 abuild-2.19.1.tar.xz" +md5sums="8888d0fd3fcc620c8b815c473e51652d abuild-2.19.1.tar.xz +b29c403c214fe62983c9a039ce8c113f 0001-abuild-exit-with-error-if-pkgrel-is-unset.patch" +sha256sums="5e583d53eced10bdc39301c2cb9a74a644033e98daff636533859a929e27ca63 abuild-2.19.1.tar.xz +9f63efc778e67c45403af87b7174355cb03690db51c2605c7d29f818cc24caba 0001-abuild-exit-with-error-if-pkgrel-is-unset.patch" +sha512sums="b2e78b4d23d49477b27283cdc569d9b7bac5745024b50670251682dba26fc24d7d7b5d90d4e252af13ac3109252450169595215650713314f96bbacf485084c6 abuild-2.19.1.tar.xz +9bc14785134b0db7855471ea2dd7da4bb7cb6c5f91b1030a3e23d21c662175248f6455343bfeb0af1d34c046701d977b56c768b435a72051fe270eb56dbc534c 0001-abuild-exit-with-error-if-pkgrel-is-unset.patch" |