diff options
Diffstat (limited to 'net/openafs/Makefile')
-rw-r--r-- | net/openafs/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/net/openafs/Makefile b/net/openafs/Makefile index 4159fa28177..a8a95745517 100644 --- a/net/openafs/Makefile +++ b/net/openafs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2005/06/10 15:57:05 gendalia Exp $ +# $NetBSD: Makefile,v 1.7 2005/06/16 17:27:12 gendalia Exp $ DISTNAME= openafs-1.3.84-src PKGNAME= ${DISTNAME:C/-src//} @@ -20,6 +20,7 @@ CONFIGURE_ARGS+= --enable-bitmap-later --disable-kernel-module CONFIGURE_ARGS+= --enable-debug --enable-bos-new-config CONFIGURE_ARGS+= --enable-namei-fileserver CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q} +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} USE_GNU_CONFIGURE_HOST= no @@ -27,6 +28,7 @@ WRKSRC= ${WRKDIR}/${PKGNAME} PKG_SUPPORTED_OPTIONS = pam PKG_OPTIONS_VAR = PKG_OPTIONS.openafs +RCD_SCRIPTS+= bosserver .include "../../mk/bsd.options.mk" USE_PKGINSTALL= yes @@ -39,8 +41,11 @@ PLIST_SRC+= ${.CURDIR}/PLIST.pam CONFIGURE_ARGS+= --disable-pam .endif PLIST_SRC+= ${.CURDIR}/PLIST -OWN_DIRS+= ${VARBASE}/openafs -OWN_DIRS+= ${VARBASE}/openafs/db +OWN_DIRS+= ${PKG_SYSCONFDIR}/openafs +OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/openafs/server ${ROOT_USER} ${ROOT_GROUP} 775 +OWN_DIRS_PERMS+= ${VARBASE}/openafs ${ROOT_USER} ${ROOT_GROUP} 770 OWN_DIRS+= ${VARBASE}/openafs/logs +OWN_DIRS_PERMS+= ${VARBASE}/openafs/db ${ROOT_USER} ${ROOT_GROUP} 700 +FILES_SUBST+= HOSTNAME_CMD=${HOSTNAME_CMD:Q} .include "../../mk/bsd.pkg.mk" |