ChangeLog: 6 October 2007: Polipo 1.0.3 Changed the default for chunkMemory: it is now 24 MB or one-quarter of physical memory, whichever is smaller. Support for logging to syslog (thanks to Nix). Made atom reference counts 32-bit longs; this should fix problems that people were seeing when running Polipo with humongous in-memory caches. Added Git, Jabber and CVS to default tunnelAllowedPorts. Fixed a bug that could cause URL matching to fail when using anchored regular expressions (thanks to phuel). 26 August 2007: Polipo 1.0.2: Fixed a crash that could happen with entities more than 2GB in size. Such entities are still not supported, but Polipo should no longer crash. Minor HTTP compliance fixes, due to testing with Co-Advisor. Fixed a crash that would happen when a POST request was aborted by the server. Reported by Tero Pelander. Worked around a DNS-related bug that I'm unable to track down, waiting for a proper fix. 25 June 2007: Polipo 1.0.1: Made Polipo slightly more aggressive when speaking to HTTP/1.0 servers (thanks to Fabian Keil for noticing that). Fixed a crash that would happen when a client used Cache-Control: only-if-cached, and the object was not in cache. (Reported by F. Zappa, A. Patala and V. Ghosal.) Fixed a descriptor leak when running under Windows. Made Polipo optionally drop connections after servicing a number of connections (maxConnectionAge and maxConnectionRequests). Add files/polipo.sh.
32 lines
643 B
Bash
32 lines
643 B
Bash
#!@RCD_SCRIPTS_SHELL@
|
|
#
|
|
# $NetBSD: polipo.sh,v 1.1 2008/02/09 21:27:38 ishit Exp $
|
|
#
|
|
# PROVIDE: polipo
|
|
# REQUIRE: DAEMON
|
|
#
|
|
|
|
if [ -f /etc/rc.subr ]; then
|
|
. /etc/rc.subr
|
|
fi
|
|
|
|
name="polipo"
|
|
rcvar="${name}"
|
|
command="@PREFIX@/bin/${name}"
|
|
command_args="-c @PKG_SYSCONFDIR@/polipo/config daemonise=true"
|
|
required_files="@PKG_SYSCONFDIR@/polipo/config"
|
|
start_cmd=polipo_start
|
|
purge_cmd="${command} -x"
|
|
extra_commands="purge"
|
|
|
|
polipo_start() {
|
|
eval "${command} ${command_args}"
|
|
}
|
|
|
|
if [ -f /etc/rc.subr -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]; then
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|
|
else
|
|
@ECHO@ -n " ${name}"
|
|
${command} ${command_args}
|
|
fi
|