%define bind_version 9.6.1 %define bind_version_short 961 Name: zkt Version: 0.99 Release: 1.c%{?dist} Summary: DNSSEC Zone Key Tool Group: Applications/Internet License: BSD URL: http://www.hznet.de/dns/zkt/ Source0: http://www.hznet.de/dns/zkt/zkt-0.99c.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: bind-utils = %{bind_version} %description ZKT is a tool to manage keys and signatures for DNSSEC-zones. The Zone Key Tool consist of two commands: * dnssec-zkt to create and list dnssec zone keys and * dnssec-signer to sign a zone and manage the lifetime of the zone signing keys Both commands are simple wrapper commands around the dnssec-keygen(8) and dnssec-signzone(8) commands provided by BIND 9.3/9.4/9.5. %prep %setup -q -n zkt-0.99c %build %configure sed -i -e 's@^.*BIND_UTIL_PATH.*$@#define BIND_UTIL_PATH "/usr/sbin/"@' config.h sed -i -e 's@^.*BIND_VERSION.*$@#define BIND_VERSION %{bind_version_short}@' config.h make %{?_smp_mflags} %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_mandir}/man8 make install INSTALL_DIR=%{buildroot}%{_bindir} make install-man mandir=%{buildroot}%{_mandir} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc CHANGELOG examples LICENSE README README.logging TODO %doc man/dnssec-signer.8.html %doc man/dnssec-signer.8.pdf %doc man/dnssec-zkt.8.html %doc man/dnssec-zkt.8.pdf %{_bindir}/dnssec-signer %{_bindir}/dnssec-zkt %{_bindir}/zkt-soaserial %{_mandir}/man8/dnssec-signer.8* %{_mandir}/man8/dnssec-zkt.8* %changelog * Fri Oct 2 2009 Jeffrey C. Ollie - 0.99-1.c - Update to 0.99c * Fri Jan 16 2009 Jeffrey C. Ollie - 0.98-1 - First version