[arch-commits] Commit in goagent/repos (9 files)

Felix Yan fyan at nymeria.archlinux.org
Mon Jun 9 15:41:42 UTC 2014


    Date: Monday, June 9, 2014 @ 17:41:42
  Author: fyan
Revision: 112928

archrelease: copy trunk to community-testing-any

Added:
  goagent/repos/community-testing-any/
  goagent/repos/community-testing-any/PKGBUILD
    (from rev 112927, goagent/trunk/PKGBUILD)
  goagent/repos/community-testing-any/goagent.install
    (from rev 112927, goagent/trunk/goagent.install)
  goagent/repos/community-testing-any/goagent.service
    (from rev 112927, goagent/trunk/goagent.service)
  goagent/repos/community-testing-any/goagent.user.ini
    (from rev 112927, goagent/trunk/goagent.user.ini)
Deleted:
  goagent/repos/community-testing-any/PKGBUILD
  goagent/repos/community-testing-any/goagent.install
  goagent/repos/community-testing-any/goagent.service
  goagent/repos/community-testing-any/goagent.user.ini

---------------------------------------+
 /PKGBUILD                             |   58 ++++++++++++++++++++++++++++++++
 /goagent.install                      |   21 +++++++++++
 /goagent.service                      |   12 ++++++
 community-testing-any/PKGBUILD        |   58 --------------------------------
 community-testing-any/goagent.install |   21 -----------
 community-testing-any/goagent.service |   12 ------
 6 files changed, 91 insertions(+), 91 deletions(-)

Deleted: community-testing-any/PKGBUILD
===================================================================
--- community-testing-any/PKGBUILD	2014-06-08 08:36:12 UTC (rev 112818)
+++ community-testing-any/PKGBUILD	2014-06-09 15:41:42 UTC (rev 112928)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: cuihao <cuihao dot leo at gmail dot com>
-# Contributor: Guten <ywzhaifei at gmail.com> 
-
-pkgname=goagent
-pkgver=3.1.17
-pkgrel=1
-pkgdesc="A gae proxy forked from gappproxy/wallproxy"
-arch=("any")
-url="http://goagent.googlecode.com"
-license=("GPL2")
-depends=('python2' 'python2-pyopenssl' 'python2-gevent' 'python2-dnslib')
-conflicts=('python2-gevent<0.99')
-optdepends=('python2-crypto: Optimization for RC4'
-            'python2-pacparser: PAC proxy support'
-            'python2-pygeoip: for GAE Regions mode support & DNS region auto detect')
-makedepends=('git')
-source=("git+https://github.com/goagent/goagent.git#tag=v$pkgver"
-        "${pkgname}.user.ini"
-        "${pkgname}.service")
-backup=('etc/goagent')
-install=goagent.install
-
-prepare() {
-  cd $pkgname
-
-  sed -e "s|^#!/usr/bin/env python|#!/usr/bin/env python2|" \
-      -i local/{proxy.py,dnsproxy.py}
-  sed -e 's|^    geoip = .*)\( if.*\)$|    geoip = pygeoip.GeoIP("/usr/share/GeoIP/GeoIP.dat")\1|' \
-      -i local/proxy.py
-}
-
-package() {
-  cd $pkgname
-
-  install -Dm755 local/proxy.py "$pkgdir/usr/share/$pkgname/local/goagent"
-  install -Dm755 local/dnsproxy.py "$pkgdir/usr/share/$pkgname/local/dnsproxy.py"
-  install -Dm644 local/proxy.pac "$pkgdir/usr/share/$pkgname/local/proxy.pac"
-  install -Dm644 local/cacert.pem "$pkgdir/usr/share/$pkgname/local/cacert.pem"
-  install -Dm644 local/SwitchyOptions.bak "$pkgdir/usr/share/$pkgname/local/SwitchyOptions.bak"
-  install -Dm644 local/SwitchySharp.crx "$pkgdir/usr/share/$pkgname/local/SwitchySharp_1_9_52.crx"
-
-  install -Dm644 local/proxy.ini "$pkgdir/usr/share/$pkgname/local/goagent.ini"
-  install -Dm640 -g nobody ../goagent.user.ini "$pkgdir/etc/goagent"
-  ln -sf "/etc/goagent" "${pkgdir}/usr/share/$pkgname/local/goagent.user.ini"
-  
-  cp -r server "$pkgdir/usr/share/$pkgname/"
-  rm "$pkgdir/usr/share/$pkgname/server/uploader.bat"
-
-  # systemd service
-  install -Dm644 "${srcdir}/goagent.service" "${pkgdir}/usr/lib/systemd/system/goagent.service"
-}
-
-# vim:set ts=2 sw=2 et:
-sha512sums=('SKIP'
-            'cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e'
-            '4327d5b874c5150296f9c027a60994853de1b68d4c4e32291a5c41c0e162ffbccf68b6208cbc096d099721b470e1df897ad61596d8ddd705543c15b58e9a0f7c')

