Compare commits
No commits in common. "rawhide" and "f34" have entirely different histories.
4 changed files with 12 additions and 74 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -1 +1,3 @@
|
|||
udns-*.tar.gz
|
||||
udns_0.0.9.tar.gz
|
||||
/udns-0.2.tar.gz
|
||||
/udns-0.4.tar.gz
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (udns-0.6.tar.gz) = 9846c476e23f148565d2ea986352c34a364ec5b949db3821a8ed6bdf5d33b830f0afbbcf4d441420a36c57620236a01ef04f6f8b2619f6ec64595bab5524afe1
|
||||
51e141b044b078d71ebb71f823959c1b udns-0.4.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,15 +0,0 @@
|
|||
Avoid incorrect pointer types and a pointer-to-int conversion with inet_pton and inet_ntop.
|
||||
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_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
|
||||
65
udns.spec
65
udns.spec
|
|
@ -1,14 +1,10 @@
|
|||
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
|
||||
|
||||
Summary: DNS resolver library for both synchronous and asynchronous DNS queries
|
||||
Name: udns
|
||||
Version: 0.4
|
||||
Release: 16%{?dist}
|
||||
License: LGPLv2+
|
||||
URL: http://www.corpit.ru/mjt/udns.html
|
||||
Source: http://www.corpit.ru/mjt/udns/udns-%{version}.tar.gz
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
|
||||
|
|
@ -26,7 +22,7 @@ documentation for %{name}. If you like to develop programs using %{name},
|
|||
you will need to install %{name}-devel.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" ./configure --enable-ipv6
|
||||
|
|
@ -53,51 +49,6 @@ 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
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-24
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Dec 15 2023 Florian Weimer <fweimer@redhat.com> - 0.4-23
|
||||
- Further C compatibility fixes
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-22
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-21
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Tue Jan 10 2023 Florian Weimer <fweimer@redhat.com> - 0.4-20
|
||||
- C99 compatibility fixes for the autoconf-style configure script (#2159628)
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue