76bd0dae |
Summary: DNS proxy with integrated DHCP server
Name: dnsmasq |
09aa2ead |
Version: 2.79
Release: 1%{?dist} |
76bd0dae |
License: GPLv2 or GPLv3
Group: System Environment/Daemons
URL: http://www.thekelleys.org.uk/dnsmasq/
Source: %{name}-%{version}.tar.xz |
09aa2ead |
%define sha1 dnsmasq=d4a1af08b02b27736954ce8b2db2da7799d75812 |
76bd0dae |
Vendor: VMware, Inc.
Distribution: Photon |
2cf6992c |
%description
Dnsmasq a lightweight, caching DNS proxy with integrated DHCP server.
%prep
%setup -q
%build |
fa40e2b8 |
make %{?_smp_mflags} |
2cf6992c |
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_sbindir}
mkdir -p %{buildroot}%{_mandir}/man8
mkdir -p %{buildroot}%{_mandir}/man1
mkdir -p %{buildroot}%{_sharedstatedir}/dnsmasq
mkdir -p %{buildroot}%{_sysconfdir}/dnsmasq.d
mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d
mkdir -p %{buildroot}%{_bindir}
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/
install -D trust-anchors.conf %{buildroot}%{_datadir}/%{name}/trust-anchors.conf
|
fa40e2b8 |
install -m 755 contrib/wrt/lease_update.sh %{buildroot}%{_sbindir}/lease_update.sh |
2cf6992c |
mkdir -p %{buildroot}/usr/lib/systemd/system
cat << EOF >> %{buildroot}/usr/lib/systemd/system/dnsmasq.service
[Unit]
Description=A lightweight, caching DNS proxy
After=network.target
[Service]
ExecStart=/usr/sbin/dnsmasq -k |
64583d70 |
Restart=always |
2cf6992c |
[Install]
WantedBy=multi-user.target
EOF
%post
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_libdir}/systemd/*
%exclude %{_libdir}/debug
%{_sbindir}/*
%{_mandir}/*
%{_sysconfdir}/*
%dir %{_sharedstatedir}
%config /usr/share/dnsmasq/trust-anchors.conf
%changelog |
09aa2ead |
* Mon Sep 10 2018 Ajay Kaher <akaher@vmware.com> 2.79-1
- Upgrading to version 2.79 |
76bd0dae |
* Tue Feb 13 2018 Xiaolin Li <xiaolinl@vmware.com> 2.76-5
- Fix CVE-2017-15107 |
64583d70 |
* Mon Nov 13 2017 Vinay Kulkarni <kulkarniv@vmware.com> 2.76-4
- Always restart dnsmasq service on exit |
1b509e01 |
* Wed Oct 11 2017 Alexey Makhalov <amakhalov@vmware.com> 2.76-3
- Fix CVE-2017-13704 |
780aa0e0 |
* Wed Sep 27 2017 Alexey Makhalov <amakhalov@vmware.com> 2.76-2
- Fix CVE-2017-14491..CVE-2017-14496 |
fa40e2b8 |
* Sun Nov 27 2016 Vinay Kulkarni <kulkarniv@vmware.com> 2.76-1
- Upgrade to 2.76 to address CVE-2015-8899
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.75-2
- GA - Bump release of all rpms
* Mon Apr 18 2016 Xiaolin Li <xiaolinl@vmware.com> 2.75-1
- Initial version |