diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2017-01-14 00:43:09 -0500 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2017-01-14 01:32:09 -0500 |
commit | fc7d0c675be5bbda0fb47b3cac3ca39049ab0c16 (patch) | |
tree | 4f450d73bf06ef02c2b79654c8ac5363e3f8c2ca /net-dns | |
parent | media-sound/spotify: cleanup removed sourced and mark new as stable (diff) | |
download | gentoo-fc7d0c675be5bbda0fb47b3cac3ca39049ab0c16.tar.gz gentoo-fc7d0c675be5bbda0fb47b3cac3ca39049ab0c16.tar.bz2 gentoo-fc7d0c675be5bbda0fb47b3cac3ca39049ab0c16.zip |
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
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/updatedd/files/fix-ovh-DYNDNSHOST.patch | 11 | ||||
-rw-r--r-- | net-dns/updatedd/updatedd-2.6-r2.ebuild (renamed from net-dns/updatedd/updatedd-2.6-r1.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 000000000000..f8f61741ef1e --- /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.000000000 +0200 ++++ b/src/plugins/libovh.h 2013-01-20 13:48:37.162920947 +0100 +@@ -21,7 +21,7 @@ + + #include <ret_codes.h> + +-#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 index 4605c11b58d3..155336566164 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 } |