public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/ddclient/
Date: Mon, 27 Jan 2025 21:55:23 +0000 (UTC)	[thread overview]
Message-ID: <1738014884.4010bf7be8f77c360e1f5034f0598d5d369e4fad.conikost@gentoo> (raw)

commit:     4010bf7be8f77c360e1f5034f0598d5d369e4fad
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 27 21:54:44 2025 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Jan 27 21:54:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4010bf7b

net-dns/ddclient: add 4.0.0

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 net-dns/ddclient/Manifest              |  1 +
 net-dns/ddclient/ddclient-4.0.0.ebuild | 85 ++++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

diff --git a/net-dns/ddclient/Manifest b/net-dns/ddclient/Manifest
index 56587389a3d2..273aa0173ecf 100644
--- a/net-dns/ddclient/Manifest
+++ b/net-dns/ddclient/Manifest
@@ -1 +1,2 @@
 DIST ddclient-3.11.2.tar.gz 278314 BLAKE2B 5e60d8ab0889fbfe03cf182faf025b84faa6a5c278d0c0c1fd45c0bab88828bc3ebacdadac44d1cbd71202f1eff79a7ae0ffcb668992ad54f71e36f8c2f74333 SHA512 b0d275f5ccc36cd8b532b6176de885696ff189dbdffa71bc63e9fa6db2aaf4ab5ff3290c251e318f05b2163c546dcc785eb3582388d9fb70e8439e35e5cbcd7f
+DIST ddclient-4.0.0.tar.gz 301499 BLAKE2B 16cb19ee4d9f30b8da1d8e05cb17aabdf41039d6eb72c66c64c996146918d2f694b50b8364d08ff753911f189af2a5d3f1141a037a1d5fc886fd7cda7a2a1bd3 SHA512 095723aa43c4f08d7e3aa46c0bc47e753fdcbcb2cd0ac5f77cd687f98694985ad70e2f6509c05aaa232d0412fcb0aef8bb07a6d9e4302130ab1db047c14e1e86

diff --git a/net-dns/ddclient/ddclient-4.0.0.ebuild b/net-dns/ddclient/ddclient-4.0.0.ebuild
new file mode 100644
index 000000000000..d032d58f08e2
--- /dev/null
+++ b/net-dns/ddclient/ddclient-4.0.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2025 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"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+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_configure() {
+	myeconfargs=(
+		--with-confdir="${EPREFIX}/etc"
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+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() {
+	optfeature "using iproute2 instead if ifconfig." sys-apps/iproute2
+	tmpfiles_process ddclient.conf
+}


             reply	other threads:[~2025-01-27 21:55 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-27 21:55 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-10 20:15 [gentoo-commits] repo/gentoo:master commit in: net-dns/ddclient/ Conrad Kostecki
2025-03-01  4:41 Sam James
2025-03-01  4:41 Sam James
2025-03-01  4:41 Sam James
2025-03-01  4:41 Sam James
2025-03-01  4:41 Sam James
2024-06-22 20:01 Conrad Kostecki
2024-01-24  6:35 Sam James
2024-01-24  6:28 Sam James
2024-01-24  6:16 Sam James
2024-01-24  6:16 Sam James
2024-01-24  6:16 Sam James
2024-01-24  6:16 Sam James
2024-01-23 23:35 Conrad Kostecki
2023-12-23 21:51 Conrad Kostecki
2023-12-13 19:29 Arthur Zamarin
2023-12-13 19:29 Arthur Zamarin
2023-12-13  0:37 Sam James
2023-12-13  0:37 Sam James
2023-12-13  0:37 Sam James
2023-12-13  0:37 Sam James
2023-11-12  0:24 Conrad Kostecki
2022-12-10 19:06 Sam James
2022-12-10 18:17 Arthur Zamarin
2022-12-10 17:47 Sam James
2022-12-10 17:45 Sam James
2022-11-11 23:24 Conrad Kostecki
2022-11-10  0:10 Conrad Kostecki
2022-11-10  0:10 Conrad Kostecki
2022-10-31 23:46 Conrad Kostecki
2022-10-10 22:01 Conrad Kostecki
2022-10-04 20:34 Conrad Kostecki
2021-12-03 19:35 Sam James
2021-12-02  2:50 Yixun Lan
2020-12-06 18:45 Sam James
2020-10-11 20:17 Conrad Kostecki
2020-09-23 20:20 Conrad Kostecki
2020-08-05 19:48 Conrad Kostecki
2020-08-05 14:17 Agostino Sarubbo
2020-08-05 13:53 Agostino Sarubbo
2020-08-01  9:01 Sergei Trofimovich
2020-07-31  2:38 Sam James
2020-05-13  0:35 Aaron W. Swenson
2020-05-11 11:36 Aaron W. Swenson
2020-02-04 18:09 Conrad Kostecki
2019-12-24 14:43 Mikle Kolyada
2019-12-15 18:03 Agostino Sarubbo
2019-12-15 14:15 Agostino Sarubbo
2019-12-15 14:07 Agostino Sarubbo
2019-12-15 13:43 Agostino Sarubbo
2019-12-15 13:36 Sergei Trofimovich
2019-10-12 10:36 Andreas Sturmlechner
2019-10-12  9:15 Joonas Niilola
2019-04-17 12:21 Mikle Kolyada
2019-03-19  2:03 Thomas Deutschmann
2019-03-13 23:24 Sergei Trofimovich
2019-03-02 15:37 Mikle Kolyada
2019-02-28 15:07 Mikle Kolyada
2019-02-27  8:20 Sergei Trofimovich
2019-02-27  7:55 Sergei Trofimovich
2019-02-24 12:55 Aaron W. Swenson
2019-02-22 20:17 Sergei Trofimovich
2018-12-08 12:09 Mikle Kolyada
2018-11-07 22:46 Sergei Trofimovich
2018-10-29  1:01 Matt Turner
2018-10-18  7:52 Tobias Klausmann
2018-10-15 19:03 Sergei Trofimovich
2018-10-15 18:43 Sergei Trofimovich
2018-10-14 22:35 Sergei Trofimovich
2018-10-14  1:44 Thomas Deutschmann
2018-09-04  9:48 Aaron Swenson
2016-04-11 20:29 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1738014884.4010bf7be8f77c360e1f5034f0598d5d369e4fad.conikost@gentoo \
    --to=conikost@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox