Commit 1fc18714 authored by Francesco Colista's avatar Francesco Colista
Browse files

testing/proxychains-ns: new aport

parent 34b6c77d
# 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment