diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-07 06:11:54 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-12 16:31:31 -0300 |
commit | d1d0b807e888568a300bff5905b7fb2fafcf73eb (patch) | |
tree | c6529cf5957d13f4da664435c672911cd8b56b86 /testing/shadowsocks-libev/APKBUILD | |
parent | f9d7ee0391ef2ab76caf6015a4228d5c7bbda50b (diff) | |
download | aports-d1d0b807e888568a300bff5905b7fb2fafcf73eb.tar.bz2 aports-d1d0b807e888568a300bff5905b7fb2fafcf73eb.tar.xz |
testing/shadowsocks-libev: upgrade to 3.2.5
Diffstat (limited to 'testing/shadowsocks-libev/APKBUILD')
-rw-r--r-- | testing/shadowsocks-libev/APKBUILD | 43 |
1 files changed, 24 insertions, 19 deletions
diff --git a/testing/shadowsocks-libev/APKBUILD b/testing/shadowsocks-libev/APKBUILD index aa6529cce9..0fe2e78678 100644 --- a/testing/shadowsocks-libev/APKBUILD +++ b/testing/shadowsocks-libev/APKBUILD @@ -1,21 +1,24 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=shadowsocks-libev -pkgver=2.5.5 -pkgrel=3 +pkgver=3.2.5 +pkgrel=0 pkgdesc="lightweight secured SOCKS5 proxy" url="https://shadowsocks.org/en/download/servers.html" arch="all" -license="GPL-3.0" -depends="" -makedepends="asciidoc autoconf libtool linux-headers - libressl-dev pcre-dev xmlto libev-dev udns-dev libsodium-dev zlib-dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="shadowsocks-libev-$pkgver.tar.gz::https://github.com/shadowsocks/shadowsocks-libev/archive/v$pkgver.tar.gz" -builddir="$srcdir/shadowsocks-libev-$pkgver" +license="GPL-3.0-or-later" +makedepends="asciidoc autoconf automake libtool linux-headers libcorkipset-dev + mbedtls-dev pcre-dev xmlto libev-dev c-ares-dev libsodium-dev zlib-dev libbloom-dev" +subpackages="$pkgname-dev $pkgname-doc lib$pkgname:libs" +source="shadowsocks-libev-$pkgver.tar.gz::https://github.com/shadowsocks/shadowsocks-libev/archive/v$pkgver.tar.gz + use-upstream-libcorkipset-libbloom.patch + " + +prepare() { + default_prepare + ./autogen.sh +} build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -23,16 +26,18 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ - --enable-system-shared-lib \ - || return 1 - make || return 1 + --enable-shared \ + --enable-system-shared-lib + make +} + +check() { + make check } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } -md5sums="f4593a1ee28f4f8c5378662e0ab2764b shadowsocks-libev-2.5.5.tar.gz" -sha256sums="46a72367b7301145906185f1e4136e39d6792d27643826e409ab708351b6d0dd shadowsocks-libev-2.5.5.tar.gz" -sha512sums="5ce15288f23bcb566428b6a46fb47375c9c89ace658e32f049208c6dd5ec644d1be6c1d844f5edaf4073be52e846d37b6d78a310f64f50a95811dfbcc0f91188 shadowsocks-libev-2.5.5.tar.gz" +sha512sums="b4ca9f7c303c85a5bba9bf5d7a093c6dfde7a147d0335b449d4ee213cd3b9004c5220a099dcc78464a35c55f9cfe280d817daf934e2fda100f5e784f70091c0b shadowsocks-libev-3.2.5.tar.gz +6e14365fb65731e4f9573b39dd7849d47392b39db52aeffee0e91ee767db2361b053f02bc96cc439e5b677d85c09cd44fd905d6b1fca8b10d2e650d8c41a16e0 use-upstream-libcorkipset-libbloom.patch" |