diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2017-02-11 09:26:36 +0000 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-02-12 22:19:53 +0100 |
commit | 7bd9626a6e43b0670dfdaa70f0a8d5e1fbfc8b8a (patch) | |
tree | 131fdf413a08d5d046cd6bad99f68fbe4c4aa664 /community/6tunnel/APKBUILD | |
parent | d4f77493398802ac3b72c19cc4735d30592151be (diff) | |
download | aports-7bd9626a6e43b0670dfdaa70f0a8d5e1fbfc8b8a.tar.bz2 aports-7bd9626a6e43b0670dfdaa70f0a8d5e1fbfc8b8a.tar.xz |
testing/6tunnel: move to community, add runit example
include -u option in help for dropping privileges
adds runit example script for service supervision
Review notes:
I split the patch to add-runit and fix-help, added comment about
origin of the patches and discarded unrelated fixes of trailing
spaces. ~ @jirutka
Diffstat (limited to 'community/6tunnel/APKBUILD')
-rw-r--r-- | community/6tunnel/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community/6tunnel/APKBUILD b/community/6tunnel/APKBUILD new file mode 100644 index 0000000000..a46f2a0437 --- /dev/null +++ b/community/6tunnel/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Stuart Cardall <developer@it-offshore.co.uk> +# Maintainer: Stuart Cardall <developer@it-offshore.co.uk> +pkgname=6tunnel +pkgver=0.12 +pkgrel=1 +pkgdesc="TCP proxy for non-IPv6 applications" +url="http://toxygen.net/6tunnel" +arch="all" +license="GPL2" +makedepends="automake autoconf" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/wojtekka/$pkgname/archive/$pkgver.tar.gz + fix-help.patch + add-runit.patch + " +builddir="$srcdir/"$pkgname-$pkgver + +build() { + cd "$builddir" + autoreconf --install + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 + mkdir -p "$pkgdir"/usr/share/6tunnel + install -m644 contrib/* "$pkgdir"/usr/share/6tunnel || return 1 +} + +sha512sums="8d6148fec0d10b4eaad0c7b646a38b1e1f2dd2ca5f4c7b34e99fea67e5dde8a6b8d150a0bca777902dccb468f4ddf78d1fc6e3a73581314492de1ecccbb03e30 6tunnel-0.12.tar.gz +20e6dbce54287fabdac12969ea63df598c4ed4e8a546b3dab71538ec0a942188ab7d0c91212e78f213f4fff953cf93f2462a1a858e01738ad0fce9d75ead088c fix-help.patch +a4544ce649ddc1a2855733116a9320f544d185f8dd04a4b7edd0a86ebc5bc0ef3e19f44841a92bbd3752afd257bb05e6b30f9669f75f8ed0f2ace15c0f44e3da add-runit.patch" |