[gentoo-commits] repo/gentoo:master commit in: net-dns/updatedd/
commit: 2ad4a9c2ef6511dc2f73ccd31590571e8fc06c50 Author: Sam James gentoo org> AuthorDate: Wed Dec 14 23:42:08 2022 + Commit: Sam James gentoo org> CommitDate: Wed Dec 14 23:42:08 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ad4a9c2 net-dns/updatedd: fix src_install Closes: https://bugs.gentoo.org/885977 Signed-off-by: Sam James gentoo.org> net-dns/updatedd/{updatedd-2.6-r7.ebuild => updatedd-2.6-r8.ebuild} | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net-dns/updatedd/updatedd-2.6-r7.ebuild b/net-dns/updatedd/updatedd-2.6-r8.ebuild similarity index 98% rename from net-dns/updatedd/updatedd-2.6-r7.ebuild rename to net-dns/updatedd/updatedd-2.6-r8.ebuild index 4b7df5532d7e..563946854844 100644 --- a/net-dns/updatedd/updatedd-2.6-r7.ebuild +++ b/net-dns/updatedd/updatedd-2.6-r8.ebuild @@ -34,5 +34,7 @@ src_prepare() { } src_install() { + default + find "${ED}" -name '*.la' -delete || die }
[gentoo-commits] repo/gentoo:master commit in: net-dns/updatedd/
commit: 6a0959170e0c8b84fd6badb5ab30fe162ff87af7 Author: Sam James gentoo org> AuthorDate: Wed Nov 16 23:39:53 2022 + Commit: Sam James gentoo org> CommitDate: Wed Nov 16 23:39:53 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a095917 net-dns/updatedd: add savannah-nongnu upstream metadata Signed-off-by: Sam James gentoo.org> net-dns/updatedd/metadata.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net-dns/updatedd/metadata.xml b/net-dns/updatedd/metadata.xml index 85e4ed814fa2..3919a9943bb2 100644 --- a/net-dns/updatedd/metadata.xml +++ b/net-dns/updatedd/metadata.xml @@ -1,5 +1,8 @@ https://www.gentoo.org/dtd/metadata.dtd;> - + + + updatedd +
[gentoo-commits] repo/gentoo:master commit in: net-dns/updatedd/files/, net-dns/updatedd/
commit: 7c17f8e073c73523ec0421684dfa6d41c6cc20bb Author: Sam James gentoo org> AuthorDate: Wed Nov 16 23:36:45 2022 + Commit: Sam James gentoo org> CommitDate: Wed Nov 16 23:36:45 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c17f8e0 net-dns/updatedd: fix configure w/ clang 16 Closes: https://bugs.gentoo.org/848747 Signed-off-by: Sam James gentoo.org> .../files/updatedd-2.6-respect-docdir.patch| 25 ...datedd-2.6-r6.ebuild => updatedd-2.6-r7.ebuild} | 27 ++ 2 files changed, 43 insertions(+), 9 deletions(-) diff --git a/net-dns/updatedd/files/updatedd-2.6-respect-docdir.patch b/net-dns/updatedd/files/updatedd-2.6-respect-docdir.patch new file mode 100644 index ..437d326a6e30 --- /dev/null +++ b/net-dns/updatedd/files/updatedd-2.6-respect-docdir.patch @@ -0,0 +1,25 @@ +From 8e484c4b0ceac8e7c37492fdf5e5b89f18451277 Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky +Date: Sat, 14 Jan 2017 01:06:48 -0500 +Subject: [PATCH 1/1] Use the autotools "docdir" in Documentation/Makefile.am. + +--- a/Documentation/Makefile.am b/Documentation/Makefile.am +@@ -2,12 +2,12 @@ + + ## install documentation + install-data-local: +- $(INSTALL) -d $(DESTDIR)$(datadir)/doc/updatedd +- $(INSTALL) $(srcdir)/updatedd-*.pdf $(DESTDIR)$(datadir)/doc/updatedd +- $(INSTALL) $(srcdir)/updatedd-pppd-rc $(DESTDIR)$(datadir)/doc/updatedd ++ $(INSTALL) -d $(DESTDIR)$(docdir) ++ $(INSTALL) $(srcdir)/updatedd-*.pdf $(DESTDIR)$(docdir) ++ $(INSTALL) $(srcdir)/updatedd-pppd-rc $(DESTDIR)$(docdir) + +-uninstall-local: +- $(RM) -r $(DESTDIR)$(datadir)/doc/updatedd ++uninstall-local:/ ++ $(RM) -r $(DESTDIR)$(datadir)/updatedd + + ## include debian files + EXTRA_DIST = updatedd-2.4-english.pdf updatedd-2.4-german.pdf updatedd-pppd-rc COPYING diff --git a/net-dns/updatedd/updatedd-2.6-r6.ebuild b/net-dns/updatedd/updatedd-2.6-r7.ebuild similarity index 64% rename from net-dns/updatedd/updatedd-2.6-r6.ebuild rename to net-dns/updatedd/updatedd-2.6-r7.ebuild index d55cae76e39c..4b7df5532d7e 100644 --- a/net-dns/updatedd/updatedd-2.6-r6.ebuild +++ b/net-dns/updatedd/updatedd-2.6-r7.ebuild @@ -1,7 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + +inherit autotools DESCRIPTION="Dynamic DNS client with plugins for several dynamic dns services" HOMEPAGE="https://savannah.nongnu.org/projects/updatedd/; @@ -10,20 +12,27 @@ SRC_URI="https://savannah.nongnu.org/download/updatedd/${PN}_${PV}.tar.gz; LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~arm ppc x86" -IUSE="" -DEPEND="" -RDEPEND="dev-lang/perl - dev-perl/IO-Socket-Timeout" +RDEPEND=" + dev-lang/perl + dev-perl/IO-Socket-Timeout +" PATCHES=( "${FILESDIR}/${P}-options.patch" "${FILESDIR}/fix-ovh-DYNDNSHOST.patch" - "${FILESDIR}/respect-docdir.patch" "${FILESDIR}/set-socket-timeouts-for-ipserv.patch" "${FILESDIR}/fix-ovh-support.patch" + "${FILESDIR}/${P}-respect-docdir.patch" ) -src_configure() { - econf --disable-static +src_prepare() { + default + + # Needed for Clang 16 + eautoreconf +} + +src_install() { + find "${ED}" -name '*.la' -delete || die }
[gentoo-commits] repo/gentoo:master commit in: net-dns/updatedd/
commit: dec90553729f8e7e4837d467206faaa2d13a1560 Author: Sam James gentoo org> AuthorDate: Fri Apr 30 23:36:30 2021 + Commit: Sam James gentoo org> CommitDate: Fri Apr 30 23:36:30 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dec90553 net-dns/updatedd: Stabilize 2.6-r6 ppc, #786984 Signed-off-by: Sam James gentoo.org> net-dns/updatedd/updatedd-2.6-r6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/updatedd/updatedd-2.6-r6.ebuild b/net-dns/updatedd/updatedd-2.6-r6.ebuild index 9ad0b1ad98c..d55cae76e39 100644 --- a/net-dns/updatedd/updatedd-2.6-r6.ebuild +++ b/net-dns/updatedd/updatedd-2.6-r6.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://savannah.nongnu.org/download/updatedd/${PN}_${PV}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~ppc x86" +KEYWORDS="amd64 ~arm ppc x86" IUSE="" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: net-dns/updatedd/
commit: 40d0b47be213305bee601ca92d5777378e86a87f Author: Sam James gentoo org> AuthorDate: Fri Apr 30 23:28:06 2021 + Commit: Sam James gentoo org> CommitDate: Fri Apr 30 23:28:06 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40d0b47b net-dns/updatedd: Stabilize 2.6-r6 x86, #786984 Signed-off-by: Sam James gentoo.org> net-dns/updatedd/updatedd-2.6-r6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/updatedd/updatedd-2.6-r6.ebuild b/net-dns/updatedd/updatedd-2.6-r6.ebuild index 220691ccf4d..9ad0b1ad98c 100644 --- a/net-dns/updatedd/updatedd-2.6-r6.ebuild +++ b/net-dns/updatedd/updatedd-2.6-r6.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://savannah.nongnu.org/download/updatedd/${PN}_${PV}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~ppc ~x86" +KEYWORDS="amd64 ~arm ~ppc x86" IUSE="" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: net-dns/updatedd/
commit: f94c7ff85ac0308f9f99f590a545245e18841206 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Apr 30 15:23:22 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Apr 30 15:23:22 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f94c7ff8 net-dns/updatedd: amd64 stable wrt bug #786984 Package-Manager: Portage-3.0.13, Repoman-3.0.2 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> net-dns/updatedd/updatedd-2.6-r6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/updatedd/updatedd-2.6-r6.ebuild b/net-dns/updatedd/updatedd-2.6-r6.ebuild index d352c43644a..220691ccf4d 100644 --- a/net-dns/updatedd/updatedd-2.6-r6.ebuild +++ b/net-dns/updatedd/updatedd-2.6-r6.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://savannah.nongnu.org/download/updatedd/${PN}_${PV}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86" +KEYWORDS="amd64 ~arm ~ppc ~x86" IUSE="" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: net-dns/updatedd/, net-dns/updatedd/files/
commit: 2b3b0bac1a60894fe8d1d5b2d19b0c14bdc6d692 Author: Michael Orlitzky gentoo org> AuthorDate: Tue Mar 30 02:16:13 2021 + Commit: Michael Orlitzky gentoo org> CommitDate: Tue Mar 30 02:16:13 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b3b0bac net-dns/updatedd: new revision to fix OVH support. Closes: https://bugs.gentoo.org/777423 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Michael Orlitzky gentoo.org> net-dns/updatedd/files/fix-ovh-support.patch | 70 net-dns/updatedd/updatedd-2.6-r6.ebuild | 29 2 files changed, 99 insertions(+) diff --git a/net-dns/updatedd/files/fix-ovh-support.patch b/net-dns/updatedd/files/fix-ovh-support.patch new file mode 100644 index 000..da9e64d9085 --- /dev/null +++ b/net-dns/updatedd/files/fix-ovh-support.patch @@ -0,0 +1,70 @@ +https://bugs.gentoo.org/777423 + +--- a/src/plugins/libovh.c b/src/plugins/libovh.c +@@ -181,6 +181,7 @@ + + char *b64user; + char message[BUFLEN]; ++ size_t pos, towrite; + + if(strlen(args->login) > 128) { + ret_msg(NONE, "username is too long"); +@@ -220,10 +221,18 @@ + "\n--\n" + "%s--\n\n", + message); +- +- if(write(s, message, strlen(message)) == -1) { +- ret_msg(PERR, "write() failed"); +- return RET_WARNING; ++ ++ for (pos = 0, towrite = strlen(message); towrite > 0; ) { ++ ssize_t ret; ++ ++ ret = write(s, message + pos, towrite - pos); ++ if(ret <= 0) { ++ ret_msg(PERR, "write() failed"); ++ return RET_WARNING; ++ } ++ ++ pos += ret; ++ towrite -= ret; + } + + free(b64user); +@@ -236,13 +245,22 @@ + { + + int n; +- char server_msg[BUFSIZE], *ptr; ++ char server_msg[BUFLEN], *ptr; + + /* get server_msg */ + (void)memset(server_msg, 0, sizeof(server_msg)); +- if(read(s, server_msg, sizeof(server_msg) - 1) < 0) { +- ret_msg(PERR, "read() failed"); +- return RET_WARNING; ++ ++ for (ptr = server_msg; ptr < _msg[BUFLEN]; ) { ++ ssize_t ret; ++ ++ ret = read(s, ptr, _msg[BUFLEN] - ptr); ++ if (ret < 0) { ++ ret_msg(PERR, "read() failed"); ++ return RET_WARNING; ++ } else if (ret == 0) ++ break; ++ ++ ptr += ret; + } + + print_debug("\n\nServer message:" +@@ -267,6 +285,7 @@ + } + } + } ++ ret_msg(NONE, "unknown server response"); + } else if(strstr(server_msg, "401 Authorization Required")) { + ret_msg(NONE, "wrong username or password"); + } else { diff --git a/net-dns/updatedd/updatedd-2.6-r6.ebuild b/net-dns/updatedd/updatedd-2.6-r6.ebuild new file mode 100644 index 000..d352c43644a --- /dev/null +++ b/net-dns/updatedd/updatedd-2.6-r6.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Dynamic DNS client with plugins for several dynamic dns services" +HOMEPAGE="https://savannah.nongnu.org/projects/updatedd/; +SRC_URI="https://savannah.nongnu.org/download/updatedd/${PN}_${PV}.tar.gz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/perl + dev-perl/IO-Socket-Timeout" + +PATCHES=( + "${FILESDIR}/${P}-options.patch" + "${FILESDIR}/fix-ovh-DYNDNSHOST.patch" + "${FILESDIR}/respect-docdir.patch" + "${FILESDIR}/set-socket-timeouts-for-ipserv.patch" + "${FILESDIR}/fix-ovh-support.patch" +) + +src_configure() { + econf --disable-static +}
[gentoo-commits] repo/gentoo:master commit in: net-dns/updatedd/
commit: 9cffb5132dd9de700eb1033db6d9072addadd9c8 Author: Harri Nieminen gmail com> AuthorDate: Tue Apr 17 08:38:49 2018 + Commit: David Seifert gentoo org> CommitDate: Tue Apr 17 20:26:36 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cffb513 net-dns/updatedd: Clean up old Package-Manager: Portage-2.3.29, Repoman-2.3.9 net-dns/updatedd/updatedd-2.6.ebuild | 26 -- 1 file changed, 26 deletions(-) diff --git a/net-dns/updatedd/updatedd-2.6.ebuild b/net-dns/updatedd/updatedd-2.6.ebuild deleted file mode 100644 index 351f873c173..000 --- a/net-dns/updatedd/updatedd-2.6.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -inherit eutils - -DESCRIPTION="Dynamic DNS client with plugins for several dynamic dns services" -HOMEPAGE="https://savannah.nongnu.org/projects/updatedd/; -SRC_URI="https://savannah.nongnu.org/download/updatedd/${PN}_${PV}.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ppc x86" -IUSE="" - -RDEPEND="" - -src_unpack() { - unpack ${A} - epatch "${FILESDIR}"/${P}-options.patch -} - -src_install() { - emake DESTDIR="${D}" install || die - mv "${D}"/usr/share/doc/updatedd "${D}"/usr/share/doc/${PF} - dodoc AUTHORS -}
[gentoo-commits] repo/gentoo:master commit in: net-dns/updatedd/
commit: 9fb761036eedf4b65d3a81087130671229301984 Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Apr 16 21:13:12 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Apr 16 21:25:34 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fb76103 net-dns/updatedd: stable 2.6-r5 for ppc, bug #647724 Bug: https://bugs.gentoo.org/647724 Package-Manager: Portage-2.3.28, Repoman-2.3.9 RepoMan-Options: --include-arches="ppc" net-dns/updatedd/updatedd-2.6-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/updatedd/updatedd-2.6-r5.ebuild b/net-dns/updatedd/updatedd-2.6-r5.ebuild index bec39311837..341328f5421 100644 --- a/net-dns/updatedd/updatedd-2.6-r5.ebuild +++ b/net-dns/updatedd/updatedd-2.6-r5.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://savannah.nongnu.org/download/updatedd/${PN}_${PV}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~ppc x86" +KEYWORDS="amd64 ~arm ppc x86" IUSE="" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: net-dns/updatedd/
commit: ab165c43ed07792b61f8fe6f9214c727cb4d52a5 Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Feb 18 21:46:06 2018 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Feb 18 21:48:26 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab165c43 net-dns/updatedd: x86 stable (bug #647724) Package-Manager: Portage-2.3.24, Repoman-2.3.6 net-dns/updatedd/updatedd-2.6-r5.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-dns/updatedd/updatedd-2.6-r5.ebuild b/net-dns/updatedd/updatedd-2.6-r5.ebuild index fae1a41e9e1..093f87e8e58 100644 --- a/net-dns/updatedd/updatedd-2.6-r5.ebuild +++ b/net-dns/updatedd/updatedd-2.6-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -9,7 +9,7 @@ SRC_URI="https://savannah.nongnu.org/download/updatedd/${PN}_${PV}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86" +KEYWORDS="~amd64 ~arm ~ppc x86" IUSE="" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: net-dns/updatedd/
commit: d1923971effa270346d435cc7a3073fbb96117ce Author: Michael Orlitzky gentoo org> AuthorDate: Sun Aug 13 18:14:52 2017 + Commit: Michael Orlitzky gentoo org> CommitDate: Sun Aug 13 18:15:12 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1923971 net-dns/updatedd: remove unused version 2.6-r4. Package-Manager: Portage-2.3.6, Repoman-2.3.1 net-dns/updatedd/updatedd-2.6-r4.ebuild | 26 -- 1 file changed, 26 deletions(-) diff --git a/net-dns/updatedd/updatedd-2.6-r4.ebuild b/net-dns/updatedd/updatedd-2.6-r4.ebuild deleted file mode 100644 index ff62882f4ad..000 --- a/net-dns/updatedd/updatedd-2.6-r4.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="Dynamic DNS client with plugins for several dynamic dns services" -HOMEPAGE="https://savannah.nongnu.org/projects/updatedd/; -SRC_URI="https://savannah.nongnu.org/download/updatedd/${PN}_${PV}.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86" -IUSE="" - -DEPEND="" -RDEPEND="dev-lang/perl" - -PATCHES=( - "${FILESDIR}/${P}-options.patch" - "${FILESDIR}/fix-ovh-DYNDNSHOST.patch" - "${FILESDIR}/respect-docdir.patch" -) - -src_configure() { - econf --disable-static --docdir="/usr/share/doc/${PF}" -}
[gentoo-commits] repo/gentoo:master commit in: net-dns/updatedd/
commit: 6d2e3087704a933cfdb581c0e1847d5373acc5f2 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Aug 13 13:07:07 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Aug 13 16:08:49 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d2e3087 net-dns/updatedd: keyworded 2.6-r5 for ppc, bug #605722 Package-Manager: Portage-2.3.6, Repoman-2.3.3 RepoMan-Options: --include-arches="ppc" net-dns/updatedd/updatedd-2.6-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/updatedd/updatedd-2.6-r5.ebuild b/net-dns/updatedd/updatedd-2.6-r5.ebuild index 529787f1921..fae1a41e9e1 100644 --- a/net-dns/updatedd/updatedd-2.6-r5.ebuild +++ b/net-dns/updatedd/updatedd-2.6-r5.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://savannah.nongnu.org/download/updatedd/${PN}_${PV}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" +KEYWORDS="~amd64 ~arm ~ppc ~x86" IUSE="" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: net-dns/updatedd/
commit: 8833d88102263c18f3422aaadedae5b4015cd268 Author: Markus Meier gentoo org> AuthorDate: Sun Feb 19 09:04:26 2017 + Commit: Markus Meier gentoo org> CommitDate: Sun Feb 19 09:05:23 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8833d881 net-dns/updatedd: add ~arm, bug #605722 Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --include-arches="arm" net-dns/updatedd/updatedd-2.6-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/updatedd/updatedd-2.6-r5.ebuild b/net-dns/updatedd/updatedd-2.6-r5.ebuild index 24685ac553..531c41191b 100644 --- a/net-dns/updatedd/updatedd-2.6-r5.ebuild +++ b/net-dns/updatedd/updatedd-2.6-r5.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://savannah.nongnu.org/download/updatedd/${PN}_${PV}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm ~x86" IUSE="" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: net-dns/updatedd/, net-dns/updatedd/files/
commit: 5cadafb0174f267b92e5ea9e2cc90c57352e14e7 Author: Michael Orlitzky gentoo org> AuthorDate: Sat Jan 14 21:16:26 2017 + Commit: Michael Orlitzky gentoo org> CommitDate: Sat Jan 14 21:52:54 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cadafb0 net-dns/updatedd: new revision to set timeouts for ipserv.pl. This new revision adds a patch by Maciej S. Szmigiero that sets timeouts on the socket used by ipserv.pl. Doing so prevents updatedd from hanging when the other end of the socket goes AWOL. As a consequence, dev-perl/IO-Socket-Timeout was added to RDEPEND. The "~arm" and "~ppc" keywords had to be dropped to satisfy that new dependency. Gentoo-Bug: 605626 Package-Manager: portage-2.3.0 .../files/set-socket-timeouts-for-ipserv.patch | 36 ++ net-dns/updatedd/updatedd-2.6-r5.ebuild| 29 + 2 files changed, 65 insertions(+) diff --git a/net-dns/updatedd/files/set-socket-timeouts-for-ipserv.patch b/net-dns/updatedd/files/set-socket-timeouts-for-ipserv.patch new file mode 100644 index ..dbcf4c7 --- /dev/null +++ b/net-dns/updatedd/files/set-socket-timeouts-for-ipserv.patch @@ -0,0 +1,36 @@ +Patch by Maciej S. Szmigiero to prevent ipserv from hanging when the +other end of the connection goes AWOL. + +Gentoo-Bug: 602216 + +--- a/scripts/ipserv.pl.in 2005-03-06 22:21:36.0 +0100 b/scripts/ipserv.pl.in 2017-01-14 19:39:25.583277538 +0100 +@@ -20,6 +20,7 @@ + + use strict; + use IO::Socket; ++use IO::Socket::Timeout qw(IO::Socket::INET); + + my $ipv4_rex = qr/(?:\d{1,3}\.){3}\d{1,3}/imosx; + +@@ -128,7 +129,8 @@ + $socket = IO::Socket::INET->new(PeerAddr => $target->{url}, + PeerPort => $target->{port}, + Proto=> "tcp", +- Type => SOCK_STREAM) ++ Type => SOCK_STREAM, ++ Timeout => 2 * 60) + or $retries--; + + } while(!defined($socket) && $retries != 0); +@@ -137,6 +139,10 @@ + die "could not connect to $target->{url}: $!"; + } + ++IO::Socket::Timeout->enable_timeouts_on($socket); ++$socket->read_timeout(2 * 60); ++$socket->write_timeout(2 * 60); ++ + if(defined($target->{request})) { + print($socket $target->{request}); + } diff --git a/net-dns/updatedd/updatedd-2.6-r5.ebuild b/net-dns/updatedd/updatedd-2.6-r5.ebuild new file mode 100644 index ..24685ac --- /dev/null +++ b/net-dns/updatedd/updatedd-2.6-r5.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="Dynamic DNS client with plugins for several dynamic dns services" +HOMEPAGE="https://savannah.nongnu.org/projects/updatedd/; +SRC_URI="https://savannah.nongnu.org/download/updatedd/${PN}_${PV}.tar.gz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/perl + dev-perl/IO-Socket-Timeout" + +PATCHES=( + "${FILESDIR}/${P}-options.patch" + "${FILESDIR}/fix-ovh-DYNDNSHOST.patch" + "${FILESDIR}/respect-docdir.patch" + "${FILESDIR}/set-socket-timeouts-for-ipserv.patch" +) + +src_configure() { + econf --disable-static --docdir="/usr/share/doc/${PF}" +}
[gentoo-commits] repo/gentoo:master commit in: net-dns/updatedd/, net-dns/updatedd/files/
commit: 4929eb7a122bb8d6479d8f603a38ac16ffbc8f51 Author: Michael Orlitzky gentoo org> AuthorDate: Sat Jan 14 06:15:51 2017 + Commit: Michael Orlitzky gentoo org> CommitDate: Sat Jan 14 06:32:09 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4929eb7a net-dns/updatedd: add another patch to respect --docdir. Package-Manager: portage-2.3.0 net-dns/updatedd/files/respect-docdir.patch| 33 ++ ...datedd-2.6-r2.ebuild => updatedd-2.6-r3.ebuild} | 6 ++-- 2 files changed, 36 insertions(+), 3 deletions(-) diff --git a/net-dns/updatedd/files/respect-docdir.patch b/net-dns/updatedd/files/respect-docdir.patch new file mode 100644 index ..504220a --- /dev/null +++ b/net-dns/updatedd/files/respect-docdir.patch @@ -0,0 +1,33 @@ +From 8e484c4b0ceac8e7c37492fdf5e5b89f18451277 Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky+Date: Sat, 14 Jan 2017 01:06:48 -0500 +Subject: [PATCH 1/1] Use the autotools "docdir" in Documentation/Makefile.in. + +--- + Documentation/Makefile.in | 8 + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/Documentation/Makefile.in b/Documentation/Makefile.in +index 8c87281..c213c09 100644 +--- a/Documentation/Makefile.in b/Documentation/Makefile.in +@@ -325,12 +325,12 @@ uninstall-am: uninstall-info-am uninstall-local + + + install-data-local: +- $(INSTALL) -d $(DESTDIR)$(datadir)/doc/updatedd +- $(INSTALL) $(srcdir)/updatedd-*.pdf $(DESTDIR)$(datadir)/doc/updatedd +- $(INSTALL) $(srcdir)/updatedd-pppd-rc $(DESTDIR)$(datadir)/doc/updatedd ++ $(INSTALL) -d $(DESTDIR)$(docdir) ++ $(INSTALL) $(srcdir)/updatedd-*.pdf $(DESTDIR)$(docdir) ++ $(INSTALL) $(srcdir)/updatedd-pppd-rc $(DESTDIR)$(docdir) + + uninstall-local: +- $(RM) -r $(DESTDIR)$(datadir)/doc/updatedd ++ $(RM) -r $(DESTDIR)$(docdir) + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +-- +2.10.2 + diff --git a/net-dns/updatedd/updatedd-2.6-r2.ebuild b/net-dns/updatedd/updatedd-2.6-r3.ebuild similarity index 83% rename from net-dns/updatedd/updatedd-2.6-r2.ebuild rename to net-dns/updatedd/updatedd-2.6-r3.ebuild index 1553365..fbbc113 100644 --- a/net-dns/updatedd/updatedd-2.6-r2.ebuild +++ b/net-dns/updatedd/updatedd-2.6-r3.ebuild @@ -14,20 +14,20 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~ppc ~x86" IUSE="" -RDEPEND="" DEPEND="" +RDEPEND="dev-lang/perl" PATCHES=( "${FILESDIR}/${P}-options.patch" "${FILESDIR}/fix-ovh-DYNDNSHOST.patch" + "${FILESDIR}/respect-docdir.patch" ) src_configure() { - econf --disable-static + econf --disable-static --docdir="/usr/share/doc/${PF}" } src_install() { default - mv "${D}/usr/share/doc/updatedd" "${D}/usr/share/doc/${PF}" || die prune_libtool_files }
[gentoo-commits] repo/gentoo:master commit in: net-dns/updatedd/files/, net-dns/updatedd/
commit: fc7d0c675be5bbda0fb47b3cac3ca39049ab0c16 Author: Michael Orlitzky gentoo org> AuthorDate: Sat Jan 14 05:43:09 2017 + Commit: Michael Orlitzky gentoo org> CommitDate: Sat Jan 14 06:32:09 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc7d0c67 net-dns/updatedd: new revision fixing the DYNDNSHOST for OVH. Maciej S. Szmigiero submitted this patch which fixes updatedd on OVH. It simply updates the hostname used to avoid a 302 redirect that confuses updatedd. Gentoo-Bug: 605624 Package-Manager: portage-2.3.0 net-dns/updatedd/files/fix-ovh-DYNDNSHOST.patch | 11 +++ .../{updatedd-2.6-r1.ebuild => updatedd-2.6-r2.ebuild} | 12 ++-- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/net-dns/updatedd/files/fix-ovh-DYNDNSHOST.patch b/net-dns/updatedd/files/fix-ovh-DYNDNSHOST.patch new file mode 100644 index ..f8f6174 --- /dev/null +++ b/net-dns/updatedd/files/fix-ovh-DYNDNSHOST.patch @@ -0,0 +1,11 @@ +--- a/src/plugins/libovh.h 2006-09-07 22:32:59.0 +0200 b/src/plugins/libovh.h 2013-01-20 13:48:37.162920947 +0100 +@@ -21,7 +21,7 @@ + + #include + +-#define DYNDNSHOST"ovh.com" ++#define DYNDNSHOST"www.ovh.com" + #define PORT 80 + + #define BUFSIZE 512 diff --git a/net-dns/updatedd/updatedd-2.6-r1.ebuild b/net-dns/updatedd/updatedd-2.6-r2.ebuild similarity index 71% rename from net-dns/updatedd/updatedd-2.6-r1.ebuild rename to net-dns/updatedd/updatedd-2.6-r2.ebuild index 4605c11..1553365 100644 --- a/net-dns/updatedd/updatedd-2.6-r1.ebuild +++ b/net-dns/updatedd/updatedd-2.6-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -17,10 +17,10 @@ IUSE="" RDEPEND="" DEPEND="" -src_prepare() { - epatch "${FILESDIR}"/${P}-options.patch - default -} +PATCHES=( + "${FILESDIR}/${P}-options.patch" + "${FILESDIR}/fix-ovh-DYNDNSHOST.patch" +) src_configure() { econf --disable-static @@ -28,6 +28,6 @@ src_configure() { src_install() { default - mv "${D}"/usr/share/doc/updatedd "${D}"/usr/share/doc/${PF} + mv "${D}/usr/share/doc/updatedd" "${D}/usr/share/doc/${PF}" || die prune_libtool_files }
[gentoo-commits] repo/gentoo:master commit in: net-dns/updatedd/
commit: 6fa5eeb2e0e5535700c3964f18de4e3de4b23d7f Author: Michael Orlitzky gentoo org> AuthorDate: Sat Jan 14 06:31:50 2017 + Commit: Michael Orlitzky gentoo org> CommitDate: Sat Jan 14 06:32:10 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fa5eeb2 net-dns/updatedd: new revision restoring the .la plugins. The fix for bug 577248 broke the plugin discovery of updatedd. It's not clear if the ".la" extension can simply be replaced by ".so", so I've restored the ".la" files for now (by eliminating a call to prune_libtool_files). Gentoo-Bug: 605622 Reported-By: Maciej S. Szmigiero Package-Manager: portage-2.3.0 net-dns/updatedd/{updatedd-2.6-r3.ebuild => updatedd-2.6-r4.ebuild} | 6 -- 1 file changed, 6 deletions(-) diff --git a/net-dns/updatedd/updatedd-2.6-r3.ebuild b/net-dns/updatedd/updatedd-2.6-r4.ebuild similarity index 90% rename from net-dns/updatedd/updatedd-2.6-r3.ebuild rename to net-dns/updatedd/updatedd-2.6-r4.ebuild index fbbc113..64e13b4 100644 --- a/net-dns/updatedd/updatedd-2.6-r3.ebuild +++ b/net-dns/updatedd/updatedd-2.6-r4.ebuild @@ -3,7 +3,6 @@ # $Id$ EAPI=6 -inherit eutils DESCRIPTION="Dynamic DNS client with plugins for several dynamic dns services" HOMEPAGE="https://savannah.nongnu.org/projects/updatedd/; @@ -26,8 +25,3 @@ PATCHES=( src_configure() { econf --disable-static --docdir="/usr/share/doc/${PF}" } - -src_install() { - default - prune_libtool_files -}
[gentoo-commits] repo/gentoo:master commit in: net-dns/updatedd/
commit: 7a2332950438eeb34bd5b28255c6a511bd54d7e8 Author: Pacho Ramos gentoo org> AuthorDate: Sun Apr 3 18:02:25 2016 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Apr 3 18:02:58 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a233295 net-dns/updatedd: Disable static building and drop .la files (#577248 by Blake Leverett) Package-Manager: portage-2.2.28 net-dns/updatedd/updatedd-2.6-r1.ebuild | 33 + 1 file changed, 33 insertions(+) diff --git a/net-dns/updatedd/updatedd-2.6-r1.ebuild b/net-dns/updatedd/updatedd-2.6-r1.ebuild new file mode 100644 index 000..f72f2d3 --- /dev/null +++ b/net-dns/updatedd/updatedd-2.6-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils + +DESCRIPTION="Dynamic DNS client with plugins for several dynamic dns services" +HOMEPAGE="http://savannah.nongnu.org/projects/updatedd/; +SRC_URI="http://savannah.nongnu.org/download/updatedd/${PN}_${PV}.tar.gz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="" + +RDEPEND="" +DEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/${P}-options.patch + default +} + +src_configure() { + econf --disable-static +} + +src_install() { + default + mv "${D}"/usr/share/doc/updatedd "${D}"/usr/share/doc/${PF} + prune_libtool_files +}