diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2008-06-30 10:16:33 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2008-06-30 10:16:33 +0000 |
commit | 833384f5e502060afb8232e0d8b144b63e04d4bb (patch) | |
tree | 79a6932638b3e2677b9539685723f527577e2a00 /net-dns/ez-ipupdate/files | |
parent | Make it compile with gcc-4.3, bug #228891 (diff) | |
download | gentoo-2-833384f5e502060afb8232e0d8b144b63e04d4bb.tar.gz gentoo-2-833384f5e502060afb8232e0d8b144b63e04d4bb.tar.bz2 gentoo-2-833384f5e502060afb8232e0d8b144b63e04d4bb.zip |
*** empty log message ***
Diffstat (limited to 'net-dns/ez-ipupdate/files')
3 files changed, 11 insertions, 61 deletions
diff --git a/net-dns/ez-ipupdate/files/ez-ipupdate-3.0.11_beta8-syslog.patch b/net-dns/ez-ipupdate/files/ez-ipupdate-3.0.11_beta8-syslog.patch deleted file mode 100644 index 48153e1aabfa..000000000000 --- a/net-dns/ez-ipupdate/files/ez-ipupdate-3.0.11_beta8-syslog.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ez-ipupdate.c.old 2004-10-21 23:44:57.000000000 +0200 -+++ ez-ipupdate.c 2004-10-22 23:56:05.000000000 +0200 -@@ -805,7 +805,7 @@ - sprintf(buf, "message incomplete because your OS sucks: %s\n", fmt); - #endif - -- syslog(LOG_NOTICE, buf); -+ syslog(LOG_NOTICE, "%s", buf); - } - else - { diff --git a/net-dns/ez-ipupdate/files/ez-ipupdate-3.0.11_beta8-zoneedit.diff b/net-dns/ez-ipupdate/files/ez-ipupdate-3.0.11_beta8-zoneedit.diff new file mode 100644 index 000000000000..98fd4907fee8 --- /dev/null +++ b/net-dns/ez-ipupdate/files/ez-ipupdate-3.0.11_beta8-zoneedit.diff @@ -0,0 +1,11 @@ +--- ez-ipupdate.c.orig 2008-06-29 22:44:44.000000000 +0200 ++++ ez-ipupdate.c 2008-06-29 22:46:24.000000000 +0200 +@@ -101,7 +101,7 @@ + #define HN_DEFAULT_PORT "80" + #define HN_REQUEST "/vanity/update" + +-#define ZONEEDIT_DEFAULT_SERVER "www.zoneedit.com" ++#define ZONEEDIT_DEFAULT_SERVER "dynamic.zoneedit.com" + #define ZONEEDIT_DEFAULT_PORT "80" + #define ZONEEDIT_REQUEST "/auth/dynamic.html" + diff --git a/net-dns/ez-ipupdate/files/ez-ipupdate.rc6 b/net-dns/ez-ipupdate/files/ez-ipupdate.rc6 deleted file mode 100644 index 071f6f437b38..000000000000 --- a/net-dns/ez-ipupdate/files/ez-ipupdate.rc6 +++ /dev/null @@ -1,50 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/ez-ipupdate/files/ez-ipupdate.rc6,v 1.1 2004/08/15 11:06:00 aliz Exp $ - -opts="${opts} reload update" - -depend() { - need net -} - -checkconfig() { - if [ ! -e /etc/ez-ipupdate.conf ]; then - eerror "You need a /etc/ez-ipupdate.conf containing" - eerror "your username and password or the service" - eerror "you wish to utilize." - return 1 - fi - - return 0 -} - -start() { - checkconfig || exit 1 - - local host=$( egrep "^host=" /etc/ez-ipupdate.conf | awk -F'=' '{print $2}' ) - local interface=$( egrep "^interface=" /etc/ez-ipupdate.conf | awk -F'=' '{print $2}' ) - - ebegin "Starting ez-ipupdate for ${host} on ${interface}" - start-stop-daemon -p /var/run/ez-ipupdate.pid --start --quiet --exec /usr/bin/ez-ipupdate -- -c /etc/ez-ipupdate.conf -d -F /var/run/ez-ipupdate.pid - eend $? -} - -stop() { - ebegin "Stopping ez-ipupdate" - kill -QUIT `cat /var/run/ez-ipupdate.pid` - eend $? -} - -reload() { - ebegin "Reloading configfile" - kill -HUP `cat /var/run/ez-ipupdate.pid` - eend $? -} - -update() { - ebegin "Forcing update" - kill -TERM `cat /var/run/ez-ipupdate.pid` - eend $? -} |