Copied: goagent/repos/community-testing-any/PKGBUILD (from rev 112927, goagent/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2014-06-09 15:41:42 UTC (rev 112928)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: cuihao <cuihao dot leo at gmail dot com>
+# Contributor: Guten <ywzhaifei at gmail.com> 
+
+pkgname=goagent
+pkgver=3.1.18
+pkgrel=1
+pkgdesc="A gae proxy forked from gappproxy/wallproxy"
+arch=("any")
+url="http://goagent.googlecode.com"
+license=("GPL2")
+depends=('python2' 'python2-pyopenssl' 'python2-gevent' 'python2-dnslib')
+conflicts=('python2-gevent<0.99')
+optdepends=('python2-crypto: Optimization for RC4'
+            'python2-pacparser: PAC proxy support'
+            'python2-pygeoip: for GAE Regions mode support & DNS region auto detect')
+makedepends=('git')
+source=("git+https://github.com/goagent/goagent.git#tag=v$pkgver"
+        "${pkgname}.user.ini"
+        "${pkgname}.service")
+backup=('etc/goagent')
+install=goagent.install
+
+prepare() {
+  cd $pkgname
+
+  sed -e "s|^#!/usr/bin/env python|#!/usr/bin/env python2|" \
+      -i local/{proxy.py,dnsproxy.py}
+  sed -e 's|^    geoip = .*)\( if.*\)$|    geoip = pygeoip.GeoIP("/usr/share/GeoIP/GeoIP.dat")\1|' \
+      -i local/proxy.py
+}
+
+package() {
+  cd $pkgname
+
+  install -Dm755 local/proxy.py "$pkgdir/usr/share/$pkgname/local/goagent"
+  install -Dm755 local/dnsproxy.py "$pkgdir/usr/share/$pkgname/local/dnsproxy.py"
+  install -Dm644 local/proxy.pac "$pkgdir/usr/share/$pkgname/local/proxy.pac"
+  install -Dm644 local/cacert.pem "$pkgdir/usr/share/$pkgname/local/cacert.pem"
+  install -Dm644 local/SwitchyOptions.bak "$pkgdir/usr/share/$pkgname/local/SwitchyOptions.bak"
+  install -Dm644 local/SwitchySharp.crx "$pkgdir/usr/share/$pkgname/local/SwitchySharp_1_9_52.crx"
+
+  install -Dm644 local/proxy.ini "$pkgdir/usr/share/$pkgname/local/goagent.ini"
+  install -Dm640 -g nobody ../goagent.user.ini "$pkgdir/etc/goagent"
+  ln -sf "/etc/goagent" "${pkgdir}/usr/share/$pkgname/local/goagent.user.ini"
+  
+  cp -r server "$pkgdir/usr/share/$pkgname/"
+  rm "$pkgdir/usr/share/$pkgname/server/uploader.bat"
+
+  # systemd service
+  install -Dm644 "${srcdir}/goagent.service" "${pkgdir}/usr/lib/systemd/system/goagent.service"
+}
+
+# vim:set ts=2 sw=2 et:
+sha512sums=('SKIP'
+            'cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e'
+            '4327d5b874c5150296f9c027a60994853de1b68d4c4e32291a5c41c0e162ffbccf68b6208cbc096d099721b470e1df897ad61596d8ddd705543c15b58e9a0f7c')

Deleted: community-testing-any/goagent.install
===================================================================
--- community-testing-any/goagent.install	2014-06-08 08:36:12 UTC (rev 112818)
+++ community-testing-any/goagent.install	2014-06-09 15:41:42 UTC (rev 112928)
@@ -1,21 +0,0 @@
-post_install() {
-    echo "From 3.1.2-2, /etc/goagent becomes user configuration for goagent. Put any customization there, not the default settings. For details, please refer to wiki: https://wiki.archlinux.org/index.php?title=GoAgent_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)"
-    
-    #cd /opt/goagent/local
-    #python2 -c 'from proxy import CertUtil; CertUtil.check_ca()'
-    chown -R nobody:daemon /usr/share/goagent/local
-}
-
-post_upgrade() {
-    post_install
-}
-
-pre_upgrade() {
-    # Disable certs cleaning until some more issue detected
-    #rm -rf /usr/share/goagent/local/certs
-    :
-}
-
-pre_remove() {
-    rm -rf /usr/share/goagent/local/certs
-}

Copied: goagent/repos/community-testing-any/goagent.install (from rev 112927, goagent/trunk/goagent.install)
===================================================================
--- community-testing-any/goagent.install	                        (rev 0)
+++ community-testing-any/goagent.install	2014-06-09 15:41:42 UTC (rev 112928)
@@ -0,0 +1,21 @@
+post_install() {
+    echo "From 3.1.2-2, /etc/goagent becomes user configuration for goagent. Put any customization there, not the default settings. For details, please refer to wiki: https://wiki.archlinux.org/index.php?title=GoAgent_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)"
+    
+    #cd /opt/goagent/local
+    #python2 -c 'from proxy import CertUtil; CertUtil.check_ca()'
+    chown -R nobody:daemon /usr/share/goagent/local
+}
+
+post_upgrade() {
+    post_install
+}
+
+pre_upgrade() {
+    # Disable certs cleaning until some more issue detected
+    #rm -rf /usr/share/goagent/local/certs
+    :
+}
+
+pre_remove() {
+    rm -rf /usr/share/goagent/local/certs
+}

Deleted: community-testing-any/goagent.service
===================================================================
--- community-testing-any/goagent.service	2014-06-08 08:36:12 UTC (rev 112818)
+++ community-testing-any/goagent.service	2014-06-09 15:41:42 UTC (rev 112928)
@@ -1,12 +0,0 @@
-[Unit]
-Description=GoAgent Service
-After=network.target
-
-[Service]
-Type=simple
-User=nobody
-ExecStart=/usr/share/goagent/local/goagent
-
-[Install]
-WantedBy=multi-user.target
-

Copied: goagent/repos/community-testing-any/goagent.service (from rev 112927, goagent/trunk/goagent.service)
===================================================================
--- community-testing-any/goagent.service	                        (rev 0)
+++ community-testing-any/goagent.service	2014-06-09 15:41:42 UTC (rev 112928)
@@ -0,0 +1,12 @@
+[Unit]
+Description=GoAgent Service
+After=network.target
+
+[Service]
+Type=simple
+User=nobody
+ExecStart=/usr/share/goagent/local/goagent
+
+[Install]
+WantedBy=multi-user.target
+

Deleted: community-testing-any/goagent.user.ini
===================================================================
Copied: goagent/repos/community-testing-any/goagent.user.ini (from rev 112927, goagent/trunk/goagent.user.ini)
===================================================================



More information about the arch-commits mailing list