[arch-commits] Commit in goagent/repos/community-any (6 files)
Felix Yan
fyan at nymeria.archlinux.org
Sat Nov 2 13:11:23 UTC 2013
Date: Saturday, November 2, 2013 @ 14:11:23
Author: fyan
Revision: 100346
archrelease: copy trunk to community-any
Added:
goagent/repos/community-any/PKGBUILD
(from rev 100344, goagent/trunk/PKGBUILD)
goagent/repos/community-any/goagent.install
(from rev 100344, goagent/trunk/goagent.install)
goagent/repos/community-any/goagent.service
(from rev 100344, goagent/trunk/goagent.service)
Deleted:
goagent/repos/community-any/PKGBUILD
goagent/repos/community-any/goagent.install
goagent/repos/community-any/goagent.service
-----------------+
PKGBUILD | 91 +++++++++++++++++++++++++++---------------------------
goagent.install | 44 +++++++++++++-------------
goagent.service | 24 +++++++-------
3 files changed, 81 insertions(+), 78 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-11-02 13:11:06 UTC (rev 100345)
+++ PKGBUILD 2013-11-02 13:11:23 UTC (rev 100346)
@@ -1,44 +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.0.5
-pkgrel=3
-pkgdesc="A gae proxy forked from gappproxy/wallproxy"
-arch=("any")
-url="http://goagent.googlecode.com"
-license=("GPL2")
-depends=('python2' 'python2-pyopenssl')
-conflicts=('python2-gevent<0.99')
-optdepends=('python2-gevent-beta: for better performance')
-source=("https://github.com/goagent/goagent/archive/v$pkgver.tar.gz"
- "$pkgname.service")
-backup=('etc/goagent')
-install=goagent.install
-
-package() {
- cd "$srcdir/$pkgbase-$pkgver"
-
- sed -i -e "s|^#!/usr/bin/env python|#!/usr/bin/env python2|" local/proxy.py
-
- install -Dm755 local/proxy.py "$pkgdir/usr/share/$pkgname/local/proxy.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/etc/goagent"
- ln -sf "/etc/goagent" "${pkgdir}/usr/share/$pkgname/local/proxy.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=('0b9fc8dd0867cbddd7cda7162c544b6ea4919e0e34815f109b0a3b3a58b9f588dcdbdb89c01bd49cc87052e370a72bc8ac5d868514ca77a3e73952fcadd3e6ca'
- 'b8f5f6342303edd520a577d0348deef7017ba79aa5c6f43c4e1c368d7b204f6364f4537f2a5e21f3b63a321bdcf3d407e5dea9883211c11a4d11801b057cddc2')
Copied: goagent/repos/community-any/PKGBUILD (from rev 100344, goagent/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-11-02 13:11:23 UTC (rev 100346)
@@ -0,0 +1,47 @@
+# $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.0.5
+pkgrel=4
+pkgdesc="A gae proxy forked from gappproxy/wallproxy"
+arch=("any")
+url="http://goagent.googlecode.com"
+license=("GPL2")
+depends=('python2' 'python2-pyopenssl')
+conflicts=('python2-gevent<0.99')
+optdepends=('python2-gevent-beta: for better performance')
+source=("https://github.com/goagent/goagent/archive/v$pkgver.tar.gz"
+ "$pkgname.service"
+ https://raw.github.com/goagent/goagent/881cd53efba5aff4f94f5a9f69d1b4259786e705/local/proxy.ini)
+backup=('etc/goagent')
+install=goagent.install
+
+package() {
+ cd $pkgbase-$pkgver
+
+ sed -i -e "s|^#!/usr/bin/env python|#!/usr/bin/env python2|" local/proxy.py
+
+ install -Dm755 local/proxy.py "$pkgdir/usr/share/$pkgname/local/proxy.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/etc/goagent"
+ install -Dm644 ../proxy.ini "$pkgdir/etc/goagent"
+ ln -sf "/etc/goagent" "${pkgdir}/usr/share/$pkgname/local/proxy.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=('0b9fc8dd0867cbddd7cda7162c544b6ea4919e0e34815f109b0a3b3a58b9f588dcdbdb89c01bd49cc87052e370a72bc8ac5d868514ca77a3e73952fcadd3e6ca'
+ 'b8f5f6342303edd520a577d0348deef7017ba79aa5c6f43c4e1c368d7b204f6364f4537f2a5e21f3b63a321bdcf3d407e5dea9883211c11a4d11801b057cddc2'
+ '9903977f348101f76accaecc83bbec68daf87d9626a981d0bc42274d13c468d909513cd147910871173949d86395f702b689aab296c97a72ef9be73bddfd2a8a')
Deleted: goagent.install
===================================================================
--- goagent.install 2013-11-02 13:11:06 UTC (rev 100345)
+++ goagent.install 2013-11-02 13:11:23 UTC (rev 100346)
@@ -1,22 +0,0 @@
-post_install() {
- echo "Please use systemd units to start/stop goagent:"
- echo "sudo systemctl start/stop goagent"
-
- #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() {
- rm -rf /opt/goagent/local/certs
- rm -rf /usr/share/goagent/local/certs
-}
-
-pre_remove() {
- rm -rf /opt/goagent/local/certs
- rm -rf /usr/share/goagent/local/certs
-}
Copied: goagent/repos/community-any/goagent.install (from rev 100344, goagent/trunk/goagent.install)
===================================================================
--- goagent.install (rev 0)
+++ goagent.install 2013-11-02 13:11:23 UTC (rev 100346)
@@ -0,0 +1,22 @@
+post_install() {
+ echo "Please use systemd units to start/stop goagent:"
+ echo "sudo systemctl start/stop goagent"
+
+ #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() {
+ rm -rf /opt/goagent/local/certs
+ rm -rf /usr/share/goagent/local/certs
+}
+
+pre_remove() {
+ rm -rf /opt/goagent/local/certs
+ rm -rf /usr/share/goagent/local/certs
+}
Deleted: goagent.service
===================================================================
--- goagent.service 2013-11-02 13:11:06 UTC (rev 100345)
+++ goagent.service 2013-11-02 13:11:23 UTC (rev 100346)
@@ -1,12 +0,0 @@
-[Unit]
-Description=GoAgent Service
-After=network.target
-
-[Service]
-Type=simple
-User=nobody
-ExecStart=/usr/share/goagent/local/proxy.py
-
-[Install]
-WantedBy=multi-user.target
-
Copied: goagent/repos/community-any/goagent.service (from rev 100344, goagent/trunk/goagent.service)
===================================================================
--- goagent.service (rev 0)
+++ goagent.service 2013-11-02 13:11:23 UTC (rev 100346)
@@ -0,0 +1,12 @@
+[Unit]
+Description=GoAgent Service
+After=network.target
+
+[Service]
+Type=simple
+User=nobody
+ExecStart=/usr/share/goagent/local/proxy.py
+
+[Install]
+WantedBy=multi-user.target
+
More information about the arch-commits
mailing list