aboutsummaryrefslogtreecommitdiffstats
path: root/www/squid30
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-08-31 22:03:02 +0800
committerolgeni <olgeni@FreeBSD.org>2001-08-31 22:03:02 +0800
commit3ec825c8b5f892614e80d8e8108e70e0680b93d5 (patch)
tree6b942bb5af6e5bf291bd4ba096b7652117818f7c /www/squid30
parent08d87795756c5961353d8016bc106eeaae27a6aa (diff)
downloadfreebsd-ports-gnome-3ec825c8b5f892614e80d8e8108e70e0680b93d5.tar.gz
freebsd-ports-gnome-3ec825c8b5f892614e80d8e8108e70e0680b93d5.tar.zst
freebsd-ports-gnome-3ec825c8b5f892614e80d8e8108e70e0680b93d5.zip
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.
Diffstat (limited to 'www/squid30')
-rw-r--r--www/squid30/pkg-plist74
1 files changed, 37 insertions, 37 deletions
diff --git a/www/squid30/pkg-plist b/www/squid30/pkg-plist
index 449d9cca3533..f4bc8ff9b9a1 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