From 46b6bf9609fce33e6576cb9dbe1d00ff4b8f2f75 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 17:00:26 +0000 Subject: [PATCH 01/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- udns.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udns.spec b/udns.spec index 5748120..ea9de9c 100644 --- a/udns.spec +++ b/udns.spec @@ -1,7 +1,7 @@ Summary: DNS resolver library for both synchronous and asynchronous DNS queries Name: udns Version: 0.4 -Release: 21%{?dist} +Release: 22%{?dist} License: LGPLv2+ URL: http://www.corpit.ru/mjt/udns.html Source: http://www.corpit.ru/mjt/udns/udns-%{version}.tar.gz @@ -50,6 +50,9 @@ CFLAGS="%{optflags}" ./configure --enable-ipv6 %{_libdir}/libudns.so %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 0.4-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sat Jan 21 2023 Fedora Release Engineering - 0.4-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 27e7b66faa416c13b113e895c204373596282c37 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 15 Dec 2023 14:23:25 +0100 Subject: [PATCH 02/11] Further C compatibility fixes --- udns-configure-c99.patch | 22 ++++++++++++++++++---- udns.spec | 5 ++++- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/udns-configure-c99.patch b/udns-configure-c99.patch index 401b0e2..08c6175 100644 --- a/udns-configure-c99.patch +++ b/udns-configure-c99.patch @@ -1,9 +1,12 @@ -Provide autoconf-style fake prototypes to avoid implicit function -declarations. Otherwise the check will always fail with soem C99 -compilers. +Provide autoconf-style fake prototype for socket to avoid implicit +function declarations. Otherwise the check will always fail with soem +C99 compilers. + +Avoid incorrect pointer types and a pointer-to-int conversion with +inet_pton and inet_ntop. diff --git a/configure b/configure -index dda98b3abd294872..86289af33e39e07e 100755 +index dda98b3abd294872..17add2d0c6ca1d9c 100755 --- a/configure +++ b/configure @@ -75,6 +75,7 @@ int main(int argc, char **argv) { @@ -14,3 +17,14 @@ index dda98b3abd294872..86289af33e39e07e 100755 int main() { socket(); connect(); return 0; } EOF then : +@@ -92,8 +93,8 @@ ac_ign \ + int main() { + char buf[64]; + long x = 0; +- inet_pton(AF_INET, &x, buf); +- return inet_ntop(AF_INET, &x, buf, sizeof(buf)); ++ inet_pton(AF_INET, (void *) &x, buf); ++ return inet_ntop(AF_INET, (void *) &x, buf, sizeof(buf)) != 0; + } + EOF + diff --git a/udns.spec b/udns.spec index ea9de9c..0aac8b6 100644 --- a/udns.spec +++ b/udns.spec @@ -1,7 +1,7 @@ Summary: DNS resolver library for both synchronous and asynchronous DNS queries Name: udns Version: 0.4 -Release: 22%{?dist} +Release: 23%{?dist} License: LGPLv2+ URL: http://www.corpit.ru/mjt/udns.html Source: http://www.corpit.ru/mjt/udns/udns-%{version}.tar.gz @@ -50,6 +50,9 @@ CFLAGS="%{optflags}" ./configure --enable-ipv6 %{_libdir}/libudns.so %changelog +* Fri Dec 15 2023 Florian Weimer - 0.4-23 +- Further C compatibility fixes + * Sat Jul 22 2023 Fedora Release Engineering - 0.4-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 423a1090e4bc318847eb26ec4093a5c91fb1ceec Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 06:59:55 +0000 Subject: [PATCH 03/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- udns.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udns.spec b/udns.spec index 0aac8b6..22b139b 100644 --- a/udns.spec +++ b/udns.spec @@ -1,7 +1,7 @@ Summary: DNS resolver library for both synchronous and asynchronous DNS queries Name: udns Version: 0.4 -Release: 23%{?dist} +Release: 24%{?dist} License: LGPLv2+ URL: http://www.corpit.ru/mjt/udns.html Source: http://www.corpit.ru/mjt/udns/udns-%{version}.tar.gz @@ -50,6 +50,9 @@ CFLAGS="%{optflags}" ./configure --enable-ipv6 %{_libdir}/libudns.so %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 0.4-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Dec 15 2023 Florian Weimer - 0.4-23 - Further C compatibility fixes From 421389e357f7b0ddb815fadf230f9052e9dda5e5 Mon Sep 17 00:00:00 2001 From: rpmbuild Date: Sun, 10 Mar 2024 09:50:58 +0000 Subject: [PATCH 04/11] bump to 0.5 --- .gitignore | 4 +--- sources | 2 +- udns.spec | 9 ++++++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index d6f9125..a406b34 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1 @@ -udns_0.0.9.tar.gz -/udns-0.2.tar.gz -/udns-0.4.tar.gz +udns-*.tar.gz diff --git a/sources b/sources index 7111cba..6cf72c3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -51e141b044b078d71ebb71f823959c1b udns-0.4.tar.gz +SHA512 (udns-0.5.tar.gz) = ee6607a01a9b88563c180d9b48ead9e1e9ca606d8fa01daca23ec0756d10e6f9798c27bec35d0f322603a768571f815fbad505483b4d392eba422529d16bcc7f diff --git a/udns.spec b/udns.spec index 22b139b..6416723 100644 --- a/udns.spec +++ b/udns.spec @@ -1,11 +1,11 @@ Summary: DNS resolver library for both synchronous and asynchronous DNS queries Name: udns -Version: 0.4 -Release: 24%{?dist} +Version: 0.5 +Release: 1%{?dist} License: LGPLv2+ URL: http://www.corpit.ru/mjt/udns.html Source: http://www.corpit.ru/mjt/udns/udns-%{version}.tar.gz -Patch0: udns-configure-c99.patch +# Patch0: udns-configure-c99.patch BuildRequires: make BuildRequires: gcc @@ -50,6 +50,9 @@ CFLAGS="%{optflags}" ./configure --enable-ipv6 %{_libdir}/libudns.so %changelog +* Sun Mar 10 2024 Michal Ambroz - 0.5-1 +- bump to 0.5 + * Sat Jan 27 2024 Fedora Release Engineering - 0.4-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From ab003d1b15aedd51ba1de371aa667e7c8b078b94 Mon Sep 17 00:00:00 2001 From: rpmbuild Date: Sun, 10 Mar 2024 10:17:14 +0000 Subject: [PATCH 05/11] fix c99 patch for current version --- udns-configure-c99.patch | 29 ++++++++--------------------- udns.spec | 5 ++++- 2 files changed, 12 insertions(+), 22 deletions(-) diff --git a/udns-configure-c99.patch b/udns-configure-c99.patch index 08c6175..008a75d 100644 --- a/udns-configure-c99.patch +++ b/udns-configure-c99.patch @@ -1,30 +1,17 @@ -Provide autoconf-style fake prototype for socket to avoid implicit -function declarations. Otherwise the check will always fail with soem -C99 compilers. - -Avoid incorrect pointer types and a pointer-to-int conversion with -inet_pton and inet_ntop. - -diff --git a/configure b/configure -index dda98b3abd294872..17add2d0c6ca1d9c 100755 ---- a/configure -+++ b/configure -@@ -75,6 +75,7 @@ int main(int argc, char **argv) { - EOF - - if ac_library_find_v 'socket and connect' "" "-lsocket -lnsl" < Date: Sat, 20 Jul 2024 08:09:00 +0000 Subject: [PATCH 06/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- udns.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udns.spec b/udns.spec index d2fd438..fe3da5c 100644 --- a/udns.spec +++ b/udns.spec @@ -1,7 +1,7 @@ Summary: DNS resolver library for both synchronous and asynchronous DNS queries Name: udns Version: 0.5 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ URL: http://www.corpit.ru/mjt/udns.html Source: http://www.corpit.ru/mjt/udns/udns-%{version}.tar.gz @@ -53,6 +53,9 @@ CFLAGS="%{optflags}" ./configure --enable-ipv6 %{_libdir}/libudns.so %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sun Mar 10 2024 Michal Ambroz - 0.5-1 - bump to 0.5 From 13ad4cec01aa74fbb157edc09897194c938f357c Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Tue, 30 Jul 2024 15:18:13 +0200 Subject: [PATCH 07/11] bump to 0.6 --- sources | 2 +- udns-configure-c99.patch | 22 ++++++++++------------ udns.spec | 17 ++++++++++------- 3 files changed, 21 insertions(+), 20 deletions(-) diff --git a/sources b/sources index 6cf72c3..7c64a46 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (udns-0.5.tar.gz) = ee6607a01a9b88563c180d9b48ead9e1e9ca606d8fa01daca23ec0756d10e6f9798c27bec35d0f322603a768571f815fbad505483b4d392eba422529d16bcc7f +SHA512 (udns-0.6.tar.gz) = 9846c476e23f148565d2ea986352c34a364ec5b949db3821a8ed6bdf5d33b830f0afbbcf4d441420a36c57620236a01ef04f6f8b2619f6ec64595bab5524afe1 diff --git a/udns-configure-c99.patch b/udns-configure-c99.patch index 008a75d..e1e5049 100644 --- a/udns-configure-c99.patch +++ b/udns-configure-c99.patch @@ -1,17 +1,15 @@ Avoid incorrect pointer types and a pointer-to-int conversion with inet_pton and inet_ntop. -diff -ru udns-0.5.orig/configure udns-0.5.new/configure ---- udns-0.5.orig/configure 2024-03-03 09:26:10.000000000 +0000 -+++ udns-0.5.new/configure 2024-03-10 10:06:52.935672285 +0000 -@@ -94,9 +95,9 @@ +diff -ru udns-0.6.orig/configure udns-0.6.new/configure +--- udns-0.6.orig/configure 2024-07-26 06:54:06.000000000 +0200 ++++ udns-0.6.new/configure 2024-07-30 15:14:16.142462741 +0200 +@@ -94,8 +94,8 @@ int main() { char buf[64]; long x = 0; -- inet_pton(AF_INET, &x, buf); -- return inet_ntop(AF_INET, &x, buf, sizeof(buf)); --} -+ inet_pton(AF_INET, (void *) &x, buf); -+ return inet_ntop(AF_INET, (void *) &x, buf, sizeof(buf)) != 0; -+} +- inet_ntop(AF_INET, &x, buf, sizeof(buf)); +- inet_pton(AF_INET, buf, &x); ++ inet_ntop(AF_INET, (void *) &x, buf, sizeof(buf)); ++ inet_pton(AF_INET, buf, (void *) &x); + return x; + } EOF - - if ac_yesno "for socklen_t" ac_compile < - 0.6-1 +- bump to 0.6 + * Sat Jul 20 2024 Fedora Release Engineering - 0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From c2050b5408e64eb464ced95c4c2d27514ceb5b28 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 13:37:53 +0000 Subject: [PATCH 08/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- udns.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udns.spec b/udns.spec index 1524424..66d8661 100644 --- a/udns.spec +++ b/udns.spec @@ -1,6 +1,6 @@ Name: udns Version: 0.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: DNS resolver library for both synchronous and asynchronous DNS queries License: LGPL-2.1-or-later URL: http://www.corpit.ru/mjt/udns.html @@ -53,6 +53,9 @@ CFLAGS="%{optflags}" ./configure --enable-ipv6 %{_libdir}/libudns.so %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 0.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Tue Jul 30 2024 Michal Ambroz - 0.6-1 - bump to 0.6 From 0d4f150898b77d362083e936856f829a23db9eab Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 19:43:14 +0000 Subject: [PATCH 09/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- udns.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udns.spec b/udns.spec index 66d8661..41879eb 100644 --- a/udns.spec +++ b/udns.spec @@ -1,6 +1,6 @@ Name: udns Version: 0.6 -Release: 2%{?dist} +Release: 3%{?dist} Summary: DNS resolver library for both synchronous and asynchronous DNS queries License: LGPL-2.1-or-later URL: http://www.corpit.ru/mjt/udns.html @@ -53,6 +53,9 @@ CFLAGS="%{optflags}" ./configure --enable-ipv6 %{_libdir}/libudns.so %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 0.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sun Jan 19 2025 Fedora Release Engineering - 0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 77337a49e5f45a4fa33ed3d8baf7bf5126613eba Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 19:32:48 +0000 Subject: [PATCH 10/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- udns.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udns.spec b/udns.spec index 41879eb..3f0eb15 100644 --- a/udns.spec +++ b/udns.spec @@ -1,6 +1,6 @@ Name: udns Version: 0.6 -Release: 3%{?dist} +Release: 4%{?dist} Summary: DNS resolver library for both synchronous and asynchronous DNS queries License: LGPL-2.1-or-later URL: http://www.corpit.ru/mjt/udns.html @@ -53,6 +53,9 @@ CFLAGS="%{optflags}" ./configure --enable-ipv6 %{_libdir}/libudns.so %changelog +* Sat Jan 17 2026 Fedora Release Engineering - 0.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Fri Jul 25 2025 Fedora Release Engineering - 0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 7b7505f631f20f3668b5303d9daabb82d7ec4448 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:06:51 +0000 Subject: [PATCH 11/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- udns.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/udns.spec b/udns.spec index 3f0eb15..ef473a7 100644 --- a/udns.spec +++ b/udns.spec @@ -1,6 +1,6 @@ Name: udns Version: 0.6 -Release: 4%{?dist} +Release: 5%{?dist} Summary: DNS resolver library for both synchronous and asynchronous DNS queries License: LGPL-2.1-or-later URL: http://www.corpit.ru/mjt/udns.html @@ -53,6 +53,9 @@ CFLAGS="%{optflags}" ./configure --enable-ipv6 %{_libdir}/libudns.so %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 0.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Sat Jan 17 2026 Fedora Release Engineering - 0.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild