Subject: CVS commit: pkgsrc
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 07/04/2007 20:55:07
Module Name:	pkgsrc
Committed By:	jlam
Date:		Wed Jul  4 20:55:07 UTC 2007

Modified Files:
	pkgsrc/audio/icecast: Makefile
	pkgsrc/audio/mt-daapd: Makefile
	pkgsrc/audio/ubs: Makefile
	pkgsrc/chat/anope: Makefile
	pkgsrc/chat/i2cbd: Makefile
	pkgsrc/chat/ircd-hybrid: Makefile
	pkgsrc/chat/ircu: Makefile
	pkgsrc/chat/jabberd: Makefile
	pkgsrc/chat/jabberd2: Makefile
	pkgsrc/chat/mu-conference: Makefile
	pkgsrc/chat/silc-server: Makefile
	pkgsrc/chat/unrealircd: Makefile
	pkgsrc/comms/asterisk: Makefile
	pkgsrc/comms/minicom: Makefile
	pkgsrc/comms/xisp: Makefile
	pkgsrc/databases/gnats: Makefile
	pkgsrc/databases/mysql4-client: Makefile.common
	pkgsrc/databases/mysql5-client: Makefile.common
	pkgsrc/databases/openldap: Makefile.common
	pkgsrc/databases/openldap-server: Makefile
	pkgsrc/databases/phpmyadmin: Makefile
	pkgsrc/databases/postgresql80-server: Makefile
	pkgsrc/databases/postgresql81-server: Makefile
	pkgsrc/databases/postgresql82-server: Makefile
	pkgsrc/databases/sqlitemanager: Makefile
	pkgsrc/devel/RTx-Shredder: Makefile
	pkgsrc/devel/bugzilla: Makefile
	pkgsrc/devel/cvsd: Makefile
	pkgsrc/devel/distcc: Makefile
	pkgsrc/devel/mantis: Makefile
	pkgsrc/devel/monotone-server: Makefile
	pkgsrc/devel/p4d: Makefile
	pkgsrc/devel/rt-mysql: Makefile.common
	pkgsrc/devel/rt3: Makefile options.mk
	pkgsrc/inputmethod/canna: Makefile.common
	pkgsrc/inputmethod/canna-server: Makefile
	pkgsrc/inputmethod/ja-freewnn-lib: Makefile.common
	pkgsrc/inputmethod/ja-freewnn-server-bin: Makefile
	pkgsrc/inputmethod/sj3-server-bin: Makefile
	pkgsrc/mail/clamav: Makefile
	pkgsrc/mail/clamsmtp: Makefile
	pkgsrc/mail/courier-mta: Makefile.common options.mk
	pkgsrc/mail/cyrus-imapd: Makefile
	pkgsrc/mail/cyrus-imapd21: Makefile
	pkgsrc/mail/dovecot: Makefile
	pkgsrc/mail/dspam: Makefile
	pkgsrc/mail/exim: Makefile
	pkgsrc/mail/exim3: Makefile
	pkgsrc/mail/freepops: Makefile
	pkgsrc/mail/gld: Makefile
	pkgsrc/mail/imp: Makefile
	pkgsrc/mail/ingo: Makefile
	pkgsrc/mail/mailman: Makefile
	pkgsrc/mail/majordomo: Makefile
	pkgsrc/mail/mimedefang: Makefile
	pkgsrc/mail/nullmailer: Makefile
	pkgsrc/mail/popa3d: Makefile
	pkgsrc/mail/postgrey: Makefile
	pkgsrc/mail/prayer: Makefile
	pkgsrc/mail/qpopper: Makefile
	pkgsrc/mail/roundcube: Makefile
	pkgsrc/mail/squirrelmail: Makefile
	pkgsrc/mail/sympa: Makefile
	pkgsrc/mail/turba: Makefile
	pkgsrc/misc/jitterbug: Makefile
	pkgsrc/mk: unprivileged.mk
	pkgsrc/net/bind9: Makefile
	pkgsrc/net/freeradius: Makefile
	pkgsrc/net/hobbitclient: Makefile
	pkgsrc/net/hobbitmon: Makefile
	pkgsrc/net/howl: Makefile
	pkgsrc/net/ja-samba: Makefile
	pkgsrc/net/kismet: Makefile
	pkgsrc/net/lambdamoo: Makefile
	pkgsrc/net/mldonkey: Makefile
	pkgsrc/net/mydns-pgsql: Makefile.common
	pkgsrc/net/nagios-base: Makefile.common
	pkgsrc/net/nagios-nrpe: Makefile
	pkgsrc/net/nagios-nsca: Makefile.common
	pkgsrc/net/netdisco: Makefile
	pkgsrc/net/netsaint-base: Makefile.common
	pkgsrc/net/pygopherd: Makefile
	pkgsrc/net/rbldnsd: Makefile
	pkgsrc/net/snort: Makefile
	pkgsrc/net/spread: Makefile
	pkgsrc/net/teamspeak-server: Makefile
	pkgsrc/net/tor: Makefile
	pkgsrc/net/userppp: Makefile
	pkgsrc/net/uucp: Makefile
	pkgsrc/net/vsftpd: Makefile
	pkgsrc/news/inn: Makefile
	pkgsrc/news/leafnode: Makefile
	pkgsrc/parallel/sge: Makefile
	pkgsrc/print/cups: Makefile
	pkgsrc/security/amavisd-new: Makefile
	pkgsrc/security/base: Makefile
	pkgsrc/security/courier-authlib: Makefile.common
	pkgsrc/security/cyrus-sasl: Makefile
	pkgsrc/security/dirmngr: Makefile
	pkgsrc/security/libprelude: Makefile
	pkgsrc/security/openssh: Makefile
	pkgsrc/security/openssh+gssapi: Makefile
	pkgsrc/security/pks: Makefile
	pkgsrc/security/prelude-lml: Makefile
	pkgsrc/security/prelude-manager: Makefile
	pkgsrc/security/py-prewikka: Makefile
	pkgsrc/sysutils/amanda-common: Makefile Makefile.common
	pkgsrc/sysutils/bacula: Makefile Makefile.common
	pkgsrc/sysutils/bacula-clientonly: Makefile
	pkgsrc/sysutils/dbus: Makefile
	pkgsrc/sysutils/munin-node: Makefile
	pkgsrc/sysutils/munin-server: Makefile
	pkgsrc/sysutils/ups-nut: Makefile
	pkgsrc/time/kronolith: Makefile
	pkgsrc/www/ap2-suphp: Makefile
	pkgsrc/www/apache: Makefile
	pkgsrc/www/apache2: Makefile options.mk
	pkgsrc/www/apache22: Makefile options.mk
	pkgsrc/www/awstats: Makefile
	pkgsrc/www/drupal: Makefile
	pkgsrc/www/geeklog: Makefile
	pkgsrc/www/horde: Makefile
	pkgsrc/www/iasp: Makefile
	pkgsrc/www/privoxy: Makefile
	pkgsrc/www/screws: Makefile
	pkgsrc/www/squid: Makefile
	pkgsrc/www/squirm: Makefile
	pkgsrc/www/tinyproxy: Makefile
	pkgsrc/www/zope29: Makefile
	pkgsrc/www/zope3: Makefile Makefile.common

