diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-24 15:55:02 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-24 15:55:02 +0000 |
commit | 27563f5bfee734648c82e9e9a8e19a7fe545e7fe (patch) | |
tree | c5e827b6d2ce9fd9ac26cbb857bcd786205912c6 | |
parent | 9d83c6aee5d2f16582dfd678b7e2245bcea3c290 (diff) | |
download | aports-27563f5bfee734648c82e9e9a8e19a7fe545e7fe.tar.bz2 aports-27563f5bfee734648c82e9e9a8e19a7fe545e7fe.tar.xz |
community/redsocks: moved from testing
-rw-r--r-- | community/redsocks/APKBUILD (renamed from testing/redsocks/APKBUILD) | 18 | ||||
-rw-r--r-- | community/redsocks/redsocks.initd (renamed from testing/redsocks/redsocks.initd) | 0 |
2 files changed, 4 insertions, 14 deletions
diff --git a/testing/redsocks/APKBUILD b/community/redsocks/APKBUILD index bdeae46539..8656b58322 100644 --- a/testing/redsocks/APKBUILD +++ b/community/redsocks/APKBUILD @@ -8,30 +8,20 @@ url="http://darkk.net.ru/redsocks" arch="all" license="Apache-2.0" depends="" -depends_dev="libevent-dev iptables-dev" -makedepends="$depends_dev" +makedepends="libevent-dev iptables-dev" install="" subpackages="" source="redsocks-$pkgver.zip::https://github.com/darkk/$pkgname/archive/release-$pkgver.zip redsocks.initd" -_builddir="$srcdir"/$pkgname-release-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/$pkgname-release-$pkgver build() { - cd "$_builddir" + cd "$builddir" make || return 1 } package() { - cd "$_builddir" + cd "$builddir" install -Dm755 redsocks "$pkgdir/usr/bin/redsocks" install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname install -Dm644 redsocks.conf.example "$pkgdir"/etc/$pkgname/redsocks.conf diff --git a/testing/redsocks/redsocks.initd b/community/redsocks/redsocks.initd index 592f19385c..592f19385c 100644 --- a/testing/redsocks/redsocks.initd +++ b/community/redsocks/redsocks.initd |