summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2004-04-28 11:27:54 +0000
committeruebayasi <uebayasi@pkgsrc.org>2004-04-28 11:27:54 +0000
commit9a6b55783485281d3cdb2f61e06a051177456c2e (patch)
tree0d8f6f7f2bee6d88000262d4aaf428b5376f4b4b
parentb3b780ea83f2053ceddd252b941f28626047e5da (diff)
downloadpkgsrc-9a6b55783485281d3cdb2f61e06a051177456c2e.tar.gz
* Bl3ify.
* Enable pkgviews installation. * Obsolete PRIV_CONF_DIR and follow PKG_SYSCONFDIR, the standard.
-rw-r--r--mk/bsd.pkg.defaults.mk8
-rw-r--r--security/priv/Makefile17
2 files changed, 7 insertions, 18 deletions
diff --git a/mk/bsd.pkg.defaults.mk b/mk/bsd.pkg.defaults.mk
index c4127b87d01..6ab194fb53d 100644
--- a/mk/bsd.pkg.defaults.mk
+++ b/mk/bsd.pkg.defaults.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.defaults.mk,v 1.234 2004/04/22 15:58:26 seb Exp $
+# $NetBSD: bsd.pkg.defaults.mk,v 1.235 2004/04/28 11:27:54 uebayasi Exp $
#
# A file providing defaults for pkgsrc and the packages collection.
@@ -1748,12 +1748,6 @@ PURE_FTPD_USE_VIRTUAL_CHROOT?= NO
# Possible: YES, not defined
# Default: not defined
-PRIV_CONF_DIR?=${LOCALBASE}/etc
-# Specify the parent of the directory for pkgsrc/security/priv
-# package's configuration data.
-# Possible: Any valid directory
-# Default: ${LOCALBASE}/etc
-
#PROCMAIL_MAILSPOOLHOME=.MailBox
# To default user mailboxes to their home directory,
# specify the name of the mailbox file.
diff --git a/security/priv/Makefile b/security/priv/Makefile
index e670bd1a920..bba005dda77 100644
--- a/security/priv/Makefile
+++ b/security/priv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2004/03/04 02:57:00 simonb Exp $
+# $NetBSD: Makefile,v 1.10 2004/04/28 11:27:54 uebayasi Exp $
#
DISTNAME= priv-1.0-beta2
@@ -9,17 +9,12 @@ MASTER_SITES= ftp://ftp.thistledown.com.au/pub/simonb/
MAINTAINER= simonb@NetBSD.org
COMMENT= Execute commands as a different user
-GNU_CONFIGURE= yes
+PKG_INSTALLATION_TYPES= overwrite pkgviews
-PLIST_SRC= ${WRKDIR}/plist
+USE_BUILDLINK3= YES
+GNU_CONFIGURE= YES
+USE_PKGINSTALL= YES
-.include "../../mk/bsd.prefs.mk"
-
-PRIV_CONF_DIR?= ${LOCALBASE}/etc
-
-CONFIGURE_ARGS+= --sysconfdir=${PRIV_CONF_DIR}
-
-post-install:
- ${SED} -e 's|@PRIV_CONF_DIR@|${PRIV_CONF_DIR}|g' ${PKGDIR}/PLIST > ${PLIST_SRC}
+OWN_DIRS= ${PKG_SYSCONFDIR}/priv
.include "../../mk/bsd.pkg.mk"