aboutsummaryrefslogtreecommitdiffstats
path: root/main/abuild
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-08-19 15:04:15 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-08-19 15:04:30 +0200
commitd55b9a9c97f175920d46f743a9c6c315db718994 (patch)
treecfd0529a6ffca15f2c458fede56a4f7a1d58a9f2 /main/abuild
parentc9b7f1861a3e3983a2657fce6067c916c083df73 (diff)
downloadaports-d55b9a9c97f175920d46f743a9c6c315db718994.tar.bz2
aports-d55b9a9c97f175920d46f743a9c6c315db718994.tar.xz
main/abuild: upgrade to 2.24.0
Diffstat (limited to 'main/abuild')
-rw-r--r--main/abuild/0001-abuild-add-install_if-for-doc-packages.patch25
-rw-r--r--main/abuild/0001-abuild-fix-circular-dependency-for-symlink-deps.patch37
-rw-r--r--main/abuild/0001-abuild-fix-dep-scanning-when-sub-and-main-pkg-s-arch.patch51
-rw-r--r--main/abuild/0002-apkbuild-gem-resolver-fix-syntax.patch35
-rw-r--r--main/abuild/APKBUILD26
5 files changed, 5 insertions, 169 deletions
diff --git a/main/abuild/0001-abuild-add-install_if-for-doc-packages.patch b/main/abuild/0001-abuild-add-install_if-for-doc-packages.patch
deleted file mode 100644
index 696604ba2a..0000000000
--- a/main/abuild/0001-abuild-add-install_if-for-doc-packages.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 3020891009a6024b46bc779568644ce16605bda9 Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa@alpinelinux.org>
-Date: Mon, 20 Jul 2015 14:10:36 +0000
-Subject: [PATCH] abuild: add install_if for -doc packages
-
-This lets users 'apk add docs' to always pull in -doc packages.
----
- abuild.in | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/abuild.in b/abuild.in
-index e76d873..41822af 100644
---- a/abuild.in
-+++ b/abuild.in
-@@ -1391,6 +1391,7 @@ default_doc() {
- depends="$depends_doc"
- pkgdesc="$pkgdesc (documentation)"
- arch=${arch_doc:-"noarch"}
-+ install_if="docs $pkgname=$pkgver-r$pkgrel"
-
- local i
- for i in doc man info html sgml licenses gtk-doc ri help; do
---
-2.4.6
-
diff --git a/main/abuild/0001-abuild-fix-circular-dependency-for-symlink-deps.patch b/main/abuild/0001-abuild-fix-circular-dependency-for-symlink-deps.patch
deleted file mode 100644
index c658262d36..0000000000
--- a/main/abuild/0001-abuild-fix-circular-dependency-for-symlink-deps.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 3f3281c87e123d15284e07e80a6ab5ba751463c9 Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa@alpinelinux.org>
-Date: Tue, 23 Jun 2015 11:20:29 +0000
-Subject: [PATCH] abuild: fix circular dependency for symlink deps
-
-The package should not have itself as dependency.
----
- abuild.in | 7 +++++--
- 1 file changed, 5 insertions(+), 2 deletions(-)
-
-diff --git a/abuild.in b/abuild.in
-index 0813dd3..e76d873 100644
---- a/abuild.in
-+++ b/abuild.in
-@@ -1210,14 +1210,17 @@ scan_symlink_targets() {
- local symfile= targetpath=
- cd "$datadir"
- for symfile in "$pkgbasedir"/.control.*/.symlinks; do
-- [ -e "$symfile" ] || continue
-+ local d="${symfile%/.symlinks}"
-+ if ! [ -e "$symfile" ] || [ "$d" = "$dir" ]; then
-+ continue
-+ fi
-+
- while read symlink target; do
- if [ "${target#/}" = "$target" ]; then
- target="${symlink%/*}/$target"
- fi
- targetpath="$datadir"/$(normalize_path "$target")
- if [ -e "$targetpath" ] || [ -L "$targetpath" ]; then
-- local d="${symfile%/.symlinks}"
- echo "$name=$pkgver-r$pkgrel" \
- >> "$d"/.symlinks-needs
- fi
---
-2.4.4
-
diff --git a/main/abuild/0001-abuild-fix-dep-scanning-when-sub-and-main-pkg-s-arch.patch b/main/abuild/0001-abuild-fix-dep-scanning-when-sub-and-main-pkg-s-arch.patch
deleted file mode 100644
index cb4c9f1c4b..0000000000
--- a/main/abuild/0001-abuild-fix-dep-scanning-when-sub-and-main-pkg-s-arch.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From b8b492924505656dd45f6e3720203e1f8a2dcfd4 Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa@alpinelinux.org>
-Date: Mon, 10 Aug 2015 07:52:45 +0000
-Subject: [PATCH] abuild: fix dep-scanning when sub and main pkg's arch differs
-
-Force dependency scanning when main pkg has noarch but subpackage
-overrides it. We need to save the arch setting set in split func for
-later if it differs from main pkg's arch in a temp file because the
-splitfunc runs in a subprocess.
-
-fixes #4491
----
- abuild.in | 8 +++++++-
- 1 file changed, 7 insertions(+), 1 deletion(-)
-
-diff --git a/abuild.in b/abuild.in
-index 41822af..01b4b62 100644
---- a/abuild.in
-+++ b/abuild.in
-@@ -690,6 +690,7 @@ pre_split() {
- # the subpackages should not inherit those form main package
- provides=""
- install_if=""
-+ apkbuild_arch="$arch"
- }
-
- prepare_subpackages() {
-@@ -796,6 +797,11 @@ prepare_metafiles() {
- # parch="noarch"
- # fi
-
-+ # save arch incase subpackages set it different than main pkg
-+ if [ "${apkbuild_arch:-$arch}" != "$arch" ]; then
-+ echo "$arch" > "$controldir"/.arch
-+ fi
-+
- echo "# Generated by $(basename $0) $program_version" >"$pkginfo"
- if [ -n "$FAKEROOTKEY" ]; then
- echo "# using $($FAKEROOT -v)" >> "$pkginfo"
-@@ -1115,7 +1121,7 @@ scan_shared_objects() {
- local name="$1" controldir="$2" datadir="$3"
- local opt= i=
-
-- if [ "$arch" = "noarch" ]; then
-+ if [ "$arch" = "noarch" ] && ! [ -e "$controldir"/.arch ]; then
- return 0
- fi
-
---
-2.5.0
-
diff --git a/main/abuild/0002-apkbuild-gem-resolver-fix-syntax.patch b/main/abuild/0002-apkbuild-gem-resolver-fix-syntax.patch
deleted file mode 100644
index 8f665c0b6c..0000000000
--- a/main/abuild/0002-apkbuild-gem-resolver-fix-syntax.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 1e3d4338a576a8cae81a1738ff635ec7ee4498c4 Mon Sep 17 00:00:00 2001
-From: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
-Date: Wed, 8 Jul 2015 12:20:46 +0300
-Subject: [PATCH 2/2] apkbuild-gem-resolver: fix syntax
-
----
- apkbuild-gem-resolver.in | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/apkbuild-gem-resolver.in b/apkbuild-gem-resolver.in
-index 5d3951d..69f4049 100644
---- a/apkbuild-gem-resolver.in
-+++ b/apkbuild-gem-resolver.in
-@@ -35,8 +35,8 @@ class Aport
- 'ruby-io-console' => [ 'io-console', '0.4.2'] # its actually 0.4.3 but
- # that version is not
- # published on network
-- }
-- '2.2.2' = > {
-+ },
-+ '2.2.2' => {
- 'ruby-json' => ['json', '1.8.1'],
- 'ruby-minitest' => ['minitest', '5.4.3'],
- 'ruby-rake' => ['rake', '10.4.2'],
-@@ -44,6 +44,7 @@ class Aport
- 'ruby-io-console' => [ 'io-console', '0.4.2'] # its actually 0.4.3 but
- # that version is not
- # published on network
-+ }
- }
-
- @@aports = {}
---
-2.1.0
-
diff --git a/main/abuild/APKBUILD b/main/abuild/APKBUILD
index 02d2cde421..c565ad6bd2 100644
--- a/main/abuild/APKBUILD
+++ b/main/abuild/APKBUILD
@@ -1,8 +1,8 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=abuild
-pkgver=2.23.0
+pkgver=2.24.0
_ver=${pkgver%_git*}
-pkgrel=5
+pkgrel=0
pkgdesc="Script to build Alpine Packages"
url="http://git.alpinelinux.org/cgit/abuild/"
arch="all"
@@ -20,10 +20,6 @@ subpackages="apkbuild-cpan:cpan apkbuild-gem-resolver:gems"
options="suid"
pkggroups="abuild"
source="http://dev.alpinelinux.org/archive/abuild/abuild-$_ver.tar.xz
- 0001-abuild-fix-circular-dependency-for-symlink-deps.patch
- 0002-apkbuild-gem-resolver-fix-syntax.patch
- 0001-abuild-add-install_if-for-doc-packages.patch
- 0001-abuild-fix-dep-scanning-when-sub-and-main-pkg-s-arch.patch
"
_builddir="$srcdir/$pkgname-$_ver"
@@ -68,18 +64,6 @@ gems() {
mv "$pkgdir"/usr/bin/apkbuild-gem-resolver "$subpkgdir"/usr/bin/
}
-md5sums="864090a6016b3424d7b6bb31e84db3f0 abuild-2.23.0.tar.xz
-c8ef8f4155d445842cc20379dbe01ded 0001-abuild-fix-circular-dependency-for-symlink-deps.patch
-8d96bd94711cb172586a483a089bb5c8 0002-apkbuild-gem-resolver-fix-syntax.patch
-0e1061040efb1e2a8d778ff5a94ddc3e 0001-abuild-add-install_if-for-doc-packages.patch
-ebadd787dba0b0fa974e1dd2cbb979bb 0001-abuild-fix-dep-scanning-when-sub-and-main-pkg-s-arch.patch"
-sha256sums="4cae7d7035955d23d1f29d4d0cd00ce225b300e6e809ff240101feea97aa7262 abuild-2.23.0.tar.xz
-2550d9d0dfeeb214aa0154b281a624f977d3b83ba678dc0f727f0c508996f26e 0001-abuild-fix-circular-dependency-for-symlink-deps.patch
-239c9b119ba91c254b86fcb700b48dd3f8aae7bc5e902ce04bc839d95478f6b3 0002-apkbuild-gem-resolver-fix-syntax.patch
-c5e57a750778894bb225775aee83e04c9891170e7ffb5313a1118ebde53d4c79 0001-abuild-add-install_if-for-doc-packages.patch
-711e1b0dc01bed0dc804bf6ba6407b57ea8296fb8b066f1dee59bffb00847080 0001-abuild-fix-dep-scanning-when-sub-and-main-pkg-s-arch.patch"
-sha512sums="50fc7649444079e5ba5552c2f4c57dedbdcd7b10727ed7b7bec8b4c85b37bbca1d76ab61bf3ab160520634e1742c3cd91fb294371bf653330ee0047337b6dfa9 abuild-2.23.0.tar.xz
-4c3d1d778b60de9f9e789501e52ab0f17ef5f2ea5cb05e33cc95d59b98130907bce5ed4c4808244b22f14c17b91682447599aded1579c904cee8cd269bda7c85 0001-abuild-fix-circular-dependency-for-symlink-deps.patch
-ecd774c509bf45fef15d967a185d5ab7cd4e5e2736d8979b17a8f822622db799eb2a149bedb020b7e9ce0451579a6c7e36f94eaa971b0570ecd6d7adb1a7e00a 0002-apkbuild-gem-resolver-fix-syntax.patch
-13424388183d11c49c2a73ac0c4ae8094a7a9bc279d77c274cecc7d45eceb2e5a95b4d1e3c0c74accb93fbda52d0f33219606e5fb878125544c8d638aba027f6 0001-abuild-add-install_if-for-doc-packages.patch
-57fe71d2e4c696fc436ac20646f3d91645b58876ca6def3bbe71af7e1a939edf76e7f86f9898fd81e69faebe517216f808730895277cf722e130b73a5bfa2fc1 0001-abuild-fix-dep-scanning-when-sub-and-main-pkg-s-arch.patch"
+md5sums="7821eea872e86a768d881fecce95e934 abuild-2.24.0.tar.xz"
+sha256sums="0e0c0c7579c3b8d6668fad9d93a42f3ea18da88679e1a12a178f2676c79e94d6 abuild-2.24.0.tar.xz"
+sha512sums="360d0164afed9c61576618d113d738327151c60f1bc1e6246fcf74f97db087ca2effb11a4ae045f1f288063d5311c6dddbe7721b3cbe65d11472b3d2b0f03ef6 abuild-2.24.0.tar.xz"