72c268e7aa
Changelog: 14 May 2014: Polipo 1.1.1: * Fix a typo that would cause a crash when connecting to a SOCKS server identified by a DNS CNAME. Thanks to soflare. * Fix a typo that could cause an infinite loop when tunnelling. Thanks to xnoreq for the extensive debugging session. * Fix incorrect error handling that would cause a crash when sending PUT or POST to the local server. * Various improvements to the Windows port. Thanks to xnoreq. 14 April 2014: Polipo 1.1.0: * Proper va_list handling for AMD64 and other RISC-like architectures (Juliusz Chroboczek and Aleksandar Kuktin). * Implemented work-around for broken Content-Range headers. * Use 1024 instead of 32 as the length of the listen queue. * Implemented the ability to control the permissions set on the log file. * Implemented the ability to scrub private information from logs. * Fixed a bug that could cause incorrect logging to syslog (thanks to Sami Farin). * Tweaked the portable version of mktime_gmt. This will hopefully fix the time issues on Windows. Thanks to MaxWell and Greg. * Changed chunk allocator to use larger arenas on 64-bit arches. * Fixed a bug that could prevent saving objects on disk. Thanks to Ming Fu. * Fixed a bug that could prevent parsing large headers. Thanks to Ming Fu. * Fixed an issue that could cause crash messages to go into the disk cache. * Fixed a bug that could cause the default chunk memory to be incorrect on FreeBSD machines. Thanks to Frank Behrens. * Fixed a number of bugs in the validation of Range requests. Thanks to Ken Brazier. * Inhibited range requests for non-200 instances, as this breaks some client software. Thanks to Ken Brazier. * Fix a integer overflow in processing client requests. * Implement authentication on tunnelled connections. Thanks to Stephen Dolan. * Implement ability to include Cache-Control: no-transform in all requests. Thanks to Nick Osborn. * Fix a bug in the DNS code that would cause us to ignore CNAMES after a DNS timeout. * Fixed a crash that occurs when a server sends a malformed Cache-Control: header (CVE-2009-3305). Thanks to Stefan Fritsch. * Removed support for read-only caches. Nobody ever used it. * Changed the default value of diskCacheWriteoutOnClose to 64kB. * Cleaned up naming of Windows support functions. Thanks to Honglei Jiang. * Added support for forbidden tunnels (thanks to Richard Zidlicky). * Fixed a bug that prevented parsing of extremely long literal IPv6 addresses (thanks to Jan Braun). * Added support for DOS-style absolute pathnames. Thanks to Gisle Vanem. * Fixed a bug that could cause infinite revalidation loops. Thanks to David Rothlisberger. * Fixed a bug that could provide incorrect caching information to clients. Thanks to William Manley. * Support MSVC 2010. Thanks to Greg Hazel. * Work-around buggy clients that send HTTP:// in uppercase. Thanks to David Rothlisberger. * Save Cache-Control values to the disk cache. Thanks to Ruben Alleres. * Allow ~ in logFile. Thanks to P.J. Hades. * Fixed a bug that could cause infinite revalidation loops with servers that perform sloppy packetisation (IIS, I'm looking at you). * Fail expectations on the local interface. This might or might not be what CVE-2011-3596 is about, difficult to say since nobody is speaking to me.
58 lines
1.9 KiB
Makefile
58 lines
1.9 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2012/10/05 13:52:02 asau Exp $
|
|
#
|
|
|
|
GITHUB_PROJECT= polipo
|
|
DISTNAME= polipo-1.1.1
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=jech/}
|
|
GITHUB_TAG= ${DISTNAME}
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/
|
|
COMMENT= Small and fast caching web proxy
|
|
|
|
USE_TOOLS+= makeinfo
|
|
|
|
INFO_FILES= # PLIST
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
# POLIPO_USER?= polipo
|
|
# POLIPO_GROUP?= polipo
|
|
# PKG_USERS_VARS+= POLIPO_USER
|
|
# PKG_GROUPS_VARS+= POLIPO_GROUP
|
|
|
|
MAKE_DIRS= ${VARBASE}/cache/polipo ${VARBASE}/log/polipo
|
|
MAKE_DIRS+= ${VARBASE}/run/polipo
|
|
# MAKE_DIRS_PERMS+= ${VARBASE}/cache/polipo ${POLIPO_USER} ${POLIPO_GROUP} 0750
|
|
# MAKE_DIRS_PERMS+= ${VARBASE}/log/polipo ${POLIPO_USER} ${POLIPO_GROUP} 0755
|
|
# MAKE_DIRS_PERMS+= ${VARBASE}/run/polipo ${POLIPO_USER} ${POLIPO_GROUP} 0755
|
|
|
|
PKG_SYSCONFSUBDIR= polipo
|
|
CONF_FILES= ${PREFIX}/share/polipo/config.sample ${PKG_SYSCONFDIR}/config
|
|
|
|
RCD_SCRIPTS= polipo
|
|
|
|
SUBST_CLASSES+= fix-paths
|
|
SUBST_STAGE.fix-paths= pre-configure
|
|
SUBST_MESSAGE.fix-paths= Fixing absolute paths.
|
|
SUBST_FILES.fix-paths= Makefile *.sample polipo.man polipo.texi *.c
|
|
SUBST_SED.fix-paths= -e 's,/usr/local,${PREFIX},g'
|
|
SUBST_SED.fix-paths+= -e 's,/var/cache,${VARBASE}/cache,g'
|
|
SUBST_SED.fix-paths+= -e 's,/etc/polipo,${PKG_SYSCONFDIR},g'
|
|
SUBST_SED.fix-paths+= -e 's,/var/log/polipo,/var/log/polipo/polipo.log,g'
|
|
|
|
INSTALLATION_DIRS= bin info ${PKGMANDIR}/man1 share/polipo/www
|
|
|
|
post-build:
|
|
${CP} ${WRKSRC}/polipo.man ${WRKSRC}/polipo.1
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/polipo ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/polipo.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
${INSTALL_DATA} ${WRKSRC}/*.sample ${DESTDIR}${PREFIX}/share/polipo
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/polipo
|
|
${INSTALL_DATA} ${WRKSRC}/html/* ${DESTDIR}${PREFIX}/share/polipo/www
|
|
${INSTALL_DATA} ${WRKSRC}/polipo.info ${DESTDIR}${PREFIX}/info
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|