[arch-commits] Commit in shadowsocks-libev/repos/community-x86_64 (12 files)
Felix Yan
felixonmars at archlinux.org
Wed May 9 05:04:01 UTC 2018
Date: Wednesday, May 9, 2018 @ 05:04:00
Author: felixonmars
Revision: 319766
archrelease: copy trunk to community-x86_64
Added:
shadowsocks-libev/repos/community-x86_64/PKGBUILD
(from rev 319765, shadowsocks-libev/trunk/PKGBUILD)
shadowsocks-libev/repos/community-x86_64/shadowsocks-libev-redir at .service
(from rev 319765, shadowsocks-libev/trunk/shadowsocks-libev-redir at .service)
shadowsocks-libev/repos/community-x86_64/shadowsocks-libev-server at .service
(from rev 319765, shadowsocks-libev/trunk/shadowsocks-libev-server at .service)
shadowsocks-libev/repos/community-x86_64/shadowsocks-libev-tunnel at .service
(from rev 319765, shadowsocks-libev/trunk/shadowsocks-libev-tunnel at .service)
shadowsocks-libev/repos/community-x86_64/shadowsocks-libev.install
(from rev 319765, shadowsocks-libev/trunk/shadowsocks-libev.install)
shadowsocks-libev/repos/community-x86_64/shadowsocks-libev at .service
(from rev 319765, shadowsocks-libev/trunk/shadowsocks-libev at .service)
Deleted:
shadowsocks-libev/repos/community-x86_64/PKGBUILD
shadowsocks-libev/repos/community-x86_64/shadowsocks-libev-redir at .service
shadowsocks-libev/repos/community-x86_64/shadowsocks-libev-server at .service
shadowsocks-libev/repos/community-x86_64/shadowsocks-libev-tunnel at .service
shadowsocks-libev/repos/community-x86_64/shadowsocks-libev.install
shadowsocks-libev/repos/community-x86_64/shadowsocks-libev at .service
-----------------------------------+
PKGBUILD | 103 ++++++++++++++++++------------------
shadowsocks-libev-redir at .service | 26 ++++-----
shadowsocks-libev-server at .service | 26 ++++-----
shadowsocks-libev-tunnel at .service | 26 ++++-----
shadowsocks-libev.install | 20 +++---
shadowsocks-libev at .service | 26 ++++-----
6 files changed, 115 insertions(+), 112 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-09 05:03:22 UTC (rev 319765)
+++ PKGBUILD 2018-05-09 05:04:00 UTC (rev 319766)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: jiangxq <jiangxueqian at gmail dot com>
-# Contributor: zh99998 <zh99998 at gmail.com>
-# Contributor: 4679kun <admin at 4679 dot us>
-
-pkgname=shadowsocks-libev
-pkgver=3.1.3
-pkgrel=2
-pkgdesc='A lightweight secured socks5 proxy for embedded devices and low end boxes'
-arch=('x86_64')
-url='https://github.com/shadowsocks/shadowsocks-libev'
-license=('GPL3')
-depends=('libcap' 'mbedtls' 'libsodium' 'libev' 'c-ares' 'pcre' 'libcorkipset' 'libbloom')
-makedepends=('asciidoc' 'xmlto')
-install=${pkgname}.install
-source=("$pkgname-$pkgver.tar.gz::https://github.com/shadowsocks/$pkgname/archive/v$pkgver.tar.gz"
- 'shadowsocks-libev at .service'
- 'shadowsocks-libev-server at .service'
- 'shadowsocks-libev-redir at .service'
- 'shadowsocks-libev-tunnel at .service')
-
-sha512sums=('a262315cf04c325b5b659f07fd751f2f7b651feed5e2ac7290c1b3ce91fe5bd7efa7ff834f82f3fb00d5551cba8277f8668cdefbfe35279d7835089cbcced55f'
- '92186a3baf340e3e3b7e8893b01bbf29356d0111ea7ecc10bb6a31278a834a7c428c501b0bb15fc1e983c6dab74a7094deae2c5972a4b3e6807ece668944d321'
- '4e7d22145af1e2ac65bfa0d8883c3b30a6ac726728265a782519ab3912d6e3034861e19b411b54aa1cdbf999b1758584f6452d9c98afb72b71f3a0b215813317'
- 'e233c0f67843509f542c25d6fc39fe6992571b7cd0ae75e3c9573a8cd6f9a72748b5c4d09914a6d9402bfe379db487c628b39c44cc165f71e48e874a56922b82'
- 'b8de1cc489a1feb8c0ca59fef8abf6c524343483563462a167cb4a5bed5e9605fe76e4fdc71a248a8a5fc882032737a02747916f79043d50f850645067ed38eb')
-
-prepare() {
- cd "$srcdir"/$pkgname-$pkgver
-
- sed -i 's|AC_CONFIG_FILES(\[libbloom/Makefile libcork/Makefile libipset/Makefile\])||' configure.ac
-}
-
-build() {
- cd "$srcdir"/$pkgname-$pkgver
-
- ./autogen.sh
- ./configure --prefix=/usr --enable-shared --enable-system-shared-lib
- make
-}
-
-package() {
- cd "$srcdir"/$pkgname-$pkgver
- make DESTDIR="$pkgdir/" install
- install -Dm644 "$srcdir/shadowsocks-libev at .service" "$pkgdir/usr/lib/systemd/system/shadowsocks-libev at .service"
- install -Dm644 "$srcdir/shadowsocks-libev-server at .service" "$pkgdir/usr/lib/systemd/system/shadowsocks-libev-server at .service"
- install -Dm644 "$srcdir/shadowsocks-libev-redir at .service" "$pkgdir/usr/lib/systemd/system/shadowsocks-libev-redir at .service"
- install -Dm644 "$srcdir/shadowsocks-libev-tunnel at .service" "$pkgdir/usr/lib/systemd/system/shadowsocks-libev-tunnel at .service"
-}
Copied: shadowsocks-libev/repos/community-x86_64/PKGBUILD (from rev 319765, shadowsocks-libev/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-09 05:04:00 UTC (rev 319766)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: jiangxq <jiangxueqian at gmail dot com>
+# Contributor: zh99998 <zh99998 at gmail.com>
+# Contributor: 4679kun <admin at 4679 dot us>
+
+pkgname=shadowsocks-libev
+pkgver=3.1.3
+pkgrel=3
+pkgdesc='A lightweight secured socks5 proxy for embedded devices and low end boxes'
+arch=('x86_64')
+url='https://github.com/shadowsocks/shadowsocks-libev'
+license=('GPL3')
+depends=('libcap' 'mbedtls' 'libsodium' 'libev' 'c-ares' 'pcre' 'libcorkipset' 'libbloom')
+makedepends=('asciidoc' 'xmlto')
+install=${pkgname}.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/shadowsocks/$pkgname/archive/v$pkgver.tar.gz"
+ gcc8.patch::https://github.com/shadowsocks/shadowsocks-libev/commit/662b6db3f3c395b552fa16f7fb22558aa38fe6aa.patch
+ 'shadowsocks-libev at .service'
+ 'shadowsocks-libev-server at .service'
+ 'shadowsocks-libev-redir at .service'
+ 'shadowsocks-libev-tunnel at .service')
+
+sha512sums=('a262315cf04c325b5b659f07fd751f2f7b651feed5e2ac7290c1b3ce91fe5bd7efa7ff834f82f3fb00d5551cba8277f8668cdefbfe35279d7835089cbcced55f'
+ 'e4584c56427a295008714be8b189dcaa99f59b49231f97fce402a3eb1a0efd9b136ed3d1a68ab1906953b24f77e781f8caff63aee63886ac97e9c175f4476c57'
+ '57c92f20d26283c87b86a66269a8475117ba4db4d13e5341f1795edb38181edd972179141cd1ef15e9b898b8b42d5319fe1a64edef8b35cb62f98443b701a5dd'
+ 'b40db992b2e77846064d5b689835bcaf335da961684ca0d6aa0dc798ca9541ee0e0236e10e39f44a9ff3fbe260666a25e5440160121b10a655ac95a3f4ecba0a'
+ '8646a373b58327cdb75ed933447b4cb833ecca215807661120909e21d8c2a1d354beff302192e24dc77bfda3db2f806ec2b01a288ddb4f4e4b9ae200d0beeadd'
+ '851a17a53cd84b425316c476f423b03d763e0fdfe987543964df4c67567374b833bf776e93476593d81652eda9986beeca1d06c8f13219fe6336c6f3e6441e98')
+
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+ patch -p1 -i ../gcc8.patch
+
+ sed -i 's|AC_CONFIG_FILES(\[libbloom/Makefile libcork/Makefile libipset/Makefile\])||' configure.ac
+}
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ ./autogen.sh
+ ./configure --prefix=/usr --enable-shared --enable-system-shared-lib
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir/" install
+ install -Dm644 "$srcdir/shadowsocks-libev at .service" "$pkgdir/usr/lib/systemd/system/shadowsocks-libev at .service"
+ install -Dm644 "$srcdir/shadowsocks-libev-server at .service" "$pkgdir/usr/lib/systemd/system/shadowsocks-libev-server at .service"
+ install -Dm644 "$srcdir/shadowsocks-libev-redir at .service" "$pkgdir/usr/lib/systemd/system/shadowsocks-libev-redir at .service"
+ install -Dm644 "$srcdir/shadowsocks-libev-tunnel at .service" "$pkgdir/usr/lib/systemd/system/shadowsocks-libev-tunnel at .service"
+}
Deleted: shadowsocks-libev-redir at .service
===================================================================
--- shadowsocks-libev-redir at .service 2018-05-09 05:03:22 UTC (rev 319765)
+++ shadowsocks-libev-redir at .service 2018-05-09 05:04:00 UTC (rev 319766)
@@ -1,13 +0,0 @@
-[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-x86_64/shadowsocks-libev-redir at .service (from rev 319765, shadowsocks-libev/trunk/shadowsocks-libev-redir at .service)
===================================================================
--- shadowsocks-libev-redir at .service (rev 0)
+++ shadowsocks-libev-redir at .service 2018-05-09 05:04:00 UTC (rev 319766)
@@ -0,0 +1,13 @@
+[Unit]
+Description=Shadowsocks-Libev Client Service Redir Mode
+After=network-online.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
+
Deleted: shadowsocks-libev-server at .service
===================================================================
--- shadowsocks-libev-server at .service 2018-05-09 05:03:22 UTC (rev 319765)
+++ shadowsocks-libev-server at .service 2018-05-09 05:04:00 UTC (rev 319766)
@@ -1,13 +0,0 @@
-[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-x86_64/shadowsocks-libev-server at .service (from rev 319765, shadowsocks-libev/trunk/shadowsocks-libev-server at .service)
===================================================================
--- shadowsocks-libev-server at .service (rev 0)
+++ shadowsocks-libev-server at .service 2018-05-09 05:04:00 UTC (rev 319766)
@@ -0,0 +1,13 @@
+[Unit]
+Description=Shadowsocks-Libev Server Service
+After=network-online.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
+
Deleted: shadowsocks-libev-tunnel at .service
===================================================================
--- shadowsocks-libev-tunnel at .service 2018-05-09 05:03:22 UTC (rev 319765)
+++ shadowsocks-libev-tunnel at .service 2018-05-09 05:04:00 UTC (rev 319766)
@@ -1,13 +0,0 @@
-[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-x86_64/shadowsocks-libev-tunnel at .service (from rev 319765, shadowsocks-libev/trunk/shadowsocks-libev-tunnel at .service)
===================================================================
--- shadowsocks-libev-tunnel at .service (rev 0)
+++ shadowsocks-libev-tunnel at .service 2018-05-09 05:04:00 UTC (rev 319766)
@@ -0,0 +1,13 @@
+[Unit]
+Description=Shadowsocks-Libev Client Service Tunnel Mode
+After=network-online.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
+
Deleted: shadowsocks-libev.install
===================================================================
--- shadowsocks-libev.install 2018-05-09 05:03:22 UTC (rev 319765)
+++ shadowsocks-libev.install 2018-05-09 05:04:00 UTC (rev 319766)
@@ -1,10 +0,0 @@
-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,cap_net_admin+ep usr/bin/ss-redir 2>/dev/null
-}
-
-post_upgrade() {
- post_install "$1"
-}
Copied: shadowsocks-libev/repos/community-x86_64/shadowsocks-libev.install (from rev 319765, shadowsocks-libev/trunk/shadowsocks-libev.install)
===================================================================
--- shadowsocks-libev.install (rev 0)
+++ shadowsocks-libev.install 2018-05-09 05:04:00 UTC (rev 319766)
@@ -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,cap_net_admin+ep usr/bin/ss-redir 2>/dev/null
+}
+
+post_upgrade() {
+ post_install "$1"
+}
Deleted: shadowsocks-libev at .service
===================================================================
--- shadowsocks-libev at .service 2018-05-09 05:03:22 UTC (rev 319765)
+++ shadowsocks-libev at .service 2018-05-09 05:04:00 UTC (rev 319766)
@@ -1,13 +0,0 @@
-[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-x86_64/shadowsocks-libev at .service (from rev 319765, shadowsocks-libev/trunk/shadowsocks-libev at .service)
===================================================================
--- shadowsocks-libev at .service (rev 0)
+++ shadowsocks-libev at .service 2018-05-09 05:04:00 UTC (rev 319766)
@@ -0,0 +1,13 @@
+[Unit]
+Description=Shadowsocks-Libev Client Service
+After=network-online.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
+
More information about the arch-commits
mailing list