summaryrefslogtreecommitdiffstats
path: root/www/squid30
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-01-09 13:37:54 +0000
committerjylefort <jylefort@FreeBSD.org>2006-01-09 13:37:54 +0000
commita67ef1d886c6d49a2d5de47ceb31e99a3298b899 (patch)
tree8e27862df0ef8d11d4802614c911f00aae0cc5c4 /www/squid30
parent92547c536599a040ac9bd2872ba6950da16d6d11 (diff)
downloadFreeBSD-ports-a67ef1d886c6d49a2d5de47ceb31e99a3298b899.zip
FreeBSD-ports-a67ef1d886c6d49a2d5de47ceb31e99a3298b899.tar.gz
Rename the rc script back to squid.sh, since some versions of
/etc/rc.d/localpkg only run scripts ending in .sh PR: ports/91387 Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>, maintainer
Diffstat (limited to 'www/squid30')
-rw-r--r--www/squid30/Makefile8
-rw-r--r--www/squid30/pkg-install4
2 files changed, 5 insertions, 7 deletions
diff --git a/www/squid30/Makefile b/www/squid30/Makefile
index 6151e7e..08f5725 100644
--- a/www/squid30/Makefile
+++ b/www/squid30/Makefile
@@ -73,7 +73,7 @@
PORTNAME= squid
PORTVERSION= 2.5.12
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= \
ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \
@@ -132,7 +132,7 @@ OPTIONS= SQUID_LDAP_AUTH "Install LDAP authentication helpers" off \
SQUID_STACKTRACES "Create backtraces on fatal errors" off \
SQUID_RCNG "Install an rcNG startup script" on
-etc_files= rc.d/squid${rc_suffix} squid/cachemgr.conf.default \
+etc_files= rc.d/squid.sh squid/cachemgr.conf.default \
squid/mib.txt squid/mime.conf.default \
squid/msntauth.conf.default squid/squid.conf.default
@@ -317,11 +317,9 @@ STRIP= ""
USE_RC_SUBR= yes
rc_del= rcold
rc_state= rcng
-rc_suffix=
.else
rc_del= rcng
rc_state= rcold
-rc_suffix= .sh
.endif
# Languages:
@@ -388,7 +386,7 @@ post-install:
${CHMOD} 4510 ${PREFIX}/libexec/squid/pinger; \
${CHGRP} ${SQUID_GID} ${PREFIX}/libexec/squid/pinger
.endif
- ${INSTALL_SCRIPT} ${WRKDIR}/squid.sh ${PREFIX}/etc/rc.d/squid${rc_suffix}
+ ${INSTALL_SCRIPT} ${WRKDIR}/squid.sh ${PREFIX}/etc/rc.d/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${docs} ${DOCSDIR}
diff --git a/www/squid30/pkg-install b/www/squid30/pkg-install
index 2fe7823..b277f08 100644
--- a/www/squid30/pkg-install
+++ b/www/squid30/pkg-install
@@ -147,13 +147,13 @@ POST-INSTALL)
echo " initialize the cache directory by running \"squid -z\""
echo " as 'root' or '${squid_user}' before starting squid."
echo ""
- echo " Please note that ${PKG_PREFIX}/etc/rc.d/squid is a"
+ echo " Please note that ${PKG_PREFIX}/etc/rc.d/squid.sh is a"
echo " new style rc script. This means that squid will not"
echo " start automatically at boot time."
echo ""
echo " To enable squid, set squid_enable=yes in either"
echo " /etc/rc.conf, /etc/rc.conf.local or /etc/rc.conf.d/squid"
- echo " See ${PKG_PREFIX}/etc/rc.d/squid for more"
+ echo " See ${PKG_PREFIX}/etc/rc.d/squid.sh for more"
echo " configuration options."
echo ""
echo " If you want the port to install an old style rc script, run"
OpenPOWER on IntegriCloud