diff options
author | apb <apb@pkgsrc.org> | 2008-02-16 22:06:12 +0000 |
---|---|---|
committer | apb <apb@pkgsrc.org> | 2008-02-16 22:06:12 +0000 |
commit | 5396c32a11367aead74f1cc4930fe1bbe405aafa (patch) | |
tree | 04c7ae218b46c57907f0d1b4b75ca8f0c9c0af1d /security | |
parent | babe7e230f8b41becf8b73a70a075a09e8fd4d08 (diff) | |
download | pkgsrc-5396c32a11367aead74f1cc4930fe1bbe405aafa.tar.gz |
Allow SFS_USER and SFS_GROUP to be overridden, instead of hardcoded
to sfs:sfs. Bump PKGREVISION.
Diffstat (limited to 'security')
-rw-r--r-- | security/sfs/Makefile | 19 |
1 files changed, 11 insertions, 8 deletions
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 |