From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 81050158015 for ; Sat, 23 Dec 2023 21:51:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C40C2BC093; Sat, 23 Dec 2023 21:51:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 55E5E2BC093 for ; Sat, 23 Dec 2023 21:51:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 561B4342FF9 for ; Sat, 23 Dec 2023 21:51:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E9B431492 for ; Sat, 23 Dec 2023 21:51:32 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1703368279.83c446b60320aac227b1f0529e9a683f5dbc42ac.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/ddclient/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/ddclient/Manifest net-dns/ddclient/ddclient-3.11.2.ebuild X-VCS-Directories: net-dns/ddclient/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 83c446b60320aac227b1f0529e9a683f5dbc42ac X-VCS-Branch: master Date: Sat, 23 Dec 2023 21:51:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: de6c373d-c88c-4f5f-8045-6cbfdbebd5d9 X-Archives-Hash: c1172df6a25844016b976e4d03cc6507 commit: 83c446b60320aac227b1f0529e9a683f5dbc42ac Author: Conrad Kostecki gentoo org> AuthorDate: Sat Dec 23 21:38:20 2023 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Dec 23 21:51:19 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83c446b6 net-dns/ddclient: add 3.11.2 Signed-off-by: Conrad Kostecki gentoo.org> net-dns/ddclient/Manifest | 1 + net-dns/ddclient/ddclient-3.11.2.ebuild | 89 +++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) diff --git a/net-dns/ddclient/Manifest b/net-dns/ddclient/Manifest index 55ffa7c14492..d85a27e87164 100644 --- a/net-dns/ddclient/Manifest +++ b/net-dns/ddclient/Manifest @@ -1,2 +1,3 @@ DIST ddclient-3.10.0.tar.gz 275494 BLAKE2B abb2d313ae7c459305916b47f7c6e28a6a1ac9ce141b7e1ba64cb4b646191eff17cb0a89e2ee14a9e406cf0e5d319b2c144874a050679528c9b085a5f239a6aa SHA512 4740a96813e47e7989d61253ac8a69c6e0f70dd3c61a05227b03d973d9a024d17d6a31c16d633ade48a3fc58f0c79b8a0da8a4ec3369d852a2417e86e9971a05 DIST ddclient-3.11.1.tar.gz 277452 BLAKE2B f496443b972cfed0623eae3a4056b4315cc085e3358189f0846bedaeda53912ec43949da5c4505cc749bf0dea247702e5c2415f06b27dc6549739833a39c8365 SHA512 e823ce54f94e268d62c52e2e13f32e5549b0f91721c876e0bfde2f948ac60d6346fb633b96eda410174c9f039c9c67034efdec7826f249f85c5890e33b3279b0 +DIST ddclient-3.11.2.tar.gz 278314 BLAKE2B 5e60d8ab0889fbfe03cf182faf025b84faa6a5c278d0c0c1fd45c0bab88828bc3ebacdadac44d1cbd71202f1eff79a7ae0ffcb668992ad54f71e36f8c2f74333 SHA512 b0d275f5ccc36cd8b532b6176de885696ff189dbdffa71bc63e9fa6db2aaf4ab5ff3290c251e318f05b2163c546dcc785eb3582388d9fb70e8439e35e5cbcd7f diff --git a/net-dns/ddclient/ddclient-3.11.2.ebuild b/net-dns/ddclient/ddclient-3.11.2.ebuild new file mode 100644 index 000000000000..92d30aafbd66 --- /dev/null +++ b/net-dns/ddclient/ddclient-3.11.2.ebuild @@ -0,0 +1,89 @@ +# 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 +}