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
--- /dev/null
+--- 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
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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
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
}