Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37040681
en ru br
ALT Linux repos
S:1.6.0-alt2
5.0: 1.4-alt2
4.1: 1.4-alt1
4.0: 1.4-alt1
3.0: 1.1-alt1

Group :: Networking/Other
RPM: adns

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: adns-1.6.0-alt.patch
Download


 .gear/adns.spec                                    | 185 +++++++++++++++++++++
 .gear/rules                                        |   3 +
 .../tags/5d9ebda4f3c10278d26645f2aa38c62e24356f66  |  17 ++
 .gear/tags/list                                    |   1 +
 configure                                          |   2 +-
 configure.in                                       |   2 +-
 src/adns.h                                         |   1 +
 src/adns.map                                       |   7 +
 8 files changed, 216 insertions(+), 2 deletions(-)
diff --git a/.gear/adns.spec b/.gear/adns.spec
new file mode 100644
index 0000000..cb3c95b
--- /dev/null
+++ b/.gear/adns.spec
@@ -0,0 +1,185 @@
+%define _unpackaged_files_terminate_build 1
+%define _stripped_files_terminate_build 1
+%set_verify_elf_method strict
+
+# LTO causes errors, disable it
+%global optflags_lto %nil
+
+Name: adns
+Version: 1.6.0
+Release: alt2
+
+Summary: GNU adns, an asynchronous DNS resolver
+License: GPLv2+
+Group: Networking/Other
+URL: http://www.gnu.org/software/adns/
+
+Source: adns-%version.tar
+Patch0: %name-%version-alt.patch
+
+Requires: lib%name = %EVR
+
+%package -n lib%name
+Summary: GNU adns, an asynchronous DNS resolver (shared library)
+Group: System/Libraries
+
+%package -n lib%name-devel
+Summary: GNU adns, an asynchronous DNS resolver (header files)
+Group: Development/C
+Requires: lib%name = %EVR
+
+%package -n lib%name-devel-static
+Summary: GNU adns, an asynchronous DNS resolver (static library)
+Group: Development/C
+Requires: lib%name-devel = %EVR
+
+%description
+adns is a resolver library for C (and C++) programs,
+and a collection of useful DNS resolver utilities.
+
+This package contains %name utilities.
+
+%description -n lib%name
+adns is a resolver library for C (and C++) programs,
+and a collection of useful DNS resolver utilities.
+
+This package contains %name runtime library.
+
+%description -n lib%name-devel
+adns is a resolver library for C (and C++) programs,
+and a collection of useful DNS resolver utilities.
+
+This package contains developement library and include file
+required for development of %name-based software.
+
+%description -n lib%name-devel-static
+adns is a resolver library for C (and C++) programs,
+and a collection of useful DNS resolver utilities.
+
+This package contains static library required for
+development of statically linked %name-based software.
+
+%prep
+%setup
+%patch0 -p1
+
+%build
+%add_optflags -D_FILE_OFFSET_BITS=64
+
+%autoreconf
+%configure
+%make
+
+%install
+mkdir -p %buildroot{%_bindir,%_libdir,%_includedir}
+%makeinstall
+
+%check
+make check
+
+%files
+%_bindir/%{name}*
+%doc GPL-vs-LGPL README TODO changelog
+
+%files -n lib%name
+%_libdir/lib%name.so.?*
+
+%files -n lib%name-devel
+%_includedir/%name.h
+%_libdir/lib%name.so
+
+%files -n lib%name-devel-static
+%_libdir/lib%name.a
+
+%changelog
+* Wed Sep 08 2021 Aleksei Nikiforov <darktemplar@altlinux.org> 1.6.0-alt2
+- Disabled LTO.
+
+* Sat Jun 27 2020 Anton Farygin <rider@altlinux.ru> 1.6.0-alt1
+- 1.6.0
+
+* Sun Jun 14 2020 Anton Farygin <rider@altlinux.ru> 1.5.2-alt1
+- 1.5.2 (Fixes: CVE-2017-9103 CVE-2017-9104 CVE-2017-9105 CVE-2017-9109, 
+	CVE-2017-9106, CVE-2017-9107, CVE-2017-9108)
+
+* Sat Jun 22 2019 Igor Vlasenko <viy@altlinux.ru> 1.5.1-alt3
+- NMU: remove rpm-build-ubt from BR:
+
+* Sat Jun 15 2019 Igor Vlasenko <viy@altlinux.ru> 1.5.1-alt2
+- NMU: remove %%ubt from release
+
+* Thu May 11 2017 Anton Farygin <rider@altlinux.ru> 1.5.1-alt1
+- new version
+
+* Sun Mar 27 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.4-alt2.qa2
+- Rebuilt for debuginfo
+
+* Mon Nov 29 2010 Igor Vlasenko <viy@altlinux.ru> 1.4-alt2.qa1
+- rebuild using girar-nmu to require/provide setversion 
+  by request of mithraen@
+
+* Fri Feb 20 2009 Dmitry V. Levin <ldv@altlinux.org> 1.4-alt2
+- Removed obsolete post_ldconfig/postun_ldconfig calls.
+- Updated package descriptions.
+
+* Fri Apr 13 2007 Alexey Tourbin <at@altlinux.ru> 1.4-alt1
+- 1.3 -> 1.4
+
+* Fri Sep 01 2006 Alexey Tourbin <at@altlinux.ru> 1.3-alt2
+- resotred source compatility with earlier adns releases by providing
+  adns__rrt_typemask constant (with the same value as adns_rrt_typemask);
+  this should fix adns-python 1.1.0
+- restricted symbols exported from the shared library
+
+* Sat Jul 08 2006 Alexey Tourbin <at@altlinux.ru> 1.3-alt1
+- 1.1 -> 1.3
+
+* Sun Aug 15 2004 Alexey Tourbin <at@altlinux.ru> 1.1-alt1
+- 1.0 -> 1.1
+- use strict (%%release-dependent) rules between subpackages
+- applied upstream patches:
+  * Fix error in prototype in definition of adns__parse_domain.
+  * Allow `;'-comments in resolv.conf (report from Colin Charles).
+- packaged GPL-vs-LGPL, an indelicate GPL advocacy
+- updated descriptions
+
+* Fri Oct 04 2002 Rider <rider@altlinux.ru> 1.0-ipl4mdk
+- Split lib%name-devel to lib%name-devel-static
+
+* Mon Apr 15 2002 Rider <rider@altlinux.ru> 1.0-ipl3mdk
+- rebuild
+
+* Mon Jan 15 2001 Dmitry V. Levin <ldv@fandra.org> 1.0-ipl2mdk
+- Split into %name, lib%name and lib%name-devel.
+
+* Wed Nov 15 2000 Dmitry V. Levin <ldv@fandra.org> 1.0-ipl1mdk
+- RE adaptions.
+
+* Mon Nov 13 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.0-1mdk
+- new and shiny release.
+
+* Fri Jul 21 2000 Warly <warly@mandrakesoft.com> 0.8-1mdk
+- new release
+
+* Tue May 23 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.7-4mdk
+- Definitively remove the make check (stupid).
+
+* Sun May 21 2000 David BAUDENS <baudens@mandrakesoft.com> 0.7-3mdk
+- Work around for i486
+- Fix prefix
+- Use %%_tmppath for BuildRoot
+
+* Thu Mar 23 2000 Florent Villard <warly@mandrakesoft.com> 0.7-2mdk
+- rebuild
+
+* Fri Mar  3 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.7-1mdk
+- 0.7.
+- clean spec and split in 2 packages.
+
+* Mon Feb 07 2000 Lenny Cartier <lenny@mandrakesoft.com>
+- new in contribs
+- used srpm provided by Vincent Danen <vdanen@linux-mandrake.com>
+
+* Sun Jan 30 2000 Vincent Danen <vdanen@linux-mandrake.com>
+- initial specfile
+- bzip sources
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..c437c0c
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,3 @@
+tar: @name@-@version@:.
+diff: @name@-@version@:. . name=@name@-@version@-alt.patch
+spec: .gear/adns.spec
diff --git a/.gear/tags/5d9ebda4f3c10278d26645f2aa38c62e24356f66 b/.gear/tags/5d9ebda4f3c10278d26645f2aa38c62e24356f66
new file mode 100644
index 0000000..a81e00a
--- /dev/null
+++ b/.gear/tags/5d9ebda4f3c10278d26645f2aa38c62e24356f66
@@ -0,0 +1,17 @@
+object ccaa00188308fa3f21820f52c5d4cdf8346d1ccf
+type commit
+tag adns-1.6.0
+tagger Ian Jackson <ijackson@chiark.greenend.org.uk> 1591890240 +0100
+
+adns release 1.6.0
+-----BEGIN PGP SIGNATURE-----
+
+iQEzBAABCAAdFiEEVZrkbC1rbTJl58uh4+M5I0i1DTkFAl7iUUAACgkQ4+M5I0i1
+DTnuqAf7B6Ywvl06iS9N3NZqRAsgqCcLM+X2Q0+bPWY/b+iHGLSlckW743cBVdx9
+b3yytm+mZzXEHy122jPVI0ZlzfgELk1/8raBy5FJ/3Tyv+SVNwSTRKiARh19mCvN
+Z5ZgAd4vufLQrzEJqRC8N2CI03n8a26CHxfNRLv2eqjlCzHyOj+PY5y65tcEvpu9
+RMt1UYVwNVNOx8fWUknoQ+ib6tfhl3a7Y1gepYq0AM145XV+z3cDDVN8MTzC27Qw
+m8IvxVmaN63IP8C3QVpqlJXzoLEIh5VCA67biEKfomzp450e9kI+gCIbxmcqf1Tg
+RZVPzjfLCt1ptHkhIumL3u2vBsBCSA==
+=BqMa
+-----END PGP SIGNATURE-----
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..932300d
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+5d9ebda4f3c10278d26645f2aa38c62e24356f66 adns-1.6.0
diff --git a/configure b/configure
index b229e68..99daac4 100755
--- a/configure
+++ b/configure
@@ -4063,7 +4063,7 @@ SHLIBFILE='$(SHLIBSONAME).$(MINOR)'
 
 SHLIBCC='$(CC) $(CFLAGS) -fpic'
 MKSHLIB_1='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME) -o'
-MKSHLIB_2=''
+MKSHLIB_2='-Wl,--version-script=$(srcdir)/adns.map'
 MKSHLIB_3='-lc'
 
 ac_config_files="$ac_config_files common.make settings.make Makefile src/Makefile client/Makefile dynamic/Makefile regress/Makefile"
diff --git a/configure.in b/configure.in
index 2894cf9..deb5557 100644
--- a/configure.in
+++ b/configure.in
@@ -144,7 +144,7 @@ SHLIBFILE='$(SHLIBSONAME).$(MINOR)'
 
 SHLIBCC='$(CC) $(CFLAGS) -fpic'
 MKSHLIB_1='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME) -o'
-MKSHLIB_2=''
+MKSHLIB_2='-Wl,--version-script=../src/adns.map'
 MKSHLIB_3='-lc'
 
 AC_OUTPUT(
diff --git a/src/adns.h b/src/adns.h
index ba44b06..0967189 100644
--- a/src/adns.h
+++ b/src/adns.h
@@ -151,6 +151,7 @@ typedef enum {
  adns_rrt_typemask=  0x0ffff,
  adns_rrt_reprmask= 0xffffff,
  adns__qtf_deref_bit=0x10000,/* internal version of ..._deref below */
+ adns__rrt_typemask= 0x0ffff,/* compatibility with adns-1.1 */
  adns__qtf_mail822=  0x20000,/* return mailboxes in RFC822 rcpt field fmt   */
 
  adns__qtf_bigaddr=0x1000000,/* use the new larger sockaddr union */
diff --git a/src/adns.map b/src/adns.map
new file mode 100644
index 0000000..5a14e4d
--- /dev/null
+++ b/src/adns.map
@@ -0,0 +1,7 @@
+ADNS_1.2 {
+    global:
+	adns_init_logfn;
+    local:
+	adns__*;
+	[^a]*;
+};
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin