diff -u ddclient-3.7.0/debian/rules ddclient-3.7.0/debian/rules --- ddclient-3.7.0/debian/rules +++ ddclient-3.7.0/debian/rules @@ -59,7 +59,7 @@ dh_installexamples dh_installman dh_installmenu - dh_installinit + dh_installinit -u multiuser dh_installchangelogs dh_link dh_strip diff -u ddclient-3.7.0/debian/control ddclient-3.7.0/debian/control --- ddclient-3.7.0/debian/control +++ ddclient-3.7.0/debian/control @@ -2,12 +2,13 @@ Section: net Priority: extra Maintainer: Torsten Landschoff -Build-Depends: debhelper (>= 4.1.16), po-debconf +Build-Depends: debhelper (>= 4.1.16), po-debconf, quilt Standards-Version: 3.7.2 Package: ddclient Architecture: all -Depends: perl5, ${misc:Depends} +Depends: perl5, ${misc:Depends}, lsb-base +Recommends: libio-socket-ssl-perl Provides: dyndns-client Description: Update dynamic IP address at DynDNS.org A perl based client to update your dynamic IP address at DynDNS.org diff -u ddclient-3.7.0/debian/ddclient.init ddclient-3.7.0/debian/ddclient.init --- ddclient-3.7.0/debian/ddclient.init +++ ddclient-3.7.0/debian/ddclient.init @@ -29,6 +29,8 @@ OPTIONS="-daemon $daemon_interval -syslog" +. /lib/lsb/init-functions + set -e PIDFILE=/var/run/$NAME.pid @@ -36,22 +38,26 @@ case "$1" in start) if [ "$run_daemon" != "true" ]; then + log_warning_msg "To run ddclient as a daemon, please set run_daemon to 'true' in /etc/default/ddclient " + log_end_msg 0 exit 0 fi - echo -n "Starting $DESC: " + log_begin_msg "Starting $DESC..." start-stop-daemon --start --quiet --background \ - --pidfile $PIDFILE --exec $DAEMON -- $OPTIONS - echo "$NAME." + --pidfile $PIDFILE --exec $DAEMON -- $OPTIONS || log_end_msg 1 + log_end_msg 0 ;; stop) if [ "$run_daemon" != "true" ]; then + log_warning_msg "To run ddclient as a daemon, please set run_daemon to 'true' in /etc/default/ddclient " + log_end_msg 0 exit 0 fi - echo -n "Stopping $DESC: " + log_begin_msg "Stopping $DESC..." start-stop-daemon --stop --retry 10 --quiet \ - --pidfile $PIDFILE --oknodo - echo "$NAME." + --pidfile $PIDFILE --oknodo || log_end_msg 1 + log_end_msg 0 ;; status) @@ -84,6 +90,8 @@ restart|force-reload) if [ $run_daemon != "true" ]; then + log_warning_msg "To run ddclient as a daemon, please set run_daemon to 'true' in /etc/default/ddclient " + log_end_msg 0 exit 0 fi # @@ -91,20 +99,20 @@ # option to the "reload" entry above. If not, "force-reload" is # just the same as "restart". # - echo -n "Restarting $DESC: " + log_begin_msg "Restarting $DESC..." #start-stop-daemon --stop --quiet --pidfile \ # /var/run/$NAME.pid --exec $DAEMON -- $OPTIONS - $0 stop >/dev/null - $0 start >/dev/null + $0 stop + $0 start || log_end_msg 1 #start-stop-daemon --start --quiet --pidfile \ #/var/run/$NAME.pid --exec $DAEMON -- $OPTIONS - echo "$NAME." + log_end_msg 0 ;; *) N=/etc/init.d/$NAME # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 - echo "Usage: $N {start|stop|restart|force-reload}" >&2 + log_success_msg "Usage: $N {start|stop|restart|force-reload}" exit 1 ;; esac diff -u ddclient-3.7.0/debian/changelog ddclient-3.7.0/debian/changelog --- ddclient-3.7.0/debian/changelog +++ ddclient-3.7.0/debian/changelog @@ -1,3 +1,16 @@ +ddclient (3.7.0-1ubuntu1) feisty; urgency=low + + * Merge from debian unstable, remaining changes: + - add quilt to build-depends + - add lsb-base to depends + - make init script nicer (use lsb functions) + * debian/ddclient.init: improve error message when ddclient isn't set to run + as a daemon (Closes Ubuntu: #54102) + * debian/rules: call dh_installinit with -u multiuser (Teardown spec) + * debian/control: recommend libio-socket-ssl-perl + + -- Michael Bienia Sun, 3 Dec 2006 14:51:40 +0100 + ddclient (3.7.0-1) unstable; urgency=low * New upstream release. @@ -11,6 +24,28 @@ -- Torsten Landschoff Fri, 1 Dec 2006 23:21:33 +0100 +ddclient (3.6.7-2ubuntu3) edgy; urgency=low + + * add quilt to build-depends + + -- Michael Bienia Mon, 11 Sep 2006 00:02:45 +0200 + +ddclient (3.6.7-2ubuntu2) edgy; urgency=low + + * debian/ddclient.init: Fix incomplete merge + (Closes Ubuntu: #59219). + * debian/control: Fix lintian error regarding B-D-I. + + -- Daniel T Chen Wed, 6 Sep 2006 13:59:29 -0400 + +ddclient (3.6.7-2ubuntu1) edgy; urgency=low + + * Merge from Debian unstable. Remaining changes: + - Added dependency on lsb-base. + - Patch to make init script nicer. + + -- William Alexander Grant Wed, 6 Sep 2006 11:02:36 +1000 + ddclient (3.6.7-2) unstable; urgency=low * Pass timeout to IO::Socket when opening the server connection to @@ -37,6 +72,12 @@ -- Torsten Landschoff Wed, 5 Apr 2006 02:01:22 +0200 +ddclient (3.6.2-6ubuntu1) dapper; urgency=low + + * Resynchronise with Debian. + + -- Reinhard Tartler Sun, 13 Nov 2005 21:48:55 +0100 + ddclient (3.6.2-6) unstable; urgency=low * debian/po/POTFILES.in: Fix reference for debian/templates which now is @@ -98,6 +139,20 @@ -- Christian Perrier Wed, 16 Feb 2005 18:49:55 +0100 +ddclient (3.6.2-3ubuntu2) hoary; urgency=low + + * added Depends on lsb-base. + * changed Standards version to 3.6.1 + + -- Daniel Holbach Wed, 16 Mar 2005 08:44:57 +0100 + +ddclient (3.6.2-3ubuntu1) hoary; urgency=low + + * applied patch by Daniel Robitaille to make + the init script nicer. + + -- Daniel Holbach Tue, 15 Mar 2005 10:38:12 +0100 + ddclient (3.6.2-3) unstable; urgency=low * Acknowledge NMUs (closes: #166911, #156340, #138826, #128897). Thanks