[arch-commits] Commit in ddclient/repos/community-any (12 files)

Jonathan Steel jsteel at nymeria.archlinux.org
Sun May 12 04:36:11 EDT 2013


    Date: Sunday, May 12, 2013 @ 10:36:11
  Author: jsteel
Revision: 90403

archrelease: copy trunk to community-any

Added:
  ddclient/repos/community-any/ChangeLog
    (from rev 90402, ddclient/trunk/ChangeLog)
  ddclient/repos/community-any/PKGBUILD
    (from rev 90402, ddclient/trunk/PKGBUILD)
  ddclient/repos/community-any/ddclient.install
    (from rev 90402, ddclient/trunk/ddclient.install)
  ddclient/repos/community-any/ddclient.service
    (from rev 90402, ddclient/trunk/ddclient.service)
  ddclient/repos/community-any/iproute2.patch
    (from rev 90402, ddclient/trunk/iproute2.patch)
Deleted:
  ddclient/repos/community-any/ChangeLog
  ddclient/repos/community-any/PKGBUILD
  ddclient/repos/community-any/ddclient.conf.d
  ddclient/repos/community-any/ddclient.install
  ddclient/repos/community-any/ddclient.rc
  ddclient/repos/community-any/ddclient.service
  ddclient/repos/community-any/iproute2.patch

------------------+
 ChangeLog        |   92 ++++++++++++++++++++++++++---------------------------
 PKGBUILD         |   92 ++++++++++++++++++++++++-----------------------------
 ddclient.conf.d  |    2 -
 ddclient.install |   74 +++++++++++++++++++++---------------------
 ddclient.rc      |   41 -----------------------
 ddclient.service |   22 ++++++------
 iproute2.patch   |   58 ++++++++++++++++-----------------
 7 files changed, 166 insertions(+), 215 deletions(-)

Deleted: ChangeLog
===================================================================
--- ChangeLog	2013-05-12 08:35:53 UTC (rev 90402)
+++ ChangeLog	2013-05-12 08:36:11 UTC (rev 90403)
@@ -1,46 +0,0 @@
-2012-06-08	Chris Brannon <chris at the-brannons.com>
-	* ddclient 3.8.1-4
-	Added the systemd unit from the soon-to-be-defunct systemd-arch-units
-	package.
-
-2012-03-12	Chris Brannon <chris at the-brannons.com>
-	* ddclient 3.8.1-3
-	Applied a patch to use iproute2, rather than net-tools.
-
-2012-02-17	Chris Brannon <chris at the-brannons.com>
-	* ddclient 3.8.1-2
-	Signed package.
-
-2011-07-19	Chris Brannon <chris at the-brannons.com>
-	* ddclient 3.8.1-1
-	New upstream version.
-
-2011-07-05	Chris Brannon <chris at the-brannons.com>
-	* ddclient 3.8.0-3
-	Fixed handling of the PID in the rc script.
-	  When run as a daemon with the default config file, ddclient writes
-	  its pid to /var/run/ddclient.pid.  So no need to call pidof
-	  when stopping the daemon.  Fixes FS#24677.
-
-2008-08-07	Abhishek Dasgupta <abhidg at gmail.com>
-	
-	* ddclient 3.7.3-2
-	* added /etc/conf.d/ddclient for modifying
-	  daemon poll frequency. This overrides the
-	  setting specified in /etc/ddclient/ddclient.conf
-	  when ddclient is called as an rc script.
-
-2007-08-08  Alessio 'mOLOk' Bolognino <themolok at gmail.com>
-
-	* ddclient-3.7.3-1
-	* version bump
-	* GPL -> GPL2
-	* shortened pkgdesc
-
-2007-07-02  tardo <tardo at nagi-fanboi.net>
-
-	* Built for x86_64
-
-2007-06-29  Georg Grabler (STiAT) <ggrabler at gmail.com>
-	
-	* Version Bump to 3.7.2

