Commit f0299f31 authored by Leo's avatar Leo
Browse files

community/redsocks: rebuild against libevent_core-2.1.so.7

parent 61e22e57
Pipeline #14282 failed with stages
in 46 seconds
......@@ -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
......
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