mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
net-dns/ddclient: drop old version
Also changed order of elements in metadata.xml. Signed-off-by: Conrad Kostecki <conrad@kostecki.com> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/10267 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
committed by
Patrice Clement
parent
46938b7447
commit
008c5aeadc
@@ -1,4 +1,2 @@
|
||||
DIST ddclient-3.8.1.tar.gz 48600 BLAKE2B a945adcb42bd298422c71c0eea6bea36c6b266ce39e97ebfd833b29819a2f30f2651d7f7b17dbfc0720b6209d0c0ed94bf2673624777f07e6de83a7081471995 SHA512 d6722582dffe0c5a806176f24bd3d9117bc1210ea0137aa92138390be16e67d47b746777dc431282a664849c91626969a5e267777126bac03304c7aa34a9dad7
|
||||
DIST ddclient-3.8.2.tar.gz 46059 BLAKE2B 95dc19f26fe4a14d67154ad86723882ef371545156d88119d000366d97e045f37e9d6af229a24950740b915404cb35250baf05aa7cf1268f756ce7b1e776c6cb SHA512 8f74ce90ce4a31b8d53887b99556661343b96734ae630403434689459eaeb1354159ae26f0404b9db21a0ff4151816d1650746a13c547064748656a8c6e3f13b
|
||||
DIST ddclient-3.8.3.tar.gz 54516 BLAKE2B a472c84c05b6eccdef3ead0abfa6e38d5ef04fdc0df3327dad2181088102f1b40ac7986492c8d964589e3994cace9103ba56664809174f99d14d9c86c377c46a SHA512 055b6edf91a3b72d9ba80c9dedfbc1d60f62d6879bc722735488a5a1a37fafeb2e97567da98939ccc62fd39b0846438dfad1c022635d602c67bafda178574a76
|
||||
DIST ddclient-3.9.0.tar.gz 59018 BLAKE2B b9b58108d9f124fcd5a72cc57bfb0e6a5bc2e115edc27a1d5950a929670d67d5c703b09f51e7e82e977ccfb544d115da177b0ac8dc06a76a800aa207cde5a42d SHA512 ae314c96a37dd90256d6acf62f4a4523b72f540194131e351a032239b00b4520351f6549d3b20a9209fe49ccc6de7ce158ffa8635d341066ea71b789dc667438
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
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="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="hardened"
|
||||
|
||||
RDEPEND=">=dev-lang/perl-5.1
|
||||
virtual/perl-Digest-SHA
|
||||
dev-perl/IO-Socket-SSL
|
||||
hardened? ( sys-apps/iproute2 )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 -1 ${PN}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# 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"
|
||||
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
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
# No need to specify a pid in /etc/ddclient/ddclient.conf
|
||||
PIDFILE=/var/run/ddclient/ddclient.pid
|
||||
@@ -1,35 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
PIDFILE="/run/ddclient/ddclient.pid"
|
||||
|
||||
depend() {
|
||||
before cron
|
||||
need net
|
||||
use dns logger squid
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
checkpath -f -m 0600 -o ddclient:ddclient /etc/ddclient/ddclient.conf || return 1
|
||||
checkpath -d -m 0700 -o ddclient:ddclient /run/ddclient || return 1
|
||||
checkpath -d -m 0700 -o ddclient:ddclient /var/cache/ddclient || return 1
|
||||
}
|
||||
|
||||
start() {
|
||||
checkconfig || return 1
|
||||
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
start-stop-daemon --start \
|
||||
--user ddclient \
|
||||
--name ddclient \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec /usr/sbin/ddclient -- -pid=${PIDFILE}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
start-stop-daemon --stop --signal USR1 --pidfile ${PIDFILE}
|
||||
eend $?
|
||||
}
|
||||
@@ -13,18 +13,17 @@
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="cloudflare">Enable support for updating IP address via CloudFlare</flag>
|
||||
<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>
|
||||
<longdescription>
|
||||
DDclient is a perl client used to update dynamic DNS entries
|
||||
for accounts on dynamic DNS network service providers.
|
||||
It has the capability to update more than just dynamic DNS
|
||||
and it can fetch WAN-IP-addresses in a few different ways.
|
||||
</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>
|
||||
<bugs-to>https://sourceforge.net/p/ddclient/bugs/</bugs-to>
|
||||
<remote-id type="sourceforge">ddclient</remote-id>
|
||||
|
||||
Reference in New Issue
Block a user