[Popcon-commits] cvs commit to popularity-contest by ballombe

ballombe at cvs.alioth.debian.org ballombe at cvs.alioth.debian.org
Tue Jan 8 17:01:46 UTC 2008


Update of /cvsroot/popcon/popularity-contest
In directory alioth:/tmp/cvs-serv17058

Modified Files:
	FAQ default.conf 
Log Message:
Add support for HTTP_PROXY


Index: FAQ
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/FAQ,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- FAQ	30 Nov 2007 10:38:44 -0000	1.15
+++ FAQ	8 Jan 2008 17:01:43 -0000	1.16
@@ -81,6 +81,15 @@
 
   dpkg-reconfigure popularity-contest
 
+Q) How can I specify a HTTP proxy server for the HTTP submission ?
+
+Popularity-contest honors the environment variable http_proxy that you can
+set in /etc/environment. Alternatively you can specify a proxy server
+specifically for popularity-contest by adding a line 
+
+HTTP_PROXY="http://<proxy hostname>:<port>"
+to /etc/popularity-contest.conf.
+
 Q) How can I convert the timestamps in the popcon report to human-readable 
 dates ?
 

Index: default.conf
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/default.conf,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- default.conf	29 Jul 2006 07:35:40 -0000	1.5
+++ default.conf	8 Jan 2008 17:01:44 -0000	1.6
@@ -35,6 +35,10 @@
 # USEHTTP enables http reporting.   Set this to 'yes' to enable it.
 USEHTTP="yes"
 
+# HTTP_PROXY allows to specify an HTTP proxy server, the syntax is
+# HTTP_PROXY="http://proxy:port". This overrides the environment
+# variable http_proxy.
+
 # MY_HOSTID is a secret number that the popularity-contest receiver
 # uses to keep track of your submissions.  Whenever you send in a
 # new entry, it overwrites the last one that had the same HOSTID.




More information about the Popcon-commits mailing list