Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
dns
>
ndjbdns
> ndjbdns.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File ndjbdns.spec of Package ndjbdns (Revision 2)
Currently displaying revision
2
,
show latest
%global _hardened_build 1 Name: ndjbdns Version: 1.06 Release: 1%{?dist} Summary: New djbdns: usable djbdns Group: Applications/System License: GPLv2+ URL: http://pjp.dgplug.org/djbdns/ Source0: http://pjp.dgplug.org/djbdns/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: make automake gcc gcc-c++ autoconf openssl-devel %description New djbdns: is a usable fork of djbdns. `djbdns' is a Domain Name System originally written by the eminent author of Qmail, Dr D. J. Bernstein. This *new* version of djbdns is a complete makeover to the original source(djbdns-1.05) and is meant to make life a lot more pleasant. The notable changes so far are in the set-up & configuration steps and integration with the systemd(1) framework. This new release is free from the clutches of `daemon-tools'. The original source is in public-domain since late Dec 2007(see: http://cr.yp.to/distributors.html); %prep %setup -q %{name} %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/ mv ndjbdns.logrotate $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/ndjbdns %clean rm -rf $RPM_BUILD_ROOT # remove old files from earlier installation, because these files # are moved to `../sbin/' and `../man8/' directories. # [ -f %{_bindir}/axfrdns ] && rm %{_bindir}/axfrdns [ -f %{_bindir}/dnscache ] && rm %{_bindir}/dnscache [ -f %{_bindir}/rbldns ] && rm %{_bindir}/rbldns [ -f %{_bindir}/tinydns ] && rm %{_bindir}/tinydns [ -f %{_bindir}/walldns ] && rm %{_bindir}/walldns [ -f %{_mandir}/man1/axfrdns.1.gz ] && rm %{_mandir}/man1/axfrdns.1.gz [ -f %{_mandir}/man1/dnscache.1.gz ] && rm %{_mandir}/man1/dnscache.1.gz [ -f %{_mandir}/man1/rbldns.1.gz ] && rm %{_mandir}/man1/rbldns.1.gz [ -f %{_mandir}/man1/tinydns.1.gz ] && rm %{_mandir}/man1/tinydns.1.gz [ -f %{_mandir}/man1/walldns.1.gz ] && rm %{_mandir}/man1/walldns.1.gz %post /sbin/chkconfig --add axfrdns /sbin/chkconfig --add dnscache /sbin/chkconfig --add rbldns /sbin/chkconfig --add tinydns /sbin/chkconfig --add walldns %preun if [ "$1" = 0 ]; then /sbin/service axfrdns stop > /dev/null 2>&1 || : /sbin/chkconfig --del axfrdns /sbin/service dnscache stop > /dev/null 2>&1 || : /sbin/chkconfig --del dnscache /sbin/service rbldns stop > /dev/null 2>&1 || : /sbin/chkconfig --del rbldns /sbin/service tinydns stop > /dev/null 2>&1 || : /sbin/chkconfig --del tinydns /sbin/service walldns stop > /dev/null 2>&1 || : /sbin/chkconfig --del walldns fi %postun if [ "$1" -ge "1" ]; then /sbin/service axfrdns restart > /dev/null 2>&1 || : /sbin/service dnscache restart > /dev/null 2>&1 || : /sbin/service rbldns restart > /dev/null 2>&1 || : /sbin/service tinydns restart > /dev/null 2>&1 || : /sbin/service walldns restart > /dev/null 2>&1 || : fi %endif %files %doc README COPYING ChangeLog %{_sbindir}/axfrdns %{_sbindir}/dnscache %{_sbindir}/rbldns %{_sbindir}/tinydns %{_sbindir}/walldns %{_bindir}/axfr-get %{_bindir}/dnsfilter %{_bindir}/dnsip %{_bindir}/dnsipq %{_bindir}/dnsname %{_bindir}/dnsq %{_bindir}/dnsqr %{_bindir}/dnstrace %{_bindir}/dnstracesort %{_bindir}/dnstxt %{_bindir}/randomip %{_bindir}/rbldns-data %{_bindir}/tcprules %{_bindir}/tinydns-data %{_bindir}/tinydns-edit %{_bindir}/tinydns-get %if 0%{?fedora} || 0%{?rhel} >= 7 %{_unitdir}/axfrdns.socket %{_unitdir}/axfrdns@.service %{_unitdir}/dnscache.service %{_unitdir}/rbldns.service %{_unitdir}/tinydns.service %{_unitdir}/walldns.service %else %{_initrddir}/dnscache %{_initrddir}/rbldns %{_initrddir}/tinydns %{_initrddir}/walldns %config(noreplace) %{_sysconfdir}/xinetd.d/axfrdns %config(noreplace) %{_sysconfdir}/logrotate.d/ndjbdns %endif %config(noreplace) %{_sysconfdir}/%{name}/ip/127.0.0.1 %config(noreplace) %{_sysconfdir}/%{name}/servers/roots %config(noreplace) %{_sysconfdir}/%{name}/axfrdns.conf %config(noreplace) %{_sysconfdir}/%{name}/dnscache.conf %config(noreplace) %{_sysconfdir}/%{name}/rbldns.conf %config(noreplace) %{_sysconfdir}/%{name}/tinydns.conf %config(noreplace) %{_sysconfdir}/%{name}/walldns.conf %{_mandir}/man1/axfr-get.1.gz %{_mandir}/man1/djbdns.1.gz %{_mandir}/man1/dnsfilter.1.gz %{_mandir}/man1/dnsip.1.gz %{_mandir}/man1/dnsipq.1.gz %{_mandir}/man1/dnsname.1.gz %{_mandir}/man1/dnsq.1.gz %{_mandir}/man1/dnsqr.1.gz %{_mandir}/man1/dnstrace.1.gz %{_mandir}/man1/dnstxt.1.gz %{_mandir}/man1/rbldns-data.1.gz %{_mandir}/man1/randomip.1.gz %{_mandir}/man1/tcprules.1.gz %{_mandir}/man1/tinydns-data.1.gz %{_mandir}/man1/tinydns-edit.1.gz %{_mandir}/man1/tinydns-get.1.gz %{_mandir}/man8/axfrdns.8.gz %{_mandir}/man8/dnscache.8.gz %{_mandir}/man8/rbldns.8.gz %{_mandir}/man8/tinydns.8.gz %{_mandir}/man8/walldns.8.gz %changelog * Tue Apr 15 2014 pjp <pj.pandit@yahoo.co.in> - 1.06-1 - Merged the one-second.patch. - Merged the dnscache-siphash.patch. - Fixed a segmentation fault in tcprules. - Fixed a time zone glitch to account for Daylight saving time. * Sat Dec 14 2013 pjp <pj.pandit@yahoo.co.in> - 1.05.9-1 - Introduced support for DNS block list in dnscache(8). - Improved root server's log structure, added timestamps etc. - Changed tinydns(8) server to read data ones at the beginning and later when signaled via SIGUSR1. - Added xinetd(8) & Systemd(1) configurations for axfrdns(8). * Tue Aug 27 2013 pjp <pj.pandit@yahoo.co.in> - 1.05.8-1 - Updated resolver logs to add timestamps and structure. - Added new IP to the root server list, and removed one. - Updated resolver to make ANY queries over TCP. - Added 'After=network.target' to the Systemd unit files. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sun Feb 24 2013 pjp <pj.pandit@yahoo.co.in> - 1.05.7-1 - Build & install walldns server. - Removed install commands for systemd unit files. - Merge patch to bind servers to multiple IP addresses. - Patch to respond to original destination address BZ#917580. - Update to correctly read servers/mydomain.dom files BZ#913651. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Jan 14 2013 pjp <pj.pandit@yahoo.co.in> - 1.05.6-1 - Updated SysV scripts according to the packaging guidelines. - Disabled system services by default, registerd all. patch from: Simone Caronni <negativo17@gmail.com> - Built rbldns & rbldns-data tools. - Added systemd unit and Sys-v init files for rbldns server. - Few minor changes to fix regressions, define uint32 type etc. * Sun Dec 23 2012 pjp <pj.pandit@yahoo.co.in> - 1.05.5-1 - Applied patch to make SOA responses cache-able. - Applied patch to merge identical outgoing requests. - Applied patch to install Sys-V init scripts for RHEL and systemd unit files for latest fedora and RHEL-7 distributions. patch from: Simone Caronni <negativo17@gmail.com> * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Mar 13 2012 pjp <pj.pandit@yahoo.co.in> - 1.05.4-9 - added logrotate configuration file /etc/logrotate.d/ndjbdns and a systemd service unit file: axfrdns.service. * Mon Mar 12 2012 pjp <pj.pandit@yahoo.co.in> - 1.05.4-8 - listed individual files under _bindir and _mandir. Removed wild card: *. * Sun Mar 11 2012 pjp <pj.pandit@yahoo.co.in> - 1.05.4-7 - added user manual for commands. Removed couple of commands. * Fri Mar 2 2012 pjp <pj.pandit@yahoo.co.in> - 1.05.4-6 - renamed /etc/djbdns to /etc/ndjbdns; removed the clean section above. * Tue Feb 28 2012 pjp <pj.pandit@yahoo.co.in> - 1.05.4-5 - removed SysV init scripts, replaced ./configure with the configure macro. * Fri Feb 24 2012 pjp <pj.pandit@yahoo.co.in> - 1.05.4-4 - added systemd service unit files. Patch from Jose - jmalv04. * Tue Jul 26 2011 pjp <pj.pandit@yahoo.co.in> - 1.05.4-3 - name changed to ndjbdns: New djbdns. * Thu Apr 7 2011 pjp <pj.pandit@yahoo.co.in> - 1.05.4-2 - renamed default root server list from servers/@ to servers/roots. * Thu Jan 6 2011 pjp <pj.pandit@yahoo.co.in> - 1.05.4-1 - init service script djbdns renamed to dnscached. and added a new service tinydnsd for DNS server. * Wed Aug 19 2009 pjp <pj.pandit@yahoo.co.in> - 1.05.3-2 - Changes made to the build, install & files sections above, as indicated in the package review: https://bugzilla.redhat.com/show_bug.cgi?id=480724 * Sun Aug 16 2009 pjp <pj.pandit@yahoo.co.in> - 1.05.3-1 - A new release djbdns-1.05.3 of djbdns, includes tinydns and few more tools. * Tue Mar 17 2009 pjp <pj.pandit@yahoo.co.in> - 1.05.2-1 - It's release 1 of new version 1.05.2 of djbdns. * Fri Mar 6 2009 pjp <pj.pandit@yahoo.co.in> - 1.05.1-2 - changed README and the spec file to include reference to DJBs public-domain announcement at: http://cr.yp.to/distributors.html * Thu Mar 5 2009 pjp <pj.pandit@yahoo.co.in> - 1.05.1-1 - Initial RPM release of djbdns-1.05.1