Date: Tuesday, February 14, 2017 @ 06:30:08 Author: felixonmars Revision: 212280
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: shadowsocks-libev/repos/community-staging-i686/ shadowsocks-libev/repos/community-staging-i686/PKGBUILD (from rev 212277, shadowsocks-libev/trunk/PKGBUILD) shadowsocks-libev/repos/community-staging-i686/shadowsocks-libev-redir@.service (from rev 212278, shadowsocks-libev/trunk/shadowsocks-libev-redir@.service) shadowsocks-libev/repos/community-staging-i686/shadowsocks-libev-server@.service (from rev 212278, shadowsocks-libev/trunk/shadowsocks-libev-server@.service) shadowsocks-libev/repos/community-staging-i686/shadowsocks-libev-tunnel@.service (from rev 212279, shadowsocks-libev/trunk/shadowsocks-libev-tunnel@.service) shadowsocks-libev/repos/community-staging-i686/shadowsocks-libev.install (from rev 212279, shadowsocks-libev/trunk/shadowsocks-libev.install) shadowsocks-libev/repos/community-staging-i686/shadowsocks-libev@.service (from rev 212279, shadowsocks-libev/trunk/shadowsocks-libev@.service) shadowsocks-libev/repos/community-staging-x86_64/ shadowsocks-libev/repos/community-staging-x86_64/PKGBUILD (from rev 212279, shadowsocks-libev/trunk/PKGBUILD) shadowsocks-libev/repos/community-staging-x86_64/shadowsocks-libev-redir@.service (from rev 212279, shadowsocks-libev/trunk/shadowsocks-libev-redir@.service) shadowsocks-libev/repos/community-staging-x86_64/shadowsocks-libev-server@.service (from rev 212279, shadowsocks-libev/trunk/shadowsocks-libev-server@.service) shadowsocks-libev/repos/community-staging-x86_64/shadowsocks-libev-tunnel@.service (from rev 212279, shadowsocks-libev/trunk/shadowsocks-libev-tunnel@.service) shadowsocks-libev/repos/community-staging-x86_64/shadowsocks-libev.install (from rev 212279, shadowsocks-libev/trunk/shadowsocks-libev.install) shadowsocks-libev/repos/community-staging-x86_64/shadowsocks-libev@.service (from rev 212279, shadowsocks-libev/trunk/shadowsocks-libev@.service) ------------------------------------------------------------+ community-staging-i686/PKGBUILD | 45 +++++++++++ community-staging-i686/shadowsocks-libev-redir@.service | 13 +++ community-staging-i686/shadowsocks-libev-server@.service | 13 +++ community-staging-i686/shadowsocks-libev-tunnel@.service | 13 +++ community-staging-i686/shadowsocks-libev.install | 10 ++ community-staging-i686/shadowsocks-libev@.service | 13 +++ community-staging-x86_64/PKGBUILD | 45 +++++++++++ community-staging-x86_64/shadowsocks-libev-redir@.service | 13 +++ community-staging-x86_64/shadowsocks-libev-server@.service | 13 +++ community-staging-x86_64/shadowsocks-libev-tunnel@.service | 13 +++ community-staging-x86_64/shadowsocks-libev.install | 10 ++ community-staging-x86_64/shadowsocks-libev@.service | 13 +++ 12 files changed, 214 insertions(+) Copied: shadowsocks-libev/repos/community-staging-i686/PKGBUILD (from rev 212277, shadowsocks-libev/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-02-14 06:30:08 UTC (rev 212280) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: jiangxq <jiangxueqian at gmail dot com> +# Contributor: zh99998 <zh99...@gmail.com> +# Contributor: 4679kun <admin at 4679 dot us> + +pkgname=shadowsocks-libev +pkgver=3.0.2 +_commit=72f6041a7c62d3c115d15ede0af9ec179345a3c9 +pkgrel=2 +pkgdesc='A lightweight secured socks5 proxy for embedded devices and low end boxes' +arch=('i686' 'x86_64') +url='https://github.com/shadowsocks/shadowsocks-libev' +license=('GPL3') +depends=('libcap' 'mbedtls' 'libsodium' 'libev' 'udns' 'pcre' 'libcorkipset') +makedepends=('git' 'asciidoc' 'xmlto') +install=${pkgname}.install +source=("git+https://github.com/shadowsocks/${pkgname}.git#commit=$_commit" + 'shadowsocks-libev@.service' + 'shadowsocks-libev-server@.service' + 'shadowsocks-libev-redir@.service' + 'shadowsocks-libev-tunnel@.service') + +sha512sums=('SKIP' + '92186a3baf340e3e3b7e8893b01bbf29356d0111ea7ecc10bb6a31278a834a7c428c501b0bb15fc1e983c6dab74a7094deae2c5972a4b3e6807ece668944d321' + '4e7d22145af1e2ac65bfa0d8883c3b30a6ac726728265a782519ab3912d6e3034861e19b411b54aa1cdbf999b1758584f6452d9c98afb72b71f3a0b215813317' + 'e233c0f67843509f542c25d6fc39fe6992571b7cd0ae75e3c9573a8cd6f9a72748b5c4d09914a6d9402bfe379db487c628b39c44cc165f71e48e874a56922b82' + 'b8de1cc489a1feb8c0ca59fef8abf6c524343483563462a167cb4a5bed5e9605fe76e4fdc71a248a8a5fc882032737a02747916f79043d50f850645067ed38eb') + +build() { + cd "$srcdir/$pkgname" + sed -i 's|AC_CONFIG_FILES(\[libcork/Makefile libipset/Makefile\])||' configure.ac + ./autogen.sh + ./configure --prefix=/usr --enable-shared --enable-system-shared-lib + make +} + +package() { + cd "$srcdir/$pkgname" + make DESTDIR="$pkgdir/" install + install -Dm644 "$srcdir/shadowsocks-libev@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks-libev@.service" + install -Dm644 "$srcdir/shadowsocks-libev-server@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks-libev-server@.service" + install -Dm644 "$srcdir/shadowsocks-libev-redir@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks-libev-redir@.service" + install -Dm644 "$srcdir/shadowsocks-libev-tunnel@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks-libev-tunnel@.service" +} Copied: shadowsocks-libev/repos/community-staging-i686/shadowsocks-libev-redir@.service (from rev 212278, shadowsocks-libev/trunk/shadowsocks-libev-redir@.service) =================================================================== --- community-staging-i686/shadowsocks-libev-redir@.service (rev 0) +++ community-staging-i686/shadowsocks-libev-redir@.service 2017-02-14 06:30:08 UTC (rev 212280) @@ -0,0 +1,13 @@ +[Unit] +Description=Shadowsocks-Libev Client Service Redir Mode +After=network.target + +[Service] +Type=simple +User=nobody +CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE +ExecStart=/usr/bin/ss-redir -c /etc/shadowsocks/%i.json + +[Install] +WantedBy=multi-user.target + Copied: shadowsocks-libev/repos/community-staging-i686/shadowsocks-libev-server@.service (from rev 212278, shadowsocks-libev/trunk/shadowsocks-libev-server@.service) =================================================================== --- community-staging-i686/shadowsocks-libev-server@.service (rev 0) +++ community-staging-i686/shadowsocks-libev-server@.service 2017-02-14 06:30:08 UTC (rev 212280) @@ -0,0 +1,13 @@ +[Unit] +Description=Shadowsocks-Libev Server Service +After=network.target + +[Service] +Type=simple +User=nobody +CapabilityBoundingSet=CAP_NET_BIND_SERVICE +ExecStart=/usr/bin/ss-server -c /etc/shadowsocks/%i.json + +[Install] +WantedBy=multi-user.target + Copied: shadowsocks-libev/repos/community-staging-i686/shadowsocks-libev-tunnel@.service (from rev 212279, shadowsocks-libev/trunk/shadowsocks-libev-tunnel@.service) =================================================================== --- community-staging-i686/shadowsocks-libev-tunnel@.service (rev 0) +++ community-staging-i686/shadowsocks-libev-tunnel@.service 2017-02-14 06:30:08 UTC (rev 212280) @@ -0,0 +1,13 @@ +[Unit] +Description=Shadowsocks-Libev Client Service Tunnel Mode +After=network.target + +[Service] +Type=simple +User=nobody +CapabilityBoundingSet=CAP_NET_BIND_SERVICE +ExecStart=/usr/bin/ss-tunnel -c /etc/shadowsocks/%i.json + +[Install] +WantedBy=multi-user.target + Copied: shadowsocks-libev/repos/community-staging-i686/shadowsocks-libev.install (from rev 212279, shadowsocks-libev/trunk/shadowsocks-libev.install) =================================================================== --- community-staging-i686/shadowsocks-libev.install (rev 0) +++ community-staging-i686/shadowsocks-libev.install 2017-02-14 06:30:08 UTC (rev 212280) @@ -0,0 +1,10 @@ +post_install() { + setcap cap_net_bind_service+ep usr/bin/ss-local 2>/dev/null + setcap cap_net_bind_service+ep usr/bin/ss-server 2>/dev/null + setcap cap_net_bind_service+ep usr/bin/ss-tunnel 2>/dev/null + setcap cap_net_bind_service+ep usr/bin/ss-redir 2>/dev/null +} + +post_upgrade() { + post_install "$1" +} Copied: shadowsocks-libev/repos/community-staging-i686/shadowsocks-libev@.service (from rev 212279, shadowsocks-libev/trunk/shadowsocks-libev@.service) =================================================================== --- community-staging-i686/shadowsocks-libev@.service (rev 0) +++ community-staging-i686/shadowsocks-libev@.service 2017-02-14 06:30:08 UTC (rev 212280) @@ -0,0 +1,13 @@ +[Unit] +Description=Shadowsocks-Libev Client Service +After=network.target + +[Service] +Type=simple +User=nobody +CapabilityBoundingSet=CAP_NET_BIND_SERVICE +ExecStart=/usr/bin/ss-local -c /etc/shadowsocks/%i.json + +[Install] +WantedBy=multi-user.target + Copied: shadowsocks-libev/repos/community-staging-x86_64/PKGBUILD (from rev 212279, shadowsocks-libev/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-02-14 06:30:08 UTC (rev 212280) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: jiangxq <jiangxueqian at gmail dot com> +# Contributor: zh99998 <zh99...@gmail.com> +# Contributor: 4679kun <admin at 4679 dot us> + +pkgname=shadowsocks-libev +pkgver=3.0.2 +_commit=72f6041a7c62d3c115d15ede0af9ec179345a3c9 +pkgrel=2 +pkgdesc='A lightweight secured socks5 proxy for embedded devices and low end boxes' +arch=('i686' 'x86_64') +url='https://github.com/shadowsocks/shadowsocks-libev' +license=('GPL3') +depends=('libcap' 'mbedtls' 'libsodium' 'libev' 'udns' 'pcre' 'libcorkipset') +makedepends=('git' 'asciidoc' 'xmlto') +install=${pkgname}.install +source=("git+https://github.com/shadowsocks/${pkgname}.git#commit=$_commit" + 'shadowsocks-libev@.service' + 'shadowsocks-libev-server@.service' + 'shadowsocks-libev-redir@.service' + 'shadowsocks-libev-tunnel@.service') + +sha512sums=('SKIP' + '92186a3baf340e3e3b7e8893b01bbf29356d0111ea7ecc10bb6a31278a834a7c428c501b0bb15fc1e983c6dab74a7094deae2c5972a4b3e6807ece668944d321' + '4e7d22145af1e2ac65bfa0d8883c3b30a6ac726728265a782519ab3912d6e3034861e19b411b54aa1cdbf999b1758584f6452d9c98afb72b71f3a0b215813317' + 'e233c0f67843509f542c25d6fc39fe6992571b7cd0ae75e3c9573a8cd6f9a72748b5c4d09914a6d9402bfe379db487c628b39c44cc165f71e48e874a56922b82' + 'b8de1cc489a1feb8c0ca59fef8abf6c524343483563462a167cb4a5bed5e9605fe76e4fdc71a248a8a5fc882032737a02747916f79043d50f850645067ed38eb') + +build() { + cd "$srcdir/$pkgname" + sed -i 's|AC_CONFIG_FILES(\[libcork/Makefile libipset/Makefile\])||' configure.ac + ./autogen.sh + ./configure --prefix=/usr --enable-shared --enable-system-shared-lib + make +} + +package() { + cd "$srcdir/$pkgname" + make DESTDIR="$pkgdir/" install + install -Dm644 "$srcdir/shadowsocks-libev@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks-libev@.service" + install -Dm644 "$srcdir/shadowsocks-libev-server@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks-libev-server@.service" + install -Dm644 "$srcdir/shadowsocks-libev-redir@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks-libev-redir@.service" + install -Dm644 "$srcdir/shadowsocks-libev-tunnel@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks-libev-tunnel@.service" +} Copied: shadowsocks-libev/repos/community-staging-x86_64/shadowsocks-libev-redir@.service (from rev 212279, shadowsocks-libev/trunk/shadowsocks-libev-redir@.service) =================================================================== --- community-staging-x86_64/shadowsocks-libev-redir@.service (rev 0) +++ community-staging-x86_64/shadowsocks-libev-redir@.service 2017-02-14 06:30:08 UTC (rev 212280) @@ -0,0 +1,13 @@ +[Unit] +Description=Shadowsocks-Libev Client Service Redir Mode +After=network.target + +[Service] +Type=simple +User=nobody +CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE +ExecStart=/usr/bin/ss-redir -c /etc/shadowsocks/%i.json + +[Install] +WantedBy=multi-user.target + Copied: shadowsocks-libev/repos/community-staging-x86_64/shadowsocks-libev-server@.service (from rev 212279, shadowsocks-libev/trunk/shadowsocks-libev-server@.service) =================================================================== --- community-staging-x86_64/shadowsocks-libev-server@.service (rev 0) +++ community-staging-x86_64/shadowsocks-libev-server@.service 2017-02-14 06:30:08 UTC (rev 212280) @@ -0,0 +1,13 @@ +[Unit] +Description=Shadowsocks-Libev Server Service +After=network.target + +[Service] +Type=simple +User=nobody +CapabilityBoundingSet=CAP_NET_BIND_SERVICE +ExecStart=/usr/bin/ss-server -c /etc/shadowsocks/%i.json + +[Install] +WantedBy=multi-user.target + Copied: shadowsocks-libev/repos/community-staging-x86_64/shadowsocks-libev-tunnel@.service (from rev 212279, shadowsocks-libev/trunk/shadowsocks-libev-tunnel@.service) =================================================================== --- community-staging-x86_64/shadowsocks-libev-tunnel@.service (rev 0) +++ community-staging-x86_64/shadowsocks-libev-tunnel@.service 2017-02-14 06:30:08 UTC (rev 212280) @@ -0,0 +1,13 @@ +[Unit] +Description=Shadowsocks-Libev Client Service Tunnel Mode +After=network.target + +[Service] +Type=simple +User=nobody +CapabilityBoundingSet=CAP_NET_BIND_SERVICE +ExecStart=/usr/bin/ss-tunnel -c /etc/shadowsocks/%i.json + +[Install] +WantedBy=multi-user.target + Copied: shadowsocks-libev/repos/community-staging-x86_64/shadowsocks-libev.install (from rev 212279, shadowsocks-libev/trunk/shadowsocks-libev.install) =================================================================== --- community-staging-x86_64/shadowsocks-libev.install (rev 0) +++ community-staging-x86_64/shadowsocks-libev.install 2017-02-14 06:30:08 UTC (rev 212280) @@ -0,0 +1,10 @@ +post_install() { + setcap cap_net_bind_service+ep usr/bin/ss-local 2>/dev/null + setcap cap_net_bind_service+ep usr/bin/ss-server 2>/dev/null + setcap cap_net_bind_service+ep usr/bin/ss-tunnel 2>/dev/null + setcap cap_net_bind_service+ep usr/bin/ss-redir 2>/dev/null +} + +post_upgrade() { + post_install "$1" +} Copied: shadowsocks-libev/repos/community-staging-x86_64/shadowsocks-libev@.service (from rev 212279, shadowsocks-libev/trunk/shadowsocks-libev@.service) =================================================================== --- community-staging-x86_64/shadowsocks-libev@.service (rev 0) +++ community-staging-x86_64/shadowsocks-libev@.service 2017-02-14 06:30:08 UTC (rev 212280) @@ -0,0 +1,13 @@ +[Unit] +Description=Shadowsocks-Libev Client Service +After=network.target + +[Service] +Type=simple +User=nobody +CapabilityBoundingSet=CAP_NET_BIND_SERVICE +ExecStart=/usr/bin/ss-local -c /etc/shadowsocks/%i.json + +[Install] +WantedBy=multi-user.target +