###############################################################################
name = pdns
-version = 3.1
+version = 3.3.1
release = 2
groups = Networking/DNS
chrpath
gcc-c++
lua-devel
+ polarssl-devel
shadow-utils
sqlite-devel
zlib-devel
configure_options += \
--sysconfdir=%{sysconfdir}/pdns \
--libdir=%{libdir}/powerdns \
+ --with-system-polarssl \
--with-modules="" \
--with-dynmodules="pipe geo gsqlite3" \
--with-lua \
+ --enable-tools \
--disable-static
prepare_cmds
# Install default configuration.
install -m 0644 %{DIR_SOURCE}/pdns.conf \
%{BUILDROOT}%{sysconfdir}/pdns/pdns.conf
+ rm -vf %{BUILDROOT}%{sysconfdir}/pdns/pdns.conf-dist
# Create empty database file.
touch %{BUILDROOT}%{sharedstatedir}/pdns/pdns.db
shadow-utils
sqlite
end
-
+
configfiles
- /etc/pdns/pdns.conf
+ %{sysconfdir}/pdns/pdns.conf
+ end
+
+ datafiles
+ %{sharedstatedir}/pdns/pdns.db
end
script prein