summaryrefslogtreecommitdiff
path: root/security/smtpd
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-01-29 11:34:21 +0000
committerwiz <wiz@pkgsrc.org>2001-01-29 11:34:21 +0000
commitb979f7222ad9bade13f010cd27e5bc6afab1681c (patch)
tree86f14acd24842161759a420487862022044c2b4b /security/smtpd
parent6a13219ca89e5dae86f27159ff86006058c06859 (diff)
downloadpkgsrc-b979f7222ad9bade13f010cd27e5bc6afab1681c.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/smtpd')
-rw-r--r--security/smtpd/Makefile7
-rw-r--r--security/smtpd/pkg/MESSAGE5
2 files changed, 4 insertions, 8 deletions
diff --git a/security/smtpd/Makefile b/security/smtpd/Makefile
index 2d34c46d6fe..a84f4a8ddd9 100644
--- a/security/smtpd/Makefile
+++ b/security/smtpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2000/09/03 13:22:31 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2001/01/29 11:34:41 wiz Exp $
#
DISTNAME= smtpd-2.0
@@ -11,7 +11,6 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.obtuse.com/smtpd.html
SPOOL= /var/spool/smtpd
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
pre-install:
-${MKDIR} ${SPOOL}/etc
@@ -20,8 +19,4 @@ pre-install:
${CHMOD} -R g=,o= ${SPOOL}
${CP} /etc/localtime /etc/resolv.conf ${SPOOL}/etc
-post-build:
- ${SED} -e 's#@PREFIX@#${PREFIX}#g' <${PKGDIR}/MESSAGE \
- >${MESSAGE_FILE}
-
.include "../../mk/bsd.pkg.mk"
diff --git a/security/smtpd/pkg/MESSAGE b/security/smtpd/pkg/MESSAGE
index ceac3b1a2d6..65fa24e97e8 100644
--- a/security/smtpd/pkg/MESSAGE
+++ b/security/smtpd/pkg/MESSAGE
@@ -1,5 +1,5 @@
==========================================================================
-$NetBSD: MESSAGE,v 1.2 2000/09/03 13:22:31 wiz Exp $
+$NetBSD: MESSAGE,v 1.3 2001/01/29 11:34:41 wiz Exp $
The necessary spool and configuration directories were created
under /var/spool/smtpd. Please edit /var/spool/smtpd/etc/smtp_check_rules
@@ -7,7 +7,8 @@ according to your taste.
You will want to start smtpfwdd in rc.local, and add a line like
-smtp stream tcp nowait root @PREFIX@/sbin/smtpd smtpd
+smtp stream tcp nowait root ${PREFIX}/sbin/smtpd smtpd
to your /etc/inetd.conf when you are done.
+
==========================================================================