dnsmasq: update to 2.73.
This commit is contained in:
parent
59e386bb0a
commit
b0ca2c0e5b
2 changed files with 4 additions and 22 deletions
|
@ -1,13 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=A lightweight DHCP and caching DNS server
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=dbus
|
|
||||||
BusName=uk.org.thekelleys.dnsmasq
|
|
||||||
ExecStartPre=/usr/sbin/dnsmasq --test
|
|
||||||
ExecStart=/usr/sbin/dnsmasq -k --enable-dbus --user=dnsmasq --pid-file
|
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
Alias=dbus-uk.org.thekelleys.dnsmasq
|
|
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'dnsmasq'
|
# Template file for 'dnsmasq'
|
||||||
pkgname=dnsmasq
|
pkgname=dnsmasq
|
||||||
version=2.72
|
version=2.73
|
||||||
revision=5
|
revision=1
|
||||||
|
build_pie=yes
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="dbus-devel libcap-devel libidn-devel"
|
makedepends="dbus-devel libcap-devel libidn-devel"
|
||||||
conf_files="/etc/dnsmasq.conf"
|
conf_files="/etc/dnsmasq.conf"
|
||||||
build_options="systemd"
|
|
||||||
system_accounts="dnsmasq"
|
system_accounts="dnsmasq"
|
||||||
dnsmasq_homedir="/var/chroot"
|
dnsmasq_homedir="/var/chroot"
|
||||||
short_desc="Lightweight, easy to configure DNS forwarder and DHCP server"
|
short_desc="Lightweight, easy to configure DNS forwarder and DHCP server"
|
||||||
|
@ -13,8 +13,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://www.thekelleys.org.uk/dnsmasq/doc.html"
|
homepage="http://www.thekelleys.org.uk/dnsmasq/doc.html"
|
||||||
distfiles="http://www.thekelleys.org.uk/$pkgname/$pkgname-$version.tar.gz"
|
distfiles="http://www.thekelleys.org.uk/$pkgname/$pkgname-$version.tar.gz"
|
||||||
checksum=635f1b47417d17cf32e45cfcfd0213ac39fd09918479a25373ba9b2ce4adc05d
|
checksum=9f350f74ae2c7990b1c7c6c8591d274c37b674aa987f54dfee7ca856fae0d02d
|
||||||
build_pie=yes
|
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
echo '#define HAVE_DBUS' >> src/config.h
|
echo '#define HAVE_DBUS' >> src/config.h
|
||||||
|
@ -26,8 +25,4 @@ do_install() {
|
||||||
vsv dnsmasq
|
vsv dnsmasq
|
||||||
vconf dnsmasq.conf.example dnsmasq.conf
|
vconf dnsmasq.conf.example dnsmasq.conf
|
||||||
vinstall dbus/dnsmasq.conf 644 etc/dbus-1/system.d
|
vinstall dbus/dnsmasq.conf 644 etc/dbus-1/system.d
|
||||||
|
|
||||||
if [ "$build_option_systemd" ]; then
|
|
||||||
vinstall ${FILESDIR}/dnsmasq.service 644 usr/lib/systemd/system
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue