Set PKG_USERS and PKG_GROUPS with SQUID_USER and SQUID_GROUP.

Now squid's user and group are handled by bsd.pkg.install.mk properly.

Thanks much to Volker Wiegand at t-online dot de noted this problem
by private mail.

Bump PKGREVISION.
This commit is contained in:
taca 2005-01-16 15:46:25 +00:00
parent 98ac6abbcb
commit c6d8a087ba

View file

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.124 2005/01/13 16:19:10 taca Exp $
# $NetBSD: Makefile,v 1.125 2005/01/16 15:46:25 taca Exp $
DISTNAME= squid-2.5.STABLE7
PKGNAME= squid-2.5.7
PKGREVISION= 5
PKGREVISION= 6
CATEGORIES= www
MASTER_SITES= http://www.squid-cache.org/Versions/v2/2.5/ \
ftp://ftp.leo.org/pub/comp/general/infosys/www/daemons/squid/squid-2/STABLE/ \
@ -66,6 +66,8 @@ RCD_SCRIPTS= squid
SQUID_USER?= squid
SQUID_GROUP?= squid
PKG_GROUPS= ${SQUID_GROUP}
PKG_USERS= ${SQUID_USER}:${SQUID_GROUP}::Squid\\ Web-Cache\\ pseudo-user
CONF_FILES+= ${EXAMPLESDIR}/mime.conf ${PKG_SYSCONFDIR}/mime.conf
CONF_FILES+= ${EXAMPLESDIR}/squid.conf ${PKG_SYSCONFDIR}/squid.conf
OWN_DIRS= ${DATADIR}