summaryrefslogtreecommitdiff
path: root/mail/nullmailer/Makefile
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2003-02-17 01:45:31 +0000
committerjtb <jtb@pkgsrc.org>2003-02-17 01:45:31 +0000
commit63cdf68f7cd67816c2b57dfe82dcb8a6fd1ad013 (patch)
tree8d52a3bf5e1bc4a51ff4261d4393a928a35cd8cc /mail/nullmailer/Makefile
parentf86c8ec1b584d3c93cef994a38a868550a218df8 (diff)
downloadpkgsrc-63cdf68f7cd67816c2b57dfe82dcb8a6fd1ad013.tar.gz
Update to nullmailer-100RC7.
Changes for pkgsrc: * Added an rc.d/nullmailer script * Added brief instructions on how to set up nullmailer in MESSAGE. * Changed spool directory from /var/nullmailer to /var/spool/nullmailer Changes in nullmailer itself: Changes in version 1.00RC7 - Fixed typo in smtp protocol module that caused HELO to be sent without a hostname. - Added a one-shot mode to nullmailer-send, triggered by setting the pausetime to zero. Note: If no further bugs are found, this will become the official version 1.00 release. Changes in version 1.00RC6 - Protocol modules now report all failure and success messages. - Removed the whole gethostname/getdomainname mess and replaced it with code to read the hostname from the "me" control file, and the default domain name from the "defaultdomain" control file. - Fixed a bug that would cause lines starting with a period to have that period stripped when it was sent via SMTP. - Added some missing includes to fix compilation failures in various sources. - Fixed a bug in the setenv function in sendmail.cc. NOTE! Make sure to set up the new "me" control file before using this version. The RPM install does this automatically.
Diffstat (limited to 'mail/nullmailer/Makefile')
-rw-r--r--mail/nullmailer/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/mail/nullmailer/Makefile b/mail/nullmailer/Makefile
index 6ca807d5fd8..8f0914d85ab 100644
--- a/mail/nullmailer/Makefile
+++ b/mail/nullmailer/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2003/01/28 22:03:35 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2003/02/17 01:45:31 jtb Exp $
-DISTNAME= nullmailer-1.00RC5
+DISTNAME= nullmailer-1.00RC7
CATEGORIES= mail
MASTER_SITES= http://untroubled.org/nullmailer/
@@ -8,9 +8,10 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://untroubled.org/nullmailer/
COMMENT= Simple relay-only mail transport agent
-USE_PKGINSTALL= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} --localstatedir=/var
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} --localstatedir=/var/spool
+CONFIGURE_ARGS+= --bindir=${PREFIX}/libexec/nullmailer
+CONFIGURE_ARGS+= --sbindir=${PREFIX}/libexec/nullmailer
INSTALL_TARGET= install install-data-local install-root
@@ -24,8 +25,7 @@ PKG_USERS?= ${NULLMAILER_USER}:${NULLMAILER_GROUP}
MAKE_ENV+= NULLMAILER_GROUP=${NULLMAILER_GROUP}
MAKE_ENV+= NULLMAILER_USER=${NULLMAILER_USER}
-PLIST_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} \
- NULLMAILER_GROUP=${NULLMAILER_GROUP} \
+PLIST_SUBST+= NULLMAILER_GROUP=${NULLMAILER_GROUP} \
NULLMAILER_USER=${NULLMAILER_USER}
pre-configure:
@@ -39,5 +39,7 @@ post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nullmailer
cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS BUGS COPYING ChangeLog \
HOWTO NEWS README TODO ${PREFIX}/share/doc/nullmailer
+ ${INSTALL_DATA} ${FILESDIR}/nullmailer ${PKG_SYSCONFDIR}/rc.d
+.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"