Copied: ddclient/repos/community-any/ChangeLog (from rev 90402, ddclient/trunk/ChangeLog)
===================================================================
--- ChangeLog	                        (rev 0)
+++ ChangeLog	2013-05-12 08:36:11 UTC (rev 90403)
@@ -0,0 +1,46 @@
+2012-06-08	Chris Brannon <chris at the-brannons.com>
+	* ddclient 3.8.1-4
+	Added the systemd unit from the soon-to-be-defunct systemd-arch-units
+	package.
+
+2012-03-12	Chris Brannon <chris at the-brannons.com>
+	* ddclient 3.8.1-3
+	Applied a patch to use iproute2, rather than net-tools.
+
+2012-02-17	Chris Brannon <chris at the-brannons.com>
+	* ddclient 3.8.1-2
+	Signed package.
+
+2011-07-19	Chris Brannon <chris at the-brannons.com>
+	* ddclient 3.8.1-1
+	New upstream version.
+
+2011-07-05	Chris Brannon <chris at the-brannons.com>
+	* ddclient 3.8.0-3
+	Fixed handling of the PID in the rc script.
+	  When run as a daemon with the default config file, ddclient writes
+	  its pid to /var/run/ddclient.pid.  So no need to call pidof
+	  when stopping the daemon.  Fixes FS#24677.
+
+2008-08-07	Abhishek Dasgupta <abhidg at gmail.com>
+	
+	* ddclient 3.7.3-2
+	* added /etc/conf.d/ddclient for modifying
+	  daemon poll frequency. This overrides the
+	  setting specified in /etc/ddclient/ddclient.conf
+	  when ddclient is called as an rc script.
+
+2007-08-08  Alessio 'mOLOk' Bolognino <themolok at gmail.com>
+
+	* ddclient-3.7.3-1
+	* version bump
+	* GPL -> GPL2
+	* shortened pkgdesc
+
+2007-07-02  tardo <tardo at nagi-fanboi.net>
+
+	* Built for x86_64
+
+2007-06-29  Georg Grabler (STiAT) <ggrabler at gmail.com>
+	
+	* Version Bump to 3.7.2

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-12 08:35:53 UTC (rev 90402)
+++ PKGBUILD	2013-05-12 08:36:11 UTC (rev 90403)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Jonathan Steel <mail at jsteel.org>
-# Contributor: Abhishek Dasgupta <abhidg at gmail.com>
-# Contributor: David Rosenstrauch <darose at darose.net>
-
-pkgname=ddclient
-pkgver=3.8.1
-pkgrel=5
-pkgdesc="Update dynamic DNS entries for accounts on many dynamic DNS services"
-arch=('any')
-url="http://ddclient.sourceforge.net"
-license=('GPL2')
-depends=('perl-io-socket-ssl' 'perl-digest-sha1')
-backup=('etc/ddclient/ddclient.conf' 'etc/conf.d/ddclient')
-install=ddclient.install
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
-        ddclient.rc
-        ddclient.conf.d
-        ddclient.service
-        iproute2.patch)
-md5sums=('7fa417bc65f8f0e6ce78418a4f631988'
-         '10af4667b7269132b8f0cdfc26864d89'
-         'b8f39c82827776da948b76ef83544d33'
-         'fde631ff027c03179e9cdd483def324d'
-         'e0c8a07e9b7a69e73cecd8626f16e8f0')
-
-build() {
-  cd "$srcdir"/ddclient-$pkgver
-
-  patch -p1 < "$srcdir"/iproute2.patch
-}
-
-package() {
-  cd "$srcdir"/ddclient-$pkgver
-
-  # core files
-  install -Dm755 ddclient "$pkgdir"/usr/sbin/ddclient
-  install -Dm755 "$srcdir"/ddclient.rc "$pkgdir"/etc/rc.d/ddclient
-  install -Dm600 sample-etc_ddclient.conf "$pkgdir"/etc/ddclient/ddclient.conf
-  install -Dm644 "$srcdir"/ddclient.conf.d "$pkgdir"/etc/conf.d/ddclient
-  install -d "$pkgdir"/var/cache/ddclient
-
-  # additional instructions, sample configs
-  install -Dm644 README "$pkgdir"/etc/ddclient/samples/README
-  install -Dm644 sample-etc_cron.d_ddclient "$pkgdir"/etc/ddclient/samples/sample-etc_cron.d_ddclient
-  install -Dm644 sample-etc_dhcpc_dhcpcd-eth0.exe "$pkgdir"/etc/ddclient/samples/sample-etc_dhcpc_dhcpcd-eth0.exe
-  install -Dm644 sample-etc_ppp_ip-up.local "$pkgdir"/etc/ddclient/samples/sample-etc_ppp_ip-up.local
-  install -Dm644 "$srcdir"/$pkgname.service "$pkgdir"/usr/lib/systemd/system/$pkgname.service
-}

