pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/ddclient



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Sun Jan  6 16:52:17 UTC 2019

Modified Files:
        pkgsrc/net/ddclient: Makefile
        pkgsrc/net/ddclient/files: ddclient.sh

Log Message:
ddclient seems to lose its pidfile. It sets its proctitle early and
often, though; rely on that to find the process. Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/net/ddclient/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/net/ddclient/files/ddclient.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/ddclient/Makefile
diff -u pkgsrc/net/ddclient/Makefile:1.43 pkgsrc/net/ddclient/Makefile:1.44
--- pkgsrc/net/ddclient/Makefile:1.43   Mon Sep  3 12:37:45 2018
+++ pkgsrc/net/ddclient/Makefile        Sun Jan  6 16:52:17 2019
@@ -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

Index: pkgsrc/net/ddclient/files/ddclient.sh
diff -u pkgsrc/net/ddclient/files/ddclient.sh:1.6 pkgsrc/net/ddclient/files/ddclient.sh:1.7
--- pkgsrc/net/ddclient/files/ddclient.sh:1.6   Fri Jan 16 13:14:01 2004
+++ pkgsrc/net/ddclient/files/ddclient.sh       Sun Jan  6 16:52:17 2019
@@ -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 @@ fi
 
 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