> I'm at a loss here.  I've just checked that it works for me, for what it's
> worth.
> Are you running from git head?

No, I'm using Debian's package (the strace was for Debian stable's
1.1.1-5, but I got the same behavior from Debian testing's 1.1.1-7).

Maybe the Debian package uses a local patch that introduces this problem?
Tho, looking at the Debian package's source, there doesn't seem to be
any relevant changes (see patch below).

In any case, I'm satisfied to run Polipo with the default value of
localDocumentRoot, so it's not too terrible of a problem.  Still it is
puzzling, and it would be worth trying to track it down (and improve
the debug output along the way).


        Stefan


From: Denis V. Sirotkin <fech...@gmail.com>
Subject: Change description


---
 Makefile |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,8 @@
-PREFIX = /usr/local
+PREFIX = /usr
+TARGET = $(DESTDIR)
 BINDIR = $(PREFIX)/bin
-MANDIR = $(PREFIX)/man
-INFODIR = $(PREFIX)/info
+MANDIR = $(PREFIX)/share/man
+INFODIR = $(PREFIX)/share/info
 LOCAL_ROOT = /usr/share/polipo/www
 DISK_CACHE_ROOT = /var/cache/polipo
 
@@ -60,7 +61,7 @@
 
 DEFINES = $(FILE_DEFINES) $(PLATFORM_DEFINES)
 
-CFLAGS = $(MD5INCLUDES) $(CDEBUGFLAGS) $(DEFINES) $(EXTRA_DEFINES)
+override CFLAGS += $(MD5INCLUDES) $(CDEBUGFLAGS) $(DEFINES) $(EXTRA_DEFINES)
 
 SRCS = util.c event.c io.c chunk.c atom.c object.c log.c diskcache.c main.c \
        config.c local.c http.c client.c server.c auth.c tunnel.c \
@@ -99,7 +100,6 @@
 	mkdir -p $(TARGET)$(INFODIR)
 	cp -f polipo.man $(TARGET)$(MANDIR)/man1/polipo.1
 	cp polipo.info $(TARGET)$(INFODIR)/
-	install-info --info-dir=$(TARGET)$(INFODIR) polipo.info
 
 
 polipo.info: polipo.texi
From: Denis V. Sirotkin <fech...@gmail.com>
Subject: Change description


--- polipo-1.0.1.orig/config.sample
+++ polipo-1.0.1/config.sample
@@ -1,8 +1,7 @@
 # Sample configuration file for Polipo. -*-sh-*-
 
-# You should not need to use a configuration file; all configuration
-# variables have reasonable defaults.  If you want to use one, you
-# can copy this to /etc/polipo/config or to ~/.polipo and modify.
+# You should not need to edit this configuration file; all configuration
+# variables have reasonable defaults.
 
 # This file only contains some of the configuration variables; see the
 # list given by ``polipo -v'' and the manual for more.
@@ -17,11 +16,11 @@
 # proxyAddress = "::0"        # both IPv4 and IPv6
 # proxyAddress = "0.0.0.0"    # IPv4 only

-# If you do that, you'll want to restrict the set of hosts allowed to
-# connect:
+# If you are enabling 'proxyAddress' above, then you want to enable the
+# 'allowedClients' variable to the address of your network, e.g.
+# allowedClients = 127.0.0.1, 192.168.42.0/24
 
-# allowedClients = 127.0.0.1, 134.157.168.57
-# allowedClients = 127.0.0.1, 134.157.168.0/24
+# allowedClients = 127.0.0.1
 
 # Uncomment this if you want your Polipo to identify itself by
 # something else than the host name:
Author: Rolf Leggewie
Subject: change logfile to Debian default

Index: polipo/log.c
===================================================================
--- polipo.orig/log.c	2014-05-21 19:31:57.241940608 +0200
+++ polipo/log.c	2014-09-15 06:27:54.462997670 +0200
@@ -106,7 +106,7 @@
 initLog(void)
 {
     if(daemonise && logFile == NULL && !logSyslog)
-        logFile = internAtom("/var/log/polipo");
+        logFile = internAtom("/var/log/polipo/polipo.log");
 
     if(logFile != NULL && logFile->length > 0) {
         FILE *f;
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Polipo-users mailing list
Polipo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to