aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-02-17 10:10:12 (GMT)
committerNatanael Copa <ncopa@alpinelinux.org>2017-02-17 10:11:01 (GMT)
commit999a47c74a287ee2a01c88fa8c0a2c61b9328f6b (patch)
tree69638afa2e704e3ba536f0b0412d70c24429d4f6
parent4042cfc40628c85c59827efd179106c470721ff7 (diff)
downloadaports-999a47c74a287ee2a01c88fa8c0a2c61b9328f6b.tar.bz2
main/abuild: fix abump
we need reset md5/sha256 sums when running abump
-rw-r--r--main/abuild/0001-abuild-unset-md5-and-sha256-sums-when-updating-check.patch26
-rw-r--r--main/abuild/APKBUILD6
2 files changed, 30 insertions, 2 deletions
diff --git a/main/abuild/0001-abuild-unset-md5-and-sha256-sums-when-updating-check.patch b/main/abuild/0001-abuild-unset-md5-and-sha256-sums-when-updating-check.patch
new file mode 100644
index 0000000..f3c954e
--- /dev/null
+++ b/main/abuild/0001-abuild-unset-md5-and-sha256-sums-when-updating-check.patch
@@ -0,0 +1,26 @@
+From 2c1aaa5536d601c4203c4ba451141578beeeee16 Mon Sep 17 00:00:00 2001
+From: Natanael Copa <ncopa@alpinelinux.org>
+Date: Fri, 17 Feb 2017 11:07:15 +0100
+Subject: [PATCH] abuild: unset md5 and sha256 sums when updating checksum
+
+this fixes problem with abump
+---
+ abuild.in | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/abuild.in b/abuild.in
+index 6c57cf0..6d93e1f 100644
+--- a/abuild.in
++++ b/abuild.in
+@@ -1960,6 +1960,8 @@ checksum() {
+ done
+
+ msg "Updating the sha512sums in APKBUILD..."
++ md5sums=
++ sha256sums=
+ sha512sums="$(cd "$srcdir" && sha512sum $files)" \
+ || die "sha512sum failed"
+ echo "sha512sums=\"$sha512sums\"" >>"$APKBUILD"
+--
+2.11.1
+
diff --git a/main/abuild/APKBUILD b/main/abuild/APKBUILD
index 40529b3..f4684ee 100644
--- a/main/abuild/APKBUILD
+++ b/main/abuild/APKBUILD
@@ -2,7 +2,7 @@
pkgname=abuild
pkgver=2.29.0
_ver=${pkgver%_git*}
-pkgrel=7
+pkgrel=8
pkgdesc="Script to build Alpine Packages"
url="http://git.alpinelinux.org/cgit/abuild/"
arch="all"
@@ -27,6 +27,7 @@ source="http://dev.alpinelinux.org/archive/abuild/abuild-$_ver.tar.xz
0001-abuild-use-only-sha512sum.patch
0001-abuild-preserve-xattrs-when-creating-dbg.patch
0001-functions-fix-cross-compile-triplet-for-armhf-archit.patch
+ 0001-abuild-unset-md5-and-sha256-sums-when-updating-check.patch
"
_builddir="$srcdir/$pkgname-$_ver"
@@ -76,4 +77,5 @@ fb7d65b1c65368dfddf7e3b55774a699169eb1de63e1aa619d5a210773e912e66c6a573d7fb98d57
6f4212c796829578f318b257adcfdf493a1520cd45c623c110a3181fd076bbcb94f84b04f9292bd081a923e5819448673e5adc1a3e8450e086784c00c3515459 0001-abuild-add-missing-triplet-definitions-for-ppc-and-p.patch
99a260d2c1ebc625fece8fc0a6d31357c1695825da6357b67c138cf2d738507640a3b1873cf3a4ba1ed502a7d6f29fe7a9898ebc3005faf27353c989b3c340c1 0001-abuild-use-only-sha512sum.patch
37f9de0e6f160f3ccbee56a973e08fcf9b4c27318023eacb47bf5ff1ee0d7f3710bef368d998a65bff0420fb73e6e05963b05af95e4beacf6a39cfe1bee95ec1 0001-abuild-preserve-xattrs-when-creating-dbg.patch
-4a626c1213fa09a8000200c093b6209a57eb31be90c5cc7b4cb18eeb27c9e65fa60a92969f05dd80aa99cd91cab7c7ac16760b9aae72c5aa20883375c5c726df 0001-functions-fix-cross-compile-triplet-for-armhf-archit.patch"
+4a626c1213fa09a8000200c093b6209a57eb31be90c5cc7b4cb18eeb27c9e65fa60a92969f05dd80aa99cd91cab7c7ac16760b9aae72c5aa20883375c5c726df 0001-functions-fix-cross-compile-triplet-for-armhf-archit.patch
+8390c080d6e4f90ca7d3aeb5244cc920d277f52bca9db2a42b3758a147baf045b1a95314955ba11182d635a7d90de01d5bc96f42e318ed32d6b5315b691a6ad5 0001-abuild-unset-md5-and-sha256-sums-when-updating-check.patch"