Date: Saturday, July 26, 2014 @ 11:34:54
  Author: fyan
Revision: 116364

upgpkg: goagent 3.1.20-2

Modified:
  goagent/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-07-26 09:18:00 UTC (rev 116363)
+++ PKGBUILD    2014-07-26 09:34:54 UTC (rev 116364)
@@ -6,7 +6,7 @@
 pkgname=goagent
 pkgver=3.1.20
 #_commit=0772f4ecb4c825d556801d1ba418ca2d1ea37971
-pkgrel=1
+pkgrel=2
 pkgdesc="A gae proxy forked from gappproxy/wallproxy"
 arch=("any")
 url="http://goagent.googlecode.com";
@@ -29,8 +29,8 @@
 
   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
+  sed -e 's|^            self.geoip = .*$|            self.geoip = 
pygeoip.GeoIP("/usr/share/GeoIP/GeoIP.dat")|' \
+      -i local/proxylib.py
 }
 
 package() {
@@ -38,6 +38,7 @@
 
   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/proxylib.py 
"$pkgdir/usr/share/$pkgname/local/proxylib.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"

Reply via email to