summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Konotopov <ykonotopov@gmail.com>2016-04-03 11:18:23 +0300
committerPatrice Clement <monsieurp@gentoo.org>2016-04-11 20:15:23 +0000
commitabb29c5d1934d87b942178eb464bdf2dc9c0700c (patch)
tree079f9dfad3a823b230c029470b1f19f04308c203
parentmedia-libs/raspberrypi-userland: version bump (diff)
downloadgentoo-abb29c5d1934d87b942178eb464bdf2dc9c0700c.tar.gz
gentoo-abb29c5d1934d87b942178eb464bdf2dc9c0700c.tar.bz2
gentoo-abb29c5d1934d87b942178eb464bdf2dc9c0700c.zip
net-dns/ddclient-3.8.3: version bump
Gentoo-Bug: https://bugs.gentoo.org/558790 Closes: https://github.com/gentoo/gentoo/pull/1107 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
-rw-r--r--net-dns/ddclient/Manifest1
-rw-r--r--net-dns/ddclient/ddclient-3.8.3.ebuild50
-rw-r--r--net-dns/ddclient/metadata.xml1
3 files changed, 52 insertions, 0 deletions
diff --git a/net-dns/ddclient/Manifest b/net-dns/ddclient/Manifest
index b59c6787ac7b..9fe37447d1ed 100644
--- a/net-dns/ddclient/Manifest
+++ b/net-dns/ddclient/Manifest
@@ -1,2 +1,3 @@
DIST ddclient-3.8.1.tar.gz 48600 SHA256 f22ac7b0ec78e310d7b88a1cf636e5c00360b2ed9c087f231b3522ef3e6295f2 SHA512 d6722582dffe0c5a806176f24bd3d9117bc1210ea0137aa92138390be16e67d47b746777dc431282a664849c91626969a5e267777126bac03304c7aa34a9dad7 WHIRLPOOL 7785e6a9cacc10bfc4a21d01287602f0edf3b45e38c4f5352415160fc9857223c630b9b42f067fcabd1080be1482da549c1dccbcd8f1a5cf860c236326050f45
DIST ddclient-3.8.2.tar.gz 46059 SHA256 3c335ed456fcd55c1ffefbaec7c75d1b13794626b1c38e6a01cc28ce3a6eac9e SHA512 8f74ce90ce4a31b8d53887b99556661343b96734ae630403434689459eaeb1354159ae26f0404b9db21a0ff4151816d1650746a13c547064748656a8c6e3f13b WHIRLPOOL f7f0c4f28f5c59ad16989813edbb7a94bc99e91a0ed7c6b93d5455abee2a7e80d96ba0d26e6016bf8a4843a44772132918ac1c8555b829f0d4ad53d30f5aa793
+DIST ddclient-3.8.3.tar.gz 54516 SHA256 debd5fec69eeb65e2331b86f5280f382416d97ed103839a65c201eef8e6d1fc9 SHA512 055b6edf91a3b72d9ba80c9dedfbc1d60f62d6879bc722735488a5a1a37fafeb2e97567da98939ccc62fd39b0846438dfad1c022635d602c67bafda178574a76 WHIRLPOOL 30cd1565e9355eaa01124e316957604446d5446f8d91feaf8e3e8172f2d5b31b4f090a98f81ef6552f0ef7b599c9d561ee1d1b06ac895a7c24d99565cfa890f4
diff --git a/net-dns/ddclient/ddclient-3.8.3.ebuild b/net-dns/ddclient/ddclient-3.8.3.ebuild
new file mode 100644
index 000000000000..d0c661197a55
--- /dev/null
+++ b/net-dns/ddclient/ddclient-3.8.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+inherit systemd user
+
+DESCRIPTION="Perl updater client for dynamic DNS services"
+HOMEPAGE="http://ddclient.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~x86 ~x86-fbsd"
+IUSE="cloudflare hardened"
+
+RDEPEND=">=dev-lang/perl-5.1
+ virtual/perl-Digest-SHA
+ dev-perl/IO-Socket-SSL
+ cloudflare? ( dev-perl/JSON-Any )
+ hardened? ( sys-apps/iproute2 )
+"
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+ default
+
+ # Remove pid setting because we can't leave it user configurable and
+ # reliably setup the environment for the init script to stop ${PN}
+ ebegin "Removing PID setting from ${PN}.conf"
+ sed '/^pid/d' -i "sample-etc_${PN}.conf" || die
+ eend $?
+}
+
+src_install() {
+ dosbin ${PN}
+ dodoc Change* COPYRIGHT README* RELEASENOTE sample*
+
+ newinitd "${FILESDIR}/${PN}.initd-r4" ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+
+ insopts -m 0600 -o ${PN} -g ${PN}
+ insinto /etc/${PN}
+ newins sample-etc_${PN}.conf ${PN}.conf
+ newins sample-etc_${PN}.conf ${PN}.conf.sample
+}
diff --git a/net-dns/ddclient/metadata.xml b/net-dns/ddclient/metadata.xml
index c3955f713131..e4faff9063ad 100644
--- a/net-dns/ddclient/metadata.xml
+++ b/net-dns/ddclient/metadata.xml
@@ -6,6 +6,7 @@
<name>Aaron W. Swenson</name>
</maintainer>
<use>
+ <flag name="cloudflare">Enable support for updating IP address via CloudFlare</flag>
<flag name="hardened">Use iproute2 instead of ifconfig to grab an IP address</flag>
</use>
<upstream>