pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/ddclient ddclient seems to lose its pidfile. It se...
details: https://anonhg.NetBSD.org/pkgsrc/rev/18a25908ac0d
branches: trunk
changeset: 389698:18a25908ac0d
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Sun Jan 06 16:52:17 2019 +0000
description:
ddclient seems to lose its pidfile. It sets its proctitle early and
often, though; rely on that to find the process. Bump PKGREVISION.
diffstat:
net/ddclient/Makefile | 4 ++--
net/ddclient/files/ddclient.sh | 19 +++++--------------
2 files changed, 7 insertions(+), 16 deletions(-)
diffs (52 lines):
diff -r a64509446360 -r 18a25908ac0d net/ddclient/Makefile
--- a/net/ddclient/Makefile Sun Jan 06 16:48:29 2019 +0000
+++ b/net/ddclient/Makefile Sun Jan 06 16:52:17 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.43 2018/09/03 12:37:45 gdt Exp $
+# $NetBSD: Makefile,v 1.44 2019/01/06 16:52:17 schmonz Exp $
DISTNAME= ddclient-3.8.3
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ddclient/}
EXTRACT_SUFX= .tar.bz2
diff -r a64509446360 -r 18a25908ac0d net/ddclient/files/ddclient.sh
--- a/net/ddclient/files/ddclient.sh Sun Jan 06 16:48:29 2019 +0000
+++ b/net/ddclient/files/ddclient.sh Sun Jan 06 16:52:17 2019 +0000
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: ddclient.sh,v 1.6 2004/01/16 13:14:01 jlam Exp $
+# $NetBSD: ddclient.sh,v 1.7 2019/01/06 16:52:17 schmonz Exp $
#
# Dynamic DNS update client
#
@@ -13,23 +13,14 @@
name="ddclient"
rcvar=${name}
-command="@PERL5@"
-daemon="@PREFIX@/sbin/${name}"
-pidfile="/var/run/${name}.pid"
-required_files="${daemon} @PKG_SYSCONFDIR@/${name}.conf"
-start_cmd="ddclient_start"
+command="@PREFIX@/sbin/${name}"
+required_files="@PKG_SYSCONFDIR@/${name}.conf"
extra_commands="reload"
-ddclient_start()
-{
- @ECHO@ "Starting ${name}."
- ${daemon} ${ddclient_flags} ${command_args}
-}
-
if [ -f /etc/rc.subr ]; then
load_rc_config $name
run_rc_command "$1"
else
- @ECHO@ -n " ${name}"
- ${daemon} ${ddclient_flags} ${command_args}
+ @ECHO_N@ " ${name}"
+ ${command} ${ddclient_flags} ${command_args}
fi
Home |
Main Index |
Thread Index |
Old Index