Copied: ddclient/repos/community-any/PKGBUILD (from rev 90402, ddclient/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-05-12 08:36:11 UTC (rev 90403)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Jonathan Steel <mail at jsteel.org>
+# Contributor: Abhishek Dasgupta <abhidg at gmail.com>
+# Contributor: David Rosenstrauch <darose at darose.net>
+
+pkgname=ddclient
+pkgver=3.8.1
+pkgrel=6
+pkgdesc="Update dynamic DNS entries for accounts on many dynamic DNS services"
+arch=('any')
+url="http://ddclient.sourceforge.net"
+license=('GPL2')
+depends=('perl-io-socket-ssl' 'perl-digest-sha1')
+backup=('etc/ddclient/ddclient.conf')
+install=ddclient.install
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
+        ddclient.service
+        iproute2.patch)
+md5sums=('7fa417bc65f8f0e6ce78418a4f631988'
+         'fde631ff027c03179e9cdd483def324d'
+         'e0c8a07e9b7a69e73cecd8626f16e8f0')
+
+build() {
+  cd "$srcdir"/ddclient-$pkgver
+
+  patch -p1 < "$srcdir"/iproute2.patch
+}
+
+package() {
+  cd "$srcdir"/ddclient-$pkgver
+
+  # core files
+  install -Dm755 ddclient "$pkgdir"/usr/sbin/ddclient
+  install -Dm600 sample-etc_ddclient.conf "$pkgdir"/etc/ddclient/ddclient.conf
+  install -d "$pkgdir"/var/cache/ddclient
+
+  # additional instructions, sample configs
+  install -Dm644 README "$pkgdir"/etc/ddclient/samples/README
+  install -Dm644 sample-etc_cron.d_ddclient "$pkgdir"/etc/ddclient/samples/sample-etc_cron.d_ddclient
+  install -Dm644 sample-etc_dhcpc_dhcpcd-eth0.exe "$pkgdir"/etc/ddclient/samples/sample-etc_dhcpc_dhcpcd-eth0.exe
+  install -Dm644 sample-etc_ppp_ip-up.local "$pkgdir"/etc/ddclient/samples/sample-etc_ppp_ip-up.local
+  install -Dm644 "$srcdir"/$pkgname.service "$pkgdir"/usr/lib/systemd/system/$pkgname.service
+}

Deleted: ddclient.conf.d
===================================================================
--- ddclient.conf.d	2013-05-12 08:35:53 UTC (rev 90402)
+++ ddclient.conf.d	2013-05-12 08:36:11 UTC (rev 90403)
@@ -1,2 +0,0 @@
-# Parameters passed to ddclient
-EXTRA_ARGS="-daemon 300"

Deleted: ddclient.install
===================================================================
--- ddclient.install	2013-05-12 08:35:53 UTC (rev 90402)
+++ ddclient.install	2013-05-12 08:36:11 UTC (rev 90403)
@@ -1,37 +0,0 @@
-# arg 1:  the new package version
-post_install() {
-cat << EOM
-
-If you want to use ddclient with dhcpcd, cron or pppd,
-see /etc/ddclient/samples for further instructions.
-
-If you have ddclient in the DAEMONS array of /etc/rc.conf:
-- Change /etc/conf.d/ddclient according to your needs.
-- This setting OVERRIDES any setting in
-  /etc/ddclient/ddclient.conf
-
-EOM
-}
-
-# arg 1:  the new package version
-# arg 2:  the old package version
-post_upgrade() {
-  
-if [ -f /etc/ddclient/ddclient.cache ]; then
-	echo -n "Moving ddclient.cache from /etc/ddclient/ to /var/cache/ddclient/."
-	mv /etc/ddclient/ddclient.cache /var/cache/ddclient/
-	echo " (done)"
-fi
-
-if [ "$(vercmp $2 3.7.3-2)" -lt 0 ]; then
-cat << EOM
-
-If you have ddclient in the DAEMONS array of /etc/rc.conf:
-- Change /etc/conf.d/ddclient according to your needs.
-- This setting OVERRIDES any setting in
-  /etc/ddclient/ddclient.conf
-
-EOM
-fi
-
-}

Copied: ddclient/repos/community-any/ddclient.install (from rev 90402, ddclient/trunk/ddclient.install)
===================================================================
--- ddclient.install	                        (rev 0)
+++ ddclient.install	2013-05-12 08:36:11 UTC (rev 90403)
@@ -0,0 +1,37 @@
+# arg 1:  the new package version
+post_install() {
+cat << EOM
+
+If you want to use ddclient with dhcpcd, cron or pppd,
+see /etc/ddclient/samples for further instructions.
+
+If you have ddclient in the DAEMONS array of /etc/rc.conf:
+- Change /etc/conf.d/ddclient according to your needs.
+- This setting OVERRIDES any setting in
+  /etc/ddclient/ddclient.conf
+
+EOM
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  
+if [ -f /etc/ddclient/ddclient.cache ]; then
+	echo -n "Moving ddclient.cache from /etc/ddclient/ to /var/cache/ddclient/."
+	mv /etc/ddclient/ddclient.cache /var/cache/ddclient/
+	echo " (done)"
+fi
+
+if [ "$(vercmp $2 3.7.3-2)" -lt 0 ]; then
+cat << EOM
+
+If you have ddclient in the DAEMONS array of /etc/rc.conf:
+- Change /etc/conf.d/ddclient according to your needs.
+- This setting OVERRIDES any setting in
+  /etc/ddclient/ddclient.conf
+
+EOM
+fi
+
+}

Deleted: ddclient.rc
===================================================================
--- ddclient.rc	2013-05-12 08:35:53 UTC (rev 90402)
+++ ddclient.rc	2013-05-12 08:36:11 UTC (rev 90403)
@@ -1,41 +0,0 @@
-#!/bin/bash
-
-[ -f /etc/conf.d/ddclient ] && . /etc/conf.d/ddclient
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PIDFILE=/var/run/ddclient.pid
-  PID=`cat $PIDFILE 2>/dev/null`
-
-# Is ddclient running?
-
-case "$1" in
-  start)
-    stat_busy "Starting ddclient"
-    [ -z "$PID" ] && /usr/sbin/ddclient ${EXTRA_ARGS}
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      add_daemon ddclient
-      stat_done
-    fi
-    ;;
-  stop)
-    stat_busy "Stopping ddclient"
-    [ -n "$PID" ] && kill -15 $PID >/dev/null
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      rm_daemon ddclient
-      stat_done
-    fi
-    ;;
-  restart)
-    $0 stop
-    sleep 1
-    $0 start
-    ;;
-  *)
-    echo "usage: $0 {start|stop|restart}"  
-esac

Deleted: ddclient.service
===================================================================
--- ddclient.service	2013-05-12 08:35:53 UTC (rev 90402)
+++ ddclient.service	2013-05-12 08:36:11 UTC (rev 90403)
@@ -1,11 +0,0 @@
-[Unit]
-Description=Dynamic DNS Update Client
-After=network.target
-
-[Service]
-Type=forking
-PIDFile=/run/ddclient.pid
-ExecStart=/usr/sbin/ddclient -daemon 300 -syslog -pid /run/ddclient.pid
-
-[Install]
-WantedBy=multi-user.target

Copied: ddclient/repos/community-any/ddclient.service (from rev 90402, ddclient/trunk/ddclient.service)
===================================================================
--- ddclient.service	                        (rev 0)
+++ ddclient.service	2013-05-12 08:36:11 UTC (rev 90403)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Dynamic DNS Update Client
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/ddclient.pid
+ExecStart=/usr/sbin/ddclient -daemon 300 -syslog -pid /run/ddclient.pid
+
+[Install]
+WantedBy=multi-user.target

