From 9455cf9284490ba2e0ced2988a0986c9936f0a54f0d79e2940245b96af5318af Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 7 Jun 2011 14:43:07 +0000 Subject: [PATCH] Accepting request 71311 from server:dns Copy from server:dns/ldns based on submit request 71311 from user dec16180 OBS-URL: https://build.opensuse.org/request/show/71311 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldns?expand=0&rev=1 --- .gitattributes | 23 +++++++ .gitignore | 1 + ldns-1.6.9.tar.gz | 3 + ldns.changes | 28 ++++++++ ldns.spec | 169 ++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 224 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 ldns-1.6.9.tar.gz create mode 100644 ldns.changes create mode 100644 ldns.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ldns-1.6.9.tar.gz b/ldns-1.6.9.tar.gz new file mode 100644 index 0000000..11e9d97 --- /dev/null +++ b/ldns-1.6.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13a0b666ba391920e1e584b773ccb07f5f2227020763b4777689b9bb635b871e +size 984563 diff --git a/ldns.changes b/ldns.changes new file mode 100644 index 0000000..efff127 --- /dev/null +++ b/ldns.changes @@ -0,0 +1,28 @@ +------------------------------------------------------------------- +Wed May 25 13:38:43 UTC 2011 - lnussel@suse.de + +- new version 1.6.9 +- enable python bindings, used by sshfp's dane tool +- merge with Factory version + +------------------------------------------------------------------- +Mon Apr 27 15:34:10 CEST 2009 - crrodriguez@suse.de + +- initial version, required by unbound + +------------------------------------------------------------------- +Wed May 21 17:59:04 CEST 2008 - mrueckert@suse.de + +- fix the rpmlint warnings + +------------------------------------------------------------------- +Wed May 21 05:53:12 CEST 2008 - mrueckert@suse.de + +- update to 1.3.0.pre20080229 (taken from unbound-1.0.0 tarball) + required version update to make it work with unbound + +------------------------------------------------------------------- +Wed May 21 04:43:07 CEST 2008 - mrueckert@suse.de + +- initial package + diff --git a/ldns.spec b/ldns.spec new file mode 100644 index 0000000..a22b690 --- /dev/null +++ b/ldns.spec @@ -0,0 +1,169 @@ +# +# spec file for package ldns +# +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + + +Name: ldns +Version: 1.6.9 +Release: 1 +# +Group: Development/Libraries/C and C++ +License: BSD +# +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: libpcap-devel openssl-devel +BuildRequires: python-devel swig +BuildRequires: doxygen +BuildRequires: fdupes +# +Url: http://www.nlnetlabs.nl/projects/ldns/ +Source: http://www.nlnetlabs.nl/downloads/ldns/ldns-%{version}.tar.gz +# +Summary: A dns library + +%description +The goal of ldns is to simplify DNS programming, it supports recent RFCs like +the DNSSEC documents, and allows developers to easily create software +conforming to current RFCs, and experimental software for current Internet +Drafts. A secondary benefit of using ldns is speed; ldns is written in C it +should be a lot faster than Perl. + +This package holds the tools/examples from ldns. + +%package -n libldns1 + + +Group: Productivity/Networking/DNS/Servers +# +Summary: Tools from ldns + +%description -n libldns1 +The goal of ldns is to simplify DNS programming, it supports recent RFCs like +the DNSSEC documents, and allows developers to easily create software +conforming to current RFCs, and experimental software for current Internet +Drafts. A secondary benefit of using ldns is speed; ldns is written in C it +should be a lot faster than Perl. + + +%package devel + + +Group: Development/Libraries/C and C++ +Requires: libldns1 = %{version} +# +Summary: Development files for ldns + +%description devel +The goal of ldns is to simplify DNS programming, it supports recent RFCs like +the DNSSEC documents, and allows developers to easily create software +conforming to current RFCs, and experimental software for current Internet +Drafts. A secondary benefit of using ldns is speed; ldns is written in C it +should be a lot faster than Perl. + + +This package holds the development files. + +%package -n python-ldns + + +Summary: Python bindings for ldns +Group: Productivity/Networking/DNS/Servers +# doesn't use symbol versioning +Requires: libldns1 >= %version + +%description -n python-ldns +Python bindings for ldns library + +%prep +%setup -q + +%build +%configure --disable-rpath --disable-static --with-pyldns +%{__make} %{?_smp_mflags} +pushd drill +%configure --disable-rpath --disable-static +%{__make} %{?_smp_mflags} +popd +pushd examples +%configure --disable-rpath --disable-static +%{__make} %{?_smp_mflags} +popd + +%install +%makeinstall +%makeinstall -C examples +%makeinstall -C drill +%{__rm} -v %{buildroot}%{_libdir}/libldns.*a +%{__rm} -rv doc/doxyparse.pl doc/man/ +# +%fdupes %buildroot%_mandir + +%clean +%{__rm} -rf %{buildroot} + +%post -n libldns1 -p /sbin/ldconfig + +%postun -n libldns1 -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_bindir}/drill +%{_bindir}/ldns-chaos +%{_bindir}/ldns-compare-zones +%{_bindir}/ldns-dpa +%{_bindir}/ldns-key2ds +%{_bindir}/ldns-keyfetcher +%{_bindir}/ldns-keygen +%{_bindir}/ldns-mx +%{_bindir}/ldns-notify +%{_bindir}/ldns-nsec3-hash +%{_bindir}/ldns-read-zone +%{_bindir}/ldns-resolver +%{_bindir}/ldns-revoke +%{_bindir}/ldns-rrsig +%{_bindir}/ldns-signzone +%{_bindir}/ldns-test-edns +%{_bindir}/ldns-testns +%{_bindir}/ldns-update +%{_bindir}/ldns-verify-zone +%{_bindir}/ldns-version +%{_bindir}/ldns-walk +%{_bindir}/ldns-zcat +%{_bindir}/ldns-zsplit +%{_bindir}/ldnsd +%{_mandir}/man1/drill.1* +%{_mandir}/man1/ldns*.1* +%doc drill/ChangeLog.22-nov-2005 drill/README drill/REGRESSIONS + +%files -n libldns1 +%defattr(-,root,root,-) +%{_libdir}/libldns.so.1* + +%files devel +%defattr(-,root,root,-) +%{_bindir}/ldns-config +%{_includedir}/ldns/ +%{_libdir}/libldns.so +%{_mandir}/man3/ldns*.3* +%doc README* libdns.vim doc + +%files -n python-ldns +%defattr(-,root,root) +%{python_sitelib}/* + +%changelog