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
|
Name: dnsmasq
|
||||||
Version: 2.79
|
Version: 2.79
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: A lightweight DHCP/caching DNS server
|
Summary: A lightweight DHCP/caching DNS server
|
||||||
Group: System/Servers
|
Group: System/Servers
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -15,6 +15,10 @@ Patch2: %{name}-2.72-enable_etc_dnsmasq_d.patch
|
|||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libbsd-devel
|
||||||
|
BuildRequires: libdbus-devel
|
||||||
|
BuildRequires: libgmp-devel
|
||||||
|
BuildRequires: libnettle-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
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
|
patch -p1 < contrib/systemd/dbus_activation
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make
|
%make LDFLAGS=" -lbsd" COPTS=" -DHAVE_DBUS -DHAVE_DNSSEC" \
|
||||||
|
BINDIR=%{_sbindir} \
|
||||||
|
MANDIR=%{_mandir}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_sbindir} \
|
%makeinstall install-i18n \
|
||||||
%{buildroot}%{_mandir}/man8 \
|
LDFLAGS=" -lbsd" COPTS=" -DHAVE_DBUS -DHAVE_DNSSEC" \
|
||||||
%{buildroot}%{_var}/lib/dnsmasq \
|
BINDIR=%{_sbindir} \
|
||||||
%{buildroot}%{_sysconfdir}/dnsmasq.d \
|
MANDIR=%{_mandir}
|
||||||
%{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/
|
|
||||||
|
|
||||||
|
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
|
install -D -m0644 contrib/systemd/dnsmasq.service %{buildroot}%{_unitdir}/dnsmasq.service
|
||||||
|
|
||||||
|
%find_lang %{name} --with-man
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
@ -72,7 +80,7 @@ if [ "$1" = "0" ]; then
|
|||||||
fi
|
fi
|
||||||
:
|
:
|
||||||
|
|
||||||
%files
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sbindir}/dnsmasq
|
%{_sbindir}/dnsmasq
|
||||||
%dir %{_sysconfdir}/dnsmasq.d
|
%dir %{_sysconfdir}/dnsmasq.d
|
||||||
@ -85,6 +93,9 @@ fi
|
|||||||
#%doc CHANGELOG FAQ doc.html setup.html dbus/DBus-interface
|
#%doc CHANGELOG FAQ doc.html setup.html dbus/DBus-interface
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Mar 19 2018 Automatic Build System <autodist@mambasoft.it> 2.79-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user