Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7b7505f631 | ||
|
|
77337a49e5 | ||
|
|
0d4f150898 | ||
|
|
c2050b5408 | ||
|
|
13ad4cec01 | ||
|
|
7620949b9c |
3 changed files with 36 additions and 20 deletions
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (udns-0.5.tar.gz) = ee6607a01a9b88563c180d9b48ead9e1e9ca606d8fa01daca23ec0756d10e6f9798c27bec35d0f322603a768571f815fbad505483b4d392eba422529d16bcc7f
|
||||
SHA512 (udns-0.6.tar.gz) = 9846c476e23f148565d2ea986352c34a364ec5b949db3821a8ed6bdf5d33b830f0afbbcf4d441420a36c57620236a01ef04f6f8b2619f6ec64595bab5524afe1
|
||||
|
|
|
|||
|
|
@ -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 <<EOF
|
||||
|
|
|
|||
32
udns.spec
32
udns.spec
|
|
@ -1,10 +1,10 @@
|
|||
Summary: DNS resolver library for both synchronous and asynchronous DNS queries
|
||||
Name: udns
|
||||
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
|
||||
Name: udns
|
||||
Version: 0.6
|
||||
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
|
||||
Source: http://www.corpit.ru/mjt/udns/udns-%{version}.tar.gz
|
||||
|
||||
# Provide autoconf-style fake prototype for socket to avoid implicit function declarations.
|
||||
Patch0: udns-configure-c99.patch
|
||||
|
|
@ -53,6 +53,24 @@ CFLAGS="%{optflags}" ./configure --enable-ipv6
|
|||
%{_libdir}/libudns.so
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Tue Jul 30 2024 Michal Ambroz <rebus _AT seznam.cz> - 0.6-1
|
||||
- bump to 0.6
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sun Mar 10 2024 Michal Ambroz <rebus _AT seznam.cz> - 0.5-1
|
||||
- bump to 0.5
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue