"libexec/pinger", simply use "SPECIAL_PERMS". Now all three "squid" packages support user destination dir installation.
35 lines
992 B
Makefile
35 lines
992 B
Makefile
# $NetBSD: Makefile,v 1.18 2010/02/20 15:11:40 tron Exp $
|
|
|
|
DISTNAME= squid-3.1.0.16
|
|
PKGNAME= ${DISTNAME} # Necessary for "pkgsrc/www/squid/options.mk"
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.squid-cache.org/Versions/v3/3.1/ \
|
|
${SQUID_MASTER_SITES}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= tron@NetBSD.org
|
|
HOMEPAGE= http://www.squid-cache.org/
|
|
COMMENT= Post-Harvest_cached WWW proxy cache and accelerator
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= perl gmake
|
|
GNU_CONFIGURE= yes
|
|
|
|
.include "../../www/squid/Makefile.squid"
|
|
|
|
CONFIGURE_ARGS+= --with-default-user=${SQUID_USER}
|
|
CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/squid.pid
|
|
|
|
EGFILES+= errors/errorpage.css
|
|
CONF_FILES+= ${PREFIX}/${EGDIR}/errorpage.css ${PKG_SYSCONFDIR}/errorpage.css
|
|
|
|
SQUID_BACKENDS?= ufs
|
|
SQUID_NTLM_AUTH_HELPERS?= fakeauth
|
|
.include "../../www/squid/options.mk"
|
|
|
|
post-build:
|
|
${CP} -pf ${WRKSRC}/src/squid.conf.documented \
|
|
${WRKSRC}/src/squid.conf.default
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|