[arch-commits] Commit in shadowsocks/repos (5 files)
Date: Saturday, November 1, 2014 @ 15:59:29 Author: fyan Revision: 121650 archrelease: copy trunk to community-testing-any Added: shadowsocks/repos/community-testing-any/ shadowsocks/repos/community-testing-any/PKGBUILD (from rev 121649, shadowsocks/trunk/PKGBUILD) shadowsocks/repos/community-testing-any/shadowsocks-server@.service (from rev 121649, shadowsocks/trunk/shadowsocks-server@.service) shadowsocks/repos/community-testing-any/shadowsocks.install (from rev 121649, shadowsocks/trunk/shadowsocks.install) shadowsocks/repos/community-testing-any/shadowsocks@.service (from rev 121649, shadowsocks/trunk/shadowsocks@.service) -+ PKGBUILD| 51 ++ shadowsocks-server@.service | 12 + shadowsocks.install |5 shadowsocks@.service| 12 + 4 files changed, 80 insertions(+) Copied: shadowsocks/repos/community-testing-any/PKGBUILD (from rev 121649, shadowsocks/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2014-11-01 14:59:29 UTC (rev 121650) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgname=shadowsocks +pkgver=2.4 +pkgrel=1 +pkgdesc="A lightweight tunnel proxy" +license=("MIT") +url="http://pypi.python.org/pypi/shadowsocks"; +depends=('python' 'python-setuptools') +checkdepends=('python-salsa20') +optdepends=('python-numpy: For salsa20 support' +'python-salsa20: For salsa20 support') +source=("http://pypi.python.org/packages/source/s/shadowsocks/shadowsocks-${pkgver}.tar.gz"; + "$pkgname-LICENSE::https://raw.github.com/clowwindy/shadowsocks/master/LICENSE"; +"shadowsocks@.service" +"shadowsocks-server@.service") +arch=('any') +install=${pkgname}.install + +check() { + cd shadowsocks-$pkgver + + # Tests not included + return + python tests/test.py -c tests/table.json + python tests/test.py -c tests/aes.json + python tests/test.py -c tests/rc4-md5.json + python tests/test.py -c tests/salsa20.json + python tests/test.py -c tests/server-multi-ports.json + python tests/test.py -c tests/server-multi-passwd.json + python tests/test.py -c tests/server-multi-passwd-table.json + python tests/test.py -c tests/workers.json +} + +package() { + cd "$srcdir/shadowsocks-$pkgver" + + # 2.4: Setting LANG as a workaround for https://github.com/clowwindy/shadowsocks/pull/203 + LANG=en_US.utf8 python setup.py install -O1 --root="$pkgdir" + + install -d "$pkgdir/etc/shadowsocks" + install -Dm644 "$srcdir/shadowsocks@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks@.service" + install -Dm644 "$srcdir/shadowsocks-server@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks-server@.service" + install -Dm644 "$srcdir/$pkgname-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +sha512sums=('b50c27202170bbacb87c7578588756a6c9d612981ff31a494d2e6e3cb56ea229e378a95c99915c2d88d987876ba752807e53c8da5cc84b937bef2a453f0dadb0' + '88abf42d51d7b7baa2b9cef016bfd194373fd178980c2c6f1bbb3ce31d3267dfca71efb013c6596c57c0390fdb95d716ff4acca97bdf960e56e9edf16f770352' + '96ecb174a476f64dec3ec086732d93a76d27e9a1cc56b1dc3fa87bf8e00d4b3c44076a01a0d525e42174cacc58fd5c16d5c8af5d4636dae13df549dec8204f7d' + 'f2f8240c18a4483bf3e03b3a5ac8822c3deae713224f732bf28f7fddfcc5d0b02aa91652665ff93f05731e162a9407109c18f43d732a3a9b19d9eacfc806a4df') Copied: shadowsocks/repos/community-testing-any/shadowsocks-server@.service (from rev 121649, shadowsocks/trunk/shadowsocks-server@.service) === --- community-testing-any/shadowsocks-server@.service (rev 0) +++ community-testing-any/shadowsocks-server@.service 2014-11-01 14:59:29 UTC (rev 121650) @@ -0,0 +1,12 @@ +[Unit] +Description=Shadowsocks Server Service +After=network.target + +[Service] +Type=simple +User=nobody +ExecStart=/usr/bin/ssserver -c /etc/shadowsocks/%i.json + +[Install] +WantedBy=multi-user.target + Copied: shadowsocks/repos/community-testing-any/shadowsocks.install (from rev 121649, shadowsocks/trunk/shadowsocks.install) === --- community-testing-any/shadowsocks.install (rev 0) +++ community-testing-any/shadowsocks.install 2014-11-01 14:59:29 UTC (rev 121650) @@ -0,0 +1,5 @@ +post_install() { +echo "You can use profiled systemd units to start/stop shadowsocks: (Profiles are placed under /etc/shadowsocks/*.json)" +echo "# systemctl start/stop shadowsocks[-server]@" +} + Copied: shadowsocks/repos/community-testing-any/shadowsocks@.service (from rev 121649, shadowsocks/trunk/shadowsocks@.service) === --- community-testing
[arch-commits] Commit in shadowsocks/repos (5 files)
Date: Wednesday, October 2, 2013 @ 05:33:02 Author: fyan Revision: 97962 archrelease: copy trunk to community-testing-any Added: shadowsocks/repos/community-testing-any/ shadowsocks/repos/community-testing-any/PKGBUILD (from rev 97961, shadowsocks/trunk/PKGBUILD) shadowsocks/repos/community-testing-any/shadowsocks-server@.service (from rev 97961, shadowsocks/trunk/shadowsocks-server@.service) shadowsocks/repos/community-testing-any/shadowsocks.install (from rev 97961, shadowsocks/trunk/shadowsocks.install) shadowsocks/repos/community-testing-any/shadowsocks@.service (from rev 97961, shadowsocks/trunk/shadowsocks@.service) -+ PKGBUILD| 38 ++ shadowsocks-server@.service | 12 shadowsocks.install |5 + shadowsocks@.service| 12 4 files changed, 67 insertions(+) Copied: shadowsocks/repos/community-testing-any/PKGBUILD (from rev 97961, shadowsocks/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2013-10-02 03:33:02 UTC (rev 97962) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgname=shadowsocks +pkgver=1.3.3 +pkgrel=1 +pkgdesc="A lightweight tunnel proxy" +license=("MIT") +url="http://pypi.python.org/pypi/shadowsocks"; +depends=('python2') +makedepends=('python2-distribute') +optdepends=('python2-gevent: Recommended for much better performance' +'python2-m2crypto: For any encryption method other than "table"') +source=("http://pypi.python.org/packages/source/s/shadowsocks/shadowsocks-${pkgver}.tar.gz"; +"https://raw.github.com/clowwindy/shadowsocks/master/LICENSE"; + "shadowsocks@.service" + "shadowsocks-server@.service") +arch=('any') +install=${pkgname}.install + +prepare() { + cd "$srcdir/shadowsocks-$pkgver" + # python2 fix + find . -name '*.py' -type f -print0 | xargs -0 sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' +} + +package() { + cd "$srcdir/shadowsocks-$pkgver" + python2 setup.py install --root="$pkgdir" + + install -Dm644 "$srcdir/shadowsocks@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks@.service" + install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +sha512sums=('6dba08a886e476b0d9e17047de114c3cf9f8bf8eb450a7957dd9c54c94c3e52a5630201e252f8b098c0e2c489304d62cf7d49f2e39a5d295046b150712faa31c' + '36c025d78d9d2b355516360c8d4642290dc4102543eb4b1473a6f3201785ef28727ff9cb662757f013a62fa4a73f62a2655508a5ae554e124404fc3077aef8cb' + '96ecb174a476f64dec3ec086732d93a76d27e9a1cc56b1dc3fa87bf8e00d4b3c44076a01a0d525e42174cacc58fd5c16d5c8af5d4636dae13df549dec8204f7d' + 'f2f8240c18a4483bf3e03b3a5ac8822c3deae713224f732bf28f7fddfcc5d0b02aa91652665ff93f05731e162a9407109c18f43d732a3a9b19d9eacfc806a4df') Copied: shadowsocks/repos/community-testing-any/shadowsocks-server@.service (from rev 97961, shadowsocks/trunk/shadowsocks-server@.service) === --- community-testing-any/shadowsocks-server@.service (rev 0) +++ community-testing-any/shadowsocks-server@.service 2013-10-02 03:33:02 UTC (rev 97962) @@ -0,0 +1,12 @@ +[Unit] +Description=Shadowsocks Server Service +After=network.target + +[Service] +Type=simple +User=nobody +ExecStart=/usr/bin/ssserver -c /etc/shadowsocks/%i.json + +[Install] +WantedBy=multi-user.target + Copied: shadowsocks/repos/community-testing-any/shadowsocks.install (from rev 97961, shadowsocks/trunk/shadowsocks.install) === --- community-testing-any/shadowsocks.install (rev 0) +++ community-testing-any/shadowsocks.install 2013-10-02 03:33:02 UTC (rev 97962) @@ -0,0 +1,5 @@ +post_install() { +echo "You can use profiled systemd units to start/stop shadowsocks: (Profiles are placed under /etc/shadowsocks/*.json)" +echo "# systemctl start/stop shadowsocks[-server]@" +} + Copied: shadowsocks/repos/community-testing-any/shadowsocks@.service (from rev 97961, shadowsocks/trunk/shadowsocks@.service) === --- community-testing-any/shadowsocks@.service (rev 0) +++ community-testing-any/shadowsocks@.service 2013-10-02 03:33:02 UTC (rev 97962) @@ -0,0 +1,12 @@ +[Unit] +Description=Shadowsocks Client Service +After=network.target + +[Service] +Type=simple +User=nobody +ExecStart=/usr/bin/sslocal -c /etc/shadowsocks/%i.json + +[Install] +WantedBy=multi-user.target +
[arch-commits] Commit in shadowsocks/repos (5 files)
Date: Thursday, June 5, 2014 @ 19:01:07 Author: fyan Revision: 112729 archrelease: copy trunk to community-testing-any Added: shadowsocks/repos/community-testing-any/ shadowsocks/repos/community-testing-any/PKGBUILD (from rev 112728, shadowsocks/trunk/PKGBUILD) shadowsocks/repos/community-testing-any/shadowsocks-server@.service (from rev 112728, shadowsocks/trunk/shadowsocks-server@.service) shadowsocks/repos/community-testing-any/shadowsocks.install (from rev 112728, shadowsocks/trunk/shadowsocks.install) shadowsocks/repos/community-testing-any/shadowsocks@.service (from rev 112728, shadowsocks/trunk/shadowsocks@.service) -+ PKGBUILD| 42 ++ shadowsocks-server@.service | 12 shadowsocks.install |5 + shadowsocks@.service| 12 4 files changed, 71 insertions(+) Copied: shadowsocks/repos/community-testing-any/PKGBUILD (from rev 112728, shadowsocks/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2014-06-05 17:01:07 UTC (rev 112729) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgname=shadowsocks +pkgver=2.0 +pkgrel=1 +pkgdesc="A lightweight tunnel proxy" +license=("MIT") +url="http://pypi.python.org/pypi/shadowsocks"; +depends=('python2' 'python2-setuptools') +optdepends=('python2-m2crypto: For any encryption method other than "table"' +'python2-numpy: For salsa20 support' +'python2-salsa20: For salsa20 support') +source=("http://pypi.python.org/packages/source/s/shadowsocks/shadowsocks-${pkgver}.tar.gz"; +"https://raw.github.com/clowwindy/shadowsocks/master/LICENSE"; +"shadowsocks@.service" +"shadowsocks-server@.service") +arch=('any') +install=${pkgname}.install + +prepare() { + cd shadowsocks-$pkgver/shadowsocks + # python2 fix + sed -e 's_#!/usr/bin/env python$_#!/usr/bin/env python2_' \ + -e 's_#!/usr/bin/python$_#!/usr/bin/python2_' \ + -i local.py server.py encrypt.py __init__.py utils.py +} + +package() { + cd "$srcdir/shadowsocks-$pkgver" + python2 setup.py install -O1 --root="$pkgdir" + + install -d "$pkgdir/etc/shadowsocks" + install -Dm644 "$srcdir/shadowsocks@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks@.service" + install -Dm644 "$srcdir/shadowsocks-server@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks-server@.service" + install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +sha512sums=('37a6274c72173370fa8bfaf30fd9adbcf9a166399ef05239a0a8a815be7313dee8b0694ea0caeef99ef9e4d42fee062126ea91cfd23d4a04e55ae84e0dbc1a1d' + '36c025d78d9d2b355516360c8d4642290dc4102543eb4b1473a6f3201785ef28727ff9cb662757f013a62fa4a73f62a2655508a5ae554e124404fc3077aef8cb' + '96ecb174a476f64dec3ec086732d93a76d27e9a1cc56b1dc3fa87bf8e00d4b3c44076a01a0d525e42174cacc58fd5c16d5c8af5d4636dae13df549dec8204f7d' + 'f2f8240c18a4483bf3e03b3a5ac8822c3deae713224f732bf28f7fddfcc5d0b02aa91652665ff93f05731e162a9407109c18f43d732a3a9b19d9eacfc806a4df') Copied: shadowsocks/repos/community-testing-any/shadowsocks-server@.service (from rev 112728, shadowsocks/trunk/shadowsocks-server@.service) === --- community-testing-any/shadowsocks-server@.service (rev 0) +++ community-testing-any/shadowsocks-server@.service 2014-06-05 17:01:07 UTC (rev 112729) @@ -0,0 +1,12 @@ +[Unit] +Description=Shadowsocks Server Service +After=network.target + +[Service] +Type=simple +User=nobody +ExecStart=/usr/bin/ssserver -c /etc/shadowsocks/%i.json + +[Install] +WantedBy=multi-user.target + Copied: shadowsocks/repos/community-testing-any/shadowsocks.install (from rev 112728, shadowsocks/trunk/shadowsocks.install) === --- community-testing-any/shadowsocks.install (rev 0) +++ community-testing-any/shadowsocks.install 2014-06-05 17:01:07 UTC (rev 112729) @@ -0,0 +1,5 @@ +post_install() { +echo "You can use profiled systemd units to start/stop shadowsocks: (Profiles are placed under /etc/shadowsocks/*.json)" +echo "# systemctl start/stop shadowsocks[-server]@" +} + Copied: shadowsocks/repos/community-testing-any/shadowsocks@.service (from rev 112728, shadowsocks/trunk/shadowsocks@.service) === --- community-testing-any/shadowsocks@.service (rev 0) +++ community-testing-any/shadowsocks@.service 2014-06-05 17:01:07 UTC (rev 112729) @@ -0,0 +1,12 @@ +[Unit] +Description=Shadowsocks Client Service +After=network.target + +[Service] +Type=simple +User=nobody +ExecStart=/usr/bin/sslocal -c /etc/shadowsoc
[arch-commits] Commit in shadowsocks/repos (5 files)
Date: Monday, February 1, 2016 @ 08:58:44 Author: fyan Revision: 159774 archrelease: copy trunk to community-testing-any Added: shadowsocks/repos/community-testing-any/ shadowsocks/repos/community-testing-any/PKGBUILD (from rev 159773, shadowsocks/trunk/PKGBUILD) shadowsocks/repos/community-testing-any/shadowsocks-server@.service (from rev 159773, shadowsocks/trunk/shadowsocks-server@.service) shadowsocks/repos/community-testing-any/shadowsocks.install (from rev 159773, shadowsocks/trunk/shadowsocks.install) shadowsocks/repos/community-testing-any/shadowsocks@.service (from rev 159773, shadowsocks/trunk/shadowsocks@.service) -+ PKGBUILD| 40 shadowsocks-server@.service | 12 shadowsocks.install |5 + shadowsocks@.service| 12 4 files changed, 69 insertions(+) Copied: shadowsocks/repos/community-testing-any/PKGBUILD (from rev 159773, shadowsocks/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2016-02-01 07:58:44 UTC (rev 159774) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgname=shadowsocks +pkgver=2.8.2.20160112 +_commit=b9766ce5df1af306f690279d8eeb09bb99751ec9 +pkgrel=1 +pkgdesc="A lightweight tunnel proxy" +license=('Apache') +url="http://pypi.python.org/pypi/shadowsocks"; +arch=('any') +depends=('python' 'python-setuptools') +makedepends=('git') +optdepends=('libsodium: For salsa20 and chacha20 support') +checkdepends=('python-coverage' 'pep8' 'python-pyflakes' 'libsodium' 'python-nose' 'dante' 'procps-ng' 'util-linux') +install=${pkgname}.install +source=("git+https://github.com/shadowsocks/shadowsocks.git#commit=$_commit"; +"shadowsocks@.service" +"shadowsocks-server@.service") +sha512sums=('SKIP' + '96ecb174a476f64dec3ec086732d93a76d27e9a1cc56b1dc3fa87bf8e00d4b3c44076a01a0d525e42174cacc58fd5c16d5c8af5d4636dae13df549dec8204f7d' + 'f2f8240c18a4483bf3e03b3a5ac8822c3deae713224f732bf28f7fddfcc5d0b02aa91652665ff93f05731e162a9407109c18f43d732a3a9b19d9eacfc806a4df') + +check() { + cd shadowsocks + tests/jenkins.sh || warning "Tests failed" +} + +package() { + cd shadowsocks + + python setup.py install -O1 --root="$pkgdir" + + install -dm755 "$pkgdir/usr/share/man/man1" + install -m644 debian/{ssserver.1,sslocal.1} "$pkgdir/usr/share/man/man1" + install -Dm644 debian/config.json "$pkgdir/etc/shadowsocks/example.json" + + install -Dm644 "$srcdir/shadowsocks@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks@.service" + install -Dm644 "$srcdir/shadowsocks-server@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks-server@.service" +} Copied: shadowsocks/repos/community-testing-any/shadowsocks-server@.service (from rev 159773, shadowsocks/trunk/shadowsocks-server@.service) === --- community-testing-any/shadowsocks-server@.service (rev 0) +++ community-testing-any/shadowsocks-server@.service 2016-02-01 07:58:44 UTC (rev 159774) @@ -0,0 +1,12 @@ +[Unit] +Description=Shadowsocks Server Service +After=network.target + +[Service] +Type=simple +User=nobody +ExecStart=/usr/bin/ssserver -c /etc/shadowsocks/%i.json + +[Install] +WantedBy=multi-user.target + Copied: shadowsocks/repos/community-testing-any/shadowsocks.install (from rev 159773, shadowsocks/trunk/shadowsocks.install) === --- community-testing-any/shadowsocks.install (rev 0) +++ community-testing-any/shadowsocks.install 2016-02-01 07:58:44 UTC (rev 159774) @@ -0,0 +1,5 @@ +post_install() { +echo "You can use profiled systemd units to start/stop shadowsocks: (Profiles are placed under /etc/shadowsocks/*.json)" +echo "# systemctl start/stop shadowsocks[-server]@" +} + Copied: shadowsocks/repos/community-testing-any/shadowsocks@.service (from rev 159773, shadowsocks/trunk/shadowsocks@.service) === --- community-testing-any/shadowsocks@.service (rev 0) +++ community-testing-any/shadowsocks@.service 2016-02-01 07:58:44 UTC (rev 159774) @@ -0,0 +1,12 @@ +[Unit] +Description=Shadowsocks Client Service +After=network.target + +[Service] +Type=simple +User=nobody +ExecStart=/usr/bin/sslocal -c /etc/shadowsocks/%i.json + +[Install] +WantedBy=multi-user.target +
[arch-commits] Commit in shadowsocks/repos (5 files)
Date: Monday, September 21, 2015 @ 09:41:21 Author: allan Revision: 141358 archrelease: copy trunk to community-staging-any Added: shadowsocks/repos/community-staging-any/ shadowsocks/repos/community-staging-any/PKGBUILD (from rev 141357, shadowsocks/trunk/PKGBUILD) shadowsocks/repos/community-staging-any/shadowsocks-server@.service (from rev 141357, shadowsocks/trunk/shadowsocks-server@.service) shadowsocks/repos/community-staging-any/shadowsocks.install (from rev 141357, shadowsocks/trunk/shadowsocks.install) shadowsocks/repos/community-staging-any/shadowsocks@.service (from rev 141357, shadowsocks/trunk/shadowsocks@.service) -+ PKGBUILD| 50 ++ shadowsocks-server@.service | 12 ++ shadowsocks.install |5 shadowsocks@.service| 12 ++ 4 files changed, 79 insertions(+) Copied: shadowsocks/repos/community-staging-any/PKGBUILD (from rev 141357, shadowsocks/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2015-09-21 07:41:21 UTC (rev 141358) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgname=shadowsocks +pkgver=2.8.2 +pkgrel=2 +pkgdesc="A lightweight tunnel proxy" +license=('Apache') +url="http://pypi.python.org/pypi/shadowsocks"; +arch=('any') +depends=('python' 'python-setuptools') +optdepends=('libsodium: For salsa20 and chacha20 support') +makedepends=('git') +#checkdepends=('dante' 'bind-tools') +install=${pkgname}.install +source=("git+https://github.com/shadowsocks/shadowsocks.git#tag=$pkgver"; +"shadowsocks@.service" +"shadowsocks-server@.service") +sha512sums=('SKIP' + '96ecb174a476f64dec3ec086732d93a76d27e9a1cc56b1dc3fa87bf8e00d4b3c44076a01a0d525e42174cacc58fd5c16d5c8af5d4636dae13df549dec8204f7d' + 'f2f8240c18a4483bf3e03b3a5ac8822c3deae713224f732bf28f7fddfcc5d0b02aa91652665ff93f05731e162a9407109c18f43d732a3a9b19d9eacfc806a4df') + +check() { + cd shadowsocks + + # Tests require internet access + return + + python tests/test.py -c tests/table.json + python tests/test.py -c tests/aes.json + python tests/test.py -c tests/rc4-md5.json + python tests/test.py -c tests/salsa20.json + python tests/test.py -c tests/server-multi-ports.json + python tests/test.py -c tests/server-multi-passwd.json + python tests/test.py -c tests/server-multi-passwd-table.json + python tests/test.py -c tests/workers.json +} + +package() { + cd shadowsocks + + python setup.py install -O1 --root="$pkgdir" + + install -dm755 "$pkgdir/usr/share/man/man1" + install -m644 debian/{ssserver.1,sslocal.1} "$pkgdir/usr/share/man/man1" + install -Dm644 debian/config.json "$pkgdir/etc/shadowsocks/example.json" + + install -Dm644 "$srcdir/shadowsocks@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks@.service" + install -Dm644 "$srcdir/shadowsocks-server@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks-server@.service" +} Copied: shadowsocks/repos/community-staging-any/shadowsocks-server@.service (from rev 141357, shadowsocks/trunk/shadowsocks-server@.service) === --- community-staging-any/shadowsocks-server@.service (rev 0) +++ community-staging-any/shadowsocks-server@.service 2015-09-21 07:41:21 UTC (rev 141358) @@ -0,0 +1,12 @@ +[Unit] +Description=Shadowsocks Server Service +After=network.target + +[Service] +Type=simple +User=nobody +ExecStart=/usr/bin/ssserver -c /etc/shadowsocks/%i.json + +[Install] +WantedBy=multi-user.target + Copied: shadowsocks/repos/community-staging-any/shadowsocks.install (from rev 141357, shadowsocks/trunk/shadowsocks.install) === --- community-staging-any/shadowsocks.install (rev 0) +++ community-staging-any/shadowsocks.install 2015-09-21 07:41:21 UTC (rev 141358) @@ -0,0 +1,5 @@ +post_install() { +echo "You can use profiled systemd units to start/stop shadowsocks: (Profiles are placed under /etc/shadowsocks/*.json)" +echo "# systemctl start/stop shadowsocks[-server]@" +} + Copied: shadowsocks/repos/community-staging-any/shadowsocks@.service (from rev 141357, shadowsocks/trunk/shadowsocks@.service) === --- community-staging-any/shadowsocks@.service (rev 0) +++ community-staging-any/shadowsocks@.service 2015-09-21 07:41:21 UTC (rev 141358) @@ -0,0 +1,12 @@ +[Unit] +Description=Shadowsocks Client Service +After=network.target + +[Service] +Type=simple +User=nobody +ExecStart=/usr/bin/sslocal -c /etc/shadowsocks/%i.json + +[Install] +WantedBy=multi-user.target +
[arch-commits] Commit in shadowsocks/repos (5 files)
Date: Sunday, December 25, 2016 @ 17:10:39 Author: bpiotrowski Revision: 202038 archrelease: copy trunk to community-staging-any Added: shadowsocks/repos/community-staging-any/ shadowsocks/repos/community-staging-any/PKGBUILD (from rev 202037, shadowsocks/trunk/PKGBUILD) shadowsocks/repos/community-staging-any/shadowsocks-server@.service (from rev 202037, shadowsocks/trunk/shadowsocks-server@.service) shadowsocks/repos/community-staging-any/shadowsocks.install (from rev 202037, shadowsocks/trunk/shadowsocks.install) shadowsocks/repos/community-staging-any/shadowsocks@.service (from rev 202037, shadowsocks/trunk/shadowsocks@.service) -+ PKGBUILD| 39 +++ shadowsocks-server@.service | 12 shadowsocks.install |5 + shadowsocks@.service| 12 4 files changed, 68 insertions(+) Copied: shadowsocks/repos/community-staging-any/PKGBUILD (from rev 202037, shadowsocks/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2016-12-25 17:10:39 UTC (rev 202038) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgname=shadowsocks +pkgver=2.9.0 +pkgrel=2 +pkgdesc="A lightweight tunnel proxy" +license=('Apache') +url="http://pypi.python.org/pypi/shadowsocks"; +arch=('any') +depends=('python' 'python-setuptools') +makedepends=('git') +optdepends=('libsodium: For salsa20 and chacha20 support') +checkdepends=('python-coverage' 'python-pyflakes' 'libsodium' 'python-nose' 'dante' 'procps-ng' 'util-linux') +install=${pkgname}.install +source=("git+https://github.com/shadowsocks/shadowsocks.git#tag=$pkgver"; +"shadowsocks@.service" +"shadowsocks-server@.service") +sha512sums=('SKIP' + '96ecb174a476f64dec3ec086732d93a76d27e9a1cc56b1dc3fa87bf8e00d4b3c44076a01a0d525e42174cacc58fd5c16d5c8af5d4636dae13df549dec8204f7d' + 'f2f8240c18a4483bf3e03b3a5ac8822c3deae713224f732bf28f7fddfcc5d0b02aa91652665ff93f05731e162a9407109c18f43d732a3a9b19d9eacfc806a4df') + +check() { + cd shadowsocks + tests/jenkins.sh || warning "Tests failed" +} + +package() { + cd shadowsocks + + python setup.py install -O1 --root="$pkgdir" + + install -dm755 "$pkgdir/usr/share/man/man1" + install -m644 debian/{ssserver.1,sslocal.1} "$pkgdir/usr/share/man/man1" + install -Dm644 debian/config.json "$pkgdir/etc/shadowsocks/example.json" + + install -Dm644 "$srcdir/shadowsocks@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks@.service" + install -Dm644 "$srcdir/shadowsocks-server@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks-server@.service" +} Copied: shadowsocks/repos/community-staging-any/shadowsocks-server@.service (from rev 202037, shadowsocks/trunk/shadowsocks-server@.service) === --- community-staging-any/shadowsocks-server@.service (rev 0) +++ community-staging-any/shadowsocks-server@.service 2016-12-25 17:10:39 UTC (rev 202038) @@ -0,0 +1,12 @@ +[Unit] +Description=Shadowsocks Server Service +After=network.target + +[Service] +Type=simple +User=nobody +ExecStart=/usr/bin/ssserver -c /etc/shadowsocks/%i.json + +[Install] +WantedBy=multi-user.target + Copied: shadowsocks/repos/community-staging-any/shadowsocks.install (from rev 202037, shadowsocks/trunk/shadowsocks.install) === --- community-staging-any/shadowsocks.install (rev 0) +++ community-staging-any/shadowsocks.install 2016-12-25 17:10:39 UTC (rev 202038) @@ -0,0 +1,5 @@ +post_install() { +echo "You can use profiled systemd units to start/stop shadowsocks: (Profiles are placed under /etc/shadowsocks/*.json)" +echo "# systemctl start/stop shadowsocks[-server]@" +} + Copied: shadowsocks/repos/community-staging-any/shadowsocks@.service (from rev 202037, shadowsocks/trunk/shadowsocks@.service) === --- community-staging-any/shadowsocks@.service (rev 0) +++ community-staging-any/shadowsocks@.service 2016-12-25 17:10:39 UTC (rev 202038) @@ -0,0 +1,12 @@ +[Unit] +Description=Shadowsocks Client Service +After=network.target + +[Service] +Type=simple +User=nobody +ExecStart=/usr/bin/sslocal -c /etc/shadowsocks/%i.json + +[Install] +WantedBy=multi-user.target +
[arch-commits] Commit in shadowsocks/repos (5 files)
Date: Saturday, June 30, 2018 @ 17:53:53 Author: felixonmars Revision: 348743 archrelease: copy trunk to community-staging-any Added: shadowsocks/repos/community-staging-any/ shadowsocks/repos/community-staging-any/PKGBUILD (from rev 348740, shadowsocks/trunk/PKGBUILD) shadowsocks/repos/community-staging-any/shadowsocks-server@.service (from rev 348740, shadowsocks/trunk/shadowsocks-server@.service) shadowsocks/repos/community-staging-any/shadowsocks.install (from rev 348741, shadowsocks/trunk/shadowsocks.install) shadowsocks/repos/community-staging-any/shadowsocks@.service (from rev 348741, shadowsocks/trunk/shadowsocks@.service) -+ PKGBUILD| 39 +++ shadowsocks-server@.service | 12 shadowsocks.install |5 + shadowsocks@.service| 12 4 files changed, 68 insertions(+) Copied: shadowsocks/repos/community-staging-any/PKGBUILD (from rev 348740, shadowsocks/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-06-30 17:53:53 UTC (rev 348743) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgname=shadowsocks +pkgver=2.9.1 +pkgrel=2 +pkgdesc="A lightweight tunnel proxy" +license=('Apache') +url="http://pypi.python.org/pypi/shadowsocks"; +arch=('any') +depends=('python' 'python-setuptools') +makedepends=('git') +optdepends=('libsodium: For salsa20 and chacha20 support') +checkdepends=('python-coverage' 'python-pyflakes' 'libsodium' 'python-nose' 'dante' 'procps-ng' 'util-linux') +install=${pkgname}.install +source=("git+https://github.com/shadowsocks/shadowsocks.git#tag=$pkgver"; +"shadowsocks@.service" +"shadowsocks-server@.service") +sha512sums=('SKIP' + '96ecb174a476f64dec3ec086732d93a76d27e9a1cc56b1dc3fa87bf8e00d4b3c44076a01a0d525e42174cacc58fd5c16d5c8af5d4636dae13df549dec8204f7d' + 'f2f8240c18a4483bf3e03b3a5ac8822c3deae713224f732bf28f7fddfcc5d0b02aa91652665ff93f05731e162a9407109c18f43d732a3a9b19d9eacfc806a4df') + +check() { + cd shadowsocks + tests/jenkins.sh || warning "Tests failed" +} + +package() { + cd shadowsocks + + python setup.py install -O1 --root="$pkgdir" + + install -dm755 "$pkgdir/usr/share/man/man1" + install -m644 debian/{ssserver.1,sslocal.1} "$pkgdir/usr/share/man/man1" + install -Dm644 debian/config.json "$pkgdir/etc/shadowsocks/example.json" + + install -Dm644 "$srcdir/shadowsocks@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks@.service" + install -Dm644 "$srcdir/shadowsocks-server@.service" "$pkgdir/usr/lib/systemd/system/shadowsocks-server@.service" +} Copied: shadowsocks/repos/community-staging-any/shadowsocks-server@.service (from rev 348740, shadowsocks/trunk/shadowsocks-server@.service) === --- community-staging-any/shadowsocks-server@.service (rev 0) +++ community-staging-any/shadowsocks-server@.service 2018-06-30 17:53:53 UTC (rev 348743) @@ -0,0 +1,12 @@ +[Unit] +Description=Shadowsocks Server Service +After=network.target + +[Service] +Type=simple +User=nobody +ExecStart=/usr/bin/ssserver -c /etc/shadowsocks/%i.json + +[Install] +WantedBy=multi-user.target + Copied: shadowsocks/repos/community-staging-any/shadowsocks.install (from rev 348741, shadowsocks/trunk/shadowsocks.install) === --- community-staging-any/shadowsocks.install (rev 0) +++ community-staging-any/shadowsocks.install 2018-06-30 17:53:53 UTC (rev 348743) @@ -0,0 +1,5 @@ +post_install() { +echo "You can use profiled systemd units to start/stop shadowsocks: (Profiles are placed under /etc/shadowsocks/*.json)" +echo "# systemctl start/stop shadowsocks[-server]@" +} + Copied: shadowsocks/repos/community-staging-any/shadowsocks@.service (from rev 348741, shadowsocks/trunk/shadowsocks@.service) === --- community-staging-any/shadowsocks@.service (rev 0) +++ community-staging-any/shadowsocks@.service 2018-06-30 17:53:53 UTC (rev 348743) @@ -0,0 +1,12 @@ +[Unit] +Description=Shadowsocks Client Service +After=network.target + +[Service] +Type=simple +User=nobody +ExecStart=/usr/bin/sslocal -c /etc/shadowsocks/%i.json + +[Install] +WantedBy=multi-user.target +