aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2015-04-27 13:41:42 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2015-04-27 13:42:07 +0000
commit1fc18714caf7cb63fe22ffdcd8ae64f4bf80069f (patch)
tree020e48a6baa9a3660d1a4dc11634140257d8294c /testing
parent34b6c77dcff3edc0352765a35dbc6d77e7941856 (diff)
downloadaports-1fc18714caf7cb63fe22ffdcd8ae64f4bf80069f.tar.bz2
aports-1fc18714caf7cb63fe22ffdcd8ae64f4bf80069f.tar.xz
testing/proxychains-ns: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/proxychains-ng/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/proxychains-ng/APKBUILD b/testing/proxychains-ng/APKBUILD
new file mode 100644
index 0000000000..b7f7bb5117
--- /dev/null
+++ b/testing/proxychains-ng/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer:
+pkgname=proxychains-ng
+pkgver=4.8.1
+pkgrel=0
+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
+ make DESTDIR="$pkgdir" install-config
+ 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"