Deleted: iproute2.patch
===================================================================
--- iproute2.patch	2013-05-12 08:35:53 UTC (rev 90402)
+++ iproute2.patch	2013-05-12 08:36:11 UTC (rev 90403)
@@ -1,29 +0,0 @@
---- a/ddclient.orig	2012-02-17 13:12:29.000000000 +0000
-+++ b/ddclient	2012-02-27 13:03:02.357329432 +0000
-@@ -588,7 +588,7 @@
-     [ "ip",          "=s", "-ip address           : set the IP address to 'address'" ],
-     "",			     
-     [ "if",          "=s", "-if interface         : obtain IP address from 'interface'" ],
--    [ "if-skip",     "=s", "-if-skip pattern      : skip any IP addresses before 'pattern' in the output of ifconfig {if}" ],
-+    [ "if-skip",     "=s", "-if-skip pattern      : skip any IP addresses before 'pattern' in the output of ip addr show {if}" ],
-     "",
-     [ "web",         "=s", "-web provider|url     : obtain IP address from provider's IP checking page" ],
-     [ "web-skip",    "=s", "-web-skip pattern     : skip any IP addresses before 'pattern' on the web provider|url" ],
-@@ -1316,7 +1316,7 @@
- 
-     {
- 	local $opt{'use'} = 'if';
--	foreach my $if (grep {/^[a-zA-Z]/} `ifconfig -a`) {
-+	foreach my $if (grep {/^[a-zA-Z]/} `ip addr show`) {
- 	    $if =~ s/:?\s.*//is;
- 	    local $opt{'if'} = $if;
- 	    printf "use=if, if=%s address is %s\n", opt('if'), define(get_ip('if'), 'NOT FOUND');
-@@ -1937,7 +1937,7 @@
- 
-     } elsif ($use eq 'if') {
- 	$skip  = opt('if-skip', $h)  || '';
--	$reply = `ifconfig $arg 2> /dev/null`;
-+	$reply = `ip addr show $arg 2> /dev/null`;
- 	$reply = '' if $?;
- 
-     } elsif ($use eq 'cmd') {

Copied: ddclient/repos/community-any/iproute2.patch (from rev 90402, ddclient/trunk/iproute2.patch)
===================================================================
--- iproute2.patch	                        (rev 0)
+++ iproute2.patch	2013-05-12 08:36:11 UTC (rev 90403)
@@ -0,0 +1,29 @@
+--- a/ddclient.orig	2012-02-17 13:12:29.000000000 +0000
++++ b/ddclient	2012-02-27 13:03:02.357329432 +0000
+@@ -588,7 +588,7 @@
+     [ "ip",          "=s", "-ip address           : set the IP address to 'address'" ],
+     "",			     
+     [ "if",          "=s", "-if interface         : obtain IP address from 'interface'" ],
+-    [ "if-skip",     "=s", "-if-skip pattern      : skip any IP addresses before 'pattern' in the output of ifconfig {if}" ],
++    [ "if-skip",     "=s", "-if-skip pattern      : skip any IP addresses before 'pattern' in the output of ip addr show {if}" ],
+     "",
+     [ "web",         "=s", "-web provider|url     : obtain IP address from provider's IP checking page" ],
+     [ "web-skip",    "=s", "-web-skip pattern     : skip any IP addresses before 'pattern' on the web provider|url" ],
+@@ -1316,7 +1316,7 @@
+ 
+     {
+ 	local $opt{'use'} = 'if';
+-	foreach my $if (grep {/^[a-zA-Z]/} `ifconfig -a`) {
++	foreach my $if (grep {/^[a-zA-Z]/} `ip addr show`) {
+ 	    $if =~ s/:?\s.*//is;
+ 	    local $opt{'if'} = $if;
+ 	    printf "use=if, if=%s address is %s\n", opt('if'), define(get_ip('if'), 'NOT FOUND');
+@@ -1937,7 +1937,7 @@
+ 
+     } elsif ($use eq 'if') {
+ 	$skip  = opt('if-skip', $h)  || '';
+-	$reply = `ifconfig $arg 2> /dev/null`;
++	$reply = `ip addr show $arg 2> /dev/null`;
+ 	$reply = '' if $?;
+ 
+     } elsif ($use eq 'cmd') {



More information about the arch-commits mailing list