pkgsrc/www/squid/INSTALL

41 lines
1.1 KiB
Text
Raw Normal View History

#!/bin/sh
1998-08-07 13:08:53 +02:00
#
# $NetBSD: INSTALL,v 1.3 2001/11/23 10:22:53 tron Exp $
1998-08-07 13:08:53 +02:00
#
PKGNAME=$1
EXCONFDIR=${PKG_PREFIX}/etc/squid/
SYSCONFDIR=@SYSCONFDIR@/
SQUIDCONF=squid.conf
MIMECONF=mime.conf
case $2 in
PRE-INSTALL)
;;
POST-INSTALL)
echo ""
echo " o You DO need running nameservice to start and run ${PKGNAME}".
echo ""
echo " o Use the ${PKGNAME} proxy and caching WWW Server by"
echo " configuring your WWW Navigator (Netscape, Mosaic,...)"
echo " to use it as a proxy server."
echo ""
if [ "${EXCONFDIR}" = "${SYSCONFDIR}" ]
then
echo " o Copy \"${EXCONFDIR}${SQUIDCONF}.default\" to \"${SQUIDCONF}\""
echo " and \"${EXCONFDIR}${MIMECONF}.default\" to \"${MIMECONF}\""
else
echo " o Copy \"${EXCONFDIR}${SQUIDCONF}.default\" to \"${SYSCONFDIR}${SQUIDCONF}\""
echo " and \"${EXCONFDIR}${MIMECONF}.default\" to \"${SYSCONFDIR}${MIMECONF}\""
fi
echo " and edit them as required. You should pay attention to the"
echo " ACTUAL locations of the cache \"spool\" logfiles and pidfile."
echo ""
;;
*)
echo "Unexpected Argument ${2}."
exit 1
;;
esac
exit 0