summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/ez-ipupdate
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-connectivity/ez-ipupdate')
-rw-r--r--meta-networking/recipes-connectivity/ez-ipupdate/ez-ipupdate_3.0.11b8.bb (renamed from meta-networking/recipes-connectivity/ez-ipupdate/ez-ipupdate_3.0.11b7.bb)16
-rw-r--r--meta-networking/recipes-connectivity/ez-ipupdate/files/0001-configure-Check-for-string.h-system-header.patch53
-rw-r--r--meta-networking/recipes-connectivity/ez-ipupdate/files/CVE-2003-0887.patch20
-rw-r--r--meta-networking/recipes-connectivity/ez-ipupdate/files/cache_file.c.patch34
-rw-r--r--meta-networking/recipes-connectivity/ez-ipupdate/files/conf_file.c.patch20
-rw-r--r--meta-networking/recipes-connectivity/ez-ipupdate/files/wformat.patch7
6 files changed, 66 insertions, 84 deletions
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
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/"
4LICENSE = "GPL-2.0-only" 4LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://COPYING;md5=7783169b4be06b54e86730eb01bc3a31" 5LIC_FILES_CHKSUM = "file://COPYING;md5=7783169b4be06b54e86730eb01bc3a31"
6 6
7SRC_URI = "http://sourceforge.net/projects/ez-ipupdate/files/${BPN}/${PV}/${BPN}-${PV}.tar.gz \ 7SRC_URI = "${DEBIAN_MIRROR}/main/e/${BPN}/${BPN}_${PV}.orig.tar.gz \
8 file://Makefile.am.patch \ 8 file://Makefile.am.patch \
9 file://cache_file.c.patch \
10 file://conf_file.c.patch \
11 file://wformat.patch \ 9 file://wformat.patch \
12 file://0001-ez-ipupdate-Include-time.h-for-time-API-prototype.patch \ 10 file://0001-ez-ipupdate-Include-time.h-for-time-API-prototype.patch \
13 file://CVE-2003-0887.patch \ 11 file://CVE-2003-0887.patch \
12 file://0001-configure-Check-for-string.h-system-header.patch \
14 " 13 "
15SRC_URI[md5sum] = "525be4550b4461fdf105aed8e753b020" 14SRC_URI[sha256sum] = "bf5b8d11ffe055c5891d0ab64bbfa86e99cbda645d40f346146b939fec8d962d"
16SRC_URI[sha256sum] = "a15ec0dc0b78ec7578360987c68e43a67bc8d3591cbf528a323588830ae22c20"
17 15
18inherit autotools pkgconfig 16inherit autotools pkgconfig
19 17
20do_install:append(){ 18#do_install:append(){
21 install -m 0744 -d ${D}${localstatedir}/lib/ez-ipupdate 19# install -m 0744 -d ${D}${localstatedir}/lib/ez-ipupdate
22} 20#}
23 21
24FILES:${PN} += "${localstatedir}/lib/ez-ipupdate" 22#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 @@
1From 811f253c03464489d445ab6627bb4187d27e98ef Mon Sep 17 00:00:00 2001
2From: Khem Raj <khem.raj@oss.qualcomm.com>
3Date: Sat, 4 Apr 2026 19:12:37 +0000
4Subject: [PATCH] configure: Check for string.h system header
5
6This is needed for functions like memcpy in md5.c but
7it only includes string.h when its detected by autotools
8however the needed check for detecting it during configure
9are missing. This patch adds them
10
11Upstream-Status: Pending
12
13Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
14---
15 config.h.in | 3 +++
16 configure.in | 3 ++-
17 2 files changed, 5 insertions(+), 1 deletion(-)
18
19diff --git a/config.h.in b/config.h.in
20index 2ce447f..52a8d7d 100644
21--- a/config.h.in
22+++ b/config.h.in
23@@ -129,6 +129,9 @@
24 /* Define if you have the <signal.h> header file. */
25 #undef HAVE_SIGNAL_H
26
27+/* Define if you have the <string.h> header file. */
28+#undef HAVE_STRING_H
29+
30 /* Define if you have the <stdarg.h> header file. */
31 #undef HAVE_STDARG_H
32
33diff --git a/configure.in b/configure.in
34index c97b9fc..f5d0808 100644
35--- a/configure.in
36+++ b/configure.in
37@@ -62,6 +62,7 @@ AC_CHECK_HEADERS( arpa/inet.h \
38 sys/stat.h \
39 fcntl.h \
40 signal.h \
41+ string.h \
42 syslog.h \
43 pwd.h \
44 stdarg.h \
45@@ -104,7 +105,7 @@ AC_ARG_ENABLE(default-service,
46 dyndns, dyndns-static, ods, tzo, gnudip, easydns, easydns-partner, dyns, hn, zoneedit, heipv6tb],
47 [ use_SERVICE=$enableval;
48 AC_MSG_RESULT(yes) ],
49- [ AC_MSG_RESULT(no)
50+ [ AC_MSG_RESULT(no)
51 use_SERVICE=null
52 AC_MSG_WARN(not setting default service) ] )
53 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 <skandigraun@gmail.com>
26 example-tzo.conf | 2 +- 26 example-tzo.conf | 2 +-
27 10 files changed, 10 insertions(+), 10 deletions(-) 27 10 files changed, 10 insertions(+), 10 deletions(-)
28 28
29diff --git a/example-dhs.conf b/example-dhs.conf
30index 3fe9a04..f976ae5 100755
31--- a/example-dhs.conf 29--- a/example-dhs.conf
32+++ b/example-dhs.conf 30+++ b/example-dhs.conf
33@@ -11,7 +11,7 @@ host=mydomain.whatever.com 31@@ -11,7 +11,7 @@ host=mydomain.whatever.com
@@ -39,8 +37,6 @@ index 3fe9a04..f976ae5 100755
39 37
40 # uncomment this once you have everything working how you want and you are 38 # uncomment this once you have everything working how you want and you are
41 # ready to have ez-ipupdate running in the background all the time. to stop it 39 # ready to have ez-ipupdate running in the background all the time. to stop it
42diff --git a/example-dyndns.conf b/example-dyndns.conf
43index f539dec..84b4807 100755
44--- a/example-dyndns.conf 40--- a/example-dyndns.conf
45+++ b/example-dyndns.conf 41+++ b/example-dyndns.conf
46@@ -19,7 +19,7 @@ max-interval=2073600 42@@ -19,7 +19,7 @@ max-interval=2073600
@@ -52,8 +48,6 @@ index f539dec..84b4807 100755
52 48
53 # uncomment this once you have everything working how you want and you are 49 # uncomment this once you have everything working how you want and you are
54 # ready to have ez-ipupdate running in the background all the time. to stop it 50 # ready to have ez-ipupdate running in the background all the time. to stop it
55diff --git a/example-dyns.conf b/example-dyns.conf
56index 868768d..856a4d7 100644
57--- a/example-dyns.conf 51--- a/example-dyns.conf
58+++ b/example-dyns.conf 52+++ b/example-dyns.conf
59@@ -11,7 +11,7 @@ host=myhost 53@@ -11,7 +11,7 @@ host=myhost
@@ -65,8 +59,6 @@ index 868768d..856a4d7 100644
65 59
66 # uncomment this once you have everything working how you want and you are 60 # uncomment this once you have everything working how you want and you are
67 # ready to have ez-ipupdate running in the background all the time. to stop it 61 # ready to have ez-ipupdate running in the background all the time. to stop it
68diff --git a/example-easydns.conf b/example-easydns.conf
69index 0ff20da..15d9b78 100755
70--- a/example-easydns.conf 62--- a/example-easydns.conf
71+++ b/example-easydns.conf 63+++ b/example-easydns.conf
72@@ -11,7 +11,7 @@ host=mydomain.whatever.com 64@@ -11,7 +11,7 @@ host=mydomain.whatever.com
@@ -78,8 +70,6 @@ index 0ff20da..15d9b78 100755
78 70
79 # uncomment this once you have everything working how you want and you are 71 # uncomment this once you have everything working how you want and you are
80 # ready to have ez-ipupdate running in the background all the time. to stop it 72 # ready to have ez-ipupdate running in the background all the time. to stop it
81diff --git a/example-gnudip.conf b/example-gnudip.conf
82index 3b2fb63..d09df1f 100755
83--- a/example-gnudip.conf 73--- a/example-gnudip.conf
84+++ b/example-gnudip.conf 74+++ b/example-gnudip.conf
85@@ -15,7 +15,7 @@ max-interval=2073600 75@@ -15,7 +15,7 @@ max-interval=2073600
@@ -91,8 +81,6 @@ index 3b2fb63..d09df1f 100755
91 81
92 # uncomment this once you have everything working how you want and you are 82 # uncomment this once you have everything working how you want and you are
93 # ready to have ez-ipupdate running in the background all the time. to stop it 83 # ready to have ez-ipupdate running in the background all the time. to stop it
94diff --git a/example-heipv6tb.conf b/example-heipv6tb.conf
95index e31aa9c..3ebc822 100644
96--- a/example-heipv6tb.conf 84--- a/example-heipv6tb.conf
97+++ b/example-heipv6tb.conf 85+++ b/example-heipv6tb.conf
98@@ -18,7 +18,7 @@ max-interval=2073600 86@@ -18,7 +18,7 @@ max-interval=2073600
@@ -104,8 +92,6 @@ index e31aa9c..3ebc822 100644
104 92
105 # uncomment this once you have everything working how you want and you are 93 # uncomment this once you have everything working how you want and you are
106 # ready to have ez-ipupdate running in the background all the time. to stop it 94 # ready to have ez-ipupdate running in the background all the time. to stop it
107diff --git a/example-justlinux.conf b/example-justlinux.conf
108index 0afeb2c..28b3327 100755
109--- a/example-justlinux.conf 95--- a/example-justlinux.conf
110+++ b/example-justlinux.conf 96+++ b/example-justlinux.conf
111@@ -11,7 +11,7 @@ host=mydomain.penguinpowered.com 97@@ -11,7 +11,7 @@ host=mydomain.penguinpowered.com
@@ -117,8 +103,6 @@ index 0afeb2c..28b3327 100755
117 103
118 # uncomment this once you have everything working how you want and you are 104 # uncomment this once you have everything working how you want and you are
119 # ready to have ez-ipupdate running in the background all the time. to stop it 105 # ready to have ez-ipupdate running in the background all the time. to stop it
120diff --git a/example-ods.conf b/example-ods.conf
121index d0ff889..7b16f2c 100755
122--- a/example-ods.conf 106--- a/example-ods.conf
123+++ b/example-ods.conf 107+++ b/example-ods.conf
124@@ -11,7 +11,7 @@ host=mydomain.ods.org 108@@ -11,7 +11,7 @@ host=mydomain.ods.org
@@ -130,8 +114,6 @@ index d0ff889..7b16f2c 100755
130 114
131 # uncomment this once you have everything working how you want and you are 115 # uncomment this once you have everything working how you want and you are
132 # ready to have ez-ipupdate running in the background all the time. to stop it 116 # ready to have ez-ipupdate running in the background all the time. to stop it
133diff --git a/example-pgpow.conf b/example-pgpow.conf
134index 29a92d6..81e351b 100755
135--- a/example-pgpow.conf 117--- a/example-pgpow.conf
136+++ b/example-pgpow.conf 118+++ b/example-pgpow.conf
137@@ -11,7 +11,7 @@ host=mydomain.penguinpowered.com 119@@ -11,7 +11,7 @@ host=mydomain.penguinpowered.com
@@ -143,8 +125,6 @@ index 29a92d6..81e351b 100755
143 125
144 # uncomment this once you have everything working how you want and you are 126 # uncomment this once you have everything working how you want and you are
145 # ready to have ez-ipupdate running in the background all the time. to stop it 127 # ready to have ez-ipupdate running in the background all the time. to stop it
146diff --git a/example-tzo.conf b/example-tzo.conf
147index 2a71db3..10b8dc4 100755
148--- a/example-tzo.conf 128--- a/example-tzo.conf
149+++ b/example-tzo.conf 129+++ b/example-tzo.conf
150@@ -15,7 +15,7 @@ max-interval=2073600 130@@ -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 @@
1Upstream-Status: Pending
2
3Dont assume errno type
4
5--- ez-ipupdate-3.0.11b7/cache_file.c.orig 2014-07-02 14:01:07.126029412 -0600
6+++ ez-ipupdate-3.0.11b7/cache_file.c 2014-07-02 14:08:27.422026332 -0600
7@@ -43,11 +43,11 @@
8 #include <cache_file.h>
9
10 #if HAVE_STRERROR
11-extern int errno;
12+# include <errno.h>
13 # define error_string strerror(errno)
14 #elif HAVE_SYS_ERRLIST
15 extern const char *const sys_errlist[];
16-extern int errno;
17+# include <errno.h>
18 # define error_string (sys_errlist[errno])
19 #else
20 # define error_string "error message not found"
21@@ -63,11 +63,11 @@
22 # define dprintf(x)
23 #endif
24 #if HAVE_STRERROR
25-extern int errno;
26+# include <errno.h>
27 # define error_string strerror(errno)
28 #elif HAVE_SYS_ERRLIST
29 extern const char *const sys_errlist[];
30-extern int errno;
31+# include <errno.h>
32 # define error_string (sys_errlist[errno])
33 #else
34 # 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 @@
1Upstream-Status: Pending
2
3Dont assume errno type
4
5--- ez-ipupdate-3.0.11b7/conf_file.c.orig 2014-07-02 14:01:19.174029328 -0600
6+++ ez-ipupdate-3.0.11b7/conf_file.c 2014-07-02 14:08:42.982026223 -0600
7@@ -38,11 +38,11 @@
8 #include <conf_file.h>
9
10 #if HAVE_STRERROR
11-extern int errno;
12+# include <errno.h>
13 # define error_string strerror(errno)
14 #elif HAVE_SYS_ERRLIST
15 extern const char *const sys_errlist[];
16-extern int errno;
17+# include <errno.h>
18 # define error_string (sys_errlist[errno])
19 #else
20 # define error_string "error message not found"
diff --git a/meta-networking/recipes-connectivity/ez-ipupdate/files/wformat.patch b/meta-networking/recipes-connectivity/ez-ipupdate/files/wformat.patch
index 3b791559d5..7463e3c535 100644
--- a/meta-networking/recipes-connectivity/ez-ipupdate/files/wformat.patch
+++ b/meta-networking/recipes-connectivity/ez-ipupdate/files/wformat.patch
@@ -1,4 +1,9 @@
1Upstream-Status: Pending 1
2This patch is used by Gentoo to mitigate CVE-2004-0980:
3https://bugs.gentoo.org/69658
4
5CVE: CVE-2004-0980
6Upstream-Status: Inactive-Upstream [last commit: 2002]
2 7
3Index: ez-ipupdate-3.0.11b7/ez-ipupdate.c 8Index: ez-ipupdate-3.0.11b7/ez-ipupdate.c
4=================================================================== 9===================================================================