1 |
commit: 008c5aeadcd3a5b33ffa52402ae1adcdff600179 |
2 |
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com> |
3 |
AuthorDate: Sun Oct 28 15:01:29 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 30 10:34:26 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=008c5aea |
7 |
|
8 |
net-dns/ddclient: drop old version |
9 |
|
10 |
Also changed order of elements in metadata.xml. |
11 |
|
12 |
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com> |
13 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
14 |
Closes: https://github.com/gentoo/gentoo/pull/10267 |
15 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
16 |
|
17 |
net-dns/ddclient/Manifest | 2 -- |
18 |
net-dns/ddclient/ddclient-3.8.2.ebuild | 46 ------------------------------ |
19 |
net-dns/ddclient/ddclient-3.8.3.ebuild | 49 -------------------------------- |
20 |
net-dns/ddclient/files/ddclient.confd | 2 -- |
21 |
net-dns/ddclient/files/ddclient.initd-r4 | 35 ----------------------- |
22 |
net-dns/ddclient/metadata.xml | 11 ++++--- |
23 |
6 files changed, 5 insertions(+), 140 deletions(-) |
24 |
|
25 |
diff --git a/net-dns/ddclient/Manifest b/net-dns/ddclient/Manifest |
26 |
index 54506bc1f80..f48954925d5 100644 |
27 |
--- a/net-dns/ddclient/Manifest |
28 |
+++ b/net-dns/ddclient/Manifest |
29 |
@@ -1,4 +1,2 @@ |
30 |
DIST ddclient-3.8.1.tar.gz 48600 BLAKE2B a945adcb42bd298422c71c0eea6bea36c6b266ce39e97ebfd833b29819a2f30f2651d7f7b17dbfc0720b6209d0c0ed94bf2673624777f07e6de83a7081471995 SHA512 d6722582dffe0c5a806176f24bd3d9117bc1210ea0137aa92138390be16e67d47b746777dc431282a664849c91626969a5e267777126bac03304c7aa34a9dad7 |
31 |
-DIST ddclient-3.8.2.tar.gz 46059 BLAKE2B 95dc19f26fe4a14d67154ad86723882ef371545156d88119d000366d97e045f37e9d6af229a24950740b915404cb35250baf05aa7cf1268f756ce7b1e776c6cb SHA512 8f74ce90ce4a31b8d53887b99556661343b96734ae630403434689459eaeb1354159ae26f0404b9db21a0ff4151816d1650746a13c547064748656a8c6e3f13b |
32 |
-DIST ddclient-3.8.3.tar.gz 54516 BLAKE2B a472c84c05b6eccdef3ead0abfa6e38d5ef04fdc0df3327dad2181088102f1b40ac7986492c8d964589e3994cace9103ba56664809174f99d14d9c86c377c46a SHA512 055b6edf91a3b72d9ba80c9dedfbc1d60f62d6879bc722735488a5a1a37fafeb2e97567da98939ccc62fd39b0846438dfad1c022635d602c67bafda178574a76 |
33 |
DIST ddclient-3.9.0.tar.gz 59018 BLAKE2B b9b58108d9f124fcd5a72cc57bfb0e6a5bc2e115edc27a1d5950a929670d67d5c703b09f51e7e82e977ccfb544d115da177b0ac8dc06a76a800aa207cde5a42d SHA512 ae314c96a37dd90256d6acf62f4a4523b72f540194131e351a032239b00b4520351f6549d3b20a9209fe49ccc6de7ce158ffa8635d341066ea71b789dc667438 |
34 |
|
35 |
diff --git a/net-dns/ddclient/ddclient-3.8.2.ebuild b/net-dns/ddclient/ddclient-3.8.2.ebuild |
36 |
deleted file mode 100644 |
37 |
index 512df84b706..00000000000 |
38 |
--- a/net-dns/ddclient/ddclient-3.8.2.ebuild |
39 |
+++ /dev/null |
40 |
@@ -1,46 +0,0 @@ |
41 |
-# Copyright 1999-2014 Gentoo Foundation |
42 |
-# Distributed under the terms of the GNU General Public License v2 |
43 |
- |
44 |
-EAPI="5" |
45 |
-inherit systemd user |
46 |
- |
47 |
-DESCRIPTION="Perl updater client for dynamic DNS services" |
48 |
-HOMEPAGE="http://ddclient.sourceforge.net/" |
49 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
50 |
- |
51 |
-LICENSE="GPL-2" |
52 |
-SLOT="0" |
53 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
54 |
-IUSE="hardened" |
55 |
- |
56 |
-RDEPEND=">=dev-lang/perl-5.1 |
57 |
- virtual/perl-Digest-SHA |
58 |
- dev-perl/IO-Socket-SSL |
59 |
- hardened? ( sys-apps/iproute2 ) |
60 |
-" |
61 |
- |
62 |
-pkg_setup() { |
63 |
- enewgroup ${PN} |
64 |
- enewuser ${PN} -1 -1 -1 ${PN} |
65 |
-} |
66 |
- |
67 |
-src_prepare() { |
68 |
- # Remove pid setting because we can't leave it user configurable and |
69 |
- # reliably setup the environment for the init script to stop ${PN} |
70 |
- ebegin "Removing PID setting from ${PN}.conf" |
71 |
- sed '/^pid/d' -i "sample-etc_${PN}.conf" |
72 |
- eend $? |
73 |
-} |
74 |
- |
75 |
-src_install() { |
76 |
- dosbin ${PN} |
77 |
- dodoc Change* COPYRIGHT README* RELEASENOTE sample* |
78 |
- |
79 |
- newinitd "${FILESDIR}/${PN}.initd-r4" ${PN} |
80 |
- systemd_dounit "${FILESDIR}"/${PN}.service |
81 |
- |
82 |
- insopts -m 0600 -o ${PN} -g ${PN} |
83 |
- insinto /etc/${PN} |
84 |
- newins sample-etc_${PN}.conf ${PN}.conf |
85 |
- newins sample-etc_${PN}.conf ${PN}.conf.sample |
86 |
-} |
87 |
|
88 |
diff --git a/net-dns/ddclient/ddclient-3.8.3.ebuild b/net-dns/ddclient/ddclient-3.8.3.ebuild |
89 |
deleted file mode 100644 |
90 |
index 5ba587c41d2..00000000000 |
91 |
--- a/net-dns/ddclient/ddclient-3.8.3.ebuild |
92 |
+++ /dev/null |
93 |
@@ -1,49 +0,0 @@ |
94 |
-# Copyright 1999-2016 Gentoo Foundation |
95 |
-# Distributed under the terms of the GNU General Public License v2 |
96 |
- |
97 |
-EAPI="6" |
98 |
-inherit systemd user |
99 |
- |
100 |
-DESCRIPTION="Perl updater client for dynamic DNS services" |
101 |
-HOMEPAGE="http://ddclient.sourceforge.net/" |
102 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
103 |
- |
104 |
-LICENSE="GPL-2" |
105 |
-SLOT="0" |
106 |
-KEYWORDS="~amd64 ~mips ~x86 ~x86-fbsd" |
107 |
-IUSE="cloudflare hardened" |
108 |
- |
109 |
-RDEPEND=">=dev-lang/perl-5.1 |
110 |
- virtual/perl-Digest-SHA |
111 |
- dev-perl/IO-Socket-SSL |
112 |
- cloudflare? ( dev-perl/JSON-Any ) |
113 |
- hardened? ( sys-apps/iproute2 ) |
114 |
-" |
115 |
- |
116 |
-pkg_setup() { |
117 |
- enewgroup ${PN} |
118 |
- enewuser ${PN} -1 -1 -1 ${PN} |
119 |
-} |
120 |
- |
121 |
-src_prepare() { |
122 |
- default |
123 |
- |
124 |
- # Remove pid setting because we can't leave it user configurable and |
125 |
- # reliably setup the environment for the init script to stop ${PN} |
126 |
- ebegin "Removing PID setting from ${PN}.conf" |
127 |
- sed '/^pid/d' -i "sample-etc_${PN}.conf" || die |
128 |
- eend $? |
129 |
-} |
130 |
- |
131 |
-src_install() { |
132 |
- dosbin ${PN} |
133 |
- dodoc Change* COPYRIGHT README* RELEASENOTE sample* |
134 |
- |
135 |
- newinitd "${FILESDIR}/${PN}.initd-r4" ${PN} |
136 |
- systemd_dounit "${FILESDIR}"/${PN}.service |
137 |
- |
138 |
- insopts -m 0600 -o ${PN} -g ${PN} |
139 |
- insinto /etc/${PN} |
140 |
- newins sample-etc_${PN}.conf ${PN}.conf |
141 |
- newins sample-etc_${PN}.conf ${PN}.conf.sample |
142 |
-} |
143 |
|
144 |
diff --git a/net-dns/ddclient/files/ddclient.confd b/net-dns/ddclient/files/ddclient.confd |
145 |
deleted file mode 100644 |
146 |
index 2408a40bb6f..00000000000 |
147 |
--- a/net-dns/ddclient/files/ddclient.confd |
148 |
+++ /dev/null |
149 |
@@ -1,2 +0,0 @@ |
150 |
-# No need to specify a pid in /etc/ddclient/ddclient.conf |
151 |
-PIDFILE=/var/run/ddclient/ddclient.pid |
152 |
|
153 |
diff --git a/net-dns/ddclient/files/ddclient.initd-r4 b/net-dns/ddclient/files/ddclient.initd-r4 |
154 |
deleted file mode 100644 |
155 |
index c25f0296519..00000000000 |
156 |
--- a/net-dns/ddclient/files/ddclient.initd-r4 |
157 |
+++ /dev/null |
158 |
@@ -1,35 +0,0 @@ |
159 |
-#!/sbin/openrc-run |
160 |
-# Copyright 1999-2014 Gentoo Foundation |
161 |
-# Distributed under the terms of the GNU General Public License v2 |
162 |
- |
163 |
-PIDFILE="/run/ddclient/ddclient.pid" |
164 |
- |
165 |
-depend() { |
166 |
- before cron |
167 |
- need net |
168 |
- use dns logger squid |
169 |
-} |
170 |
- |
171 |
-checkconfig() { |
172 |
- checkpath -f -m 0600 -o ddclient:ddclient /etc/ddclient/ddclient.conf || return 1 |
173 |
- checkpath -d -m 0700 -o ddclient:ddclient /run/ddclient || return 1 |
174 |
- checkpath -d -m 0700 -o ddclient:ddclient /var/cache/ddclient || return 1 |
175 |
-} |
176 |
- |
177 |
-start() { |
178 |
- checkconfig || return 1 |
179 |
- |
180 |
- ebegin "Starting ${SVCNAME}" |
181 |
- start-stop-daemon --start \ |
182 |
- --user ddclient \ |
183 |
- --name ddclient \ |
184 |
- --pidfile ${PIDFILE} \ |
185 |
- --exec /usr/sbin/ddclient -- -pid=${PIDFILE} |
186 |
- eend $? |
187 |
-} |
188 |
- |
189 |
-stop() { |
190 |
- ebegin "Stopping ${SVCNAME}" |
191 |
- start-stop-daemon --stop --signal USR1 --pidfile ${PIDFILE} |
192 |
- eend $? |
193 |
-} |
194 |
|
195 |
diff --git a/net-dns/ddclient/metadata.xml b/net-dns/ddclient/metadata.xml |
196 |
index 4e40c4923a7..2d82a2acf9c 100644 |
197 |
--- a/net-dns/ddclient/metadata.xml |
198 |
+++ b/net-dns/ddclient/metadata.xml |
199 |
@@ -13,18 +13,17 @@ |
200 |
<email>proxy-maint@g.o</email> |
201 |
<name>Proxy Maintainers</name> |
202 |
</maintainer> |
203 |
- <use> |
204 |
- <flag name="cloudflare">Enable support for updating IP address via CloudFlare</flag> |
205 |
- <flag name="examples">Install various example files, like for cron.</flag> |
206 |
- <flag name="hardened">Use iproute2 instead of ifconfig to grab an IP address</flag> |
207 |
- <flag name="iproute2">Use <pkg>sys-apps/iproute2</pkg> instead of <pkg>sys-apps/net-tools</pkg> for interaction.</flag> |
208 |
- </use> |
209 |
<longdescription> |
210 |
DDclient is a perl client used to update dynamic DNS entries |
211 |
for accounts on dynamic DNS network service providers. |
212 |
It has the capability to update more than just dynamic DNS |
213 |
and it can fetch WAN-IP-addresses in a few different ways. |
214 |
</longdescription> |
215 |
+ <use> |
216 |
+ <flag name="examples">Install various example files, like for cron.</flag> |
217 |
+ <flag name="hardened">Use iproute2 instead of ifconfig to grab an IP address</flag> |
218 |
+ <flag name="iproute2">Use <pkg>sys-apps/iproute2</pkg> instead of <pkg>sys-apps/net-tools</pkg> for interaction.</flag> |
219 |
+ </use> |
220 |
<upstream> |
221 |
<bugs-to>https://sourceforge.net/p/ddclient/bugs/</bugs-to> |
222 |
<remote-id type="sourceforge">ddclient</remote-id> |