Update 3.4.1
This commit is contained in:
parent
afd42ee59a
commit
aafe992429
|
@ -13,3 +13,4 @@ pdns-2.9.22.tar.gz
|
|||
/pdns-3.4.0-rc1.tar.bz2
|
||||
/pdns-3.4.0-rc2.tar.bz2
|
||||
/pdns-3.4.0.tar.bz2
|
||||
/pdns-3.4.1.tar.bz2
|
||||
|
|
19
pdns.spec
19
pdns.spec
|
@ -2,7 +2,7 @@
|
|||
%global backends %{nil}
|
||||
|
||||
Name: pdns
|
||||
Version: 3.4.0
|
||||
Version: 3.4.1
|
||||
Release: 1%{?dist}
|
||||
Summary: A modern, advanced and high performance authoritative-only nameserver
|
||||
Group: System Environment/Daemons
|
||||
|
@ -73,7 +73,6 @@ This package contains the pipe backend for %{name}
|
|||
Summary: Remote backend for %{name}
|
||||
Group: System Environment/Daemons
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
BuildRequires: libcurl-devel
|
||||
%global backends %{backends} remote
|
||||
|
||||
%description backend-remote
|
||||
|
@ -125,17 +124,20 @@ This package contains the SQLite backend for %{name}
|
|||
%patch1 -p1 -b .systemd-patch
|
||||
|
||||
%build
|
||||
export CPPFLAGS="-DLDAP_DEPRECATED"
|
||||
export CPPFLAGS="-DLDAP_DEPRECATED -DPACKAGEVERSION='\"%{version}-%{release}.fedora\"'"
|
||||
|
||||
%configure \
|
||||
--sysconfdir=%{_sysconfdir}/%{name} \
|
||||
--disable-static \
|
||||
--disable-dependency-tracking \
|
||||
--disable-silent-rules \
|
||||
--with-modules='' \
|
||||
--with-system-polarssl \
|
||||
--with-lua \
|
||||
--with-dynmodules='%{backends}' \
|
||||
--enable-cryptopp \
|
||||
--enable-tools
|
||||
--enable-tools \
|
||||
--enable-unit-tests
|
||||
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
|
@ -155,6 +157,9 @@ chmod 600 %{buildroot}%{_sysconfdir}/%{name}/pdns.conf
|
|||
# install systemd unit file
|
||||
%{__install} -D -p -m 644 contrib/systemd-pdns.service %{buildroot}%{_unitdir}/%{name}.service
|
||||
|
||||
%check
|
||||
make -C pdns check
|
||||
|
||||
%pre
|
||||
getent group pdns >/dev/null || groupadd -r pdns
|
||||
getent passwd pdns >/dev/null || \
|
||||
|
@ -252,6 +257,12 @@ exit 0
|
|||
%{_libdir}/%{name}/libgsqlite3backend.so
|
||||
|
||||
%changelog
|
||||
* Mon Nov 03 2014 Morten Stevens <mstevens@imt-systems.com> - 3.4.1-1
|
||||
- Update to 3.4.1
|
||||
- Enable security status polling
|
||||
- Remove unused build dependency
|
||||
- Run the unit tests during check
|
||||
|
||||
* Tue Sep 30 2014 Morten Stevens <mstevens@imt-systems.com> - 3.4.0-1
|
||||
- Update to 3.4.0
|
||||
|
||||
|
|
Loading…
Reference in New Issue