[SCM] BOINC packaging branch, SZTAKI, updated. debian/6.10.17+dfsg-3-304-g49bc864
Steffen Moeller
moeller at debian.org
Sun Jun 12 22:14:00 UTC 2011
The following commit has been merged in the SZTAKI branch:
commit 49bc864f3fb4fc1c8eedb8acf38ef915c45d1da4
Author: Steffen Moeller <moeller at debian.org>
Date: Mon Jun 13 00:13:32 2011 +0200
Added patch pointing to GeoIP location.
diff --git a/debian/patches/local_sztaki_GeoIP_location.patch b/debian/patches/local_sztaki_GeoIP_location.patch
new file mode 100644
index 0000000..958374a
--- /dev/null
+++ b/debian/patches/local_sztaki_GeoIP_location.patch
@@ -0,0 +1,13 @@
+Index: boinc/html/inc/countries.inc
+===================================================================
+--- boinc.orig/html/inc/countries.inc 2011-06-13 00:12:49.000000000 +0200
++++ boinc/html/inc/countries.inc 2011-06-13 00:12:58.000000000 +0200
+@@ -478,7 +478,7 @@
+ require_once("../inc/geoip.inc");
+
+ //See if we can find the user's country and select it as default:
+- $gi = geoip_open("../inc/GeoIP.dat",GEOIP_STANDARD);
++ $gi = geoip_open("/usr/share/GeoIP/GeoIP.dat",GEOIP_STANDARD);
+ $geoip_country = geoip_country_name_by_addr($gi,$_SERVER["REMOTE_ADDR"]);
+ geoip_close($gi);
+
diff --git a/debian/patches/series b/debian/patches/series
index 7deaeda..467f358 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+local_sztaki_GeoIP_location.patch
upstream_sztaki_Help_Function_Declaration_with_void.patch
local_sztaki_NoWriteFcgiWithHostinfo.patch
local_sztaki_m4_libcurl_update.patch
--
BOINC packaging
More information about the pkg-boinc-commits
mailing list