diff options
author | ghen <ghen@pkgsrc.org> | 2005-12-28 15:50:35 +0000 |
---|---|---|
committer | ghen <ghen@pkgsrc.org> | 2005-12-28 15:50:35 +0000 |
commit | f140aa17018ecbbae3d324298cb3a4ecaa1f7cc3 (patch) | |
tree | f99f9c7213670aab6842077f150cbd9da357f3ff /net/ez-ipupdate/patches | |
parent | 5449285f4e2418513f2b51c42365a82526dfa8c5 (diff) | |
download | pkgsrc-f140aa17018ecbbae3d324298cb3a4ecaa1f7cc3.tar.gz |
Import ez-ipupdate from pkgsrc-wip. Ok by wiz.
ez-ipupdate is a small utility for updating your host name for the any
of the dynamic DNS service offered at:
* http://www.ez-ip.net
* http://www.justlinux.com
* http://www.dhs.org
* http://www.dyndns.org
* http://www.ods.org
* http://gnudip.cheapnet.net (GNUDip)
* http://www.dyn.ca (GNUDip)
* http://www.tzo.com
* http://www.easydns.com
* http://www.dyns.cx
* http://www.hn.org
* http://www.zoneedit.com
The key features are: support for multiple service types, daemon mode
that monitors your IP address and only sends updates when your IP
address changes.
Diffstat (limited to 'net/ez-ipupdate/patches')
-rw-r--r-- | net/ez-ipupdate/patches/patch-aa | 13 | ||||
-rw-r--r-- | net/ez-ipupdate/patches/patch-ab | 19 | ||||
-rw-r--r-- | net/ez-ipupdate/patches/patch-ac | 43 | ||||
-rw-r--r-- | net/ez-ipupdate/patches/patch-ad | 24 |
4 files changed, 99 insertions, 0 deletions
diff --git a/net/ez-ipupdate/patches/patch-aa b/net/ez-ipupdate/patches/patch-aa new file mode 100644 index 00000000000..d4bade7bbeb --- /dev/null +++ b/net/ez-ipupdate/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/12/28 15:50:35 ghen Exp $ + +--- ez-ipupdate.c.orig ++++ ez-ipupdate.c +@@ -798,7 +798,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/ez-ipupdate/patches/patch-ab b/net/ez-ipupdate/patches/patch-ab new file mode 100644 index 00000000000..18cc04467c7 --- /dev/null +++ b/net/ez-ipupdate/patches/patch-ab @@ -0,0 +1,19 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/12/28 15:50:35 ghen Exp $ + +--- error.h.orig 2000-11-24 23:46:37.000000000 +0100 ++++ error.h +@@ -1,12 +1,12 @@ + #ifndef _ERROR_H + #define _ERROR_H + ++#include <errno.h> ++ + #if HAVE_STRERROR +-extern int errno; + # define error_string strerror(errno) + #elif HAVE_SYS_ERRLIST + extern const char *const sys_errlist[]; +-extern int errno; + # define error_string (sys_errlist[errno]) + #else + # define error_string "error message not found" diff --git a/net/ez-ipupdate/patches/patch-ac b/net/ez-ipupdate/patches/patch-ac new file mode 100644 index 00000000000..761361002d1 --- /dev/null +++ b/net/ez-ipupdate/patches/patch-ac @@ -0,0 +1,43 @@ +$NetBSD: patch-ac,v 1.1.1.1 2005/12/28 15:50:35 ghen Exp $ + +--- cache_file.c.orig 2001-04-04 19:12:02.000000000 +0200 ++++ cache_file.c +@@ -29,6 +29,7 @@ + # include <config.h> + #endif + ++#include <errno.h> + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +@@ -36,18 +37,13 @@ + #if HAVE_SYS_STAT_H + # include <sys/stat.h> + #endif +-#if HAVE_ERRNO_H +-# include <errno.h> +-#endif + + #include <cache_file.h> + + #if HAVE_STRERROR +-extern int errno; + # define error_string strerror(errno) + #elif HAVE_SYS_ERRLIST + extern const char *const sys_errlist[]; +-extern int errno; + # define error_string (sys_errlist[errno]) + #else + # define error_string "error message not found" +@@ -63,11 +59,9 @@ extern int errno; + # define dprintf(x) + #endif + #if HAVE_STRERROR +-extern int errno; + # define error_string strerror(errno) + #elif HAVE_SYS_ERRLIST + extern const char *const sys_errlist[]; +-extern int errno; + # define error_string (sys_errlist[errno]) + #else + # define error_string "error message not found" diff --git a/net/ez-ipupdate/patches/patch-ad b/net/ez-ipupdate/patches/patch-ad new file mode 100644 index 00000000000..e87d411278c --- /dev/null +++ b/net/ez-ipupdate/patches/patch-ad @@ -0,0 +1,24 @@ +$NetBSD: patch-ad,v 1.1.1.1 2005/12/28 15:50:35 ghen Exp $ + +--- conf_file.c.orig 2005-12-15 14:47:05.000000000 +0000 ++++ conf_file.c +@@ -31,6 +31,7 @@ + # include <config.h> + #endif + ++#include <errno.h> + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +@@ -38,11 +39,9 @@ + #include <conf_file.h> + + #if HAVE_STRERROR +-extern int errno; + # define error_string strerror(errno) + #elif HAVE_SYS_ERRLIST + extern const char *const sys_errlist[]; +-extern int errno; + # define error_string (sys_errlist[errno]) + #else + # define error_string "error message not found" |