summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/updatedd/files/fix-ovh-DYNDNSHOST.patch11
-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
}