aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gosu/APKBUILD
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2019-06-27 20:51:03 +0300
committerAndy Postnikov <apostnikov@gmail.com>2019-06-28 00:03:26 +0300
commit32bf32fd3f27ee03152f80ff029d3602b39c1620 (patch)
treef632f0f9bfa0f63b256ea5a20ff0ac86c3af1533 /testing/gosu/APKBUILD
parentfb49061efc0f95c39dda2628f9ac8a4cb4629ca3 (diff)
downloadaports-32bf32fd3f27ee03152f80ff029d3602b39c1620.tar.bz2
aports-32bf32fd3f27ee03152f80ff029d3602b39c1620.tar.xz
testing/gosu: upgrade to 1.11 and clean-up
Diffstat (limited to 'testing/gosu/APKBUILD')
-rw-r--r--testing/gosu/APKBUILD27
1 files changed, 12 insertions, 15 deletions
diff --git a/testing/gosu/APKBUILD b/testing/gosu/APKBUILD
index e40cf97648..165d616292 100644
--- a/testing/gosu/APKBUILD
+++ b/testing/gosu/APKBUILD
@@ -2,11 +2,11 @@
# Maintainer: David Huffman <storedbox@outlook.com>
_gosu_repo='github.com/tianon/gosu'
-_gosu_ver=1.10
+_gosu_ver=1.11
_gosu_src="gosu-$_gosu_ver"
_runc_repo='github.com/opencontainers/runc'
-_runc_ver=0.1.1
+_runc_ver=1.0.0-rc5
_runc_src="runc-$_runc_ver"
pkgname=gosu
@@ -15,20 +15,17 @@ pkgrel=0
pkgdesc="Simple Go-based setuid+setgid+setgroups+exec"
url="https://github.com/tianon/gosu"
arch="all"
-license="GPL-3.0"
-depends=""
-depends_dev=""
-makedepends="$depends_dev coreutils go"
-install=""
-subpackages=""
+license="GPL-3.0-or-later"
+makedepends="coreutils go"
source="https://github.com/tianon/gosu/archive/$_gosu_ver/$_gosu_src.tar.gz
https://github.com/opencontainers/runc/archive/v$_runc_ver/$_runc_src.tar.gz"
+options="!check" # require docker to run tests
builddir="$srcdir"/$_gosu_repo
prepare() {
mkdir -p $_gosu_repo $_runc_repo
- mv -T $_gosu_src $_gosu_repo || return 1
- mv -T $_runc_src $_runc_repo || return 1
+ mv -T $_gosu_src $_gosu_repo
+ mv -T $_runc_src $_runc_repo
default_prepare
}
@@ -36,15 +33,15 @@ prepare() {
build() {
cd "$builddir"
CGO_ENABLED=0 GOPATH="$startdir:$srcdir/$_runc_repo/Godeps/_workspace" \
- go build -v -ldflags '-s -w' || return 1
+ go build -v -ldflags '-s -w'
}
package() {
cd "$builddir"
local bindir="$pkgdir/usr/bin"
- mkdir -p "$bindir" || return 1
- cp gosu "$bindir" || return 1
+ mkdir -p "$bindir"
+ cp gosu "$bindir"
}
-sha512sums="435a76e8c0dcdbeb5b11fcfb8246676031f3c2e6e085b65552c58e71a81acfbd8a9db9ae24c6943ae90062792aacf9c71586b7a0bf62179b2e046f50951c130a gosu-1.10.tar.gz
-c5bdbcb9c7d8f1be391a6cc0810a34a8471f80168d80fb153a60c8dbc7c58eedffd278c1206244d59943700fc148aca1c4b1053fb8d2e4273c0c8bac7cb4db25 runc-0.1.1.tar.gz"
+sha512sums="f3f0c983b33ac63dc16aaeccf691d371b48772dac37c329b557843757ec85b385cfd0b80a2b628e8000690728fe42a2690faede202767f202178da5e84980e52 gosu-1.11.tar.gz
+714230887ff9706c29b0656c5cdb253698bde6252a23e7f48aa690747fb57abd7884c2da1c4d0e314f9f301c5962417351557d15d986e45fcc336e98069aeac6 runc-1.0.0-rc5.tar.gz"