Date: Fri, 6 Jan 2006 15:30:09 GMT From: Thomas-Martin Seck <tmseck@netcologne.de> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/91387: startup script of www/squid is not run. Message-ID: <200601061530.k06FU9K5000809@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/91387; it has been noted by GNATS. From: Thomas-Martin Seck <tmseck@netcologne.de> To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/91387: startup script of www/squid is not run. Date: Fri, 6 Jan 2006 16:22:54 +0100 Sorry for the breakage, I tried to be too smart and assumed that this would work even on non-RELENG_6 systems. That will teach me to test this kind of changes thoroughly on all supported branches. Please apply this patch: Index: pkg-install =================================================================== --- pkg-install (.../www/squid) (revision 659) +++ pkg-install (.../local/squid) (revision 659) @@ -147,13 +147,13 @@ 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" Index: Makefile =================================================================== --- Makefile (.../www/squid) (revision 659) +++ Makefile (.../local/squid) (revision 659) @@ -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 @@ 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 @@ 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 @@ ${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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601061530.k06FU9K5000809>