Search
j0ke.net Open Build Service
>
Projects
>
server:dns
>
pdns
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
pdns.changes
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Sun Jun 27 20:24:12 UTC 2010 - cs@linux-administrator.com + +- added axfr_slavedb & fixinit patch +- allow cross distribution builds + +------------------------------------------------------------------- Wed Apr 28 10:28:51 UTC 2010 - mrueckert@suse.de - create /var/run/pdns directory in the init script and package it
[-]
[+]
Changed
pdns.spec
^
@@ -66,10 +66,12 @@ Source: %{name}-%{version}.tar.bz2 Source1: rcpdns Source2: README.opendbx -Patch: pdns-2.9.22_new_boost_exceptions.patch +Patch0: pdns-2.9.22_new_boost_exceptions.patch Patch1: pdns-2.9.22_wrong_pgsql.patch Patch2: pdns-2.9.22_warnings.patch Patch3: pdns-2.9.22_missing_includes.patch +Patch4: pdns-2.9.22-axfr_slavedb.patch +Patch5: %{name}-fixinit.patch # Summary: Modern, advanced and high performance authoritative-only nameserver @@ -263,11 +265,12 @@ %prep %setup -%patch +%patch0 %patch1 %patch2 %patch3 -#patch4 +%patch4 +%patch5 %if 0%{?with_pdns_opendbx} %{__cp} %{S:2} README.opendbx %endif @@ -358,7 +361,12 @@ %endif %{__install} -Dd -m 0755 %{buildroot}{%{home},%{_localstatedir}} %{__mv} %{buildroot}%{_sysconfdir}/%{pkg_name}/pdns.conf{-dist,} +%if 0%{?suse_version} %{__install} -D -m 0755 %{S:1} %{buildroot}/etc/init.d/%{pkg_name} +%endif +%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} +%{__install} -p -D -m 0755 pdns/pdns %{buildroot}/etc/init.d/%{pkg_name} +%endif %{__ln_s} -f ../../etc/init.d/%{pkg_name} %{buildroot}%{_sbindir}/rc%{pkg_name} %{__rm} -rfv %{buildroot}%{_libdir}/pdns/*.la @@ -370,14 +378,21 @@ /usr/sbin/useradd -o -g pdns -s /bin/false -r -c "pdns" -d %{home} pdns &>/dev/null || : %post +%if 0%{?suse_version} %{fillup_and_insserv pdns} +%endif %preun +%if 0%{?suse_version} %stop_on_removal pdns +%endif %postun +%if 0%{?suse_version} %restart_on_update pdns %insserv_cleanup +%endif + %files %defattr (-,root,root,-)
Deleted
pdns-2.9.22.tar.gz
^