Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:Test
pdns-recursor
pdns-recursor.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pdns-recursor.spec of Package pdns-recursor
# # spec file for package pdns-recursor (Version 3.1.7) # # Copyright (c) 2010 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: pdns-recursor Version: 3.1.7 Release: 6.<RELEASE10> %define pkg_version 3.1.7 # 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++ lua-devel pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %insserv_prereq %fillup_prereq pwdutils # Url: http://www.powerdns.com/ Source: http://downloads.powerdns.com/releases/%{name}-%{pkg_version}.tar.bz2 Source1: pdns-recursor.init Source2: recursor.conf Patch: %{name}-%{version}_config.patch Patch1: %{name}-%{version}-strip.patch Patch2: %{name}-%{version}_atomicity.patch # patch is under review by upstream. disabled so long Patch5: pdns-recursor-%{version}_parentheses_warning.patch Patch6: pdns-recursor-3.1.7_new_boost_exceptions.patch Patch7: pdns-recursor-3.1.7_lua.patch Patch8: pdns-recursor-3.1.7.2.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 %patch2 # patch is under review by upstream. disabled so long #patch5 %patch6 %patch7 %patch8 -p1 %build %{__make} OPTFLAGS="%{optflags} -D_GNU_SOURCE" LUA=1 %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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor