8 January 2008: Polipo 1.0.4: * Fixed the handling of tunnels with a parent proxy (thanks to Richard Šputa). * Fixed a bug that could cause connections to be shut down when a server used the old (RFC 2068) semantics of ``100 Continue'' (thanks to Thomas Wiesel). * Fixed a crash when a request URL was larger than 10 kB (thanks to Fabian Keil). * Fixed a possible failure to read client requests larger than one chunk.
50 lines
1.6 KiB
Makefile
50 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2008/02/10 16:48:02 ishit Exp $
|
|
#
|
|
|
|
DISTNAME= polipo-1.0.4
|
|
CATEGORIES= www wip
|
|
MASTER_SITES= http://www.pps.jussieu.fr/~jch/software/files/polipo/
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.pps.jussieu.fr/~jch/software/polipo/
|
|
COMMENT= Small and fast caching web proxy
|
|
|
|
USE_TOOLS+= makeinfo install-info
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
# POLIPO_USER?= polipo
|
|
# POLIPO_GROUP?= polipo
|
|
# PKG_USERS_VARS+= POLIPO_USER
|
|
# PKG_GROUPS_VARS+= POLIPO_GROUP
|
|
|
|
RCD_SCRIPTS= polipo
|
|
|
|
MAKE_DIRS= ${VARBASE}/cache/polipo
|
|
# OWN_DIRS_PERMS+= ${VARBASE}/cache/polipo ${POLIPO_USER} ${POLIPO_GROUP} 0750
|
|
|
|
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}/polipo,g'
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/polipo/www etc/polipo
|
|
|
|
# PKG_GROUPS= ${POLIPO_GROUP}
|
|
# PKG_USERS= ${POLIPO_USER}:${POLIPO_GROUP}::polipo\ user
|
|
|
|
post-build:
|
|
${CP} ${WRKSRC}/polipo.man ${WRKSRC}/polipo.1
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${VARBASE}/cache/polipo
|
|
${INSTALL_PROGRAM} ${WRKSRC}/polipo ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/polipo.1 ${PREFIX}/${PKGMANDIR}/man1
|
|
install-info --info-dir=${PREFIX}/${PKGINFODIR} ${WRKSRC}/polipo.info
|
|
${INSTALL_DATA} ${WRKSRC}/*.sample ${PREFIX}/share/polipo
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/polipo
|
|
${INSTALL_DATA} ${WRKSRC}/html/* ${PREFIX}/share/polipo/www
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|