Commit 70b79ee8 authored by Francesco Colista's avatar Francesco Colista

main/proxychains-ng: upgrade to 4.12

parent bad1c10e
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=proxychains-ng
pkgver=4.11
pkgver=4.12
pkgrel=0
pkgdesc="This tool provides proxy server support to any app."
url="https://github.com/rofl0r/proxychains-ng"
......@@ -13,33 +13,24 @@ 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
}
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc/proxychains
make || return 1
}
package() {
cd "$_builddir"
cd "$builddir"
make DESTDIR="$pkgdir" install install-config || return 1
ln -s proxychains4 "$pkgdir"/usr/bin/proxychains
}
md5sums="a3a96e60f29358499a33b5ca9ec87750 v4.11.zip"
sha256sums="281ea042c57293b97a341b1cce62d5c1bc6f525d67ce031df618e766d43135f1 v4.11.zip"
sha512sums="b4bcf430fb2801bec40e25e5686ba4e4211ae83f5bffe0471c216c955b02ae42605f259d79dbf41171e0c4cac1e99d67090c79503e565cb6acf9533a22e266dd v4.11.zip"
md5sums="f1d62c5ba10b58d601260d91206da967 v4.12.zip"
sha256sums="bc086425d868fac0300e3fa5d635f14b047b88b1831c1ec72a81e63747347e75 v4.12.zip"
sha512sums="c3374dd9f3d6ef978b628cbcb9483476f4fc154c14882e74edb580100a784a5a8ec2ab92e259f9f3827879e0d249071d6294dca394c0bd05db7fa03e9dd16f46 v4.12.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