[ldns/f15] * Thu Oct 5 2011 Paul Wouters <paul at xelerance.com> - 1.6.11-2 - Updated to 1.6.11, fixes rhbz#74102
Paul Wouters
pwouters at fedoraproject.org
Wed Oct 5 21:00:28 UTC 2011
commit 6fb64dbd1b923ffec41f496329f79d51316638f2
Author: Paul Wouters <paul at xelerance.com>
Date: Wed Oct 5 16:49:28 2011 -0400
* Thu Oct 5 2011 Paul Wouters <paul at xelerance.com> - 1.6.11-2
- Updated to 1.6.11, fixes rhbz#741025 which is CVE-2011-3581
- Python goes into sitearch, not sitelib
- Fix source link and spelling errors in description
.gitignore | 1 +
ldns.spec | 35 +++++++++++++----------------------
sources | 1 +
3 files changed, 15 insertions(+), 22 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a74da2a..ef9e048 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@ ldns-1.6.5.tar.gz
ldns-1.6.6.tar.gz
/ldns-1.6.8.tar.gz
/ldns-1.6.10.tar.gz
+/ldns-1.6.11.tar.gz
diff --git a/ldns.spec b/ldns.spec
index 182ff53..f756450 100644
--- a/ldns.spec
+++ b/ldns.spec
@@ -7,11 +7,11 @@
Summary: Lowlevel DNS(SEC) library with API
Name: ldns
-Version: 1.6.10
-Release: 1%{?dist}
+Version: 1.6.11
+Release: 2%{?dist}
License: BSD
Url: http://www.nlnetlabs.nl/%{name}/
-Source: http://www.nlnetlabs.nl/downloads/%{name}/%{name}-%{version}.tar.gz
+Source: http://www.nlnetlabs.nl/downloads/%{%name}/%{name}-%{version}.tar.gz
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl, libpcap-devel, openssl-devel , gcc-c++, doxygen,
@@ -23,8 +23,8 @@ BuildRequires: python-devel, swig
%endif
%description
-ldns is a library with the aim to simplify DNS programing in C. All
-lowlevel DNS/DNSSEC operations are supported. We also define a higher
+ldns is a library with the aim to simplify DNS programming in C. All
+low-level DNS/DNSSEC operations are supported. We also define a higher
level API which allows a programmer to (for instance) create or sign
packets.
@@ -46,14 +46,13 @@ Requires: %{name} = %{version}-%{release}
Python extensions for ldns
%endif
-
%prep
%setup -q
# To built svn snapshots
-#rm config.guess config.sub ltmain.sh
-#aclocal
-#libtoolize -c --install
-#autoreconf --install
+# rm config.guess config.sub ltmain.sh
+# aclocal
+# libtoolize -c
+# autoreconf
%build
%configure --disable-rpath --disable-static --with-sha2 --disable-gost \
@@ -75,20 +74,12 @@ rm -rf %{buildroot}
make DESTDIR=%{buildroot} INSTALL="%{__install} -p" install
make DESTDIR=%{buildroot} INSTALL="%{__install} -p" install-doc
-%if %{with_python}
-# remove execute perms from python files
-chmod a-x %{buildroot}%{python_sitelib}/*py
-%endif
-
-# don't package building script in doc
+# don't package building script for install-doc in doc section
rm doc/doxyparse.pl
-#remove doc stubs
-rm -rf doc/.svn
#remove double set of man pages
rm -rf doc/man
-
# remove .la files
-rm -rf %{buildroot}%{_libdir}/*.la %{buildroot}%{python_sitelib}/*.la
+rm -rf %{buildroot}%{_libdir}/*.la %{buildroot}%{python_sitearch}/*.la
(cd drill ; make DESTDIR=%{buildroot} install)
(cd examples; make DESTDIR=%{buildroot} install)
@@ -103,7 +94,7 @@ rm -rf %{buildroot}
%{_bindir}/ldns-chaos
%{_bindir}/ldns-compare-zones
%{_bindir}/ldns-[d-z]*
-%doc README LICENSE
+%doc README LICENSE
%{_mandir}/*/*
%files devel
@@ -117,7 +108,7 @@ rm -rf %{buildroot}
%if %{with_python}
%files python
%defattr(-,root,root)
-%{python_sitelib}/*
+%{python_sitearch}/*
%endif
%post -p /sbin/ldconfig
diff --git a/sources b/sources
index 1a07e6c..fb8c852 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,3 @@
17d15e0d185a6258eed2c3806d8fc7c5 ldns-1.6.8.tar.gz
fadf8e38fbd2d3434a2c46097d9932d5 ldns-1.6.10.tar.gz
+c55b592a679672281712c457fbb41eb5 ldns-1.6.11.tar.gz
More information about the scm-commits
mailing list