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

Felix Yan fyan at archlinux.org
Sun Oct 12 07:37:30 UTC 2014


    Date: Sunday, October 12, 2014 @ 09:37:29
  Author: fyan
Revision: 120559

archrelease: copy trunk to community-any

Added:
  shadowsocks/repos/community-any/PKGBUILD
    (from rev 120558, shadowsocks/trunk/PKGBUILD)
  shadowsocks/repos/community-any/shadowsocks-server at .service
    (from rev 120558, shadowsocks/trunk/shadowsocks-server at .service)
  shadowsocks/repos/community-any/shadowsocks.install
    (from rev 120558, shadowsocks/trunk/shadowsocks.install)
  shadowsocks/repos/community-any/shadowsocks at .service
    (from rev 120558, 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                    |  116 +++++++++++++++++++++---------------------
 shadowsocks-server at .service |   24 ++++----
 shadowsocks.install         |   10 +--
 shadowsocks at .service        |   24 ++++----
 4 files changed, 87 insertions(+), 87 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-10-12 07:36:29 UTC (rev 120558)
+++ PKGBUILD	2014-10-12 07:37:29 UTC (rev 120559)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=shadowsocks
-pkgver=2.3.1
-pkgrel=1
-pkgdesc="A lightweight tunnel proxy"
-license=("MIT")
-url="http://pypi.python.org/pypi/shadowsocks"
-depends=('python2' 'python2-setuptools')
-checkdepends=('python2-m2crypto' 'python2-salsa20')
-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"
-        "$pkgname-LICENSE::https://raw.github.com/clowwindy/shadowsocks/master/LICENSE"
-        "shadowsocks at .service"
-        "shadowsocks-server at .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
-}
-
-check() {
-  cd shadowsocks-$pkgver
-
-  # Tests not included
-  return
-  python2 tests/test.py -c tests/table.json
-  python2 tests/test.py -c tests/aes.json
-  python2 tests/test.py -c tests/rc4-md5.json
-  python2 tests/test.py -c tests/salsa20.json
-  python2 tests/test.py -c tests/server-multi-ports.json
-  python2 tests/test.py -c tests/server-multi-passwd.json
-  python2 tests/test.py -c tests/server-multi-passwd-table.json
-  python2 tests/test.py -c tests/workers.json
-}
-
-package() {
-  cd "$srcdir/shadowsocks-$pkgver"
-  python2 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"
-  install -Dm644 "$srcdir/$pkgname-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-sha512sums=('d70e00acbb7a2b575414458a4eee4982e6fe408db96243c6de86c844b9dcabe23b7de3c169902bc8e663a0a89870cdb86412addcc498f1a6fb5ca2cdfc5dfe9d'
-            '88abf42d51d7b7baa2b9cef016bfd194373fd178980c2c6f1bbb3ce31d3267dfca71efb013c6596c57c0390fdb95d716ff4acca97bdf960e56e9edf16f770352'
-            '96ecb174a476f64dec3ec086732d93a76d27e9a1cc56b1dc3fa87bf8e00d4b3c44076a01a0d525e42174cacc58fd5c16d5c8af5d4636dae13df549dec8204f7d'
-            'f2f8240c18a4483bf3e03b3a5ac8822c3deae713224f732bf28f7fddfcc5d0b02aa91652665ff93f05731e162a9407109c18f43d732a3a9b19d9eacfc806a4df')

Copied: shadowsocks/repos/community-any/PKGBUILD (from rev 120558, shadowsocks/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-10-12 07:37:29 UTC (rev 120559)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=shadowsocks
+pkgver=2.3.2
+pkgrel=1
+pkgdesc="A lightweight tunnel proxy"
+license=("MIT")
+url="http://pypi.python.org/pypi/shadowsocks"
+depends=('python2' 'python2-setuptools')
+checkdepends=('python2-m2crypto' 'python2-salsa20')
+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"
+        "$pkgname-LICENSE::https://raw.github.com/clowwindy/shadowsocks/master/LICENSE"
+        "shadowsocks at .service"
+        "shadowsocks-server at .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
+}
+
+check() {
+  cd shadowsocks-$pkgver
+
+  # Tests not included
+  return
+  python2 tests/test.py -c tests/table.json
+  python2 tests/test.py -c tests/aes.json
+  python2 tests/test.py -c tests/rc4-md5.json
+  python2 tests/test.py -c tests/salsa20.json
+  python2 tests/test.py -c tests/server-multi-ports.json
+  python2 tests/test.py -c tests/server-multi-passwd.json
+  python2 tests/test.py -c tests/server-multi-passwd-table.json
+  python2 tests/test.py -c tests/workers.json
+}
+
+package() {
+  cd "$srcdir/shadowsocks-$pkgver"
+  python2 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"
+  install -Dm644 "$srcdir/$pkgname-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+sha512sums=('54d474b898533214466eff935a636c9ceb7414a338eee8288b13f8d85519a61a5825c4be113cd3eb670fcfe5b4aa6fce0423bc72f892e1fdce9158e190738431'
+            '88abf42d51d7b7baa2b9cef016bfd194373fd178980c2c6f1bbb3ce31d3267dfca71efb013c6596c57c0390fdb95d716ff4acca97bdf960e56e9edf16f770352'
+            '96ecb174a476f64dec3ec086732d93a76d27e9a1cc56b1dc3fa87bf8e00d4b3c44076a01a0d525e42174cacc58fd5c16d5c8af5d4636dae13df549dec8204f7d'
+            'f2f8240c18a4483bf3e03b3a5ac8822c3deae713224f732bf28f7fddfcc5d0b02aa91652665ff93f05731e162a9407109c18f43d732a3a9b19d9eacfc806a4df')

Deleted: shadowsocks-server at .service
===================================================================
--- shadowsocks-server at .service	2014-10-12 07:36:29 UTC (rev 120558)
+++ shadowsocks-server at .service	2014-10-12 07:37:29 UTC (rev 120559)
@@ -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 120558, shadowsocks/trunk/shadowsocks-server at .service)
===================================================================
--- shadowsocks-server at .service	                        (rev 0)
+++ shadowsocks-server at .service	2014-10-12 07:37:29 UTC (rev 120559)
@@ -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	2014-10-12 07:36:29 UTC (rev 120558)
+++ shadowsocks.install	2014-10-12 07:37:29 UTC (rev 120559)
@@ -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 120558, shadowsocks/trunk/shadowsocks.install)
===================================================================
--- shadowsocks.install	                        (rev 0)
+++ shadowsocks.install	2014-10-12 07:37:29 UTC (rev 120559)
@@ -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	2014-10-12 07:36:29 UTC (rev 120558)
+++ shadowsocks at .service	2014-10-12 07:37:29 UTC (rev 120559)
@@ -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 120558, shadowsocks/trunk/shadowsocks at .service)
===================================================================
--- shadowsocks at .service	                        (rev 0)
+++ shadowsocks at .service	2014-10-12 07:37:29 UTC (rev 120559)
@@ -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