summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordemize2015-11-17 17:48:21 +0000
committersvntogit2015-11-17 17:48:21 +0000
commitdd54d3326d2683f7308f115375fb8f4ffc9d428e (patch)
treeb0954ce181b580d75efee2f38c40529d09105810
parent266653b2e1f621f0ee31dd29cdef8b1712f53d1c (diff)
downloadaur-dd54d3326d2683f7308f115375fb8f4ffc9d428e.tar.gz
upgpkg: ddclient 3.8.3-2 (add JSON::Any optdep)
The JSON::Any perl module is needed for the cloudflare module to work. git-svn-id: file:///srv/repos/svn-community/svn@147010 9fca08f4-af9d-4005-b8df-a31f2cc04f65
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD25
2 files changed, 20 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3887e40e38c..d625851393b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,19 @@
pkgbase = ddclient
pkgdesc = Update dynamic DNS entries for accounts on many dynamic DNS services
pkgver = 3.8.3
- pkgrel = 1
+ pkgrel = 2
url = http://ddclient.sourceforge.net
arch = any
license = GPL2
depends = perl-io-socket-ssl
depends = perl-digest-sha1
depends = net-tools
+ optdepends = perl-json-any: needed for cloudflare module
backup = etc/ddclient/ddclient.conf
source = http://downloads.sourceforge.net/sourceforge/ddclient/ddclient-3.8.3.tar.bz2
source = ddclient.service
- md5sums = 3b426ae52d509e463b42eeb08fb89e0b
- md5sums = 1bcd3e75309e658931532adef2a0608a
+ sha256sums = d40e2f1fd3f4bff386d27bbdf4b8645199b1995d27605a886b8c71e44d819591
+ sha256sums = 0f2f66359de844ca2a0c99f0189879ca1c6b5924f8e07e33cc226680540fa62d
pkgname = ddclient
diff --git a/PKGBUILD b/PKGBUILD
index b052cdaa1d5..60f0cfc41fa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,31 @@
# $Id$
-# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
+# Contributor: Jonathan Steel <jsteel at archlinux.org>
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
# Contributor: David Rosenstrauch <darose@darose.net>
pkgname=ddclient
pkgver=3.8.3
-pkgrel=1
+pkgrel=2
+
pkgdesc="Update dynamic DNS entries for accounts on many dynamic DNS services"
-arch=('any')
url="http://ddclient.sourceforge.net"
+arch=('any')
license=('GPL2')
-depends=('perl-io-socket-ssl' 'perl-digest-sha1' 'net-tools')
+
backup=('etc/ddclient/ddclient.conf')
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
- $pkgname.service)
-md5sums=('3b426ae52d509e463b42eeb08fb89e0b'
- '1bcd3e75309e658931532adef2a0608a')
+
+depends=('perl-io-socket-ssl' 'perl-digest-sha1' 'net-tools')
+optdepends=('perl-json-any: needed for cloudflare module')
+
+source=(http://downloads.sourceforge.net/sourceforge/ddclient/ddclient-$pkgver.tar.bz2
+ ddclient.service)
+
+sha256sums=('d40e2f1fd3f4bff386d27bbdf4b8645199b1995d27605a886b8c71e44d819591'
+ '0f2f66359de844ca2a0c99f0189879ca1c6b5924f8e07e33cc226680540fa62d')
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd ddclient-$pkgver
install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
install -Dm600 sample-etc_$pkgname.conf "$pkgdir"/etc/$pkgname/$pkgname.conf