freebsd-ports/www/squid26/pkg-plist

56 lines
2.1 KiB
Text
Raw Normal View History

- configure squid to run under a dedicated "squid" user by default; make use of SQUID_{UID,GID} which other squid-related ports already implemented. The user/group will be created on the fly if they do not already exist. - introduce WITH_SQUID_LDAP_AUTH to pull in the necessary bits to compile and use the ldap_auth helper - install some more authentication helper applications by default - install helper applications to ${PREFIX}/libexec/squid instead of ${PREFIX}/libexec, add notes about it in pkg-install and pkg-descr - cleanup the pre-installation tasks and move them from Makefile and pkg-plist into the pkg-install script; make 'make install' and 'pkg_add' actually do the same thing - introduce a pkg-deinstall script - make squid.sh rcNG compatible (when either /etc/rc_subr or ${PREFIX}/etc/rc_subr is present, the first one will be used, otherwise the script will work as a "rc classic" script so no additional dependency on the rc_subr port should be needed) - some Makefile cleanups: + the squid installation procedure now correctly strips binaries, so there is no need to do this manually anymore + generate those parts of pkg-plist dynamically that may be affected by user set tunables (currently the localized error pages and helper applications) + document the available configuration options in a slightly different style + remove some obsolete variable declarations and comments + honor NOPORTDOCS - add CONFLICTS - add another vendor patch, see http://www.squid-cache.org/bugs/show_bug.cgi?id=890 for a thorough explanation of what has been fixed. - since we can no longer take the presence of Lithuanian error pages for granted, wrap the workaround for the errorpages.patch with '.if exists()' - bump PORTREVISION PR: 61315 Submitted by: maintainer
2004-01-16 22:18:20 +01:00
@comment $FreeBSD$
etc/rc.d/squid.sh
- configure squid to run under a dedicated "squid" user by default; make use of SQUID_{UID,GID} which other squid-related ports already implemented. The user/group will be created on the fly if they do not already exist. - introduce WITH_SQUID_LDAP_AUTH to pull in the necessary bits to compile and use the ldap_auth helper - install some more authentication helper applications by default - install helper applications to ${PREFIX}/libexec/squid instead of ${PREFIX}/libexec, add notes about it in pkg-install and pkg-descr - cleanup the pre-installation tasks and move them from Makefile and pkg-plist into the pkg-install script; make 'make install' and 'pkg_add' actually do the same thing - introduce a pkg-deinstall script - make squid.sh rcNG compatible (when either /etc/rc_subr or ${PREFIX}/etc/rc_subr is present, the first one will be used, otherwise the script will work as a "rc classic" script so no additional dependency on the rc_subr port should be needed) - some Makefile cleanups: + the squid installation procedure now correctly strips binaries, so there is no need to do this manually anymore + generate those parts of pkg-plist dynamically that may be affected by user set tunables (currently the localized error pages and helper applications) + document the available configuration options in a slightly different style + remove some obsolete variable declarations and comments + honor NOPORTDOCS - add CONFLICTS - add another vendor patch, see http://www.squid-cache.org/bugs/show_bug.cgi?id=890 for a thorough explanation of what has been fixed. - since we can no longer take the presence of Lithuanian error pages for granted, wrap the workaround for the errorpages.patch with '.if exists()' - bump PORTREVISION PR: 61315 Submitted by: maintainer
2004-01-16 22:18:20 +01:00
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
@unexec if cmp -s %D/etc/squid/msntauth.conf %D/etc/squid/msntauth.conf.default; then rm -f %D/etc/squid/msntauth.conf; fi
etc/squid/msntauth.conf.default
@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
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
sbin/RunAccel
sbin/RunCache
sbin/squidclient
sbin/squid
- configure squid to run under a dedicated "squid" user by default; make use of SQUID_{UID,GID} which other squid-related ports already implemented. The user/group will be created on the fly if they do not already exist. - introduce WITH_SQUID_LDAP_AUTH to pull in the necessary bits to compile and use the ldap_auth helper - install some more authentication helper applications by default - install helper applications to ${PREFIX}/libexec/squid instead of ${PREFIX}/libexec, add notes about it in pkg-install and pkg-descr - cleanup the pre-installation tasks and move them from Makefile and pkg-plist into the pkg-install script; make 'make install' and 'pkg_add' actually do the same thing - introduce a pkg-deinstall script - make squid.sh rcNG compatible (when either /etc/rc_subr or ${PREFIX}/etc/rc_subr is present, the first one will be used, otherwise the script will work as a "rc classic" script so no additional dependency on the rc_subr port should be needed) - some Makefile cleanups: + the squid installation procedure now correctly strips binaries, so there is no need to do this manually anymore + generate those parts of pkg-plist dynamically that may be affected by user set tunables (currently the localized error pages and helper applications) + document the available configuration options in a slightly different style + remove some obsolete variable declarations and comments + honor NOPORTDOCS - add CONFLICTS - add another vendor patch, see http://www.squid-cache.org/bugs/show_bug.cgi?id=890 for a thorough explanation of what has been fixed. - since we can no longer take the presence of Lithuanian error pages for granted, wrap the workaround for the errorpages.patch with '.if exists()' - bump PORTREVISION PR: 61315 Submitted by: maintainer
2004-01-16 22:18:20 +01:00
%%PORTDOCS%%%%DOCSDIR%%/QUICKSTART
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/RELEASENOTES.html
%%PORTDOCS%%%%DOCSDIR%%/debug-sections.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@comment Start of dynamically generated plist
@comment End of dynamically generated plist
@comment These directories are maybe not empty at deinstallation time.
@comment Since we try to preserve the data in there for updates anyway, be quiet.
@unexec rmdir %D/etc/squid/icons 2>/dev/null || true
@unexec rmdir %D/etc/squid/errors 2>/dev/null || true
@unexec rmdir %D/etc/squid 2>/dev/null || true
@unexec rmdir %D/squid/logs 2>/dev/null || true
@unexec rmdir %D/squid/cache 2>/dev/null || true
@unexec rmdir %D/squid 2>/dev/null || true