mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
906ad4d94f
<http://www.squid-cache.org/Versions/v2/2.5/bugs/>: + Reject malformed HTTP requests and responses that conflict with the HTTP specifications This issue is qualified as a security issue by the vendor. + PURGE is allowed to delete internal objects (squid bug #1112) + Disable Path-MTU discovery on intercepted requests (squid bug #1154) (VuXML vid=b4d94fa0-6e38-11d9-9e1e-c296ac722cb3) - Clean up and correct package list generation. Now installed files and directories are visible via PLIST_FILES and PLIST_DIRS. - Don't claim that squid related files or directories are still present after deinstallation when in fact they are not. - Add "-g" to CFLAGS when WITH_SQUID_STACKTRACES is defined to make this option actually useful. PR: ports/76628 Submitted by: maintainer
37 lines
885 B
Bash
37 lines
885 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PATH=/bin:/usr/bin:/usr/sbin
|
|
|
|
case $2 in
|
|
DEINSTALL)
|
|
cd ${PKG_PREFIX}/etc/squid || exit 1
|
|
for f in squid.conf mime.conf msntauth.conf; do
|
|
cmp -s -z ${f} ${f}.default && rm ${f}
|
|
done
|
|
;;
|
|
POST-DEINSTALL)
|
|
echo "===> post-deinstallation information for $1"
|
|
echo ""
|
|
echo " Please note that squid was not completely removed"
|
|
echo " from this system:"
|
|
echo ""
|
|
echo " Any squid related user accounts were kept."
|
|
if [ -d ${PKG_PREFIX}/squid -o -d ${PKG_PREFIX}/etc/squid ] ; then
|
|
echo ""
|
|
echo " Additionally, cache and log directories as well as"
|
|
echo " configuration files modified by you were preserved"
|
|
echo " too, in case you want to install an updated version"
|
|
echo " of squid. You need to remove them manually if you do"
|
|
echo " not want to use it any longer."
|
|
fi
|
|
echo ""
|
|
;;
|
|
*)
|
|
exit 64
|
|
;;
|
|
esac
|
|
exit 0
|