Log Message:
Make it easier to build and install packages "unprivileged", where
the owner of all installed files is a non-root user.  This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.

(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
    unprivileged.mk.  These two variables are lists of other bmake
    variables that define package-specific users and groups.  Packages
    that have user-settable variables for users and groups, e.g. apache
    and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
    etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
    so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
    and ${UNPRIVILEGED_GROUP}.

(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.


To generate a diff of this commit:
cvs rdiff -r1.41 -r1.42 pkgsrc/audio/icecast/Makefile
cvs rdiff -r1.4 -r1.5 pkgsrc/audio/mt-daapd/Makefile
cvs rdiff -r1.13 -r1.14 pkgsrc/audio/ubs/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/chat/anope/Makefile
cvs rdiff -r1.24 -r1.25 pkgsrc/chat/i2cbd/Makefile
cvs rdiff -r1.34 -r1.35 pkgsrc/chat/ircd-hybrid/Makefile
cvs rdiff -r1.27 -r1.28 pkgsrc/chat/ircu/Makefile
cvs rdiff -r1.27 -r1.28 pkgsrc/chat/jabberd/Makefile
cvs rdiff -r1.37 -r1.38 pkgsrc/chat/jabberd2/Makefile
cvs rdiff -r1.15 -r1.16 pkgsrc/chat/mu-conference/Makefile
cvs rdiff -r1.56 -r1.57 pkgsrc/chat/silc-server/Makefile
cvs rdiff -r1.18 -r1.19 pkgsrc/chat/unrealircd/Makefile
cvs rdiff -r1.38 -r1.39 pkgsrc/comms/asterisk/Makefile
cvs rdiff -r1.55 -r1.56 pkgsrc/comms/minicom/Makefile
cvs rdiff -r1.27 -r1.28 pkgsrc/comms/xisp/Makefile
cvs rdiff -r1.29 -r1.30 pkgsrc/databases/gnats/Makefile
cvs rdiff -r1.57 -r1.58 pkgsrc/databases/mysql4-client/Makefile.common
cvs rdiff -r1.21 -r1.22 pkgsrc/databases/mysql5-client/Makefile.common
cvs rdiff -r1.8 -r1.9 pkgsrc/databases/openldap/Makefile.common
cvs rdiff -r1.6 -r1.7 pkgsrc/databases/openldap-server/Makefile
cvs rdiff -r1.60 -r1.61 pkgsrc/databases/phpmyadmin/Makefile
cvs rdiff -r1.24 -r1.25 pkgsrc/databases/postgresql80-server/Makefile
cvs rdiff -r1.7 -r1.8 pkgsrc/databases/postgresql81-server/Makefile
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/databases/postgresql82-server/Makefile
cvs rdiff -r1.4 -r1.5 pkgsrc/databases/sqlitemanager/Makefile
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/devel/RTx-Shredder/Makefile
cvs rdiff -r1.24 -r1.25 pkgsrc/devel/bugzilla/Makefile
cvs rdiff -r1.5 -r1.6 pkgsrc/devel/cvsd/Makefile
cvs rdiff -r1.30 -r1.31 pkgsrc/devel/distcc/Makefile
cvs rdiff -r1.26 -r1.27 pkgsrc/devel/mantis/Makefile
cvs rdiff -r1.32 -r1.33 pkgsrc/devel/monotone-server/Makefile
cvs rdiff -r1.10 -r1.11 pkgsrc/devel/p4d/Makefile
cvs rdiff -r1.14 -r1.15 pkgsrc/devel/rt-mysql/Makefile.common
cvs rdiff -r1.24 -r1.25 pkgsrc/devel/rt3/Makefile
cvs rdiff -r1.3 -r1.4 pkgsrc/devel/rt3/options.mk
cvs rdiff -r1.16 -r1.17 pkgsrc/inputmethod/canna/Makefile.common
cvs rdiff -r1.18 -r1.19 pkgsrc/inputmethod/canna-server/Makefile
cvs rdiff -r1.12 -r1.13 pkgsrc/inputmethod/ja-freewnn-lib/Makefile.common
cvs rdiff -r1.15 -r1.16 pkgsrc/inputmethod/ja-freewnn-server-bin/Makefile
cvs rdiff -r1.14 -r1.15 pkgsrc/inputmethod/sj3-server-bin/Makefile
cvs rdiff -r1.75 -r1.76 pkgsrc/mail/clamav/Makefile
cvs rdiff -r1.32 -r1.33 pkgsrc/mail/clamsmtp/Makefile
cvs rdiff -r1.3 -r1.4 pkgsrc/mail/courier-mta/Makefile.common
cvs rdiff -r1.4 -r1.5 pkgsrc/mail/courier-mta/options.mk
cvs rdiff -r1.71 -r1.72 pkgsrc/mail/cyrus-imapd/Makefile
cvs rdiff -r1.42 -r1.43 pkgsrc/mail/cyrus-imapd21/Makefile
cvs rdiff -r1.97 -r1.98 pkgsrc/mail/dovecot/Makefile
cvs rdiff -r1.56 -r1.57 pkgsrc/mail/dspam/Makefile
cvs rdiff -r1.84 -r1.85 pkgsrc/mail/exim/Makefile
cvs rdiff -r1.34 -r1.35 pkgsrc/mail/exim3/Makefile
cvs rdiff -r1.5 -r1.6 pkgsrc/mail/freepops/Makefile
cvs rdiff -r1.22 -r1.23 pkgsrc/mail/gld/Makefile
cvs rdiff -r1.41 -r1.42 pkgsrc/mail/imp/Makefile
cvs rdiff -r1.8 -r1.9 pkgsrc/mail/ingo/Makefile
cvs rdiff -r1.47 -r1.48 pkgsrc/mail/mailman/Makefile
cvs rdiff -r1.28 -r1.29 pkgsrc/mail/majordomo/Makefile
cvs rdiff -r1.36 -r1.37 pkgsrc/mail/mimedefang/Makefile
cvs rdiff -r1.27 -r1.28 pkgsrc/mail/nullmailer/Makefile
cvs rdiff -r1.47 -r1.48 pkgsrc/mail/popa3d/Makefile
cvs rdiff -r1.19 -r1.20 pkgsrc/mail/postgrey/Makefile
cvs rdiff -r1.31 -r1.32 pkgsrc/mail/prayer/Makefile
cvs rdiff -r1.58 -r1.59 pkgsrc/mail/qpopper/Makefile
cvs rdiff -r1.4 -r1.5 pkgsrc/mail/roundcube/Makefile
cvs rdiff -r1.88 -r1.89 pkgsrc/mail/squirrelmail/Makefile
cvs rdiff -r1.28 -r1.29 pkgsrc/mail/sympa/Makefile
cvs rdiff -r1.20 -r1.21 pkgsrc/mail/turba/Makefile
cvs rdiff -r1.29 -r1.30 pkgsrc/misc/jitterbug/Makefile
cvs rdiff -r1.11 -r1.12 pkgsrc/mk/unprivileged.mk
cvs rdiff -r1.89 -r1.90 pkgsrc/net/bind9/Makefile
cvs rdiff -r1.59 -r1.60 pkgsrc/net/freeradius/Makefile
cvs rdiff -r1.5 -r1.6 pkgsrc/net/hobbitclient/Makefile
cvs rdiff -r1.18 -r1.19 pkgsrc/net/hobbitmon/Makefile
cvs rdiff -r1.15 -r1.16 pkgsrc/net/howl/Makefile
cvs rdiff -r1.49 -r1.50 pkgsrc/net/ja-samba/Makefile
cvs rdiff -r1.6 -r1.7 pkgsrc/net/kismet/Makefile
cvs rdiff -r1.20 -r1.21 pkgsrc/net/lambdamoo/Makefile
cvs rdiff -r1.44 -r1.45 pkgsrc/net/mldonkey/Makefile
cvs rdiff -r1.12 -r1.13 pkgsrc/net/mydns-pgsql/Makefile.common
cvs rdiff -r1.4 -r1.5 pkgsrc/net/nagios-base/Makefile.common
cvs rdiff -r1.7 -r1.8 pkgsrc/net/nagios-nrpe/Makefile
cvs rdiff -r1.3 -r1.4 pkgsrc/net/nagios-nsca/Makefile.common
cvs rdiff -r1.17 -r1.18 pkgsrc/net/netdisco/Makefile
cvs rdiff -r1.13 -r1.14 pkgsrc/net/netsaint-base/Makefile.common
cvs rdiff -r1.13 -r1.14 pkgsrc/net/pygopherd/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/net/rbldnsd/Makefile
cvs rdiff -r1.30 -r1.31 pkgsrc/net/snort/Makefile
cvs rdiff -r1.20 -r1.21 pkgsrc/net/spread/Makefile
cvs rdiff -r1.3 -r1.4 pkgsrc/net/teamspeak-server/Makefile
cvs rdiff -r1.41 -r1.42 pkgsrc/net/tor/Makefile
cvs rdiff -r1.21 -r1.22 pkgsrc/net/userppp/Makefile
cvs rdiff -r1.9 -r1.10 pkgsrc/net/uucp/Makefile
cvs rdiff -r1.26 -r1.27 pkgsrc/net/vsftpd/Makefile
cvs rdiff -r1.83 -r1.84 pkgsrc/news/inn/Makefile
cvs rdiff -r1.35 -r1.36 pkgsrc/news/leafnode/Makefile
cvs rdiff -r1.24 -r1.25 pkgsrc/parallel/sge/Makefile
cvs rdiff -r1.123 -r1.124 pkgsrc/print/cups/Makefile
cvs rdiff -r1.32 -r1.33 pkgsrc/security/amavisd-new/Makefile
cvs rdiff -r1.14 -r1.15 pkgsrc/security/base/Makefile
cvs rdiff -r1.9 -r1.10 pkgsrc/security/courier-authlib/Makefile.common
cvs rdiff -r1.54 -r1.55 pkgsrc/security/cyrus-sasl/Makefile
cvs rdiff -r1.28 -r1.29 pkgsrc/security/dirmngr/Makefile
cvs rdiff -r1.22 -r1.23 pkgsrc/security/libprelude/Makefile
cvs rdiff -r1.179 -r1.180 pkgsrc/security/openssh/Makefile
cvs rdiff -r1.38 -r1.39 pkgsrc/security/openssh+gssapi/Makefile
cvs rdiff -r1.25 -r1.26 pkgsrc/security/pks/Makefile
cvs rdiff -r1.16 -r1.17 pkgsrc/security/prelude-lml/Makefile
cvs rdiff -r1.19 -r1.20 pkgsrc/security/prelude-manager/Makefile
cvs rdiff -r1.20 -r1.21 pkgsrc/security/py-prewikka/Makefile
cvs rdiff -r1.41 -r1.42 pkgsrc/sysutils/amanda-common/Makefile
cvs rdiff -r1.24 -r1.25 pkgsrc/sysutils/amanda-common/Makefile.common
cvs rdiff -r1.20 -r1.21 pkgsrc/sysutils/bacula/Makefile
cvs rdiff -r1.38 -r1.39 pkgsrc/sysutils/bacula/Makefile.common
cvs rdiff -r1.5 -r1.6 pkgsrc/sysutils/bacula-clientonly/Makefile
cvs rdiff -r1.23 -r1.24 pkgsrc/sysutils/dbus/Makefile
cvs rdiff -r1.8 -r1.9 pkgsrc/sysutils/munin-node/Makefile
cvs rdiff -r1.7 -r1.8 pkgsrc/sysutils/munin-server/Makefile
cvs rdiff -r1.47 -r1.48 pkgsrc/sysutils/ups-nut/Makefile
cvs rdiff -r1.9 -r1.10 pkgsrc/time/kronolith/Makefile
cvs rdiff -r1.10 -r1.11 pkgsrc/www/ap2-suphp/Makefile
cvs rdiff -r1.190 -r1.191 pkgsrc/www/apache/Makefile
cvs rdiff -r1.114 -r1.115 pkgsrc/www/apache2/Makefile
cvs rdiff -r1.6 -r1.7 pkgsrc/www/apache2/options.mk
cvs rdiff -r1.14 -r1.15 pkgsrc/www/apache22/Makefile
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/www/apache22/options.mk
cvs rdiff -r1.32 -r1.33 pkgsrc/www/awstats/Makefile
cvs rdiff -r1.21 -r1.22 pkgsrc/www/drupal/Makefile
cvs rdiff -r1.15 -r1.16 pkgsrc/www/geeklog/Makefile
cvs rdiff -r1.49 -r1.50 pkgsrc/www/horde/Makefile
cvs rdiff -r1.14 -r1.15 pkgsrc/www/iasp/Makefile
cvs rdiff -r1.30 -r1.31 pkgsrc/www/privoxy/Makefile
cvs rdiff -r1.18 -r1.19 pkgsrc/www/screws/Makefile
cvs rdiff -r1.192 -r1.193 pkgsrc/www/squid/Makefile
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/www/squirm/Makefile
cvs rdiff -r1.22 -r1.23 pkgsrc/www/tinyproxy/Makefile
cvs rdiff -r1.11 -r1.12 pkgsrc/www/zope29/Makefile
cvs rdiff -r1.15 -r1.16 pkgsrc/www/zope3/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/www/zope3/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.