rebuilt with DBUS and DNSSEC support [release 2.79-2mamba;Wed Oct 17 2018]
This commit is contained in:
parent
2f7661c93f
commit
20a9811b11
37
dnsmasq.spec
37
dnsmasq.spec
@ -1,6 +1,6 @@
|
||||
Name: dnsmasq
|
||||
Version: 2.79
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: A lightweight DHCP/caching DNS server
|
||||
Group: System/Servers
|
||||
Vendor: openmamba
|
||||
@ -15,6 +15,10 @@ Patch2: %{name}-2.72-enable_etc_dnsmasq_d.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libbsd-devel
|
||||
BuildRequires: libdbus-devel
|
||||
BuildRequires: libgmp-devel
|
||||
BuildRequires: libnettle-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
@ -34,24 +38,28 @@ Dnsmasq supports static and dynamic DHCP leases and BOOTP/TFTP/PXE for network b
|
||||
patch -p1 < contrib/systemd/dbus_activation
|
||||
|
||||
%build
|
||||
%make
|
||||
%make LDFLAGS=" -lbsd" COPTS=" -DHAVE_DBUS -DHAVE_DNSSEC" \
|
||||
BINDIR=%{_sbindir} \
|
||||
MANDIR=%{_mandir}
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
mkdir -p %{buildroot}%{_sbindir} \
|
||||
%{buildroot}%{_mandir}/man8 \
|
||||
%{buildroot}%{_var}/lib/dnsmasq \
|
||||
%{buildroot}%{_sysconfdir}/dnsmasq.d \
|
||||
%{buildroot}%{_sysconfdir}/dbus-1/system.d
|
||||
|
||||
install src/dnsmasq %{buildroot}%{_sbindir}/dnsmasq
|
||||
install dnsmasq.conf.example %{buildroot}%{_sysconfdir}/dnsmasq.conf
|
||||
install dbus/dnsmasq.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/
|
||||
install -m 644 man/dnsmasq.8 %{buildroot}%{_mandir}/man8/
|
||||
%makeinstall install-i18n \
|
||||
LDFLAGS=" -lbsd" COPTS=" -DHAVE_DBUS -DHAVE_DNSSEC" \
|
||||
BINDIR=%{_sbindir} \
|
||||
MANDIR=%{_mandir}
|
||||
|
||||
mkdir -p %{buildroot}%{_var}/lib/dnsmasq \
|
||||
%{buildroot}%{_sysconfdir}/dnsmasq.d
|
||||
#
|
||||
#install src/dnsmasq %{buildroot}%{_sbindir}/dnsmasq
|
||||
install -D -m0644 dnsmasq.conf.example %{buildroot}%{_sysconfdir}/dnsmasq.conf
|
||||
install -D -m0644 dbus/dnsmasq.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/dnsmasq.conf
|
||||
install -D -m0644 contrib/systemd/dnsmasq.service %{buildroot}%{_unitdir}/dnsmasq.service
|
||||
|
||||
%find_lang %{name} --with-man
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
@ -72,7 +80,7 @@ if [ "$1" = "0" ]; then
|
||||
fi
|
||||
:
|
||||
|
||||
%files
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_sbindir}/dnsmasq
|
||||
%dir %{_sysconfdir}/dnsmasq.d
|
||||
@ -85,6 +93,9 @@ fi
|
||||
#%doc CHANGELOG FAQ doc.html setup.html dbus/DBus-interface
|
||||
|
||||
%changelog
|
||||
* Wed Oct 17 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.79-2mamba
|
||||
- rebuilt with DBUS and DNSSEC support
|
||||
|
||||
* Mon Mar 19 2018 Automatic Build System <autodist@mambasoft.it> 2.79-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user