[arch-commits] Commit in ddclient/trunk (PKGBUILD usrbin.patch)

Jonathan Steel jsteel at nymeria.archlinux.org
Thu May 30 12:25:38 EDT 2013


    Date: Thursday, May 30, 2013 @ 18:25:37
  Author: jsteel
Revision: 91973

Move files to /usr/bin/

Added:
  ddclient/trunk/usrbin.patch
Modified:
  ddclient/trunk/PKGBUILD

--------------+
 PKGBUILD     |   11 +++++++----
 usrbin.patch |   13 +++++++++++++
 2 files changed, 20 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-30 13:48:49 UTC (rev 91972)
+++ PKGBUILD	2013-05-30 16:25:37 UTC (rev 91973)
@@ -5,7 +5,7 @@
 
 pkgname=ddclient
 pkgver=3.8.1
-pkgrel=6
+pkgrel=7
 pkgdesc="Update dynamic DNS entries for accounts on many dynamic DNS services"
 arch=('any')
 url="http://ddclient.sourceforge.net"
@@ -15,22 +15,25 @@
 install=ddclient.install
 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
         ddclient.service
-        iproute2.patch)
+        iproute2.patch
+        usrbin.patch)
 md5sums=('7fa417bc65f8f0e6ce78418a4f631988'
          'fde631ff027c03179e9cdd483def324d'
-         'e0c8a07e9b7a69e73cecd8626f16e8f0')
+         'e0c8a07e9b7a69e73cecd8626f16e8f0'
+         '65e294485a18b8d3f752a124913579f1')
 
 build() {
   cd "$srcdir"/ddclient-$pkgver
 
   patch -p1 < "$srcdir"/iproute2.patch
+  patch -Np0 -i "$srcdir"/usrbin.patch
 }
 
 package() {
   cd "$srcdir"/ddclient-$pkgver
 
   # core files
-  install -Dm755 ddclient "$pkgdir"/usr/sbin/ddclient
+  install -Dm755 ddclient "$pkgdir"/usr/bin/ddclient
   install -Dm600 sample-etc_ddclient.conf "$pkgdir"/etc/ddclient/ddclient.conf
   install -d "$pkgdir"/var/cache/ddclient
 

Added: usrbin.patch
===================================================================
--- usrbin.patch	                        (rev 0)
+++ usrbin.patch	2013-05-30 16:25:37 UTC (rev 91973)
@@ -0,0 +1,13 @@
+--- sample-etc_cron.d_ddclient.orig	2013-05-12 13:04:10.958327840 +0100
++++ sample-etc_cron.d_ddclient	2013-05-12 13:04:38.588178156 +0100
+@@ -10,8 +10,8 @@
+ ######################################################################
+ ## force an update twice a month (only if you are not using daemon-mode)
+ ##
+-## 30 23 1,15 * *	root    /usr/sbin/ddclient -daemon=0 -syslog -quiet -force
++## 30 23 1,15 * *	root    /usr/bin/ddclient -daemon=0 -syslog -quiet -force
+ ######################################################################
+ ## retry failed updates every hour (only if you are not using daemon-mode)
+ ##
+-## 0 * * * *	root    /usr/sbin/ddclient -daemon=0 -syslog -quiet retry
++## 0 * * * *	root    /usr/bin/ddclient -daemon=0 -syslog -quiet retry



More information about the arch-commits mailing list