pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/courier-mta Use UUCP_USER instead of hardcoding "...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aff376a4ad42
branches:  trunk
changeset: 530095:aff376a4ad42
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Jun 15 21:59:23 2007 +0000

description:
Use UUCP_USER instead of hardcoding "uucp".  This makes courier-mta
use the same UUCP_{USER,GROUP} variables as net/uucp.

diffstat:

 mail/courier-mta/options.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 7d935a197cef -r aff376a4ad42 mail/courier-mta/options.mk
--- a/mail/courier-mta/options.mk       Fri Jun 15 21:51:22 2007 +0000
+++ b/mail/courier-mta/options.mk       Fri Jun 15 21:59:23 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2006/05/31 18:22:24 ghen Exp $
+# $NetBSD: options.mk,v 1.3 2007/06/15 21:59:23 jlam Exp $
 
 # Global and legacy options
 
@@ -97,9 +97,10 @@
 ###
 .if !empty(PKG_OPTIONS:Mcourier-uucp)
 COURIER_TRANSPORTS+=   uucp
+UUCP_USER?=            uucp
 UUCP_GROUP?=           daemon
 PKG_GROUPS+=           ${UUCP_GROUP}
-PKG_USERS+=            uucp:${UUCP_GROUP}
+PKG_USERS+=            ${UUCP_USER}:${UUCP_GROUP}
 PLIST_SRC+=            ${PKGDIR}/PLIST.uucp
 
 CONF_FILES_PERMS+=     ${EGDIR}/module.uucp                            \



Home | Main Index | Thread Index | Old Index