diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2024-06-22 21:52:09 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-06-22 22:00:14 +0200 |
commit | 58f930517392d95fc8df13f3b3fe2a4851359eb4 (patch) | |
tree | 5562aa354f5194543f81656d6b521ba5e4e19af5 /net-dns/ddclient/ddclient-3.11.1.ebuild | |
parent | media-sound/teamspeak-client: fix qa EmptyGlobalAssignment (diff) | |
download | gentoo-58f930517392d95fc8df13f3b3fe2a4851359eb4.tar.gz gentoo-58f930517392d95fc8df13f3b3fe2a4851359eb4.tar.bz2 gentoo-58f930517392d95fc8df13f3b3fe2a4851359eb4.zip |
net-dns/ddclient: drop 3.11.1
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-dns/ddclient/ddclient-3.11.1.ebuild')
-rw-r--r-- | net-dns/ddclient/ddclient-3.11.1.ebuild | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/net-dns/ddclient/ddclient-3.11.1.ebuild b/net-dns/ddclient/ddclient-3.11.1.ebuild deleted file mode 100644 index cb205a5469cd..000000000000 --- a/net-dns/ddclient/ddclient-3.11.1.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools optfeature systemd tmpfiles - -DESCRIPTION="Perl client used to update dynamic DNS entries" -HOMEPAGE="https://ddclient.net/" -SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86" -LICENSE="GPL-2+" -SLOT="0" -IUSE="examples selinux test" -RESTRICT="!test? ( test )" - -RDEPEND=" - acct-group/ddclient - acct-user/ddclient - dev-lang/perl - net-misc/curl - dev-perl/Digest-SHA1 - virtual/perl-Digest-SHA - virtual/perl-JSON-PP - selinux? ( sec-policy/selinux-ddclient ) -" - -BDEPEND=" - test? ( - dev-perl/HTTP-Daemon - dev-perl/HTTP-Daemon-SSL - dev-perl/Plack - dev-perl/Test-MockModule - dev-perl/Test-Warnings - ) -" - -src_prepare() { - default - - # Remove PID setting, to reliably setup the environment for the init script - sed -e '/^pid/d' -i ddclient.conf.in || die - - # Disable 'get_ip_from_if.pl' test, as it fails with network-sandbox - # Don't create cache directory, as it's created by init script / tmpfiles - sed -e '/get_ip_from_if.pl/d' -e '/MKDIR_P/d' -i Makefile.am || die - - # Remove windows executable - if use examples; then - rm sample-etc_dhcpc_dhcpcd-eth0.exe || die - fi - - eautoreconf -} - -src_install() { - default - - newinitd "${FILESDIR}"/ddclient.initd-r7 ddclient - systemd_newunit "${FILESDIR}"/ddclient.service-r2 ddclient.service - newtmpfiles "${FILESDIR}"/ddclient.tmpfiles-r1 ddclient.conf - - if use examples; then - docinto examples - dodoc sample-* - fi - - einstalldocs -} - -pkg_postinst() { - if [[ ${REPLACING_VERSIONS} ]]; then - for v in ${REPLACING_VERSIONS}; do - if ver_test "${v}" -lt 3.10.0; then - if [ -f "${EROOT}/etc/ddclient/ddclient.conf" ]; then - cp /etc/ddclient/ddclient.conf /etc/ddclient.conf || die - ewarn "Your DDClient configuration has been copied from" - ewarn "'/etc/ddclient/ddclient.conf' to '/etc/ddclient.conf'." - ewarn "Please check your configuration." - fi - break - fi - done - fi - - optfeature "using iproute2 instead if ifconfig." sys-apps/iproute2 - tmpfiles_process ddclient.conf -} |