From 1d12cee712ceead8c340fd7551f6b1c6c007de42 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 4 Apr 2026 10:34:26 -0700 Subject: [PATCH] ez-ipupdate: Update to 3.0.11b8 Drop upstreamed patches Add a patch to fix C23 build break Signed-off-by: Khem Raj --- ...te_3.0.11b7.bb => ez-ipupdate_3.0.11b8.bb} | 16 +++--- ...ure-Check-for-string.h-system-header.patch | 53 +++++++++++++++++++ .../ez-ipupdate/files/CVE-2003-0887.patch | 20 ------- .../ez-ipupdate/files/cache_file.c.patch | 34 ------------ .../ez-ipupdate/files/conf_file.c.patch | 20 ------- 5 files changed, 60 insertions(+), 83 deletions(-) rename meta-networking/recipes-connectivity/ez-ipupdate/{ez-ipupdate_3.0.11b7.bb => ez-ipupdate_3.0.11b8.bb} (50%) create mode 100644 meta-networking/recipes-connectivity/ez-ipupdate/files/0001-configure-Check-for-string.h-system-header.patch delete mode 100644 meta-networking/recipes-connectivity/ez-ipupdate/files/cache_file.c.patch delete mode 100644 meta-networking/recipes-connectivity/ez-ipupdate/files/conf_file.c.patch diff --git a/meta-networking/recipes-connectivity/ez-ipupdate/ez-ipupdate_3.0.11b7.bb b/meta-networking/recipes-connectivity/ez-ipupdate/ez-ipupdate_3.0.11b8.bb similarity index 50% rename from meta-networking/recipes-connectivity/ez-ipupdate/ez-ipupdate_3.0.11b7.bb rename to meta-networking/recipes-connectivity/ez-ipupdate/ez-ipupdate_3.0.11b8.bb index 7a392b2c23..eabf4027d6 100644 --- a/meta-networking/recipes-connectivity/ez-ipupdate/ez-ipupdate_3.0.11b7.bb +++ b/meta-networking/recipes-connectivity/ez-ipupdate/ez-ipupdate_3.0.11b8.bb @@ -4,21 +4,19 @@ HOMEPAGE = "http://sourceforge.net/projects/ez-ipupdate/" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=7783169b4be06b54e86730eb01bc3a31" -SRC_URI = "http://sourceforge.net/projects/ez-ipupdate/files/${BPN}/${PV}/${BPN}-${PV}.tar.gz \ +SRC_URI = "${DEBIAN_MIRROR}/main/e/${BPN}/${BPN}_${PV}.orig.tar.gz \ file://Makefile.am.patch \ - file://cache_file.c.patch \ - file://conf_file.c.patch \ file://wformat.patch \ file://0001-ez-ipupdate-Include-time.h-for-time-API-prototype.patch \ file://CVE-2003-0887.patch \ + file://0001-configure-Check-for-string.h-system-header.patch \ " -SRC_URI[md5sum] = "525be4550b4461fdf105aed8e753b020" -SRC_URI[sha256sum] = "a15ec0dc0b78ec7578360987c68e43a67bc8d3591cbf528a323588830ae22c20" +SRC_URI[sha256sum] = "bf5b8d11ffe055c5891d0ab64bbfa86e99cbda645d40f346146b939fec8d962d" inherit autotools pkgconfig -do_install:append(){ - install -m 0744 -d ${D}${localstatedir}/lib/ez-ipupdate -} +#do_install:append(){ +# install -m 0744 -d ${D}${localstatedir}/lib/ez-ipupdate +#} -FILES:${PN} += "${localstatedir}/lib/ez-ipupdate" +#FILES:${PN} += "${localstatedir}/lib/ez-ipupdate" diff --git a/meta-networking/recipes-connectivity/ez-ipupdate/files/0001-configure-Check-for-string.h-system-header.patch b/meta-networking/recipes-connectivity/ez-ipupdate/files/0001-configure-Check-for-string.h-system-header.patch new file mode 100644 index 0000000000..e9995a3500 --- /dev/null +++ b/meta-networking/recipes-connectivity/ez-ipupdate/files/0001-configure-Check-for-string.h-system-header.patch @@ -0,0 +1,53 @@ +From 811f253c03464489d445ab6627bb4187d27e98ef Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 4 Apr 2026 19:12:37 +0000 +Subject: [PATCH] configure: Check for string.h system header + +This is needed for functions like memcpy in md5.c but +it only includes string.h when its detected by autotools +however the needed check for detecting it during configure +are missing. This patch adds them + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + config.h.in | 3 +++ + configure.in | 3 ++- + 2 files changed, 5 insertions(+), 1 deletion(-) + +diff --git a/config.h.in b/config.h.in +index 2ce447f..52a8d7d 100644 +--- a/config.h.in ++++ b/config.h.in +@@ -129,6 +129,9 @@ + /* Define if you have the header file. */ + #undef HAVE_SIGNAL_H + ++/* Define if you have the header file. */ ++#undef HAVE_STRING_H ++ + /* Define if you have the header file. */ + #undef HAVE_STDARG_H + +diff --git a/configure.in b/configure.in +index c97b9fc..f5d0808 100644 +--- a/configure.in ++++ b/configure.in +@@ -62,6 +62,7 @@ AC_CHECK_HEADERS( arpa/inet.h \ + sys/stat.h \ + fcntl.h \ + signal.h \ ++ string.h \ + syslog.h \ + pwd.h \ + stdarg.h \ +@@ -104,7 +105,7 @@ AC_ARG_ENABLE(default-service, + dyndns, dyndns-static, ods, tzo, gnudip, easydns, easydns-partner, dyns, hn, zoneedit, heipv6tb], + [ use_SERVICE=$enableval; + AC_MSG_RESULT(yes) ], +- [ AC_MSG_RESULT(no) ++ [ AC_MSG_RESULT(no) + use_SERVICE=null + AC_MSG_WARN(not setting default service) ] ) + case "$use_SERVICE" in diff --git a/meta-networking/recipes-connectivity/ez-ipupdate/files/CVE-2003-0887.patch b/meta-networking/recipes-connectivity/ez-ipupdate/files/CVE-2003-0887.patch index 53aa355008..14abe27c00 100644 --- a/meta-networking/recipes-connectivity/ez-ipupdate/files/CVE-2003-0887.patch +++ b/meta-networking/recipes-connectivity/ez-ipupdate/files/CVE-2003-0887.patch @@ -26,8 +26,6 @@ Signed-off-by: Gyorgy Sarvari example-tzo.conf | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) -diff --git a/example-dhs.conf b/example-dhs.conf -index 3fe9a04..f976ae5 100755 --- a/example-dhs.conf +++ b/example-dhs.conf @@ -11,7 +11,7 @@ host=mydomain.whatever.com @@ -39,8 +37,6 @@ index 3fe9a04..f976ae5 100755 # uncomment this once you have everything working how you want and you are # ready to have ez-ipupdate running in the background all the time. to stop it -diff --git a/example-dyndns.conf b/example-dyndns.conf -index f539dec..84b4807 100755 --- a/example-dyndns.conf +++ b/example-dyndns.conf @@ -19,7 +19,7 @@ max-interval=2073600 @@ -52,8 +48,6 @@ index f539dec..84b4807 100755 # uncomment this once you have everything working how you want and you are # ready to have ez-ipupdate running in the background all the time. to stop it -diff --git a/example-dyns.conf b/example-dyns.conf -index 868768d..856a4d7 100644 --- a/example-dyns.conf +++ b/example-dyns.conf @@ -11,7 +11,7 @@ host=myhost @@ -65,8 +59,6 @@ index 868768d..856a4d7 100644 # uncomment this once you have everything working how you want and you are # ready to have ez-ipupdate running in the background all the time. to stop it -diff --git a/example-easydns.conf b/example-easydns.conf -index 0ff20da..15d9b78 100755 --- a/example-easydns.conf +++ b/example-easydns.conf @@ -11,7 +11,7 @@ host=mydomain.whatever.com @@ -78,8 +70,6 @@ index 0ff20da..15d9b78 100755 # uncomment this once you have everything working how you want and you are # ready to have ez-ipupdate running in the background all the time. to stop it -diff --git a/example-gnudip.conf b/example-gnudip.conf -index 3b2fb63..d09df1f 100755 --- a/example-gnudip.conf +++ b/example-gnudip.conf @@ -15,7 +15,7 @@ max-interval=2073600 @@ -91,8 +81,6 @@ index 3b2fb63..d09df1f 100755 # uncomment this once you have everything working how you want and you are # ready to have ez-ipupdate running in the background all the time. to stop it -diff --git a/example-heipv6tb.conf b/example-heipv6tb.conf -index e31aa9c..3ebc822 100644 --- a/example-heipv6tb.conf +++ b/example-heipv6tb.conf @@ -18,7 +18,7 @@ max-interval=2073600 @@ -104,8 +92,6 @@ index e31aa9c..3ebc822 100644 # uncomment this once you have everything working how you want and you are # ready to have ez-ipupdate running in the background all the time. to stop it -diff --git a/example-justlinux.conf b/example-justlinux.conf -index 0afeb2c..28b3327 100755 --- a/example-justlinux.conf +++ b/example-justlinux.conf @@ -11,7 +11,7 @@ host=mydomain.penguinpowered.com @@ -117,8 +103,6 @@ index 0afeb2c..28b3327 100755 # uncomment this once you have everything working how you want and you are # ready to have ez-ipupdate running in the background all the time. to stop it -diff --git a/example-ods.conf b/example-ods.conf -index d0ff889..7b16f2c 100755 --- a/example-ods.conf +++ b/example-ods.conf @@ -11,7 +11,7 @@ host=mydomain.ods.org @@ -130,8 +114,6 @@ index d0ff889..7b16f2c 100755 # uncomment this once you have everything working how you want and you are # ready to have ez-ipupdate running in the background all the time. to stop it -diff --git a/example-pgpow.conf b/example-pgpow.conf -index 29a92d6..81e351b 100755 --- a/example-pgpow.conf +++ b/example-pgpow.conf @@ -11,7 +11,7 @@ host=mydomain.penguinpowered.com @@ -143,8 +125,6 @@ index 29a92d6..81e351b 100755 # uncomment this once you have everything working how you want and you are # ready to have ez-ipupdate running in the background all the time. to stop it -diff --git a/example-tzo.conf b/example-tzo.conf -index 2a71db3..10b8dc4 100755 --- a/example-tzo.conf +++ b/example-tzo.conf @@ -15,7 +15,7 @@ max-interval=2073600 diff --git a/meta-networking/recipes-connectivity/ez-ipupdate/files/cache_file.c.patch b/meta-networking/recipes-connectivity/ez-ipupdate/files/cache_file.c.patch deleted file mode 100644 index 0199cb1278..0000000000 --- a/meta-networking/recipes-connectivity/ez-ipupdate/files/cache_file.c.patch +++ /dev/null @@ -1,34 +0,0 @@ -Upstream-Status: Pending - -Dont assume errno type - ---- ez-ipupdate-3.0.11b7/cache_file.c.orig 2014-07-02 14:01:07.126029412 -0600 -+++ ez-ipupdate-3.0.11b7/cache_file.c 2014-07-02 14:08:27.422026332 -0600 -@@ -43,11 +43,11 @@ - #include - - #if HAVE_STRERROR --extern int errno; -+# include - # define error_string strerror(errno) - #elif HAVE_SYS_ERRLIST - extern const char *const sys_errlist[]; --extern int errno; -+# include - # define error_string (sys_errlist[errno]) - #else - # define error_string "error message not found" -@@ -63,11 +63,11 @@ - # define dprintf(x) - #endif - #if HAVE_STRERROR --extern int errno; -+# include - # define error_string strerror(errno) - #elif HAVE_SYS_ERRLIST - extern const char *const sys_errlist[]; --extern int errno; -+# include - # define error_string (sys_errlist[errno]) - #else - # define error_string "error message not found" diff --git a/meta-networking/recipes-connectivity/ez-ipupdate/files/conf_file.c.patch b/meta-networking/recipes-connectivity/ez-ipupdate/files/conf_file.c.patch deleted file mode 100644 index 6325c1873f..0000000000 --- a/meta-networking/recipes-connectivity/ez-ipupdate/files/conf_file.c.patch +++ /dev/null @@ -1,20 +0,0 @@ -Upstream-Status: Pending - -Dont assume errno type - ---- ez-ipupdate-3.0.11b7/conf_file.c.orig 2014-07-02 14:01:19.174029328 -0600 -+++ ez-ipupdate-3.0.11b7/conf_file.c 2014-07-02 14:08:42.982026223 -0600 -@@ -38,11 +38,11 @@ - #include - - #if HAVE_STRERROR --extern int errno; -+# include - # define error_string strerror(errno) - #elif HAVE_SYS_ERRLIST - extern const char *const sys_errlist[]; --extern int errno; -+# include - # define error_string (sys_errlist[errno]) - #else - # define error_string "error message not found"