Accepting request 288563 from home:pluskalm:branches:devel:libraries:c_c++
- Remove obsolete patches * adns-ocloexec.patch * adns-1.4-ipv6.patch - Add gpg signature - Cleanup spec-file with spec-cleaner - Remove already disabled %check section, tests require working network setup - Update to 1.5.0 OBS-URL: https://build.opensuse.org/request/show/288563 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adns?expand=0&rev=21
This commit is contained in:
parent
01c68ad280
commit
894e583cd6
@ -1,6 +1,8 @@
|
||||
--- client/Makefile.in
|
||||
+++ client/Makefile.in 2006/09/01 12:21:44
|
||||
@@ -58,9 +58,9 @@
|
||||
Index: client/Makefile.in
|
||||
===================================================================
|
||||
--- client/Makefile.in.orig
|
||||
+++ client/Makefile.in
|
||||
@@ -58,9 +58,9 @@ ALL_OBJS= $(ADH_OBJS) $(TARG_OBJS)
|
||||
all: $(TARGETS)
|
||||
|
||||
install: $(TARG_INSTALL)
|
||||
@ -12,9 +14,11 @@
|
||||
|
||||
uninstall:
|
||||
for f in $(TARGETS); do rm -f $(bindir)/$$f; done
|
||||
--- dynamic/Makefile.in
|
||||
+++ dynamic/Makefile.in 2006/09/01 12:23:20
|
||||
@@ -30,10 +30,10 @@
|
||||
Index: dynamic/Makefile.in
|
||||
===================================================================
|
||||
--- dynamic/Makefile.in.orig
|
||||
+++ dynamic/Makefile.in
|
||||
@@ -30,10 +30,10 @@ include $(srcdir)/../src/adns.make
|
||||
ALLOBJS= $(addsuffix _p.o, $(basename $(LIBOBJS)))
|
||||
|
||||
install:
|
||||
@ -29,10 +33,12 @@
|
||||
|
||||
uninstall:
|
||||
rm -f $(libdir)/$(SHLIBFILE) $(libdir)/$(SHLIBSONAME)
|
||||
--- src/Makefile.in
|
||||
+++ src/Makefile.in 2006/09/01 12:24:48
|
||||
@@ -28,10 +28,11 @@
|
||||
include adns.make
|
||||
Index: src/Makefile.in
|
||||
===================================================================
|
||||
--- src/Makefile.in.orig
|
||||
+++ src/Makefile.in
|
||||
@@ -30,10 +30,11 @@ include $(srcdir)/adns.make
|
||||
DIRCFLAGS= -I. -I$(srcdir)
|
||||
|
||||
install:
|
||||
- mkdir -p $(libdir) $(includedir)
|
||||
|
1566
adns-1.4-ipv6.patch
1566
adns-1.4-ipv6.patch
File diff suppressed because it is too large
Load Diff
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:717b92a39117a5d8b04ea7c652c630659c6eecb35211129a8cee95e6524ca9fe
|
||||
size 252668
|
3
adns-1.5.0.tar.gz
Normal file
3
adns-1.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7fc5eb4d315111a3a3a3f45ff143339ad4050185fbe6bff687f21364cb4ae841
|
||||
size 310885
|
BIN
adns-1.5.0.tar.gz.sig
Normal file
BIN
adns-1.5.0.tar.gz.sig
Normal file
Binary file not shown.
@ -1,166 +0,0 @@
|
||||
--- src/setup.c.orig
|
||||
+++ src/setup.c
|
||||
@@ -25,6 +25,7 @@
|
||||
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
+#include "internal.h"
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <limits.h>
|
||||
@@ -37,8 +38,6 @@
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
-#include "internal.h"
|
||||
-
|
||||
static void readconfig(adns_state ads, const char *filename, int warnmissing);
|
||||
|
||||
static void addserver(adns_state ads, struct in_addr addr) {
|
||||
@@ -464,7 +463,7 @@ static const char *instrum_getenv(adns_s
|
||||
static void readconfig(adns_state ads, const char *filename, int warnmissing) {
|
||||
getline_ctx gl_ctx;
|
||||
|
||||
- gl_ctx.file= fopen(filename,"r");
|
||||
+ gl_ctx.file= fopen(filename,"re");
|
||||
if (!gl_ctx.file) {
|
||||
if (errno == ENOENT) {
|
||||
if (warnmissing)
|
||||
@@ -572,7 +571,7 @@ static int init_finish(adns_state ads) {
|
||||
}
|
||||
|
||||
proto= getprotobyname("udp"); if (!proto) { r= ENOPROTOOPT; goto x_free; }
|
||||
- ads->udpsocket= socket(AF_INET,SOCK_DGRAM,proto->p_proto);
|
||||
+ ads->udpsocket= socket(AF_INET,SOCK_DGRAM|SOCK_CLOEXEC,proto->p_proto);
|
||||
if (ads->udpsocket<0) { r= errno; goto x_free; }
|
||||
|
||||
r= adns__setnonblock(ads,ads->udpsocket);
|
||||
--- src/event.c.orig
|
||||
+++ src/event.c
|
||||
@@ -26,6 +26,7 @@
|
||||
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
+#include "internal.h"
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
@@ -37,7 +38,6 @@
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
-#include "internal.h"
|
||||
#include "tvarith.h"
|
||||
|
||||
/* TCP connection management. */
|
||||
@@ -123,7 +123,7 @@ void adns__tcp_tryconnect(adns_state ads
|
||||
adns__diag(ads,-1,0,"unable to find protocol no. for TCP !");
|
||||
return;
|
||||
}
|
||||
- fd= socket(AF_INET,SOCK_STREAM,proto->p_proto);
|
||||
+ fd= socket(AF_INET,SOCK_STREAM|SOCK_CLOEXEC,proto->p_proto);
|
||||
if (fd<0) {
|
||||
adns__diag(ads,-1,0,"cannot create TCP socket: %s",strerror(errno));
|
||||
return;
|
||||
--- src/check.c.orig
|
||||
+++ src/check.c
|
||||
@@ -24,9 +24,8 @@
|
||||
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
-#include <stdlib.h>
|
||||
-
|
||||
#include "internal.h"
|
||||
+#include <stdlib.h>
|
||||
|
||||
void adns_checkconsistency(adns_state ads, adns_query qu) {
|
||||
adns__consistency(ads,qu,cc_user);
|
||||
--- src/general.c.orig
|
||||
+++ src/general.c
|
||||
@@ -25,6 +25,7 @@
|
||||
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
+#include "internal.h"
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -33,7 +34,6 @@
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
-#include "internal.h"
|
||||
|
||||
/* Core diagnostic functions */
|
||||
|
||||
--- src/poll.c.orig
|
||||
+++ src/poll.c
|
||||
@@ -24,10 +24,10 @@
|
||||
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
+#include "internal.h"
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
|
||||
-#include "internal.h"
|
||||
|
||||
#ifdef HAVE_POLL
|
||||
|
||||
--- src/query.c.orig
|
||||
+++ src/query.c
|
||||
@@ -34,7 +34,6 @@
|
||||
|
||||
#include <sys/time.h>
|
||||
|
||||
-#include "internal.h"
|
||||
|
||||
#if DMALLOC
|
||||
# include <dmalloc.h>
|
||||
--- src/reply.c.orig
|
||||
+++ src/reply.c
|
||||
@@ -24,9 +24,9 @@
|
||||
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
+#include "internal.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
-#include "internal.h"
|
||||
|
||||
void adns__procdgram(adns_state ads, const byte *dgram, int dglen,
|
||||
int serv, int viatcp, struct timeval now) {
|
||||
--- src/transmit.c.orig
|
||||
+++ src/transmit.c
|
||||
@@ -25,12 +25,12 @@
|
||||
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
+#include "internal.h"
|
||||
#include <errno.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/uio.h>
|
||||
|
||||
-#include "internal.h"
|
||||
#include "tvarith.h"
|
||||
|
||||
#define MKQUERY_START(vb) (rqp= (vb)->buf+(vb)->used)
|
||||
--- src/types.c.orig
|
||||
+++ src/types.c
|
||||
@@ -24,6 +24,7 @@
|
||||
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
+#include "internal.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -31,7 +32,6 @@
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
-#include "internal.h"
|
||||
|
||||
#define R_NOMEM return adns_s_nomemory
|
||||
#define CSP_ADDSTR(s) do { \
|
@ -1,3 +1,5 @@
|
||||
Index: configure.in
|
||||
===================================================================
|
||||
--- configure.in.orig
|
||||
+++ configure.in
|
||||
@@ -59,7 +59,9 @@ AC_ARG_ENABLE(dynamic,
|
||||
@ -11,9 +13,11 @@
|
||||
AC_PROG_CPP
|
||||
AC_PROG_RANLIB
|
||||
AC_PROG_INSTALL
|
||||
Index: src/internal.h
|
||||
===================================================================
|
||||
--- src/internal.h.orig
|
||||
+++ src/internal.h
|
||||
@@ -49,6 +49,7 @@ typedef unsigned char byte;
|
||||
@@ -51,6 +51,7 @@ typedef unsigned char byte;
|
||||
# include "hredirect.h"
|
||||
#endif
|
||||
|
||||
@ -21,7 +25,7 @@
|
||||
/* Configuration and constants */
|
||||
|
||||
#define MAXSERVERS 5
|
||||
@@ -803,4 +804,5 @@ static inline int errno_resources(int e)
|
||||
@@ -944,4 +945,5 @@ static inline int errno_resources(int e)
|
||||
(tv)|=GETIL_B(cb), \
|
||||
(tv) )
|
||||
|
||||
|
19
adns.changes
19
adns.changes
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 2 19:52:21 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Remove obsolete patches
|
||||
* adns-ocloexec.patch
|
||||
* adns-1.4-ipv6.patch
|
||||
- Add gpg signature
|
||||
- Cleanup spec-file with spec-cleaner
|
||||
- Remove already disabled %check section, tests require working
|
||||
network setup
|
||||
- Update to 1.5.0
|
||||
* This release provides full IPv6 support. Applications can
|
||||
request AAAA records (containing IPv6 addresses) as well as,
|
||||
or instead of, A records (containing IPv4 addresses). adns
|
||||
1.5 can speak to nameservers over IPv6.
|
||||
* converting between addresses and address literals. These carry
|
||||
less baggage than getaddrinfo and getnameinfo.
|
||||
* bugfixes and other minor changes (see changelog for details)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 11 22:44:58 UTC 2013 - crrodriguez@opensuse.org
|
||||
|
||||
|
113
adns.keyring
Normal file
113
adns.keyring
Normal file
@ -0,0 +1,113 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v2
|
||||
|
||||
mQENBEvcctcBCADIwtcYTDDJ8WdAvLvKpQU5MoDK/mz7cIWsro5fWw7RO5ASNHd6
|
||||
jvQho6vvTM92h1vv1l4LgwdBzkZLEYBM0kHgsQcl65CL06ETDTEsXb98+HcUQkbY
|
||||
qiRFquFa4jhScdkUbJXPXfWPVeepDQ626WGpAD8RAgyyf5jR+mhLyhjIu+QjxgyO
|
||||
ZHjc2dV6Nr9sU8MRbYX5rEIydG+xSoxMe3evPrMODIWlKhNxGNnvYmWBhXxH1Uor
|
||||
FmD5apEYVnsukpoD0WQ26gRjoKEIzvFyR8UYKkF09Pv3X3/Sms1VOpjdbvj/YX0H
|
||||
RpYoKI+bWDXyS3qQG9GTvALaEdAc5KzzKm1ZABEBAAG0R0lhbiBKYWNrc29uIChu
|
||||
ZXcgZ2VuZXJhbCBwdXJwb3NlIGtleSkgPGlqYWNrc29uQGNoaWFyay5ncmVlbmVu
|
||||
ZC5vcmcudWs+iJwEEAECAAYFAkvcdtQACgkQwxaOuiP1rdtu3wP/fIkFm1JFJggj
|
||||
KNBTG4eweRMgitscsl+f1Y+UbhrDwMDeyUlVKb2ToITYdq97vjVqhlhNO4trb4eC
|
||||
4p8SGbBTtnRUybplO8g0lqWLBWvGxxu5bAOGt8EWvf10OeGK2RVlrDKqZm5FYmA4
|
||||
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fBBgB
|
||||
CAAJBQJL3HXvAhsMAAoJEOPjOSNItQ05r8MH/0WU5iLnd2/UUGD8RKvpgtN7kma2
|
||||
+lA7pGQDv1HEvxmxWy0MmpRSFpXuCLu8lbSflDY7yaDdb1Rx/LskwPC0L9rBGcXl
|
||||
h8FPpH4ePP5fAqBHolVjX7oNRvEEN5ZsFTgvjSnpc4fr6F3sFOBB6Gg/cBDuSHg2
|
||||
XIS25EW4As2hRfYeyPfEjaBCFV1qwCDt56FuY0VwlVoweogEvHvq4Xwo+59VHzaL
|
||||
bo+igA9y5EUn6K/sf/bA569GZXlTVD2iJq5quZzgZ5KQSvwbL9jlccPr05e+6w9W
|
||||
WHQ6vKv+jJ0jdRu076kra9akDMabCLu6nYgGwD+OYhAHq3uifijrPwWCHT8=
|
||||
=CXyp
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
50
adns.spec
50
adns.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package adns
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,43 +16,43 @@
|
||||
#
|
||||
|
||||
|
||||
Name: adns
|
||||
%define lname libadns1
|
||||
Version: 1.4
|
||||
Name: adns
|
||||
Version: 1.5.0
|
||||
Release: 0
|
||||
Url: http://www.chiark.greenend.org.uk/~ian/adns/ftp/
|
||||
Summary: Advanced Easy-to-Use Asynchronous-Capable DNS Utilities
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Networking/DNS/Utilities
|
||||
Source: http://www.chiark.greenend.org.uk/~ian/adns/ftp/%{name}-%{version}.tar.gz
|
||||
Source1: README.SUSE
|
||||
Source2: baselibs.conf
|
||||
Patch0: %{name}-%{version}-destdir.patch
|
||||
Patch1: %{name}-%{version}-configure.patch
|
||||
Patch2: %{name}-%{version}-ipv6.patch
|
||||
Url: http://www.chiark.greenend.org.uk/~ian/adns/ftp/
|
||||
Source0: http://www.chiark.greenend.org.uk/~ian/adns/ftp/%{name}-%{version}.tar.gz
|
||||
Source1: http://www.chiark.greenend.org.uk/~ian/adns/ftp/%{name}-%{version}.tar.gz.sig
|
||||
Source2: %{name}.keyring
|
||||
Source3: README.SUSE
|
||||
Source4: baselibs.conf
|
||||
Patch0: %{name}-1.4-destdir.patch
|
||||
Patch1: %{name}-1.4-configure.patch
|
||||
Patch3: adns-visibility.patch
|
||||
Patch4: adns-ocloexec.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
adns includes a collection of useful DNS resolver utilities.
|
||||
|
||||
%package -n %lname
|
||||
%package -n %{lname}
|
||||
Summary: Advanced DNS resolver client library
|
||||
Group: System/Libraries
|
||||
Provides: libadns = %{version}
|
||||
#openSUSE 10.2
|
||||
Obsoletes: libadns <= 1.3
|
||||
|
||||
%description -n %lname
|
||||
%description -n %{lname}
|
||||
Libadns is an advanced, easy to use, asynchronous-capable DNS resolver
|
||||
client library for C (and C++) programs.
|
||||
|
||||
%package -n libadns-devel
|
||||
Summary: Libraries and header files to develop programs with libadns support
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: %lname = %{version}
|
||||
Requires: %{lname} = %{version}
|
||||
Requires: glibc-devel
|
||||
|
||||
%description -n libadns-devel
|
||||
@ -63,31 +63,25 @@ programs with libads support.
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
%patch4
|
||||
cp %{S:1} .
|
||||
cp %{SOURCE3} .
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
%configure
|
||||
%configure
|
||||
make %{?_smp_mflags} all
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
# FIXME: --disable-static not available
|
||||
rm %{buildroot}%{_libdir}/*.a
|
||||
|
||||
%check
|
||||
# disable check for ipv6 patch
|
||||
#make check
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING GPL-vs-LGPL LICENCE.WAIVERS README* TODO changelog
|
||||
%doc COPYING GPL-vs-LGPL README* TODO changelog
|
||||
%{_bindir}/adns*
|
||||
|
||||
%files -n %lname
|
||||
%files -n %{lname}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libadns.so.1*
|
||||
|
||||
@ -96,8 +90,8 @@ rm %{buildroot}%{_libdir}/*.a
|
||||
%{_includedir}/adns.h
|
||||
%{_libdir}/libadns.so
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%post -n %{lname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
%postun -n %{lname} -p /sbin/ldconfig
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user