[arch-commits] Commit in shadowsocks/repos/community-any (8 files)

Felix Yan fyan at archlinux.org
Fri Jul 10 12:39:44 UTC 2015


    Date: Friday, July 10, 2015 @ 14:39:43
  Author: fyan
Revision: 136615

archrelease: copy trunk to community-any

Added:
  shadowsocks/repos/community-any/PKGBUILD
    (from rev 136614, shadowsocks/trunk/PKGBUILD)
  shadowsocks/repos/community-any/shadowsocks-server at .service
    (from rev 136614, shadowsocks/trunk/shadowsocks-server at .service)
  shadowsocks/repos/community-any/shadowsocks.install
    (from rev 136614, shadowsocks/trunk/shadowsocks.install)
  shadowsocks/repos/community-any/shadowsocks at .service
    (from rev 136614, shadowsocks/trunk/shadowsocks at .service)
Deleted:
  shadowsocks/repos/community-any/PKGBUILD
  shadowsocks/repos/community-any/shadowsocks-server at .service
  shadowsocks/repos/community-any/shadowsocks.install
  shadowsocks/repos/community-any/shadowsocks at .service

-----------------------------+
 PKGBUILD                    |   88 +++++++++++++++++++++---------------------
 shadowsocks-server at .service |   24 +++++------
 shadowsocks.install         |   10 ++--
 shadowsocks at .service        |   24 +++++------
 4 files changed, 73 insertions(+), 73 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-07-10 12:38:50 UTC (rev 136614)
+++ PKGBUILD	2015-07-10 12:39:43 UTC (rev 136615)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=shadowsocks
-pkgver=2.6.10
-pkgrel=1
-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')
-install=${pkgname}.install
-source=("https://pypi.python.org/packages/source/s/shadowsocks/shadowsocks-${pkgver}.tar.gz"
-        "shadowsocks at .service"
-        "shadowsocks-server at .service")
-sha512sums=('4b6b91cfbba1833e6bfa29e98cd45c85ead2113f56be05053d634236cf1b1dc24b82537dc905f43af0347ff5c3ed7fc7ea170f57a6856b240cee4ecb04ae5246'
-            '96ecb174a476f64dec3ec086732d93a76d27e9a1cc56b1dc3fa87bf8e00d4b3c44076a01a0d525e42174cacc58fd5c16d5c8af5d4636dae13df549dec8204f7d'
-            'f2f8240c18a4483bf3e03b3a5ac8822c3deae713224f732bf28f7fddfcc5d0b02aa91652665ff93f05731e162a9407109c18f43d732a3a9b19d9eacfc806a4df')
-
-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"
-
-  python setup.py install -O1 --root="$pkgdir"
-  
-  install -d "$pkgdir/etc/shadowsocks"
-  install -Dm644 "$srcdir/shadowsocks at .service" "$pkgdir/usr/lib/systemd/system/shadowsocks at .service"
-  install -Dm644 "$srcdir/shadowsocks-server at .service" "$pkgdir/usr/lib/systemd/system/shadowsocks-server at .service"
-}

Copied: shadowsocks/repos/community-any/PKGBUILD (from rev 136614, shadowsocks/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-07-10 12:39:43 UTC (rev 136615)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=shadowsocks
+pkgver=2.6.11
+pkgrel=1
+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')
+install=${pkgname}.install
+source=("https://pypi.python.org/packages/source/s/shadowsocks/shadowsocks-${pkgver}.tar.gz"
+        "shadowsocks at .service"
+        "shadowsocks-server at .service")
+sha512sums=('a3827f10c1826b565950079729456b6b8df4766a5d5bedff5410dfa854ba027cf5cdef5aa6c4e9babf964dee426ff124d09d568fa9353378b3da41199f249693'
+            '96ecb174a476f64dec3ec086732d93a76d27e9a1cc56b1dc3fa87bf8e00d4b3c44076a01a0d525e42174cacc58fd5c16d5c8af5d4636dae13df549dec8204f7d'
+            'f2f8240c18a4483bf3e03b3a5ac8822c3deae713224f732bf28f7fddfcc5d0b02aa91652665ff93f05731e162a9407109c18f43d732a3a9b19d9eacfc806a4df')
+
+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"
+
+  python setup.py install -O1 --root="$pkgdir"
+  
+  install -d "$pkgdir/etc/shadowsocks"
+  install -Dm644 "$srcdir/shadowsocks at .service" "$pkgdir/usr/lib/systemd/system/shadowsocks at .service"
+  install -Dm644 "$srcdir/shadowsocks-server at .service" "$pkgdir/usr/lib/systemd/system/shadowsocks-server at .service"
+}

Deleted: shadowsocks-server at .service
===================================================================
--- shadowsocks-server at .service	2015-07-10 12:38:50 UTC (rev 136614)
+++ shadowsocks-server at .service	2015-07-10 12:39:43 UTC (rev 136615)
@@ -1,12 +0,0 @@
-[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-any/shadowsocks-server at .service (from rev 136614, shadowsocks/trunk/shadowsocks-server at .service)
===================================================================
--- shadowsocks-server at .service	                        (rev 0)
+++ shadowsocks-server at .service	2015-07-10 12:39:43 UTC (rev 136615)
@@ -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
+

Deleted: shadowsocks.install
===================================================================
--- shadowsocks.install	2015-07-10 12:38:50 UTC (rev 136614)
+++ shadowsocks.install	2015-07-10 12:39:43 UTC (rev 136615)
@@ -1,5 +0,0 @@
-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]@<conf-name>"
-}
-

Copied: shadowsocks/repos/community-any/shadowsocks.install (from rev 136614, shadowsocks/trunk/shadowsocks.install)
===================================================================
--- shadowsocks.install	                        (rev 0)
+++ shadowsocks.install	2015-07-10 12:39:43 UTC (rev 136615)
@@ -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]@<conf-name>"
+}
+

Deleted: shadowsocks at .service
===================================================================
--- shadowsocks at .service	2015-07-10 12:38:50 UTC (rev 136614)
+++ shadowsocks at .service	2015-07-10 12:39:43 UTC (rev 136615)
@@ -1,12 +0,0 @@
-[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
-

Copied: shadowsocks/repos/community-any/shadowsocks at .service (from rev 136614, shadowsocks/trunk/shadowsocks at .service)
===================================================================
--- shadowsocks at .service	                        (rev 0)
+++ shadowsocks at .service	2015-07-10 12:39:43 UTC (rev 136615)
@@ -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
+



More information about the arch-commits mailing list