Date: Friday, December 20, 2013 @ 05:49:39
  Author: fyan
Revision: 102791

upgpkg: goagent 3.1.1-2

update permissions for /etc/goagent, and executable name changed to goagent

Modified:
  goagent/trunk/PKGBUILD
  goagent/trunk/goagent.service

-----------------+
 PKGBUILD        |   10 +++++-----
 goagent.service |    2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2013-12-20 03:19:02 UTC (rev 102790)
+++ PKGBUILD    2013-12-20 04:49:39 UTC (rev 102791)
@@ -5,7 +5,7 @@
 
 pkgname=goagent
 pkgver=3.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A gae proxy forked from gappproxy/wallproxy"
 arch=("any")
 url="http://goagent.googlecode.com";
@@ -25,14 +25,14 @@
 
   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 -Dm755 local/proxy.py "$pkgdir/usr/share/$pkgname/local/goagent"
   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"
+  install -Dm640 -g nobody local/proxy.ini "$pkgdir/etc/goagent"
+  ln -sf "/etc/goagent" "${pkgdir}/usr/share/$pkgname/local/goagent.ini"
   
   cp -r server "$pkgdir/usr/share/$pkgname/"
   rm "$pkgdir/usr/share/$pkgname/server/uploader.bat"
@@ -43,4 +43,4 @@
 
 # vim:set ts=2 sw=2 et:
 sha512sums=('SKIP'
-            
'b8f5f6342303edd520a577d0348deef7017ba79aa5c6f43c4e1c368d7b204f6364f4537f2a5e21f3b63a321bdcf3d407e5dea9883211c11a4d11801b057cddc2')
+            
'4327d5b874c5150296f9c027a60994853de1b68d4c4e32291a5c41c0e162ffbccf68b6208cbc096d099721b470e1df897ad61596d8ddd705543c15b58e9a0f7c')

Modified: goagent.service
===================================================================
--- goagent.service     2013-12-20 03:19:02 UTC (rev 102790)
+++ goagent.service     2013-12-20 04:49:39 UTC (rev 102791)
@@ -5,7 +5,7 @@
 [Service]
 Type=simple
 User=nobody
-ExecStart=/usr/share/goagent/local/proxy.py
+ExecStart=/usr/share/goagent/local/goagent
 
 [Install]
 WantedBy=multi-user.target

Reply via email to