From 5396c32a11367aead74f1cc4930fe1bbe405aafa Mon Sep 17 00:00:00 2001 From: apb Date: Sat, 16 Feb 2008 22:06:12 +0000 Subject: Allow SFS_USER and SFS_GROUP to be overridden, instead of hardcoded to sfs:sfs. Bump PKGREVISION. --- security/sfs/Makefile | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'security/sfs') diff --git a/security/sfs/Makefile b/security/sfs/Makefile index 0bbefe94f36..c0644af0f47 100644 --- a/security/sfs/Makefile +++ b/security/sfs/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.31 2008/01/18 05:09:42 tnn Exp $ +# $NetBSD: Makefile,v 1.32 2008/02/16 22:06:12 apb Exp $ # DISTNAME= sfs-0.7.2 -PKGREVISION= 8 +PKGREVISION= 9 CATEGORIES= net security MASTER_SITES= http://www.fs.net/sfswww/dist/ @@ -12,8 +12,11 @@ COMMENT= Secure, global, self-certifying network file system GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-sfsuser=sfs -CONFIGURE_ARGS+= --with-sfsgroup=sfs +SFS_USER?= sfs +SFS_GROUP?= sfs + +CONFIGURE_ARGS+= --with-sfsuser=${SFS_USER} +CONFIGURE_ARGS+= --with-sfsgroup=${SFS_GROUP} CONFIGURE_ARGS+= --with-etcdir=${PKG_SYSCONFDIR:Q} CONFIGURE_ARGS+= --with-sfsdir=${SFS_ROOT:Q} CONFIGURE_ARGS+= --disable-uvfs @@ -24,9 +27,9 @@ USE_TOOLS+= makeinfo perl:run lex INFO_FILES= # PLIST PKG_SYSCONFSUBDIR= sfs -PKG_GROUPS= sfs -PKG_USERS= sfs:sfs -PKG_GECOS.sfs= Self-certifying file system pseudo-user +PKG_GROUPS= ${SFS_GROUP} +PKG_USERS= ${SFS_USER}:${SFS_GROUP} +PKG_GECOS.${SFS_USER}= Self-certifying file system pseudo-user RCD_SCRIPTS= sfscd sfssd @@ -35,7 +38,7 @@ RCD_SCRIPTS= sfscd sfssd SFSDIR?= ${VARBASE}/sfs SFS_ROOT= ${SFSDIR} -OWN_DIRS_PERMS= ${SFS_ROOT} sfs sfs 555 +OWN_DIRS_PERMS= ${SFS_ROOT} ${SFS_USER} ${SFS_GROUP} 555 SFSEXAMPLEDIR= ${PREFIX}/share/examples/sfs -- cgit v1.2.3