pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc * Bl3ify.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ecbbb54ba685
branches:  trunk
changeset: 474392:ecbbb54ba685
user:      uebayasi <uebayasi%pkgsrc.org@localhost>
date:      Wed Apr 28 11:27:54 2004 +0000

description:
* Bl3ify.
* Enable pkgviews installation.
* Obsolete PRIV_CONF_DIR and follow PKG_SYSCONFDIR, the standard.

diffstat:

 mk/bsd.pkg.defaults.mk |   8 +-------
 security/priv/Makefile |  17 ++++++-----------
 2 files changed, 7 insertions(+), 18 deletions(-)

diffs (54 lines):

diff -r 4a5bd473b416 -r ecbbb54ba685 mk/bsd.pkg.defaults.mk
--- a/mk/bsd.pkg.defaults.mk    Wed Apr 28 11:11:19 2004 +0000
+++ b/mk/bsd.pkg.defaults.mk    Wed Apr 28 11:27:54 2004 +0000
@@ -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 @@
 # 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 -r 4a5bd473b416 -r ecbbb54ba685 security/priv/Makefile
--- a/security/priv/Makefile    Wed Apr 28 11:11:19 2004 +0000
+++ b/security/priv/Makefile    Wed Apr 28 11:27:54 2004 +0000
@@ -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 @@
 MAINTAINER=    simonb%NetBSD.org@localhost
 COMMENT=       Execute commands as a different user
 
-GNU_CONFIGURE= yes
-
-PLIST_SRC=     ${WRKDIR}/plist
-
-.include "../../mk/bsd.prefs.mk"
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
-PRIV_CONF_DIR?=        ${LOCALBASE}/etc
+USE_BUILDLINK3=        YES
+GNU_CONFIGURE= YES
+USE_PKGINSTALL=        YES
 
-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"



Home | Main Index | Thread Index | Old Index