summaryrefslogtreecommitdiff
path: root/net-dns/ddclient
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
commitb7ebc951da8800f711142f69d9d958bde67a112d (patch)
treee318514216845acb8f2e49fff7a5cba4027e9d91 /net-dns/ddclient
parentdc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff)
gentoo resync : 28.04.2019
Diffstat (limited to 'net-dns/ddclient')
-rw-r--r--net-dns/ddclient/Manifest13
-rw-r--r--net-dns/ddclient/ddclient-3.8.1-r5.ebuild55
-rw-r--r--net-dns/ddclient/ddclient-3.9.0-r1.ebuild63
-rw-r--r--net-dns/ddclient/ddclient-3.9.0-r2.ebuild2
-rw-r--r--net-dns/ddclient/files/cmd-over-cfg.patch11
-rw-r--r--net-dns/ddclient/files/ddclient.confd-r12
-rw-r--r--net-dns/ddclient/files/ddclient.initd-r357
-rw-r--r--net-dns/ddclient/files/ddclient.initd-r521
-rw-r--r--net-dns/ddclient/files/ddclient.service12
-rw-r--r--net-dns/ddclient/files/iproute2.patch30
-rw-r--r--net-dns/ddclient/metadata.xml1
11 files changed, 3 insertions, 264 deletions
diff --git a/net-dns/ddclient/Manifest b/net-dns/ddclient/Manifest
index d10f8c39fff9..e0b607f51b33 100644
--- a/net-dns/ddclient/Manifest
+++ b/net-dns/ddclient/Manifest
@@ -1,16 +1,7 @@
-AUX cmd-over-cfg.patch 488 BLAKE2B d1ba92dd5c7bbff11ea431449c61b49d0bbbdc87b3ffe818a90c573a8a4f3ba12d150b8aba5789f6510bda74b0a9b19cca7583341db599d07aec787b4d149728 SHA512 a22ed7202b29e74ca8d4ffc597c5922cbe39da097c00876ac3e66c8f09eacd836ebb276e75753103f84699888f8e0a57abbfe839579eab0ddd48a2fa119fc70d
AUX ddclient-3.9.0-use_iproute2.patch 1388 BLAKE2B da84054c603cccdaa45d4be9b11b90d04f273c78adec19d139ce4ed0b52ae4f9b76b958471f83b6d51fa13e73a7d2fa0df498f61843f49c89f8c4600c8a44ca8 SHA512 174a82996966cf42d0f6811757aceba3d2ea33e50ef842d952e3797bd7bb1194c7d2e23acf4a5aae88ecdde9bb677de8cd7fc2df666177ed0a12153e633aab42
-AUX ddclient.confd-r1 98 BLAKE2B e92bca71a65504290fc928c2f477f58f1d830de5f8a1181e715c9804d74d4f8b1e57b9cd22f12965f232527a8e7d65fbbf654f786c23cbe3859d78f20e843c74 SHA512 a74a3b0863fc20d740de07bfc37bee0aff6d7316ee72152241929e0a058ec34a5d76bc4429eedd69b03047f081cc0601543988b066ee246d671945a01fa0876d
-AUX ddclient.initd-r3 1312 BLAKE2B fb00fcd594117af5d147d507f66516db42ac8d09f2dcedb62b312b87129f23eeecb39af244283c0bb3d201651ae5bac70e23fd3605ab8027a86737aa10c7dda8 SHA512 388725815c3fea9df57b6cd73ab9a549967aba2add3be9fe5153f57e20635c037985c28b1f1ebcb8a122737cdc6277f0711029375f7d62e03491457959ae8dd1
-AUX ddclient.initd-r5 577 BLAKE2B 5cf4b239e15bed86f98b65891c471a52179d3c7435a0a371e3568eaea0911625fa58faf466dae49e3abf6858a5d2bdb6e682fbaae78dc80e34092c95664292f7 SHA512 3b26160d1e651f418324b3544f8ae01781db32de8040d88fb48710f776f475332c3fdf36906331039c20cd47f5400c3ea47adf8dd7fbc7d6ea78cccb47a43c4e
AUX ddclient.initd-r6 584 BLAKE2B 6f1c9ddf862e50013208adbbd77f471ed03faf59381ed30fc7aa80dea7ec83c5c3122ee3a8b38f7192d4e940658a28afba2c1130f629f360e3d82d72d0336227 SHA512 636fb2ae3def5f3127c6fbecacdb16250dc843775a831877ab2e7dfc9695d48303d3a3e3f35c5d092c557df2f83493b4db78cc74ca0379b92054d9eec6291516
-AUX ddclient.service 234 BLAKE2B c9f9c224742f9047e12677b6e3ece8206a26b72953bc6b1695db39e397c8b1fbbd08b8fa2acdd739391a4fae379570488db9b2d4c274950e5881b50028f07fc2 SHA512 e3c36148804ca7ea29f2d030128941a5d5a7edc6ce3a223b8e72ea8800d622169d3825d2ede6e69630e9ca57e8c62b6f3af97269e9d671e6f2d2973b4a43602f
AUX ddclient.service-r1 235 BLAKE2B 204793b269c65d7ed77f89c1d5f191298a7b03f44dc22526331fe28585ad1abc2c19fb3f2c65df1dd32bd20f3f121bf2f7d936ed42831067fc232024383c768a SHA512 1bcceae10d8076cb3fa5cb0215c0eaf17588e943d802c40cf5334f125a3697b103646bc393ba4db90845ad8e6ff1d4301b86afba5609ecb3bff98a5623f09195
AUX ddclient.tmpfiles 149 BLAKE2B 0ad955937dd6cf714530429ffb423e0acc7033bdf7e2486a99d50d055edb85adff869209631cdfd8c2aa49263c31817868b765e7af27e222ad9f0b19bf439d74 SHA512 13c6e541ff23575d799eee943b8e10e277e5073732cd7c9705c23ee557bd99978435c0fe8b546fa3122a60cfb0499e27853e1968f0c1e0225890b68ae678e0c7
-AUX iproute2.patch 1394 BLAKE2B c0f9bc4d3086bc70fbc033a3e2c55479fbb29ae0c051ed1c336ab79c8d9d03388c6ec4f6906b78edf1476bc0a58a994f363d1a01424a9ceff2176707e173ceac SHA512 d802421204cf398b9a0ff679b00b1a9796f4c442e3128b5965169c6153bca9beac580b94bd20ffd5235157b4ad482fdc926d9ac8a56686598aa7a25ecd0f43e0
-DIST ddclient-3.8.1.tar.gz 48600 BLAKE2B a945adcb42bd298422c71c0eea6bea36c6b266ce39e97ebfd833b29819a2f30f2651d7f7b17dbfc0720b6209d0c0ed94bf2673624777f07e6de83a7081471995 SHA512 d6722582dffe0c5a806176f24bd3d9117bc1210ea0137aa92138390be16e67d47b746777dc431282a664849c91626969a5e267777126bac03304c7aa34a9dad7
DIST ddclient-3.9.0.tar.gz 59018 BLAKE2B b9b58108d9f124fcd5a72cc57bfb0e6a5bc2e115edc27a1d5950a929670d67d5c703b09f51e7e82e977ccfb544d115da177b0ac8dc06a76a800aa207cde5a42d SHA512 ae314c96a37dd90256d6acf62f4a4523b72f540194131e351a032239b00b4520351f6549d3b20a9209fe49ccc6de7ce158ffa8635d341066ea71b789dc667438
-EBUILD ddclient-3.8.1-r5.ebuild 1416 BLAKE2B ea2a67f9e888bbeea5208309ee71c87d35c98fd36a94bcd445224c40915226a81ba70d253bac29f55c0b87649ba15122115c854b40b06d67ff85bd85c6ab7b78 SHA512 a9215c25bd9c90042267eb9c1f0c2258d86c814ac3d343c8c795ecf8eb7eda6cc3ce7fbf1823f917b60724232d118d5904cb55afa1549f875466fcefb7dfb2bb
-EBUILD ddclient-3.9.0-r1.ebuild 1541 BLAKE2B e472823e882bb67a096a9141ee6aba6e9d5c0a9e0fd8251999e1cc38e85b8188727204ce34bc9a343d8d89ccf81bba17b00175e3a1d0927e5100070c126ce536 SHA512 ba9e754205ef661318318ff7b0eb41af85db44009a193e74d876d7c406c773b4bda547327b946791c5e94cfc71db43cef9f487d1f306312d0117ac2f10421e24
-EBUILD ddclient-3.9.0-r2.ebuild 1538 BLAKE2B 7ea81058385b3fffda6c775b5f6e4824c57f2fc2074dfc07da617835b51166203a92c7a7dfd2a587e56cc5bb2061ac68514f812c90acc76954128475e1d1ea2a SHA512 a28e8f3b613f0522b488e8b91afc748c51ad1680e16bd2edba384be40a90332ee831e82e91dbc680095461148674b76efcfd2335116a6d7eacdb81466495ea79
-MISC metadata.xml 1204 BLAKE2B ac62d1bf7734e1374f7dc93c6ee580695326c8a849e632f0249d282040436e78a09853a8dd1b455c53ef6e4e4411041c72ce95e30c85969d9bcf15b54b3ff2bb SHA512 ac78082e28503857341d5ef0ec7a6c2d29b9d47c502c303878501c3bbc929627add8e6646afb692f786c44d09916f4cdcc1a8e2e6c6b5fd1fe8389a39a950aaa
+EBUILD ddclient-3.9.0-r2.ebuild 1537 BLAKE2B 6e40af4f5e760b906adb1d1068c07c3cce7817a4d704088e34f7e8e075307b3b018e3dc6776eeb69ed352425b240b31ca9ac150d97236622828dbf4cbeebf656 SHA512 f86d17fd03aa297e0d3e823c2fc6a893502bde1bfa8e47d02b3b59511d2d0e2b7e82b9d6dffcf5ef0de81d4a40e2e9f9c47aba96029d03ccb577d067b297a559
+MISC metadata.xml 1118 BLAKE2B 9c52e1e2a862458405eb841a5ee3a16da8995de56e7bfabbc91d109050c6ed128bade2b9b4a9fe383ae8c123bac8e8a717f837dd2fbe4979c0662f6dfe53d81d SHA512 759c289b0a7b3b6e35fc0848cdfe340e3afc806fe8164e30a7550ef713ef5a74ccfc0a170b9569b10cf4cba55d1a7f9f654ebdba95e2dcccf4f52299c3a901ce
diff --git a/net-dns/ddclient/ddclient-3.8.1-r5.ebuild b/net-dns/ddclient/ddclient-3.8.1-r5.ebuild
deleted file mode 100644
index f4c2cb5db010..000000000000
--- a/net-dns/ddclient/ddclient-3.8.1-r5.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-inherit eutils 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="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE="hardened"
-
-RDEPEND=">=dev-lang/perl-5.1
- dev-perl/Digest-SHA1
- dev-perl/IO-Socket-SSL
- hardened? ( sys-apps/iproute2 )
-"
-
-pkg_setup() {
- enewgroup ${PN}
- enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_prepare() {
- # Remove pid line, because it is specified in /etc/init.d/ddclient
- ebegin "Removing PID setup from ${PN}.conf"
- if ! sed '/^pid/d' -i "sample-etc_${PN}.conf"; then
- eerror "Failed to remove pid from /etc/${PN}/${PN}.conf"
- fi
- eend $?
-
- use hardened && epatch "${FILESDIR}/iproute2.patch"
-
- epatch "${FILESDIR}/cmd-over-cfg.patch"
-}
-
-src_install() {
- dosbin ${PN}
- dodoc Change* COPYRIGHT README* RELEASENOTE sample*
-
- newinitd "${FILESDIR}/${PN}.initd-r3" ${PN}
- newconfd "${FILESDIR}/${PN}.confd-r1" ${PN}
- systemd_dounit "${FILESDIR}"/${PN}.service
- keepdir /var/cache/${PN}
- fowners -R ${PN}:${PN} /var/cache/${PN}
-
- insinto /etc/${PN}
- insopts -m 0600 -o ${PN} -g ${PN}
- newins sample-etc_${PN}.conf ${PN}.conf
- newins sample-etc_${PN}.conf ${PN}.conf.sample
- fowners -R ${PN}:${PN} /etc/${PN}
-}
diff --git a/net-dns/ddclient/ddclient-3.9.0-r1.ebuild b/net-dns/ddclient/ddclient-3.9.0-r1.ebuild
deleted file mode 100644
index 5176c0ebc346..000000000000
--- a/net-dns/ddclient/ddclient-3.9.0-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit systemd user
-
-DESCRIPTION="Perl client used to update dynamic DNS entries"
-HOMEPAGE="https://sourceforge.net/projects/ddclient/"
-SRC_URI="mirror://sourceforge/ddclient/${P}.tar.gz"
-
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
-LICENSE="GPL-2+"
-SLOT="0"
-IUSE="examples iproute2"
-
-RDEPEND="dev-lang/perl
- dev-perl/Data-Validate-IP
- dev-perl/Digest-SHA1
- dev-perl/IO-Socket-INET6
- dev-perl/IO-Socket-SSL
- virtual/perl-Digest-SHA
- virtual/perl-JSON-PP
- iproute2? ( sys-apps/iproute2 )"
-
-pkg_setup() {
- enewgroup ddclient
- enewuser ddclient -1 -1 -1 ddclient
-}
-
-src_prepare() {
- # Remove PID setting, to reliably setup the environment for the init script
- sed -e '/^pid/d' -i sample-etc_ddclient.conf || die
-
- # Remove windows executable
- if use examples; then
- rm sample-etc_dhcpc_dhcpcd-eth0.exe || die
- fi
-
- # Use sys-apps/iproute2 instead of sys-apps/net-tools
- use iproute2 && eapply "${FILESDIR}"/${P}-use_iproute2.patch
-
- default
-}
-
-src_install() {
- dobin ddclient
-
- insinto /etc/ddclient
- insopts -m 0600 -o ddclient -g ddclient
- newins sample-etc_ddclient.conf ddclient.conf
-
- newinitd "${FILESDIR}"/ddclient.initd-r5 ddclient
- systemd_newunit "${FILESDIR}"/ddclient.service-r1 ddclient.service
- systemd_newtmpfilesd "${FILESDIR}"/ddclient.tmpfiles ddclient.conf
-
- dodoc Change* README* RELEASENOTE TODO UPGRADE
-
- if use examples; then
- docinto examples
- dodoc sample-*
- fi
-}
diff --git a/net-dns/ddclient/ddclient-3.9.0-r2.ebuild b/net-dns/ddclient/ddclient-3.9.0-r2.ebuild
index 6388e4520ea5..4d7d99d3c2e9 100644
--- a/net-dns/ddclient/ddclient-3.9.0-r2.ebuild
+++ b/net-dns/ddclient/ddclient-3.9.0-r2.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="Perl client used to update dynamic DNS entries"
HOMEPAGE="https://sourceforge.net/projects/ddclient/"
SRC_URI="mirror://sourceforge/ddclient/${P}.tar.gz"
-KEYWORDS="~alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 ~sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 ~sparc x86 ~x86-fbsd"
LICENSE="GPL-2+"
SLOT="0"
IUSE="examples iproute2"
diff --git a/net-dns/ddclient/files/cmd-over-cfg.patch b/net-dns/ddclient/files/cmd-over-cfg.patch
deleted file mode 100644
index 9033873fde74..000000000000
--- a/net-dns/ddclient/files/cmd-over-cfg.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ddclient.old 2011-11-13 10:14:59.957846596 -0500
-+++ ddclient 2011-11-13 10:18:33.864245944 -0500
-@@ -773,7 +773,7 @@
- foreach my $h (sort keys %config) {
- next if $config{$h}{'protocol'} ne lc($s);
- $examined{$h} = 1;
-- my $use = $config{$h}{'use'} || opt('use');
-+ my $use = opt('use') || $config{$h}{'use'};
- local $opt{$use} = $config{$h}{$use} if $config{$h}{$use};
- # bug #13: we should only do this once
- # use isn't enough, we have to save the origin to.
diff --git a/net-dns/ddclient/files/ddclient.confd-r1 b/net-dns/ddclient/files/ddclient.confd-r1
deleted file mode 100644
index 69ad0eeff87d..000000000000
--- a/net-dns/ddclient/files/ddclient.confd-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-# No need to specify a pid in /etc/ddclient/ddclient.conf
-#PIDFILE=/var/run/ddclient/ddclient.pid
diff --git a/net-dns/ddclient/files/ddclient.initd-r3 b/net-dns/ddclient/files/ddclient.initd-r3
deleted file mode 100644
index e0606a60b11c..000000000000
--- a/net-dns/ddclient/files/ddclient.initd-r3
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-if [ -d /run ] ; then
- PIDFILE=${PIDFILE:-/run/ddclient/ddclient.pid}
-else
- PIDFILE=${PIDFILE:-/var/run/ddclient/ddclient.pid}
-fi
-
-depend() {
- before cron
- need net
- use dns logger squid
-}
-
-checkconfig() {
- local conf="/etc/ddclient/ddclient.conf"
-
- if [ -e "${conf}" ] ; then
- if [ -n "$(find /etc/ddclient -maxdepth 1 -name ddclient.conf -perm +0044)" ] ; then
- eerror "${conf} must not be world or group readable. Try:"
- eerror " chmod 600 ${conf}"
- eerror " chown ddclient:ddclient ${conf}"
- return 1
- fi
- else
- eerror "${conf} is needed to run ddclient"
- eerror "There is a sample file in /etc/ddclient/"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- local piddir=$(dirname ${PIDFILE})
- if [ ! -d ${piddir} ] ; then
- ebegin "Making ${piddir}"
- mkdir -p ${piddir}
- eend $?
- ebegin "Changing permissions of ${piddir}"
- chown ddclient:ddclient ${piddir}
- eend $?
- fi
-
- ebegin "Starting ${SVCNAME}"
- start-stop-daemon --start --user ddclient --exec /usr/sbin/ddclient \
- --name ddclient --pidfile ${PIDFILE} -- -pid=${PIDFILE}
- eend $?
-}
-
-stop() {
- ebegin "Stopping ${SVCNAME}"
- start-stop-daemon --stop --signal USR1 --pidfile ${PIDFILE}
- eend $?
-}
diff --git a/net-dns/ddclient/files/ddclient.initd-r5 b/net-dns/ddclient/files/ddclient.initd-r5
deleted file mode 100644
index a2284a27c1ff..000000000000
--- a/net-dns/ddclient/files/ddclient.initd-r5
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-name="DDclient"
-pidfile="/run/ddclient/${RC_SVCNAME}.pid"
-
-command="/usr/bin/ddclient"
-command_args="-pid ${pidfile}"
-command_group="ddclient"
-command_user="ddclient"
-
-depend() {
- use dns logger
-}
-
-start_pre() {
- checkpath -f -m 0600 -o ${command_user}:${command_group} /etc/ddclient/ddclient.conf
- checkpath -d -m 0700 -o ${command_user}:${command_group} /run/ddclient
- checkpath -d -m 0700 -o ${command_user}:${command_group} /var/cache/ddclient
-}
diff --git a/net-dns/ddclient/files/ddclient.service b/net-dns/ddclient/files/ddclient.service
deleted file mode 100644
index e2d3608d44d4..000000000000
--- a/net-dns/ddclient/files/ddclient.service
+++ /dev/null
@@ -1,12 +0,0 @@
-[Unit]
-Description=Dynamic DNS Update Client
-After=network.target
-ConditionPathExists=/etc/ddclient/ddclient.conf
-
-[Service]
-ExecStart=/usr/sbin/ddclient --foreground
-User=ddclient
-Group=ddclient
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-dns/ddclient/files/iproute2.patch b/net-dns/ddclient/files/iproute2.patch
deleted file mode 100644
index f81dd8c00d82..000000000000
--- a/net-dns/ddclient/files/iproute2.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -u a/ddclient b/ddclient
---- a/ddclient 2011-07-11 17:04:21.000000000 -0400
-+++ b/ddclient 2011-08-12 20:13:15.980466303 -0400
-@@ -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') {
diff --git a/net-dns/ddclient/metadata.xml b/net-dns/ddclient/metadata.xml
index 2d82a2acf9c1..a65cccd3f082 100644
--- a/net-dns/ddclient/metadata.xml
+++ b/net-dns/ddclient/metadata.xml
@@ -21,7 +21,6 @@
</longdescription>
<use>
<flag name="examples">Install various example files, like for cron.</flag>
- <flag name="hardened">Use iproute2 instead of ifconfig to grab an IP address</flag>
<flag name="iproute2">Use <pkg>sys-apps/iproute2</pkg> instead of <pkg>sys-apps/net-tools</pkg> for interaction.</flag>
</use>
<upstream>