pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/nullmailer Set USE_BUILDLINK3=yes and USE_LANGUAG...
details: https://anonhg.NetBSD.org/pkgsrc/rev/87f14159cfb8
branches: trunk
changeset: 480100:87f14159cfb8
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Mon Aug 30 14:34:11 2004 +0000
description:
Set USE_BUILDLINK3=yes and USE_LANGUAGES=c++. Use RCD_SCRIPTS in
the canonical way.
diffstat:
mail/nullmailer/Makefile | 7 ++++---
mail/nullmailer/files/nullmailer | 25 -------------------------
mail/nullmailer/files/nullmailer.sh | 25 +++++++++++++++++++++++++
3 files changed, 29 insertions(+), 28 deletions(-)
diffs (86 lines):
diff -r 298c68c25b52 -r 87f14159cfb8 mail/nullmailer/Makefile
--- a/mail/nullmailer/Makefile Mon Aug 30 14:03:49 2004 +0000
+++ b/mail/nullmailer/Makefile Mon Aug 30 14:34:11 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2003/07/17 21:46:36 grant Exp $
+# $NetBSD: Makefile,v 1.11 2004/08/30 14:34:11 schmonz Exp $
DISTNAME= nullmailer-1.00RC7
PKGNAME= ${DISTNAME:S/0RC7/.0rc7/}
@@ -9,6 +9,8 @@
HOMEPAGE= http://untroubled.org/nullmailer/
COMMENT= Simple relay-only mail transport agent
+USE_BUILDLINK3= yes
+USE_LANGUAGES= c++
USE_PKGINSTALL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
@@ -31,8 +33,7 @@
PLIST_SUBST+= NULLMAILER_GROUP=${NULLMAILER_GROUP} \
NULLMAILER_USER=${NULLMAILER_USER}
-RCD_SCRIPTS= nullmailer
-RCD_SCRIPT_SRC.nullmailer= ${FILESDIR}/nullmailer
+RCD_SCRIPTS= nullmailer
post-configure:
@${SED} ${FILES_SUBST_SED} ${FILESDIR}/mailer.conf > \
diff -r 298c68c25b52 -r 87f14159cfb8 mail/nullmailer/files/nullmailer
--- a/mail/nullmailer/files/nullmailer Mon Aug 30 14:03:49 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: nullmailer,v 1.3 2003/02/17 05:20:21 salo Exp $
-#
-# PROVIDE: mail
-# REQUIRE: LOGIN
-
-if [ -f /etc/rc.subr ]; then
- . /etc/rc.subr
-fi
-
-name="nullmailer"
-rcvar=$name
-
-nullmailer_user="nullmail"
-nullmailer_group="nullmail"
-
-command="@PREFIX@/libexec/nullmailer/nullmailer-send"
-command_args=" > /dev/null 2>&1 &"
-
-required_files="@PKG_SYSCONFDIR@/nullmailer/remotes /var/spool/nullmailer/trigger"
-required_dirs="/var/spool/nullmailer/queue /var/spool/nullmailer/tmp"
-
-load_rc_config $name
-run_rc_command "$1"
diff -r 298c68c25b52 -r 87f14159cfb8 mail/nullmailer/files/nullmailer.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/nullmailer/files/nullmailer.sh Mon Aug 30 14:34:11 2004 +0000
@@ -0,0 +1,25 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: nullmailer.sh,v 1.1 2004/08/30 14:34:11 schmonz Exp $
+#
+# PROVIDE: mail
+# REQUIRE: LOGIN
+
+if [ -f /etc/rc.subr ]; then
+ . /etc/rc.subr
+fi
+
+name="nullmailer"
+rcvar=$name
+
+nullmailer_user="nullmail"
+nullmailer_group="nullmail"
+
+command="@PREFIX@/libexec/nullmailer/nullmailer-send"
+command_args=" > /dev/null 2>&1 &"
+
+required_files="@PKG_SYSCONFDIR@/nullmailer/remotes /var/spool/nullmailer/trigger"
+required_dirs="/var/spool/nullmailer/queue /var/spool/nullmailer/tmp"
+
+load_rc_config $name
+run_rc_command "$1"
Home |
Main Index |
Thread Index |
Old Index