- split knot-utils with kdig and friends
OBS-URL: https://build.opensuse.org/package/show/server:dns/knot?expand=0&rev=68
This commit is contained in:
parent
ed9bc4f5bd
commit
6a662f10cf
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 24 14:57:48 UTC 2024 - Michal Hrusecky <michal.hrusecky@opensuse.org>
|
||||||
|
|
||||||
|
- split knot-utils with kdig and friends
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 23 20:59:22 UTC 2024 - Michal Hrusecky <michal.hrusecky@opensuse.org>
|
Tue Jul 23 20:59:22 UTC 2024 - Michal Hrusecky <michal.hrusecky@opensuse.org>
|
||||||
|
|
||||||
|
27
knot.spec
27
knot.spec
@ -46,6 +46,7 @@ Source2: knot-tmp.conf
|
|||||||
Source3: https://secure.nic.cz/files/knot-dns/%{pkg_name}-%{version}.tar.xz.asc
|
Source3: https://secure.nic.cz/files/knot-dns/%{pkg_name}-%{version}.tar.xz.asc
|
||||||
Source4: system-user-knot.conf
|
Source4: system-user-knot.conf
|
||||||
Source99: knot.keyring
|
Source99: knot.keyring
|
||||||
|
Recommends: knot-utils
|
||||||
BuildRequires: libcap-ng-devel
|
BuildRequires: libcap-ng-devel
|
||||||
BuildRequires: libedit-devel
|
BuildRequires: libedit-devel
|
||||||
BuildRequires: libnghttp2-devel
|
BuildRequires: libnghttp2-devel
|
||||||
@ -103,6 +104,19 @@ removal.
|
|||||||
|
|
||||||
This package contains headers for knot.
|
This package contains headers for knot.
|
||||||
|
|
||||||
|
%package utils
|
||||||
|
#
|
||||||
|
Summary: Utilities to query and test DNS coming from Knot project
|
||||||
|
Group: Productivity/Networking/DNS/Utilities
|
||||||
|
|
||||||
|
%description utils
|
||||||
|
Knot DNS is a DNS server. It implements only the authoritative domain
|
||||||
|
name service. It uses a multi-threaded and mostly lock-free
|
||||||
|
implementation and can operate non-stop during zone addition or
|
||||||
|
removal.
|
||||||
|
|
||||||
|
This package contains tools to query and test DNS like kdig and knsupdate.
|
||||||
|
|
||||||
%package -n %{libdnssec}
|
%package -n %{libdnssec}
|
||||||
#
|
#
|
||||||
Summary: DNSSEC support functions for Knot DNS
|
Summary: DNSSEC support functions for Knot DNS
|
||||||
@ -186,7 +200,12 @@ This package contains a library for a zone record scanner.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install STRIP="/bin/true"
|
%make_install STRIP="/bin/true"
|
||||||
find %{buildroot}
|
for i in kdig khost knsec3hash knsupdate; do
|
||||||
|
find %{buildroot} -name "$i*" | sed 's|%{buildroot}||' | while read fl; do
|
||||||
|
echo "$fl*" >> utils
|
||||||
|
echo "%exclude $fl*" >> no-utils
|
||||||
|
done
|
||||||
|
done
|
||||||
install -d %{buildroot}%{_docdir}/%{pkg_name}
|
install -d %{buildroot}%{_docdir}/%{pkg_name}
|
||||||
install -d %{buildroot}%{_docdir}/%{pkg_name}/samples/
|
install -d %{buildroot}%{_docdir}/%{pkg_name}/samples/
|
||||||
rm %{buildroot}%{_sysconfdir}/%{pkg_name}/*
|
rm %{buildroot}%{_sysconfdir}/%{pkg_name}/*
|
||||||
@ -242,11 +261,11 @@ fi
|
|||||||
%postun -n %{libknot} -p /sbin/ldconfig
|
%postun -n %{libknot} -p /sbin/ldconfig
|
||||||
%postun -n %{libzscanner} -p /sbin/ldconfig
|
%postun -n %{libzscanner} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files -f no-utils
|
||||||
%dir %attr(750,knot,knot) %{_sysconfdir}/%{pkg_name}
|
%dir %attr(750,knot,knot) %{_sysconfdir}/%{pkg_name}
|
||||||
%config(noreplace) %attr(640,knot,knot) %{_sysconfdir}/%{pkg_name}/%{pkg_name}.conf
|
%config(noreplace) %attr(640,knot,knot) %{_sysconfdir}/%{pkg_name}/%{pkg_name}.conf
|
||||||
%{_sbindir}/*
|
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
%{_sbindir}/*
|
||||||
%{_mandir}/man?/*
|
%{_mandir}/man?/*
|
||||||
%doc %{_docdir}/%{pkg_name}
|
%doc %{_docdir}/%{pkg_name}
|
||||||
%if %{with systemd}
|
%if %{with systemd}
|
||||||
@ -267,6 +286,8 @@ fi
|
|||||||
%files -n %{libzscanner}
|
%files -n %{libzscanner}
|
||||||
%{_libdir}/libzscanner.so.*
|
%{_libdir}/libzscanner.so.*
|
||||||
|
|
||||||
|
%files utils -f utils
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/knot/
|
%{_includedir}/knot/
|
||||||
%{_libdir}/libdnssec.so
|
%{_libdir}/libdnssec.so
|
||||||
|
Loading…
Reference in New Issue
Block a user