summaryrefslogtreecommitdiffstats
path: root/www/squid30
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-05-22 13:49:22 +0000
committerjylefort <jylefort@FreeBSD.org>2005-05-22 13:49:22 +0000
commit332288c338787f1a8383893292a3c4c6abe6c7fe (patch)
tree28ad9ae1ce47f1efbad16ae1404310cc67165685 /www/squid30
parent2337392a14140750c76cb1635e35abe7ae7994fa (diff)
downloadFreeBSD-ports-332288c338787f1a8383893292a3c4c6abe6c7fe.zip
FreeBSD-ports-332288c338787f1a8383893292a3c4c6abe6c7fe.tar.gz
- Read cachemgr.conf rather than cachemgr.conf.default
- Add a missing %SUBDIR% in MASTER_SITES PR: ports/81319 Submitted by: maintainer
Diffstat (limited to 'www/squid30')
-rw-r--r--www/squid30/Makefile7
-rw-r--r--www/squid30/files/patch-src-Makefile.in11
2 files changed, 6 insertions, 12 deletions
diff --git a/www/squid30/Makefile b/www/squid30/Makefile
index 7b8e614..56ffa6d 100644
--- a/www/squid30/Makefile
+++ b/www/squid30/Makefile
@@ -66,12 +66,13 @@
PORTNAME= squid
PORTVERSION= 2.5.10
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= \
ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \
ftp://ftp.unimelb.edu.au/pub/cwis/servers/unix/squid/%SUBDIR%/ \
ftp://sunsite.auc.dk/pub/infosystems/squid/%SUBDIR%/ \
- ftp://ftp.mirrorservice.org/sites/ftp.squid-cache.org/pub/ \
+ ftp://ftp.mirrorservice.org/sites/ftp.squid-cache.org/pub/%SUBDIR%/ \
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/www/squid/&,}
MASTER_SITE_SUBDIR= squid-2/STABLE
DISTNAME= squid-2.5.STABLE10
@@ -373,6 +374,10 @@ pre-su-install:
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-install:
+# Create cachemgr.conf.default manually since squid's install routine
+# unfortunately fails to do so:
+ ${INSTALL_DATA} ${WRKSRC}/src/cachemgr.conf \
+ ${PREFIX}/etc/squid/cachemgr.conf.default
.if defined(WITH_SQUID_PINGER)
${CHMOD} 4510 ${PREFIX}/libexec/squid/pinger; \
${CHGRP} ${SQUID_GID} ${PREFIX}/libexec/squid/pinger
diff --git a/www/squid30/files/patch-src-Makefile.in b/www/squid30/files/patch-src-Makefile.in
deleted file mode 100644
index e9b57d9..0000000
--- a/www/squid30/files/patch-src-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig Tue May 17 22:06:43 2005
-+++ src/Makefile.in Tue May 17 22:05:39 2005
-@@ -377,7 +377,7 @@
-
- DEFAULT_PREFIX = $(prefix)
- DEFAULT_CONFIG_FILE = $(sysconfdir)/squid.conf
--DEFAULT_CACHEMGR_CONFIG = $(sysconfdir)/cachemgr.conf
-+DEFAULT_CACHEMGR_CONFIG = $(sysconfdir)/cachemgr.conf.default
- DEFAULT_MIME_TABLE = $(sysconfdir)/mime.conf
- DEFAULT_DNSSERVER = $(libexecdir)/`echo dnsserver | sed '$(transform);s/$$/$(EXEEXT)/'`
- DEFAULT_LOG_PREFIX = $(localstatedir)/logs
OpenPOWER on IntegriCloud