diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-12-18 12:38:12 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-12-18 12:38:12 +0000 |
commit | bc97fb061b3259f53b68b4a17b64c1d78cfd4f0e (patch) | |
tree | f502f79bf28d9b783db83e69e997572d6ec6ffd8 | |
parent | 397a3bbe2c3569dd1fedc7062a2fe4e80263bae5 (diff) | |
download | alpine_aports-bc97fb061b3259f53b68b4a17b64c1d78cfd4f0e.tar.bz2 alpine_aports-bc97fb061b3259f53b68b4a17b64c1d78cfd4f0e.tar.xz alpine_aports-bc97fb061b3259f53b68b4a17b64c1d78cfd4f0e.zip |
main/abuild: upgrade to 3.5.0_rc3
-rw-r--r-- | main/abuild/0001-abuild-fix-applying-patches-from-https.patch | 28 | ||||
-rw-r--r-- | main/abuild/APKBUILD | 8 |
2 files changed, 3 insertions, 33 deletions
diff --git a/main/abuild/0001-abuild-fix-applying-patches-from-https.patch b/main/abuild/0001-abuild-fix-applying-patches-from-https.patch deleted file mode 100644 index a3c65ab97f..0000000000 --- a/main/abuild/0001-abuild-fix-applying-patches-from-https.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From bb0324e39824fc0de14fd4b9ad539849ff27c619 Mon Sep 17 00:00:00 2001 | ||
2 | From: Natanael Copa <ncopa@alpinelinux.org> | ||
3 | Date: Thu, 28 Nov 2019 12:46:12 +0000 | ||
4 | Subject: [PATCH] abuild: fix applying patches from https | ||
5 | |||
6 | fix patches such as https://dev.alpinelinux.org/archive/domoticz/openzwave-1.6.patch | ||
7 | |||
8 | previously it would only work with the filenamename.patch::$url syntax | ||
9 | --- | ||
10 | abuild.in | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/abuild.in b/abuild.in | ||
14 | index 141cc54..5654d8f 100644 | ||
15 | --- a/abuild.in | ||
16 | +++ b/abuild.in | ||
17 | @@ -682,7 +682,7 @@ default_prepare() { | ||
18 | case ${i%::*} in | ||
19 | *.patch) | ||
20 | msg "${i%::*}" | ||
21 | - patch ${patch_args:--p1} -i "$srcdir/${i%::*}" || return 1 | ||
22 | + patch ${patch_args:--p1} -i "$srcdir/$(filename_from_uri $i)" || return 1 | ||
23 | ;; | ||
24 | esac | ||
25 | done | ||
26 | -- | ||
27 | 2.24.0 | ||
28 | |||
diff --git a/main/abuild/APKBUILD b/main/abuild/APKBUILD index c8b9a30a2f..14576e182c 100644 --- a/main/abuild/APKBUILD +++ b/main/abuild/APKBUILD | |||
@@ -1,8 +1,8 @@ | |||
1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | 1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> |
2 | pkgname=abuild | 2 | pkgname=abuild |
3 | pkgver=3.5.0_rc2 | 3 | pkgver=3.5.0_rc3 |
4 | _ver=${pkgver%_git*} | 4 | _ver=${pkgver%_git*} |
5 | pkgrel=1 | 5 | pkgrel=0 |
6 | pkgdesc="Script to build Alpine Packages" | 6 | pkgdesc="Script to build Alpine Packages" |
7 | url="https://git.alpinelinux.org/cgit/abuild/" | 7 | url="https://git.alpinelinux.org/cgit/abuild/" |
8 | arch="all" | 8 | arch="all" |
@@ -21,7 +21,6 @@ subpackages="apkbuild-cpan:cpan:noarch apkbuild-gem-resolver:gems:noarch | |||
21 | options="suid !check" | 21 | options="suid !check" |
22 | pkggroups="abuild" | 22 | pkggroups="abuild" |
23 | source="https://dev.alpinelinux.org/archive/abuild/abuild-$_ver.tar.xz | 23 | source="https://dev.alpinelinux.org/archive/abuild/abuild-$_ver.tar.xz |
24 | 0001-abuild-fix-applying-patches-from-https.patch | ||
25 | " | 24 | " |
26 | 25 | ||
27 | builddir="$srcdir/$pkgname-$_ver" | 26 | builddir="$srcdir/$pkgname-$_ver" |
@@ -69,5 +68,4 @@ _rootbld() { | |||
69 | mkdir -p "$subpkgdir" | 68 | mkdir -p "$subpkgdir" |
70 | } | 69 | } |
71 | 70 | ||
72 | sha512sums="7c317d75f8fa64ac2a0674873edc937bcd8fb3d322e5cdf10874fe5ec87fec0ebe3a1d29d50e919376b10135d252659372ffb62e08418158146734fd13f46602 abuild-3.5.0_rc2.tar.xz | 71 | sha512sums="c24041173557199ac0f702dd4dd33c4d4db555408ac09a06fda680d6b1b8599bab04ba13992ac163ffd28f4828cc20ee6ecbf67eb572fee6fe19bacf93a4f9cb abuild-3.5.0_rc3.tar.xz" |
73 | 7b565481a85a7094a9f61f39ee44ba3c1f3d5bfeed7a5279c57c14447e94f65b613d56d26d197639ab280745e48c51ff7915fd0570a570d29dd7e2490b298dc7 0001-abuild-fix-applying-patches-from-https.patch" | ||