aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-14 00:43:30 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-14 05:13:10 +0000
commitf0299f31c9064594a419810c26e363a1c6e53966 (patch)
tree8f9abe58be8f231d6c0182401c340a7b691995ed
parent61e22e57c7c34d28b00841ec712524d6344a29ad (diff)
downloadaports-f0299f31c9064594a419810c26e363a1c6e53966.tar.gz
aports-f0299f31c9064594a419810c26e363a1c6e53966.tar.bz2
aports-f0299f31c9064594a419810c26e363a1c6e53966.tar.xz
community/redsocks: rebuild against libevent_core-2.1.so.7
-rw-r--r--community/redsocks/APKBUILD15
1 files changed, 6 insertions, 9 deletions
diff --git a/community/redsocks/APKBUILD b/community/redsocks/APKBUILD
index cc0ee513c6..46f92de18d 100644
--- a/community/redsocks/APKBUILD
+++ b/community/redsocks/APKBUILD
@@ -2,26 +2,23 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=redsocks
pkgver=0.5
-pkgrel=1
+pkgrel=2
pkgdesc="Transparent redirector of any TCP connection to proxy using your firewall"
-url="http://darkk.net.ru/redsocks"
+options="!check" # Tests require docker
+url="https://darkk.net.ru/redsocks/"
arch="all"
license="Apache-2.0"
-depends=""
makedepends="libevent-dev iptables-dev"
-install=""
-subpackages=""
-source="redsocks-$pkgver.zip::https://github.com/darkk/$pkgname/archive/release-$pkgver.zip
+subpackages="$pkgname-openrc"
+source="$pkgname-$pkgver.zip::https://github.com/darkk/redsocks/archive/release-$pkgver.zip
redsocks.initd"
builddir="$srcdir"/$pkgname-release-$pkgver
build() {
- cd "$builddir"
- make || return 1
+ make
}
package() {
- 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