From 3ec825c8b5f892614e80d8e8108e70e0680b93d5 Mon Sep 17 00:00:00 2001 From: olgeni Date: Fri, 31 Aug 2001 14:03:02 +0000 Subject: Misc. fixes: * Sort pkg-plist * Replace %B%f with %B/%f (%B does not contain the trailing '/') * Rewrote tests using || rather than &&. With &&, if the condition fails then the test returns false, and sysinstall's pkg_add would fail at install time. --- www/squid30/pkg-plist | 74 +++++++++++++++++++++++++-------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) (limited to 'www/squid30') diff --git a/www/squid30/pkg-plist b/www/squid30/pkg-plist index 449d9cc..f4bc8ff 100644 --- a/www/squid30/pkg-plist +++ b/www/squid30/pkg-plist @@ -1,38 +1,4 @@ etc/rc.d/squid.sh -etc/squid/mib.txt -etc/squid/squid.conf.default -@exec [ ! if -f %B/squid.conf ] && cp %B%f %B/squid.conf -@unexec if cmp -s %D/etc/squid/squid.conf %D/etc/squid/squid.conf.default; then rm -f %D/etc/squid/squid.conf.default; fi -etc/squid/mime.conf.default -@exec [ ! if -f %B/mime.conf ] && cp %B%f %B/mime.conf -@unexec if cmp -s %D/etc/squid/mime.conf %D/etc/squid/mime.conf.default; then rm -f %D/etc/squid/mime.conf.default; fi -etc/squid/icons/anthony-binhex.gif -etc/squid/icons/anthony-bomb.gif -etc/squid/icons/anthony-box.gif -etc/squid/icons/anthony-box2.gif -etc/squid/icons/anthony-c.gif -etc/squid/icons/anthony-compressed.gif -etc/squid/icons/anthony-dir.gif -etc/squid/icons/anthony-dirup.gif -etc/squid/icons/anthony-dvi.gif -etc/squid/icons/anthony-f.gif -etc/squid/icons/anthony-image.gif -etc/squid/icons/anthony-image2.gif -etc/squid/icons/anthony-layout.gif -etc/squid/icons/anthony-link.gif -etc/squid/icons/anthony-movie.gif -etc/squid/icons/anthony-pdf.gif -etc/squid/icons/anthony-portal.gif -etc/squid/icons/anthony-ps.gif -etc/squid/icons/anthony-quill.gif -etc/squid/icons/anthony-script.gif -etc/squid/icons/anthony-sound.gif -etc/squid/icons/anthony-tar.gif -etc/squid/icons/anthony-tex.gif -etc/squid/icons/anthony-text.gif -etc/squid/icons/anthony-unknown.gif -etc/squid/icons/anthony-xbm.gif -etc/squid/icons/anthony-xpm.gif etc/squid/errors/ERR_ACCESS_DENIED etc/squid/errors/ERR_CACHE_ACCESS_DENIED etc/squid/errors/ERR_CACHE_MGR_ACCESS_DENIED @@ -62,13 +28,47 @@ etc/squid/errors/ERR_UNSUP_REQ etc/squid/errors/ERR_URN_RESOLVE etc/squid/errors/ERR_WRITE_ERROR etc/squid/errors/ERR_ZERO_SIZE_OBJECT +etc/squid/icons/anthony-binhex.gif +etc/squid/icons/anthony-bomb.gif +etc/squid/icons/anthony-box.gif +etc/squid/icons/anthony-box2.gif +etc/squid/icons/anthony-c.gif +etc/squid/icons/anthony-compressed.gif +etc/squid/icons/anthony-dir.gif +etc/squid/icons/anthony-dirup.gif +etc/squid/icons/anthony-dvi.gif +etc/squid/icons/anthony-f.gif +etc/squid/icons/anthony-image.gif +etc/squid/icons/anthony-image2.gif +etc/squid/icons/anthony-layout.gif +etc/squid/icons/anthony-link.gif +etc/squid/icons/anthony-movie.gif +etc/squid/icons/anthony-pdf.gif +etc/squid/icons/anthony-portal.gif +etc/squid/icons/anthony-ps.gif +etc/squid/icons/anthony-quill.gif +etc/squid/icons/anthony-script.gif +etc/squid/icons/anthony-sound.gif +etc/squid/icons/anthony-tar.gif +etc/squid/icons/anthony-tex.gif +etc/squid/icons/anthony-text.gif +etc/squid/icons/anthony-unknown.gif +etc/squid/icons/anthony-xbm.gif +etc/squid/icons/anthony-xpm.gif +etc/squid/mib.txt +@unexec if cmp -s %D/etc/squid/mime.conf %D/etc/squid/mime.conf.default; then rm -f %D/etc/squid/mime.conf; fi +etc/squid/mime.conf.default +@exec [ -f %B/mime.conf ] || cp %B/%f %B/mime.conf +@unexec if cmp -s %D/etc/squid/squid.conf %D/etc/squid/squid.conf.default; then rm -f %D/etc/squid/squid.conf; fi +etc/squid/squid.conf.default +@exec [ -f %B/squid.conf ] || cp %B/%f %B/squid.conf +libexec/cachemgr.cgi libexec/diskd libexec/unlinkd -libexec/cachemgr.cgi -sbin/RunCache sbin/RunAccel -sbin/squid +sbin/RunCache sbin/client +sbin/squid @exec mkdir -p %D/squid/cache @exec chown nobody:nogroup %D/squid/cache @exec mkdir -p %D/squid/logs -- cgit v1.1