pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/perdition Fix localstatedir (should be /var, not ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3273e47de3a8
branches:  trunk
changeset: 508027:3273e47de3a8
user:      tv <tv%pkgsrc.org@localhost>
date:      Mon Feb 13 15:18:32 2006 +0000

description:
Fix localstatedir (should be /var, not /var/run), and add rc.d scripts.
Bump PKGREVISION.

diffstat:

 mail/perdition/Makefile                  |   5 +++--
 mail/perdition/Makefile.common           |   4 ++--
 mail/perdition/files/perdition.imap4.sh  |  17 +++++++++++++++++
 mail/perdition/files/perdition.imap4s.sh |  17 +++++++++++++++++
 mail/perdition/files/perdition.pop3.sh   |  17 +++++++++++++++++
 mail/perdition/files/perdition.pop3s.sh  |  17 +++++++++++++++++
 6 files changed, 73 insertions(+), 4 deletions(-)

diffs (123 lines):

diff -r 20f8e3c34397 -r 3273e47de3a8 mail/perdition/Makefile
--- a/mail/perdition/Makefile   Mon Feb 13 15:17:21 2006 +0000
+++ b/mail/perdition/Makefile   Mon Feb 13 15:18:32 2006 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2006/02/05 23:09:57 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2006/02/13 15:18:32 tv Exp $
 #
 
-PKGREVISION=           1
+PKGREVISION=           2
 
 PERDITION_COMMENT=     main program
 
@@ -12,6 +12,7 @@
 .for f in Makefile.popmap perdition.conf popmap popmap.re
 CONF_FILES+=           ${EGDIR}/perdition/$f ${PKG_SYSCONFDIR}/${f:.popmap=}
 .endfor
+RCD_SCRIPTS+=          perdition.imap4 perdition.imap4s perdition.pop3 perdition.pop3s
 
 SUBST_CLASSES+=                paths
 SUBST_STAGE.paths=     pre-configure
diff -r 20f8e3c34397 -r 3273e47de3a8 mail/perdition/Makefile.common
--- a/mail/perdition/Makefile.common    Mon Feb 13 15:17:21 2006 +0000
+++ b/mail/perdition/Makefile.common    Mon Feb 13 15:18:32 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.1 2006/01/31 21:07:30 tv Exp $
+# $NetBSD: Makefile.common,v 1.2 2006/02/13 15:18:32 tv Exp $
 #
 
 PERDITION_VERSION=     1.17
@@ -16,7 +16,7 @@
 GNU_CONFIGURE=         yes
 PKG_SYSCONFSUBDIR=     perdition
 
-CONFIGURE_ARGS+=       --localstatedir=/var/run
+CONFIGURE_ARGS+=       --localstatedir=/var
 
 EGDIR=                 ${PREFIX}/share/examples
 INSTALL_AM_MAKEFLAGS=  sysconfdir=${EGDIR}
diff -r 20f8e3c34397 -r 3273e47de3a8 mail/perdition/files/perdition.imap4.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/perdition/files/perdition.imap4.sh   Mon Feb 13 15:18:32 2006 +0000
@@ -0,0 +1,17 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: perdition.imap4.sh,v 1.1 2006/02/13 15:18:32 tv Exp $
+#
+# PROVIDE: perdition
+# REQUIRE: DAEMON LOGIN
+
+. /etc/rc.subr
+
+procname="perdition.imap4"
+name="perdition_imap4"
+rcvar=$name
+command="@PREFIX@/sbin/${procname}"
+pidfile="/var/run/${procname}/${procname}.pid"
+
+load_rc_config $name
+run_rc_command "$1"
diff -r 20f8e3c34397 -r 3273e47de3a8 mail/perdition/files/perdition.imap4s.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/perdition/files/perdition.imap4s.sh  Mon Feb 13 15:18:32 2006 +0000
@@ -0,0 +1,17 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: perdition.imap4s.sh,v 1.1 2006/02/13 15:18:32 tv Exp $
+#
+# PROVIDE: perdition
+# REQUIRE: DAEMON LOGIN
+
+. /etc/rc.subr
+
+procname="perdition.imap4s"
+name="perdition_imap4s"
+rcvar=$name
+command="@PREFIX@/sbin/${procname}"
+pidfile="/var/run/${procname}/${procname}.pid"
+
+load_rc_config $name
+run_rc_command "$1"
diff -r 20f8e3c34397 -r 3273e47de3a8 mail/perdition/files/perdition.pop3.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/perdition/files/perdition.pop3.sh    Mon Feb 13 15:18:32 2006 +0000
@@ -0,0 +1,17 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: perdition.pop3.sh,v 1.1 2006/02/13 15:18:32 tv Exp $
+#
+# PROVIDE: perdition
+# REQUIRE: DAEMON LOGIN
+
+. /etc/rc.subr
+
+procname="perdition.pop3"
+name="perdition_pop3"
+rcvar=$name
+command="@PREFIX@/sbin/${procname}"
+pidfile="/var/run/${procname}/${procname}.pid"
+
+load_rc_config $name
+run_rc_command "$1"
diff -r 20f8e3c34397 -r 3273e47de3a8 mail/perdition/files/perdition.pop3s.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/perdition/files/perdition.pop3s.sh   Mon Feb 13 15:18:32 2006 +0000
@@ -0,0 +1,17 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: perdition.pop3s.sh,v 1.1 2006/02/13 15:18:32 tv Exp $
+#
+# PROVIDE: perdition
+# REQUIRE: DAEMON LOGIN
+
+. /etc/rc.subr
+
+procname="perdition.pop3s"
+name="perdition_pop3s"
+rcvar=$name
+command="@PREFIX@/sbin/${procname}"
+pidfile="/var/run/${procname}/${procname}.pid"
+
+load_rc_config $name
+run_rc_command "$1"



Home | Main Index | Thread Index | Old Index