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