Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
pdns-recursor-unstable
> pdns-recursor.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File pdns-recursor.spec of Package pdns-recursor-unstable
# # spec file for package pdns-recursor (Version 3.1.4) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: pdns-recursor Version: 3.1.5 Release: 88 %define pkg_version 3.1.5 # Group: Productivity/Networking/DNS/Servers License: GPL v2 or later # %define home %{_var}/lib/pdns %define _localstatedir %{_var}/run/pdns BuildRequires: boost-devel gcc-c++ BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %insserv_prereq %fillup_prereq /usr/sbin/useradd /usr/sbin/groupadd # Url: http://www.powerdns.com/ Source: http://downloads.powerdns.com/releases/%{name}-%{pkg_version}.tar.bz2 Source1: pdns-recursor.init Source2: recursor.conf Patch: pdns-recursor-%{version}_config.patch Patch1: pdns-recursor-%{version}-strip.patch Patch3: pdns-recursor-%{version}_atomicity.patch # Summary: Modern, advanced and high performance recursing/non authoritative nameserver %description PowerDNS Recursor is a non authoritative/recursing DNS server. Use this package if you need a dns cache for your network. Authors: -------- http://www.powerdns.com %prep %setup -n %{name}-%{pkg_version} %patch %patch1 %patch3 %build %{__make} OPTFLAGS="%{optflags} -D_GNU_SOURCE" %install %{__install} -Dd -m 0755 %{buildroot}{%{home},%{_localstatedir}} %makeinstall CONFIGDIR="%{_sysconfdir}/pdns" BINDIR="%{_sbindir}" %{__install} -D -m 0644 %{S:2} %{buildroot}%{_sysconfdir}/pdns/recursor.conf %{__install} -D -m 0755 %{S:1} %{buildroot}%{_sysconfdir}/init.d/%{name} %{__ln_s} -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name} %clean %{__rm} -rf %{buildroot} %pre /usr/sbin/groupadd -r pdns &>/dev/null || : /usr/sbin/useradd -o -g pdns -s /bin/false -r -c "pdns" -d %{home} pdns &>/dev/null || : %post %{fillup_and_insserv pdns-recursor} %preun %stop_on_removal pdns-recursor %postun %restart_on_update pdns-recursor %insserv_cleanup %files %defattr (-,root,root,-) %dir %{_sysconfdir}/pdns/ %config(noreplace) %{_sysconfdir}/pdns/recursor.conf %config %{_sysconfdir}/pdns/recursor.conf-dist %{_sysconfdir}/init.d/%{name} %{_sbindir}/rcpdns-recursor %{_sbindir}/pdns_recursor %{_sbindir}/rec_control %{_mandir}/man1/pdns_recursor.1* %{_mandir}/man1/rec_control.1* %doc README COPYING rrd/ %dir %{home} %dir %{_localstatedir} %changelog * Mon Mar 31 2008 Carsten Schoene <cs@linux-administrator.com> - build 3.1.5 * Sun Mar 28 2008 Carsten Schoene <cs@linux-administrator.com> - build 3.1.5-rc1 - removed/adapted some patches to new version * Sun Oct 28 2007 - mrueckert@suse.de - added pdns-recursor-3.1.4_gcc43.patch: fix all warnings in pdns-recursor. (patch is upstream) * Wed Jul 25 2007 - mrueckert@suse.de - added pdns-recursor-3.1.4_r965.patch: fix building on 10.0 * Wed Feb 28 2007 - mrueckert@suse.de - added pdns-recursor-3.1.4_atomicity.patch: The optimized code in recursor_cache.cc is included in gcc 4.2. Proper #if to use it only with older gcc. - added pdns-recursor-3.1.4_char_casting.patch Don't cast string constants to char*. * Tue Nov 14 2006 - mrueckert@suse.de - update to version 3.1.4 This release contains two important security fixes, which should also solve the very rare reports of stability problems. Additionally, a new class of misconfigured domains will now always be resolved correctly, instead of intermittently. - removed patches applied upstream: pdns-recursor-3.1.3_2006-02.patch pdns-recursor-3.1.3_cve-2006-4251.patch pdns-recursor-3.1.3_implicit_declarations.patch * Mon Nov 13 2006 - mrueckert@suse.de - added pdns-recursor-3.1.3_2006-02.patch: fix an endless recursion in CNAME handling [#219355] * Sat Nov 11 2006 - mrueckert@suse.de - added pdns-recursor-3.1.3_cve-2006-4251.patch: fix a stack corruption with malformed packages [#219355] - added pdns-recursor-3.1.3_implicit_declarations.patch: fix an implicit declaration warning from gcc http://wiki.powerdns.com/cgi-bin/trac.fcgi/changeset/920 * Mon Nov 06 2006 - schwab@suse.de - Don't strip binaries. * Mon Oct 23 2006 - mrueckert@suse.de - initial package of version 3.1.3