summaryrefslogtreecommitdiff
path: root/security/sudo
diff options
context:
space:
mode:
authorwiz <wiz>2001-01-29 11:34:21 +0000
committerwiz <wiz>2001-01-29 11:34:21 +0000
commit3ce638ed02adf3649ce7b39076071ccb64529784 (patch)
tree86f14acd24842161759a420487862022044c2b4b /security/sudo
parent33d3218590bab0dca7122812c6edc6f6b124689f (diff)
downloadpkgsrc-3ce638ed02adf3649ce7b39076071ccb64529784.tar.gz
Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced, not @VARIABLE@, nor @@VARIABLE@@). By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX, X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST. Clean up some packages while I'm there; add RCS tags to most MESSAGEs. Remove some uninteresting MESSAGEs.
Diffstat (limited to 'security/sudo')
-rw-r--r--security/sudo/Makefile7
-rw-r--r--security/sudo/pkg/MESSAGE4
2 files changed, 3 insertions, 8 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 4ad1acbfdd6..a29f34823b2 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2000/12/06 16:27:39 jlam Exp $
+# $NetBSD: Makefile,v 1.29 2001/01/29 11:34:42 wiz Exp $
# FreeBSD Id: Makefile,v 1.9 1997/11/12 03:24:41 obrien Exp
#
@@ -43,7 +43,6 @@ CONFIGURE_ARGS+= --with-nbsdops --disable-path-info
PLIST_SRC= ${PKGDIR}/PLIST.common
PLIST_SRC+= ${PKGDIR}/PLIST.${LOWER_OPSYS}
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
DOCDIR= ${PREFIX}/share/doc/sudo
EGDIR= ${PREFIX}/share/examples/sudo
@@ -51,10 +50,6 @@ EGDIR= ${PREFIX}/share/examples/sudo
pre-configure:
cd ${WRKSRC} && autoconf
-post-build:
- ${SED} -e "s,@PREFIX@,${PREFIX},g" \
- < ${PKGDIR}/MESSAGE > ${MESSAGE_FILE}
-
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/UPGRADE ${DOCDIR}
diff --git a/security/sudo/pkg/MESSAGE b/security/sudo/pkg/MESSAGE
index f1ff8fa5979..d691cdc6dc4 100644
--- a/security/sudo/pkg/MESSAGE
+++ b/security/sudo/pkg/MESSAGE
@@ -1,9 +1,9 @@
=============================================================================
-$NetBSD: MESSAGE,v 1.1 2000/12/06 06:33:40 jlam Exp $
+$NetBSD: MESSAGE,v 1.2 2001/01/29 11:34:42 wiz Exp $
If you are upgrading from a version of sudo prior to 1.6, then please read
- @PREFIX@/share/doc/sudo/UPGRADE
+ ${PREFIX}/share/doc/sudo/UPGRADE
on how to modify your sudoers file appropriately.