Hello community,
here is the log from the commit of package adns
checked in at Thu Feb 21 01:31:46 CET 2008.
--------
--- adns/adns.changes 2007-08-07 04:25:59.000000000 +0200
+++ /mounts/work_src_done/STABLE/adns/adns.changes 2008-02-20 17:09:12.000000000 +0100
@@ -1,0 +2,5 @@
+Wed Feb 20 17:08:29 CET 2008 - prusnak@suse.cz
+
+- added patch to support IPv6 protocol [#350506]
+
+-------------------------------------------------------------------
Old:
----
adns-configure.diff
adns-destdir.diff
New:
----
adns-1.4-configure.patch
adns-1.4-destdir.patch
adns-1.4-ipv6.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ adns.spec ++++++
--- /var/tmp/diff_new_pack.G18291/_old 2008-02-21 01:31:27.000000000 +0100
+++ /var/tmp/diff_new_pack.G18291/_new 2008-02-21 01:31:27.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package adns (Version 1.4)
#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -10,17 +10,19 @@
# norootforbuild
+
Name: adns
Version: 1.4
-Release: 1
+Release: 31
License: GPL v2 or later
Group: Productivity/Networking/DNS/Utilities
-URL: http://www.chiark.greenend.org.uk/~ian/adns/
-Autoreqprov: on
+Url: http://www.chiark.greenend.org.uk/~ian/adns/
+AutoReqProv: on
Summary: Advanced Easy-to-Use Asynchronous-Capable DNS Utilities
-Source: ftp://ftp.chiark.greenend.org.uk/users/ian/adns/%{name}-%{version}.tar.bz2
-Patch0: adns-destdir.diff
-Patch1: adns-configure.diff
+Source: %{name}-%{version}.tar.bz2
+Patch0: %{name}-%{version}-destdir.patch
+Patch1: %{name}-%{version}-configure.patch
+Patch2: %{name}-%{version}-ipv6.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -68,29 +70,28 @@
%setup -q
%patch0
%patch1
+%patch2
%build
autoreconf -fi
export CFLAGS="$RPM_OPT_FLAGS -Wall"
%configure --with-pic
-%{__make} %{?jobs:-j%jobs} all
+make %{?jobs:-j%jobs} all
%install
-%{__make} DESTDIR=%{buildroot} install
+make DESTDIR=%{buildroot} install
%check
-%{__make} check
+# disable check for ipv6 patch
+# make check
%clean
-%{__rm} -rf %{buildroot}
+rm -rf %{buildroot}
%files
%defattr(-,root,root)
-%{_bindir}/adnshost
-%{_bindir}/adnslogres
-%{_bindir}/adnsresfilter
-%{_bindir}/adnsheloex
-%doc changelog COPYING GPL-vs-LGPL INSTALL README* TODO
+%doc COPYING GPL-vs-LGPL LICENCE.WAIVERS README* TODO changelog
+%{_bindir}/adns*
%files -n libadns1
%defattr(-,root,root)
@@ -107,25 +108,27 @@
%postun -n libadns1 -p /sbin/ldconfig
%changelog
-* Tue Aug 07 2007 - crrodriguez@suse.de
+* Wed Feb 20 2008 prusnak@suse.cz
+- added patch to support IPv6 protocol [#350506]
+* Tue Aug 07 2007 crrodriguez@suse.de
- update to version 1.4
- run ldconfig
- use library packaging policy
- run make check
-* Fri Sep 01 2006 - mt@suse.de
+* Fri Sep 01 2006 mt@suse.de
- updated to adns-1.3, providing new support for SRV RRs
and unknown RRs as well as several portability fixes.
- adopted configure and destdir patches, removed obsolete
codecleanup and missing_symlink patches
-* Thu Apr 27 2006 - mrueckert@suse.de
+* Thu Apr 27 2006 mrueckert@suse.de
- added adns-missing_symlink.diff:
add missing symlink "libadns.so" so you can dynamically
link against libadns.
-* Wed Jan 25 2006 - mls@suse.de
+* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
-* Mon Dec 19 2005 - ro@suse.de
+* Mon Dec 19 2005 ro@suse.de
- added libadns.so.1 to filelist
-* Mon Apr 04 2005 - pth@suse.de
+* Mon Apr 04 2005 pth@suse.de
- Make declarations of adns__parse_domain match.
-* Tue Aug 10 2004 - lmuelle@suse.de
+* Tue Aug 10 2004 lmuelle@suse.de
- Inital SuSE RPM; [#43590].
++++++ adns-1.4-configure.patch ++++++
--- configure.in
+++ configure.in 2006/09/01 12:30:00
@@ -23,8 +23,7 @@
AC_INIT(src/adns.h)
AC_CONFIG_HEADER(src/config.h)
-dnl DPKG_CACHED_TRY_COMPILE(<description>,<cachevar>,<include>,<program>,<ifyes>,<ifno>)
-define([DPKG_CACHED_TRY_COMPILE],[
+AC_DEFUN([DPKG_CACHED_TRY_COMPILE],[
AC_MSG_CHECKING($1)
AC_CACHE_VAL($2,[
AC_TRY_COMPILE([$3],[$4],[$2=yes],[$2=no])
@@ -65,6 +64,116 @@
AC_PROG_RANLIB
AC_PROG_INSTALL
+AH_TOP([
+/*
+ * This file is
+ * Copyright (C) 1997-2000 Ian Jackson
+ *
+ * It is part of adns, which is
+ * Copyright (C) 1997-2000 Ian Jackson
+ * Copyright (C) 1999-2000 Tony Finch
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+])
+
+AH_TEMPLATE([HAVE_INLINE],
+ [Define if inline functions a la GCC are available.])
+AH_TEMPLATE([HAVE_GNUC25_ATTRIB],
+ [Define if function attributes a la GCC 2.5 and higher are available.])
+AH_TEMPLATE([HAVE_GNUC25_CONST],
+ [Define if function attributes a la GCC 2.5 and higher are available.])
+AH_TEMPLATE([HAVE_GNUC25_NORETURN],
+ [Define if nonreturning functions a la GCC 2.5 and higher are available.])
+AH_TEMPLATE([HAVE_GNUC25_PRINTFFORMAT],
+ [Define if printf-format argument lists a la GCC are available.])
+AH_TEMPLATE([HAVEUSE_RPCTYPES_H],
+ [Define if we want to include rpc/types.h. Crap BSDs put INADDR_LOOPBACK there.])
+
+AH_BOTTOM([
+/* Use the definitions: */
+
+#ifndef HAVE_INLINE
+#define inline
+#endif
+
+#ifdef HAVE_POLL
+#include
+#else
+/* kludge it up */
+struct pollfd { int fd; short events; short revents; };
+#define POLLIN 1
+#define POLLPRI 2
+#define POLLOUT 4
+#endif
+
+/* GNU C attributes. */
+#ifndef FUNCATTR
+#ifdef HAVE_GNUC25_ATTRIB
+#define FUNCATTR(x) __attribute__(x)
+#else
+#define FUNCATTR(x)
+#endif
+#endif
+
+/* GNU C printf formats, or null. */
+#ifndef ATTRPRINTF
+#ifdef HAVE_GNUC25_PRINTFFORMAT
+#define ATTRPRINTF(si,tc) format(printf,si,tc)
+#else
+#define ATTRPRINTF(si,tc)
+#endif
+#endif
+#ifndef PRINTFFORMAT
+#define PRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc)))
+#endif
+
+/* GNU C nonreturning functions, or null. */
+#ifndef ATTRNORETURN
+#ifdef HAVE_GNUC25_NORETURN
+#define ATTRNORETURN noreturn
+#else
+#define ATTRNORETURN
+#endif
+#endif
+#ifndef NONRETURNING
+#define NONRETURNING FUNCATTR((ATTRNORETURN))
+#endif
+
+/* Combination of both the above. */
+#ifndef NONRETURNPRINTFFORMAT
+#define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN))
+#endif
+
+/* GNU C constant functions, or null. */
+#ifndef ATTRCONST
+#ifdef HAVE_GNUC25_CONST
+#define ATTRCONST const
+#else
+#define ATTRCONST
+#endif
+#endif
+#ifndef CONSTANT
+#define CONSTANT FUNCATTR((ATTRCONST))
+#endif
+
+#ifdef HAVEUSE_RPCTYPES_H
+#include
+#endif
+])
+
AC_CHECK_FUNCS(poll)
ADNS_C_GETFUNC(socket,socket)
ADNS_C_GETFUNC(inet_ntoa,nsl)
++++++ adns-1.4-destdir.patch ++++++
--- client/Makefile.in
+++ client/Makefile.in 2006/09/01 12:21:44
@@ -58,9 +58,9 @@
all: $(TARGETS)
install: $(TARG_INSTALL)
- mkdir -p $(bindir)
+ $(INSTALL_PROGRAM) -d $(DESTDIR)/$(bindir)
set -xe; for f in $(TARG_INSTALL); \
- do $(INSTALL_PROGRAM) $$f $(bindir)/$$f; done
+ do $(INSTALL_PROGRAM) $$f $(DESTDIR)/$(bindir)/$$f; done
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 @@
ALLOBJS= $(addsuffix _p.o, $(basename $(LIBOBJS)))
install:
- mkdir -p $(libdir)
- $(INSTALL_PROGRAM) $(SHLIBFILE) $(libdir)/$(SHLIBFILE)
- ln -sf $(SHLIBFILE) $(libdir)/$(SHLIBSONAME)
- ln -sf $(SHLIBSONAME) $(libdir)/$(SHLIBFORLINK)
+ $(INSTALL_PROGRAM) -d $(DESTDIR)/$(libdir)
+ $(INSTALL_PROGRAM) $(SHLIBFILE) $(DESTDIR)/$(libdir)/$(SHLIBFILE)
+ ln -sf $(SHLIBFILE) $(DESTDIR)/$(libdir)/$(SHLIBSONAME)
+ ln -sf $(SHLIBSONAME) $(DESTDIR)/$(libdir)/$(SHLIBFORLINK)
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
install:
- mkdir -p $(libdir) $(includedir)
+ $(INSTALL_PROGRAM) -d $(DESTDIR)/$(libdir)
+ $(INSTALL_PROGRAM) -d $(DESTDIR)/$(includedir)
set -xe; for f in $(TARGETS); \
- do $(INSTALL_DATA) $$f $(libdir)/$$f; done
- $(INSTALL_DATA) $(srcdir)/../src/adns.h $(includedir)/adns.h
+ do $(INSTALL_DATA) $$f $(DESTDIR)/$(libdir)/$$f; done
+ $(INSTALL_DATA) $(srcdir)/../src/adns.h $(DESTDIR)/$(includedir)/adns.h
uninstall:
for f in $(TARGETS); do rm -f $(libdir)/$$f; done
++++++ adns-1.4-ipv6.patch ++++++
++++ 1566 lines (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org