1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

The port installation fails during brand new installs, e.g not upgrades,

because of a missing file. This patch addresses this and adds an
alternative master site.

PR:		36875
Submitted by:	Dan Larsson  <ports@tyfon.net>
This commit is contained in:
Cy Schubert 2002-05-21 13:21:37 +00:00
parent c1875f8c3a
commit 44a4dcd15b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59621

View File

@ -9,12 +9,11 @@ PORTNAME= squidGuard
PORTVERSION= 1.2.0
CATEGORIES= www
MASTER_SITES= http://ftp.ost.eltele.no/pub/www/proxy/squidGuard/ \
ftp://ftp.ost.eltele.no/pub/www/proxy/squidGuard/
ftp://ftp.ost.eltele.no/pub/www/proxy/squidGuard/ \
http://web01.ux.tyfon.net/ports/distfiles/
MAINTAINER= ports@tyfon.net
BROKEN= "Does not install cleanly"
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb3.so.2:${PORTSDIR}/databases/db3
RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid24
@ -97,8 +96,6 @@ pre-install:
${CHOWN} -R ${SQUID_UID}:${SQUID_GID} ${DATADIR} ; \
${FIND} ${DATADIR} -type f -name *.db -exec ${CHMOD} 660 {} \; ; \
${ECHO_MSG} " -> Blacklist databases installed in: ${DATADIR}" ; \
${ECHO_MSG} " -> Be sure to check \"${LOGDIR}/${PORTNAME}.log\" for any errors" ; \
${CHOWN} ${SQUID_UID}:${SQUID_GID} ${LOGDIR}/${PORTNAME}.log ; \
else \
${ECHO_MSG} "===> Existing configuration file found - blacklist databases not created" ; \
fi