head 1.32;
access;
symbols
OPENPKG_E1_MP_HEAD:1.30
OPENPKG_E1_MP:1.30
OPENPKG_E1_MP_2_STABLE:1.25.2.3
OPENPKG_E1_FP:1.25.2.3
OPENPKG_2_STABLE_MP:1.29
OPENPKG_2_STABLE_20061018:1.25.2.2
OPENPKG_2_STABLE_20060622:1.25.2.1
OPENPKG_2_STABLE:1.25.0.2
OPENPKG_2_STABLE_BP:1.25
OPENPKG_2_5_RELEASE:1.22.4.1
OPENPKG_2_5_SOLID:1.22.0.4
OPENPKG_2_5_SOLID_BP:1.22
OPENPKG_2_4_RELEASE:1.22.2.1
OPENPKG_2_4_SOLID:1.22.0.2
OPENPKG_2_4_SOLID_BP:1.22
OPENPKG_CW_FP:1.21
OPENPKG_2_3_RELEASE:1.21.2.1
OPENPKG_2_3_SOLID:1.21.0.2
OPENPKG_2_3_SOLID_BP:1.21
OPENPKG_2_2_RELEASE:1.20.4.1
OPENPKG_2_2_SOLID:1.20.0.4
OPENPKG_2_2_SOLID_BP:1.20
OPENPKG_2_1_RELEASE:1.20.2.1
OPENPKG_2_1_SOLID:1.20.0.2
OPENPKG_2_1_SOLID_BP:1.20
OPENPKG_2_0_RELEASE:1.19.2.1
OPENPKG_2_0_SOLID:1.19.0.2
OPENPKG_2_0_SOLID_BP:1.19
OPENPKG_1_3_RELEASE:1.13.2.2.2.2
OPENPKG_1_3_SOLID:1.13.2.2.0.2
OPENPKG_1_3_SOLID_BP:1.13.2.2
OPENPKG_1_STABLE_MP:1.14
OPENPKG_1_2_RELEASE:1.13.2.1.2.1
OPENPKG_1_2_SOLID:1.13.2.1.0.2
OPENPKG_1_2_SOLID_BP:1.13.2.1
OPENPKG_1_STABLE:1.13.0.2
OPENPKG_1_STABLE_BP:1.13
OPENPKG_1_1_RELEASE:1.8.2.2
OPENPKG_1_1_SOLID:1.8.0.2
OPENPKG_1_1_SOLID_BP:1.8;
locks; strict;
comment @-- @;
1.32
date 2009.04.18.13.08.21; author rse; state Exp;
branches;
next 1.31;
commitid 4pHXU27WTIGCZuKt;
1.31
date 2008.01.01.14.50.17; author rse; state Exp;
branches;
next 1.30;
commitid B8esaHJHoduuKILs;
1.30
date 2007.01.01.17.36.27; author rse; state Exp;
branches;
next 1.29;
commitid BicZD6VUl7GuqP0s;
1.29
date 2006.10.18.09.55.54; author cs; state Exp;
branches;
next 1.28;
commitid sgR39edH7lBQj9Rr;
1.28
date 2006.10.13.17.26.39; author thl; state Exp;
branches;
next 1.27;
commitid q5GSxzsSDX29XxQr;
1.27
date 2006.10.12.20.10.24; author rse; state Exp;
branches;
next 1.26;
commitid TGg8sYHRKnyCUqQr;
1.26
date 2006.09.16.10.28.13; author cs; state Exp;
branches;
next 1.25;
commitid kv0BqeWZ442Iw2Nr;
1.25
date 2006.06.07.07.53.47; author rse; state Exp;
branches
1.25.2.1;
next 1.24;
commitid uGGmnWf2MkG0V2Ar;
1.24
date 2006.04.08.18.05.37; author rse; state Exp;
branches;
next 1.23;
commitid mzFLoLYD6Nvteosr;
1.23
date 2006.01.01.13.11.48; author rse; state Exp;
branches;
next 1.22;
commitid otZG8yKMCw1JFTfr;
1.22
date 2005.03.24.11.18.23; author rse; state Exp;
branches
1.22.2.1
1.22.4.1;
next 1.21;
1.21
date 2005.01.01.10.47.39; author rse; state Exp;
branches
1.21.2.1;
next 1.20;
1.20
date 2004.05.14.08.07.07; author rse; state Exp;
branches
1.20.2.1
1.20.4.1;
next 1.19;
1.19
date 2004.02.07.17.53.13; author rse; state Exp;
branches
1.19.2.1;
next 1.18;
1.18
date 2004.02.03.19.59.28; author rse; state Exp;
branches;
next 1.17;
1.17
date 2004.01.23.13.07.20; author rse; state Exp;
branches;
next 1.16;
1.16
date 2003.09.21.07.22.24; author rse; state Exp;
branches;
next 1.15;
1.15
date 2003.08.01.07.29.48; author mlelstv; state Exp;
branches;
next 1.14;
1.14
date 2003.07.08.14.38.31; author rse; state Exp;
branches;
next 1.13;
1.13
date 2003.01.03.10.50.56; author rse; state Exp;
branches
1.13.2.1;
next 1.12;
1.12
date 2002.12.30.22.02.50; author rse; state Exp;
branches;
next 1.11;
1.11
date 2002.12.30.21.03.16; author rse; state Exp;
branches;
next 1.10;
1.10
date 2002.12.20.19.30.15; author rse; state Exp;
branches;
next 1.9;
1.9
date 2002.08.28.08.01.29; author rse; state Exp;
branches;
next 1.8;
1.8
date 2002.08.13.12.47.23; author rse; state Exp;
branches
1.8.2.1;
next 1.7;
1.7
date 2002.06.23.10.56.12; author rse; state Exp;
branches;
next 1.6;
1.6
date 2002.05.29.19.59.25; author rse; state Exp;
branches;
next 1.5;
1.5
date 2002.04.18.16.49.41; author ms; state Exp;
branches;
next 1.4;
1.4
date 2002.04.18.14.34.33; author ms; state Exp;
branches;
next 1.3;
1.3
date 2002.02.22.13.24.16; author rse; state Exp;
branches;
next 1.2;
1.2
date 2002.02.20.09.37.14; author cs; state Exp;
branches;
next 1.1;
1.1
date 2002.02.19.17.23.19; author ms; state Exp;
branches;
next ;
1.25.2.1
date 2006.06.20.15.14.24; author rse; state Exp;
branches;
next 1.25.2.2;
commitid P9b9BoNafLYTTKBr;
1.25.2.2
date 2006.10.16.14.47.19; author rse; state Exp;
branches;
next 1.25.2.3;
commitid iZxwRSmmWscPXUQr;
1.25.2.3
date 2006.10.22.11.23.35; author rse; state Exp;
branches;
next ;
commitid zQ9GHEJwo7cXFFRr;
1.22.2.1
date 2005.06.15.18.58.36; author rse; state Exp;
branches;
next ;
1.22.4.1
date 2005.10.11.12.49.16; author rse; state Exp;
branches;
next ;
1.21.2.1
date 2005.02.21.17.06.10; author rse; state Exp;
branches;
next ;
1.20.2.1
date 2004.07.02.15.23.42; author rse; state Exp;
branches;
next ;
1.20.4.1
date 2004.10.11.18.53.51; author rse; state Exp;
branches;
next ;
1.19.2.1
date 2004.02.18.14.48.10; author rse; state Exp;
branches;
next ;
1.13.2.1
date 2003.01.18.14.10.58; author rse; state Exp;
branches
1.13.2.1.2.1;
next 1.13.2.2;
1.13.2.2
date 2003.07.24.20.49.02; author rse; state Exp;
branches
1.13.2.2.2.1;
next 1.13.2.3;
1.13.2.3
date 2003.08.01.07.46.43; author rse; state Exp;
branches;
next ;
1.13.2.1.2.1
date 2003.01.18.17.18.45; author rse; state Exp;
branches;
next ;
1.13.2.2.2.1
date 2003.07.29.14.58.09; author rse; state Exp;
branches;
next 1.13.2.2.2.2;
1.13.2.2.2.2
date 2003.08.01.07.47.29; author rse; state Exp;
branches;
next ;
1.8.2.1
date 2002.08.26.19.53.10; author rse; state Exp;
branches;
next 1.8.2.2;
1.8.2.2
date 2002.08.28.08.02.03; author rse; state Exp;
branches;
next ;
desc
@@
1.32
log
@bump years in copyright messages
@
text
@##
## adns.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2009 OpenPKG Foundation e.V.
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package information
Name: adns
Summary: Asynchronous DNS Client Library
URL: http://www.chiark.greenend.org.uk/~ian/adns/
Vendor: Free Software Foundation
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: BASE
Group: DNS
License: GPL
Version: 1.4
Release: 20080101
# list of sources
Source0: http://www.chiark.greenend.org.uk/~ian/adns/ftp/adns-%{version}.tar.gz
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130, make, gcc
PreReq: OpenPKG, openpkg >= 20040130
AutoReq: no
AutoReqProv: no
%description
adns is an asynchrouns DNS resolver library for C/C++ programs. In
contrast with the existing interfaces, gethostbyname et al. and
libresolv, it has the following features: easy to use for simple
programs; can be used in an asynchronous, nonblocking, manner;
Responses are decoded automatically into a natural representation
for a C program; sanity checking; no global state in the library;
errors are reported to the application in a way that distinguishes
the various causes of failure properly; understands conventional
resolv.conf.
%track
prog adns = {
version = %{version}
url = http://www.chiark.greenend.org.uk/~ian/adns/ftp/
regex = adns-(__VER__)\.tar\.gz
}
%prep
%setup -q
%{l_shtool} subst \
-e 's;/etc/resolv-adns\.conf;%{l_prefix}/etc/adns/resolv.conf;g' \
src/setup.c
%build
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
./configure \
--prefix=%{l_prefix} \
--disable-dynamic
%{l_make} %{l_mflags -O}
%install
rm -rf $RPM_BUILD_ROOT
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/bin \
$RPM_BUILD_ROOT%{l_prefix}/include \
$RPM_BUILD_ROOT%{l_prefix}/lib
%{l_make} %{l_mflags} install \
prefix=$RPM_BUILD_ROOT%{l_prefix} \
exec_prefix=$RPM_BUILD_ROOT%{l_prefix}
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.31
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d3 1
a3 1
## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
@
1.30
log
@Welcome Year 2007!
@
text
@d3 1
a3 2
## Copyright (c) 2000-2007 OpenPKG Foundation e.V.
## Copyright (c) 2000-2007 Ralf S. Engelschall
d35 1
a35 1
Release: 20061018
@
1.29
log
@upgrading package: adns 1.3 -> 1.4
@
text
@d3 2
a4 2
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
@
1.28
log
@new world order for "Packager" and "Distribution" headers
@
text
@d35 2
a36 2
Version: 1.3
Release: 20061013
@
1.27
log
@bless for BASE class
@
text
@d30 2
a31 2
Packager: OpenPKG
Distribution: OpenPKG
d36 1
a36 1
Release: 20061012
@
1.26
log
@fix tracking
@
text
@d32 1
a32 1
Class: PLUS
d36 1
a36 1
Release: 20060916
@
1.25
log
@upgrading package: adns 1.2 -> 1.3
@
text
@d36 1
a36 1
Release: 20060607
d39 1
a39 1
Source0: ftp://ftp.chiark.greenend.org.uk/users/ian/adns/adns-%{version}.tar.gz
d63 1
a63 1
url = ftp://ftp.chiark.greenend.org.uk/users/ian/adns/
@
1.25.2.1
log
@bump release numbers for OpenPKG 2.20060622 in advance
@
text
@d36 1
a36 1
Release: 2.20060622
d44 2
a45 2
BuildPreReq: OpenPKG, openpkg >= 2.20060622, make, gcc
PreReq: OpenPKG, openpkg >= 2.20060622
@
1.25.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@d30 3
a32 3
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: BASE
d36 1
a36 1
Release: 2.20061018
d39 1
a39 1
Source0: http://www.chiark.greenend.org.uk/~ian/adns/ftp/adns-%{version}.tar.gz
d44 2
a45 2
BuildPreReq: OpenPKG, openpkg >= 2.20061018, make, gcc
PreReq: OpenPKG, openpkg >= 2.20061018
d63 1
a63 1
url = http://www.chiark.greenend.org.uk/~ian/adns/ftp/
@
1.25.2.3
log
@MFC: latest fixed version
@
text
@d35 2
a36 2
Version: 1.4
Release: 2.20061022
@
1.24
log
@upgrading package: adns 1.1 -> 1.2
@
text
@d35 2
a36 2
Version: 1.2
Release: 20060408
@
1.23
log
@adjust copyrights for new year 2006
@
text
@d35 2
a36 2
Version: 1.1
Release: 20040514
a39 1
Patch0: adns.patch
a68 1
%patch -p0
@
1.22
log
@Adjust the copyright declaration in this (RSE's) copy of the OpenPKG
source code now that the fork point for C&W was established (CVS tag
OPENPKG_CW_FP), the shared copyright agreement between RSE and C&W is
no longer active (as C&W no longer officially sponsors OpenPKG) and the
new shared copyright from RSE can be taken over by the newly established
juristic entity OpenPKG Foundation e.V. (instead of the non-juristic
entity OpenPKG Project).
@
text
@d3 2
a4 2
## Copyright (c) 2000-2005 OpenPKG Foundation e.V.
## Copyright (c) 2000-2005 Ralf S. Engelschall
@
1.22.4.1
log
@bump release numbers for OpenPKG 2.5
@
text
@d36 1
a36 1
Release: 2.5.0
d45 2
a46 2
BuildPreReq: OpenPKG, openpkg >= 2.5.0, make, gcc
PreReq: OpenPKG, openpkg >= 2.5.0
@
1.22.2.1
log
@bump release numbers for OpenPKG 2.4
@
text
@d36 1
a36 1
Release: 2.4.0
d45 2
a46 2
BuildPreReq: OpenPKG, openpkg >= 2.4.0, make, gcc
PreReq: OpenPKG, openpkg >= 2.4.0
@
1.21
log
@Happy New Year 2005
@
text
@d2 3
a4 4
## adns.spec -- OpenPKG RPM Specification
## Copyright (c) 2000-2005 The OpenPKG Project
## Copyright (c) 2000-2005 Ralf S. Engelschall
## Copyright (c) 2000-2005 Cable & Wireless
d30 1
a30 1
Packager: The OpenPKG Project
@
1.21.2.1
log
@bump release numbers for OpenPKG 2.3
@
text
@d37 1
a37 1
Release: 2.3.0
d46 2
a47 2
BuildPreReq: OpenPKG, openpkg >= 2.3.0, make, gcc
PreReq: OpenPKG, openpkg >= 2.3.0
@
1.20
log
@fix building under gcc 3.4
@
text
@d3 3
a5 3
## Copyright (c) 2000-2004 The OpenPKG Project
## Copyright (c) 2000-2004 Ralf S. Engelschall
## Copyright (c) 2000-2004 Cable & Wireless
@
1.20.4.1
log
@bump release numbers for OpenPKG 2.2
@
text
@d37 1
a37 1
Release: 2.2.0
d46 2
a47 2
BuildPreReq: OpenPKG, openpkg >= 2.2.0, make, gcc
PreReq: OpenPKG, openpkg >= 2.2.0
@
1.20.2.1
log
@bump release numbers for OpenPKG 2.1
@
text
@d37 1
a37 1
Release: 2.1.0
d46 2
a47 2
BuildPreReq: OpenPKG, openpkg >= 2.1.0, make, gcc
PreReq: OpenPKG, openpkg >= 2.1.0
@
1.19
log
@Mass Commit:
reduce redundancy within .spec files by referencing
macros defining vendor source versions whenever possible.
This was half-way automated and half-way manually edited.
As a result the PMOD activity in 95% of all cases
just means editing the version in one single place, only.
@
text
@d37 1
a37 1
Release: 20040207
d41 1
d71 1
@
1.19.2.1
log
@bump release numbers for OpenPKG 2.0
@
text
@d37 1
a37 1
Release: 2.0.0
d45 2
a46 2
BuildPreReq: OpenPKG, openpkg >= 2.0.0, make, gcc
PreReq: OpenPKG, openpkg >= 2.0.0
@
1.18
log
@Mass-Commit:
- split "Distribution" header into "Distribution" (old) and "Class"
(new) headers by moving the attached class information.
- embed the vendor version tracking configuration through the
new "%track" section.
- bump up the OpenPKG bootstrap dependency, because the "Class" header
and "%track" section are only supported by our latest bootstrap version.
@
text
@d37 1
a37 1
Release: 20040203
d63 1
a63 1
version = 1.1
@
1.17
log
@bump year in copyright messages to cover new year 2004. This is a CVS only commit -- no packages were rolled intentionally
@
text
@d32 2
a33 1
Distribution: OpenPKG [PLUS]
d37 1
a37 1
Release: 20030921
d45 2
a46 2
BuildPreReq: OpenPKG, openpkg >= 20020206, make, gcc
PreReq: OpenPKG, openpkg >= 20020206
d60 7
@
1.16
log
@upgrading package: adns 1.0 -> 1.1
@
text
@d3 3
a5 3
## Copyright (c) 2000-2003 The OpenPKG Project
## Copyright (c) 2000-2003 Ralf S. Engelschall
## Copyright (c) 2000-2003 Cable & Wireless
@
1.15
log
@use optional config %{prefix}/etc/adns/resolv.conf instead of /etc/adns-resolv.conf
@
text
@d35 2
a36 2
Version: 1.0
Release: 20030801
@
1.14
log
@cleanup copyright part by using just the main company name of Cable & Wireless and adding the URL to the global website
@
text
@d36 1
a36 1
Release: 20020828
d62 3
@
1.13
log
@remove '%options' hack, it will be replaced soon with a more elegant solution based on RPM 'Provides' headers
@
text
@a2 1
## Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
d5 1
@
1.13.2.1
log
@Welcome OPENPKG_1_STABLE branch...
@
text
@d36 1
a36 1
Release: 1.20020828
d44 2
a45 2
BuildPreReq: OpenPKG, openpkg >= 1.20020206, make, gcc
PreReq: OpenPKG, openpkg >= 1.20020206
@
1.13.2.2
log
@mass Merge-From-CURRENT (MFC) in preparation for OpenPKG 1.3 [class PLUS only]
@
text
@d3 1
a5 1
## Copyright (c) 2000-2003 Cable & Wireless
d36 1
a36 1
Release: 1.20030724
d44 2
a45 2
BuildPreReq: OpenPKG, openpkg >= 1.20030724, make, gcc
PreReq: OpenPKG, openpkg >= 1.20030724
@
1.13.2.3
log
@MFC: changes since last merge
@
text
@d36 1
a36 1
Release: 1.20030801
a61 3
%{l_shtool} subst \
-e 's;/etc/resolv-adns\.conf;%{l_prefix}/etc/adns/resolv.conf;g' \
src/setup.c
@
1.13.2.2.2.1
log
@bump release numbers on OpenPKG 1.3-STABLE branch for OpenPKG 1.3.0-RELEASE
@
text
@d36 1
a36 1
Release: 1.3.0
d44 2
a45 2
BuildPreReq: OpenPKG, openpkg >= 1.3.0, make, gcc
PreReq: OpenPKG, openpkg >= 1.3.0
@
1.13.2.2.2.2
log
@MFS: changes since last merge
@
text
@a61 3
%{l_shtool} subst \
-e 's;/etc/resolv-adns\.conf;%{l_prefix}/etc/adns/resolv.conf;g' \
src/setup.c
@
1.13.2.1.2.1
log
@bump versions and dependencies for OpenPKG 1.2
@
text
@d36 1
a36 1
Release: 1.2.0
d44 2
a45 2
BuildPreReq: OpenPKG, openpkg >= 1.2.0, make, gcc
PreReq: OpenPKG, openpkg >= 1.2.0
@
1.12
log
@bump of Copyright messages for forthcoming years 2003
@
text
@a59 2
%options
@
1.11
log
@switch to %option(s), but intentionally WITHOUT dep increase and WITHOUT FTP server updates
@
text
@d3 3
a5 3
## Copyright (c) 2000-2002 Cable & Wireless Deutschland GmbH
## Copyright (c) 2000-2002 The OpenPKG Project
## Copyright (c) 2000-2002 Ralf S. Engelschall
@
1.10
log
@consistently use 'Options: none' to indicate no options to 'openpkg build'
@
text
@d60 1
a60 1
Options: none
@
1.9
log
@require gcc
@
text
@d60 2
@
1.8
log
@Woohhooo: apply the new package classification system.
(CORE, BASE, PLUS, PRIV, EVAL, JUNK). A description of
them follows on the website soon.
@
text
@d36 1
a36 1
Release: 20020222
d44 1
a44 1
BuildPreReq: OpenPKG, openpkg >= 20020206, make
@
1.8.2.1
log
@bump release numbers for OpenPKG 1.1
@
text
@d36 1
a36 1
Release: 1.1.0
d44 2
a45 2
BuildPreReq: OpenPKG, openpkg >= 1.1.0, make
PreReq: OpenPKG, openpkg >= 1.1.0
@
1.8.2.2
log
@MFC: require gcc
@
text
@d44 1
a44 1
BuildPreReq: OpenPKG, openpkg >= 1.1.0, make, gcc
@
1.7
log
@change a bunch of good packages from EXP to REL
@
text
@d32 1
a32 1
Distribution: OpenPKG [REL]
@
1.6
log
@strip trailing whitespaces
@
text
@d32 1
a32 1
Distribution: OpenPKG [EXP]
@
1.5
log
@Back out changes regarding shared library building, because libtool is not
used anyways.
@
text
@d23 2
a24 2
## SUCH DAMAGE.
##
@
1.4
log
@Me too ;-> Disable shared library building.
@
text
@d68 1
a68 2
--disable-dynamic \
--disable-shared
@
1.3
log
@even more final polishing to fulfill style pedantics
@
text
@d68 2
a69 1
--disable-dynamic
@
1.2
log
@clean up and fixed installation
@
text
@d26 1
a26 1
# Package information
d28 1
a28 1
Summary: Advanced, easy to use, asynchronous-capable DNS client library
d33 1
a33 1
Group: Net
d36 1
a36 1
Release: 20020220
d38 1
a38 1
# Sources
d41 1
a41 1
# Build information
d50 9
a58 27
adns is a resolver library for C (and C++) programs. In contrast with the
existing interfaces, gethostbyname et al. and libresolv, it has the
following features:
* It is reasonably easy to use for simple programs which just want to
translate names to addresses, look up MX records, etc.
* It can be used in an asynchronous, nonblocking, manner. Many queries
can be handled simultaneously.
* Responses are decoded automatically into a natural representation for
a C program - there is no need to deal with DNS packet formats.
* Sanity checking (e.g., name syntax checking, reverse/forward
correspondence, CNAME pointing to CNAME) is performed automatically.
* Time-to-live, CNAME and other similar information is returned in an
easy to use form, without getting in the way.
* There is no global state in the library; resolver state is an opaque
data structure which the client creates explicitly. A program can have
several instances of the resolver.
* Errors are reported to the application in a way that distinguishes the
various causes of failure properly.
* Understands conventional resolv.conf, but this can overridden by
environment variables.
* Flexibility. For example, the application can tell adns to: ignore
environment variables (for setuid programs), disable sanity checks e.g.
to return arbitrary data, override or ignore resolv.conf in favour of
supplied configuration, etc.
* Believed to be correct! For example, will correctly back off to TCP
in case of long replies or queries, or to other nameservers if several
are available. It has sensible handling of bad responses etc.
d87 1
@
1.1
log
@GNU adns is a new package.
@
text
@a35 1
#FIXME was geht's hier in Release, %{l_branch}.0, 6mdk, oder etwas anders?
a38 2
#FIXME welche URL zu verwenden? Soll die beiden sein, und Source1 umnennen?
#Source0: ftp://ftp.gnu.org/pub/gnu/adns/adns-%{version}.tar.gz
d50 27
a76 27
adns is a resolver library for C (and C++) programs. In contrast with the
existing interfaces, gethostbyname et al. and libresolv, it has the
following features:
* It is reasonably easy to use for simple programs which just want to
translate names to addresses, look up MX records, etc.
* It can be used in an asynchronous, nonblocking, manner. Many queries
can be handled simultaneously.
* Responses are decoded automatically into a natural representation for
a C program - there is no need to deal with DNS packet formats.
* Sanity checking (e.g., name syntax checking, reverse/forward
correspondence, CNAME pointing to CNAME) is performed automatically.
* Time-to-live, CNAME and other similar information is returned in an
easy to use form, without getting in the way.
* There is no global state in the library; resolver state is an opaque
data structure which the client creates explicitly. A program can have
several instances of the resolver.
* Errors are reported to the application in a way that distinguishes the
various causes of failure properly.
* Understands conventional resolv.conf, but this can overridden by
environment variables.
* Flexibility. For example, the application can tell adns to: ignore
environment variables (for setuid programs), disable sanity checks e.g.
to return arbitrary data, override or ignore resolv.conf in favour of
supplied configuration, etc.
* Believed to be correct! For example, will correctly back off to TCP
in case of long replies or queries, or to other nameservers if several
are available. It has sensible handling of bad responses etc.
a81 1
PATH="%{l_prefix}/bin:$PATH"; export PATH
d84 3
a86 1
./configure --prefix=%{l_prefix}
d92 3
a94 1
$RPM_BUILD_ROOT%{l_prefix}
d98 1
a98 1
#FIXME strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
@