- (Minor) round-robin cache_dir selection incorrectly compares max-size - (Major) cbdata.c:186: "c->valid" assertion due to peer digest not found - (Major) Crash after ftpTimeout: timeout in SENT_PASV state - (Minor) Requests denied by http_reply_access are not logged with TCP_DENIED - (Minor) ie_refresh does not signal no-cache to peer caches - (Medium) Client Socket Buffer leak on reply_body_max_size - (Medium) Forward Host headers in place - (Medium) Memory leak in deny_info TCP_RESET - (Cosmetic) ERR_TOO_BIG Spanish translation - (Cosmetic) minimum_retry_timeout unused - (Minor) SNMP update of cachePeerPingsSent and cachePeerPingsAcked - (Cosmetic) store_check_cachable_stats slghtly misleading - (Minor) /etc/hosts and lines with comments after the host name - (Minor) sbrk as fallback method for high_memory_warning - (Minor) header_access fails when using peers - (Cosmetic) neighbor_type_domain documentation update - (Minor) issue warning if CARP load factor values decrease in the cache_peer list - (Cosmetic) Compile time warnings when using GCC-3.3 - (Minor) aufs Files queued for open counter mismatch - (Minor) external_acl does not wait for ident lookups to complete - (Minor) icmpRecv: recv: (11) Resource temporarily unavailable - (Cosmetic) Incorrect RFC reference regarding URL syntax - (Cosmetic) quote '%' character in logs - (Cosmetic) check open("/dev/null") return value for errors. - (Cosmetic) "cache_dir diskd" documentation update Not all of the pathces are new but updated one.
136 lines
4.6 KiB
Makefile
136 lines
4.6 KiB
Makefile
# $NetBSD: Makefile,v 1.88 2003/07/21 06:20:16 taca Exp $
|
|
|
|
DISTNAME= squid-2.5.STABLE3
|
|
PKGNAME= squid-2.5.3
|
|
PKGREVISION= 2
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.squid-cache.org/Versions/v2/2.5/ \
|
|
ftp://ftp.leo.org/pub/comp/general/infosys/www/daemons/squid/squid-2/STABLE/ \
|
|
ftp://ftp1.au.squid-cache.org/pub/squid/squid-2/STABLE/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
PATCH_SITES= http://www.squid-cache.org/Versions/v2/2.5/bugs/
|
|
PATCHFILES= squid-2.5.STABLE3-Lithuanian.patch \
|
|
squid-2.5.STABLE3-HttpHeaderTools.patch \
|
|
squid-2.5.STABLE3-deny_info.patch \
|
|
squid-2.5.STABLE3-cache_dir_doc.patch \
|
|
squid-2.5.STABLE3-devnull.patch \
|
|
squid-2.5.STABLE3-log_quote.patch \
|
|
squid-2.5.STABLE3-rfc_reference.patch \
|
|
squid-2.5.STABLE3-icmpRecv.patch \
|
|
squid-2.5.STABLE3-external_acl_ident.patch \
|
|
squid-2.5.STABLE3-aufs-openingfds.patch \
|
|
squid-2.5.STABLE3-gcc-3_3.patch \
|
|
squid-2.5.STABLE3-carpfactor.patch \
|
|
squid-2.5.STABLE3-neighbor_type_domain.patch \
|
|
squid-2.5.STABLE3-header_access_peer.patch \
|
|
squid-2.5.STABLE3-memwarnsbrk.patch \
|
|
squid-2.5.STABLE3-hostscomments.patch \
|
|
squid-2.5.STABLE3-store_check_cachable_stats.patch \
|
|
squid-2.5.STABLE3-cachePeerPingsSentsnmp.patch \
|
|
squid-2.5.STABLE3-minimum_retry_timeout.patch \
|
|
squid-2.5.STABLE3-ERR_TOO_BIG_Spanish.patch \
|
|
squid-2.5.STABLE3-tcp_reset_leak.patch \
|
|
squid-2.5.STABLE3-hostheader.patch \
|
|
squid-2.5.STABLE3-reply_body_max_size.patch \
|
|
squid-2.5.STABLE3-ie_refresh.patch \
|
|
squid-2.5.STABLE3-http_reply_access-denied.patch \
|
|
squid-2.5.STABLE3-SENT_PASV.patch \
|
|
squid-2.5.STABLE3-peer_digest_not_found_assertion.patch \
|
|
squid-2.5.STABLE3-round_robin_max_size.patch
|
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
MAINTAINER= taca@NetBSD.org
|
|
HOMEPAGE= http://www.squid-cache.org/
|
|
COMMENT= Post-Harvest_cached WWW proxy cache and accelerator
|
|
|
|
USE_PERL5= build
|
|
DIST_SUBDIR= squid-2.5.3
|
|
DOCDIR= ${PREFIX}/share/doc/squid
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/squid
|
|
|
|
DOCFILES= ChangeLog RELEASENOTES.html doc/debug-sections.txt
|
|
|
|
# Configuration directory location which can be overwritten by the user.
|
|
PKG_SYSCONFSUBDIR?= squid
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
USE_BUILDLINK2= yes
|
|
USE_PKGINSTALL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} \
|
|
--localstatedir=/var/squid \
|
|
${SQUID_CONFIGURE_ARGS}
|
|
CONFIGURE_ENV+= PERL=${PERL5}
|
|
|
|
BUILD_DEFS+= SQUID_CONFIGURE_ARGS
|
|
MAKE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
|
|
MAKE_ENV+= PKG_PREFIX="${PREFIX}"
|
|
PLIST_SRC= ${WRKDIR}/PLIST
|
|
RCD_SCRIPTS= squid
|
|
|
|
CONF_FILES+= ${EXAMPLESDIR}/mime.conf ${PKG_SYSCONFDIR}/mime.conf
|
|
CONF_FILES+= ${EXAMPLESDIR}/squid.conf ${PKG_SYSCONFDIR}/squid.conf
|
|
|
|
# Configuration options which can be overwritten by the user.
|
|
SQUID_CONFIGURE_ARGS?= --disable-internal-dns \
|
|
--enable-auth=basic,digest,ntlm \
|
|
--enable-cachemgr-hostname=localhost \
|
|
--enable-delay-pools \
|
|
--enable-removal-policies=lru,heap \
|
|
--enable-icmp \
|
|
--enable-ipf-transparent \
|
|
--enable-poll \
|
|
--enable-snmp \
|
|
--enable-ssl \
|
|
--with-openssl=${SSLBASE} \
|
|
--enable-underscores \
|
|
--enable-storeio=ufs,diskd,null \
|
|
--enable-basic-auth-helpers=getpwnam,winbind,SMB \
|
|
--enable-digest-auth-helpers=password \
|
|
--enable-external-acl-helpers=unix_group,ip_user,winbind_group \
|
|
--enable-ntlm-auth-helpers=winbind
|
|
|
|
OPTIONAL_FILES+= libexec/diskd libexec/dnsserver libexec/pinger libexec/unlinkd
|
|
OPTIONAL_FILES+= libexec/digest_pw_auth libexec/getpwname_auth
|
|
OPTIONAL_FILES+= libexec/ip_user_check libexec/smb_auth libexec/smb_auth.sh
|
|
OPTIONAL_FILES+= libexec/squid_unix_group libexec/wb_auth libexec/wb_group
|
|
OPTIONAL_FILES+= libexec/wb_ntlmauth man/man8/squid_unix_group.8
|
|
|
|
pre-install:
|
|
@${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/squid
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/squid/errors
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/squid/icons
|
|
|
|
post-install:
|
|
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
@cd ${WRKSRC}; \
|
|
for i in ${DOCFILES}; do \
|
|
${INSTALL_DATA} $$i ${DOCDIR}; \
|
|
done
|
|
@( \
|
|
for FILE in ${OPTIONAL_FILES}; do \
|
|
${TEST} ! -e ${PREFIX}/$$FILE || ${ECHO} $$FILE; \
|
|
done; \
|
|
cd ${WRKSRC}/errors; \
|
|
for i in *; do \
|
|
${TEST} -d $$i && \
|
|
(${LS} $$i/ERR_* | \
|
|
${SED} -e 's@^@share/squid/errors/@'; \
|
|
${ECHO} "@dirrm share/squid/errors/$$i"); \
|
|
done; \
|
|
${ECHO} "@dirrm share/squid/errors"; \
|
|
cd ${WRKSRC}/icons; \
|
|
ls anthony-*.gif | ${SED} -e 's@^@share/squid/icons/@'; \
|
|
${ECHO} "@dirrm share/squid/icons"; \
|
|
${ECHO} "share/squid/mib.txt"; \
|
|
${ECHO} "@dirrm share/squid" \
|
|
) >>${PLIST_SRC}
|
|
|
|
.include "../../security/openssl/buildlink2.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|