diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2015-05-01 07:20:55 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-05-01 07:21:23 +0000 |
commit | 85b2ca801ed653c5c41ab558c9111f837a3e1205 (patch) | |
tree | ce471bcedc5bec92649d06b9961ede678dab3f81 /main/proxychains-ng | |
parent | 0ce8779cf1ffd68f7251018891a05670c6df9184 (diff) | |
download | aports-85b2ca801ed653c5c41ab558c9111f837a3e1205.tar.bz2 aports-85b2ca801ed653c5c41ab558c9111f837a3e1205.tar.xz |
main/proxychains-ng: moved from testing
Diffstat (limited to 'main/proxychains-ng')
-rw-r--r-- | main/proxychains-ng/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/main/proxychains-ng/APKBUILD b/main/proxychains-ng/APKBUILD new file mode 100644 index 0000000000..b40ba25b54 --- /dev/null +++ b/main/proxychains-ng/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=proxychains-ng +pkgver=4.8.1 +pkgrel=1 +pkgdesc="This tool provides proxy server support to any app." +url="https://github.com/rofl0r/proxychains-ng" +arch="all" +license="GPL2" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="" +source="https://github.com/rofl0r/$pkgname/archive/v$pkgver.zip" +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p0 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc/proxychains + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install install-config || return 1 + ln -s proxychains4 "$pkgdir"/usr/bin/proxychains +} + +md5sums="e36bf8fd4b614295cb774a3ebd7828a1 v4.8.1.zip" +sha256sums="2d332d01189c1969ab2100ec1f50f24c853253e41a99aec51496a6320c8eb939 v4.8.1.zip" +sha512sums="f1d42abe65be3420256438cf5f89b7b5fc3d5439546e915ec0fd1e2cab9223825c3a638fe32349b9ea0442f5c26d1ef9a2f8e660eb4af5ebd34a07a6541e6ec3 v4.8.1.zip" |