[arch-commits] Commit in dnsmasq/repos (14 files)
Dave Reisner
dreisner at nymeria.archlinux.org
Wed Oct 30 15:23:36 UTC 2013
Date: Wednesday, October 30, 2013 @ 16:23:36
Author: dreisner
Revision: 198525
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
dnsmasq/repos/extra-i686/0001-Fix-check-for-local-domains-in-CNAME-case.-Fixes-d56.patch
(from rev 198523, dnsmasq/trunk/0001-Fix-check-for-local-domains-in-CNAME-case.-Fixes-d56.patch)
dnsmasq/repos/extra-i686/PKGBUILD
(from rev 198523, dnsmasq/trunk/PKGBUILD)
dnsmasq/repos/extra-i686/dnsmasq.install
(from rev 198523, dnsmasq/trunk/dnsmasq.install)
dnsmasq/repos/extra-i686/dnsmasq.service
(from rev 198523, dnsmasq/trunk/dnsmasq.service)
dnsmasq/repos/extra-x86_64/0001-Fix-check-for-local-domains-in-CNAME-case.-Fixes-d56.patch
(from rev 198524, dnsmasq/trunk/0001-Fix-check-for-local-domains-in-CNAME-case.-Fixes-d56.patch)
dnsmasq/repos/extra-x86_64/PKGBUILD
(from rev 198524, dnsmasq/trunk/PKGBUILD)
dnsmasq/repos/extra-x86_64/dnsmasq.install
(from rev 198524, dnsmasq/trunk/dnsmasq.install)
dnsmasq/repos/extra-x86_64/dnsmasq.service
(from rev 198524, dnsmasq/trunk/dnsmasq.service)
Deleted:
dnsmasq/repos/extra-i686/PKGBUILD
dnsmasq/repos/extra-i686/dnsmasq.install
dnsmasq/repos/extra-i686/dnsmasq.service
dnsmasq/repos/extra-x86_64/PKGBUILD
dnsmasq/repos/extra-x86_64/dnsmasq.install
dnsmasq/repos/extra-x86_64/dnsmasq.service
------------------------------------------------------------------------------+
/PKGBUILD | 98 ++++++++++
/dnsmasq.install | 42 ++++
/dnsmasq.service | 30 +++
extra-i686/0001-Fix-check-for-local-domains-in-CNAME-case.-Fixes-d56.patch | 49 +++++
extra-i686/PKGBUILD | 45 ----
extra-i686/dnsmasq.install | 21 --
extra-i686/dnsmasq.service | 15 -
extra-x86_64/0001-Fix-check-for-local-domains-in-CNAME-case.-Fixes-d56.patch | 49 +++++
extra-x86_64/PKGBUILD | 45 ----
extra-x86_64/dnsmasq.install | 21 --
extra-x86_64/dnsmasq.service | 15 -
11 files changed, 268 insertions(+), 162 deletions(-)
Copied: dnsmasq/repos/extra-i686/0001-Fix-check-for-local-domains-in-CNAME-case.-Fixes-d56.patch (from rev 198523, dnsmasq/trunk/0001-Fix-check-for-local-domains-in-CNAME-case.-Fixes-d56.patch)
===================================================================
--- extra-i686/0001-Fix-check-for-local-domains-in-CNAME-case.-Fixes-d56.patch (rev 0)
+++ extra-i686/0001-Fix-check-for-local-domains-in-CNAME-case.-Fixes-d56.patch 2013-10-30 15:23:36 UTC (rev 198525)
@@ -0,0 +1,49 @@
+From 7b174c250df2bc97b503fd03b9e473998676b1a6 Mon Sep 17 00:00:00 2001
+From: Simon Kelley <simon at thekelleys.org.uk>
+Date: Mon, 28 Oct 2013 13:14:03 +0000
+Subject: [PATCH] Fix check for local domains in CNAME case. Fixes
+ d56a604a9600c08d4a863527d549713c07f0186d
+
+---
+ src/cache.c | 2 +-
+ src/rfc1035.c | 4 ++--
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/cache.c b/src/cache.c
+index d99aba6..6c5f601 100644
+--- a/src/cache.c
++++ b/src/cache.c
+@@ -330,7 +330,7 @@ static int cache_scan_free(char *name, struct all_addr *addr, time_t now, unsign
+ ((flags & crecp->flags & F_TYPE) || ((crecp->flags | flags) & F_CNAME)) &&
+ hostname_isequal(cache_get_name(crecp), name))
+ {
+- if (crecp->flags & (F_HOSTS | F_DHCP))
++ if (crecp->flags & (F_HOSTS | F_DHCP | F_CONFIG))
+ return 0;
+ *up = crecp->hash_next;
+ cache_unlink(crecp);
+diff --git a/src/rfc1035.c b/src/rfc1035.c
+index fc6d09c..ff97576 100644
+--- a/src/rfc1035.c
++++ b/src/rfc1035.c
+@@ -1221,7 +1221,7 @@ int check_for_local_domain(char *name, time_t now)
+ struct naptr *naptr;
+
+ if ((crecp = cache_find_by_name(NULL, name, now, F_IPV4 | F_IPV6 | F_CNAME)) &&
+- (crecp->flags & (F_HOSTS | F_DHCP)))
++ (crecp->flags & (F_HOSTS | F_DHCP | F_CONFIG)))
+ return 1;
+
+ for (naptr = daemon->naptr; naptr; naptr = naptr->next)
+@@ -1861,7 +1861,7 @@ size_t answer_request(struct dns_header *header, char *limit, size_t qlen,
+ if (qtype == T_CNAME || qtype == T_ANY)
+ {
+ if ((crecp = cache_find_by_name(NULL, name, now, F_CNAME)) &&
+- (qtype == T_CNAME || (crecp->flags & (F_HOSTS | F_DHCP))))
++ (qtype == T_CNAME || (crecp->flags & (F_HOSTS | F_DHCP | F_CONFIG))))
+ {
+ ans = 1;
+ if (!dryrun)
+--
+1.8.4.2
+
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2013-10-30 15:23:19 UTC (rev 198524)
+++ extra-i686/PKGBUILD 2013-10-30 15:23:36 UTC (rev 198525)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Dave Reisner <dreisner at archlinux.org>
-# Contributor: Paul Mattal <paul at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=dnsmasq
-pkgver=2.67
-pkgrel=1
-pkgdesc="Lightweight, easy to configure DNS forwarder and DHCP server"
-url="http://www.thekelleys.org.uk/dnsmasq/doc.html"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('glibc' 'dbus-core')
-install=$pkgname.install
-backup=('etc/dnsmasq.conf')
-source=("http://www.thekelleys.org.uk/$pkgname/$pkgname-$pkgver.tar.xz"
- 'dnsmasq.service')
-md5sums=('3560068c6cc644a01924fa089a70bb9c'
- '7ac45726cabef4145db40d758cc7fedf')
-
-prepare() {
- cd "$pkgname-$pkgver"
-
- # link against dbus. this ugliness is needed to ensure that the
- # compile time opts report properly on startup. yuck.
- sed -i '/^#ifdef DNSMASQ_COMPILE_OPTS/ i#define HAVE_DBUS' src/config.h
-}
-
-build() {
- cd "$pkgname-$pkgver"
-
- make "CFLAGS=$CPPFLAGS $CFLAGS" "LDFLAGS=$LDFLAGS"
-}
-
-package() {
- cd "$pkgname-$pkgver"
-
- make BINDIR=/usr/bin PREFIX=/usr DESTDIR="$pkgdir" install
-
- install -Dm644 "dbus/dnsmasq.conf" "$pkgdir"/etc/dbus-1/system.d/dnsmasq.conf
- install -Dm644 "dnsmasq.conf.example" "$pkgdir"/etc/dnsmasq.conf
- install -Dm644 "$srcdir/dnsmasq.service" "$pkgdir"/usr/lib/systemd/system/dnsmasq.service
-}
-
-# vim: ts=2 sw=2 et ft=sh
Copied: dnsmasq/repos/extra-i686/PKGBUILD (from rev 198523, dnsmasq/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2013-10-30 15:23:36 UTC (rev 198525)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Paul Mattal <paul at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=dnsmasq
+pkgver=2.67
+pkgrel=2
+pkgdesc="Lightweight, easy to configure DNS forwarder and DHCP server"
+url="http://www.thekelleys.org.uk/dnsmasq/doc.html"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('glibc' 'dbus-core')
+install=$pkgname.install
+backup=('etc/dnsmasq.conf')
+source=("http://www.thekelleys.org.uk/$pkgname/$pkgname-$pkgver.tar.xz"
+ '0001-Fix-check-for-local-domains-in-CNAME-case.-Fixes-d56.patch'
+ 'dnsmasq.service')
+md5sums=('3560068c6cc644a01924fa089a70bb9c'
+ '38bcc0c2b8dbc480e58a3478cae34bf6'
+ '7ac45726cabef4145db40d758cc7fedf')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ # link against dbus. this ugliness is needed to ensure that the
+ # compile time opts report properly on startup. yuck.
+ sed -i '/^#ifdef DNSMASQ_COMPILE_OPTS/ i#define HAVE_DBUS' src/config.h
+
+ patch -Np1 <"$srcdir/0001-Fix-check-for-local-domains-in-CNAME-case.-Fixes-d56.patch"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ make "CFLAGS=$CPPFLAGS $CFLAGS" "LDFLAGS=$LDFLAGS"
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ make BINDIR=/usr/bin PREFIX=/usr DESTDIR="$pkgdir" install
+
+ install -Dm644 "dbus/dnsmasq.conf" "$pkgdir"/etc/dbus-1/system.d/dnsmasq.conf
+ install -Dm644 "dnsmasq.conf.example" "$pkgdir"/etc/dnsmasq.conf
+ install -Dm644 "$srcdir/dnsmasq.service" "$pkgdir"/usr/lib/systemd/system/dnsmasq.service
+}
+
+# vim: ts=2 sw=2 et ft=sh
Deleted: extra-i686/dnsmasq.install
===================================================================
--- extra-i686/dnsmasq.install 2013-10-30 15:23:19 UTC (rev 198524)
+++ extra-i686/dnsmasq.install 2013-10-30 15:23:36 UTC (rev 198525)
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-add_dnsmasq_user() {
- if ! getent passwd dnsmasq >/dev/null; then
- useradd -r -d / -c 'dnsmasq daemon' -s /sbin/nologin dnsmasq
- fi
-}
-
-post_install() {
- add_dnsmasq_user
-}
-
-post_upgrade() {
- add_dnsmasq_user
-}
-
-post_remove() {
- if getent passwd dnsmasq >/dev/null; then
- userdel dnsmasq
- fi
-}
Copied: dnsmasq/repos/extra-i686/dnsmasq.install (from rev 198523, dnsmasq/trunk/dnsmasq.install)
===================================================================
--- extra-i686/dnsmasq.install (rev 0)
+++ extra-i686/dnsmasq.install 2013-10-30 15:23:36 UTC (rev 198525)
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+add_dnsmasq_user() {
+ if ! getent passwd dnsmasq >/dev/null; then
+ useradd -r -d / -c 'dnsmasq daemon' -s /sbin/nologin dnsmasq
+ fi
+}
+
+post_install() {
+ add_dnsmasq_user
+}
+
+post_upgrade() {
+ add_dnsmasq_user
+}
+
+post_remove() {
+ if getent passwd dnsmasq >/dev/null; then
+ userdel dnsmasq
+ fi
+}
Deleted: extra-i686/dnsmasq.service
===================================================================
--- extra-i686/dnsmasq.service 2013-10-30 15:23:19 UTC (rev 198524)
+++ extra-i686/dnsmasq.service 2013-10-30 15:23:36 UTC (rev 198525)
@@ -1,15 +0,0 @@
-[Unit]
-Description=A lightweight DHCP and caching DNS server
-After=network.target
-Documentation=man:dnsmasq(8)
-
-[Service]
-Type=dbus
-BusName=uk.org.thekelleys.dnsmasq
-ExecStartPre=/usr/bin/dnsmasq --test
-ExecStart=/usr/bin/dnsmasq -k --enable-dbus --user=dnsmasq --pid-file
-ExecReload=/bin/kill -HUP $MAINPID
-
-[Install]
-WantedBy=multi-user.target
-Alias=dbus-uk.org.thekelleys.dnsmasq
Copied: dnsmasq/repos/extra-i686/dnsmasq.service (from rev 198523, dnsmasq/trunk/dnsmasq.service)
===================================================================
--- extra-i686/dnsmasq.service (rev 0)
+++ extra-i686/dnsmasq.service 2013-10-30 15:23:36 UTC (rev 198525)
@@ -0,0 +1,15 @@
+[Unit]
+Description=A lightweight DHCP and caching DNS server
+After=network.target
+Documentation=man:dnsmasq(8)
+
+[Service]
+Type=dbus
+BusName=uk.org.thekelleys.dnsmasq
+ExecStartPre=/usr/bin/dnsmasq --test
+ExecStart=/usr/bin/dnsmasq -k --enable-dbus --user=dnsmasq --pid-file
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target
+Alias=dbus-uk.org.thekelleys.dnsmasq
Copied: dnsmasq/repos/extra-x86_64/0001-Fix-check-for-local-domains-in-CNAME-case.-Fixes-d56.patch (from rev 198524, dnsmasq/trunk/0001-Fix-check-for-local-domains-in-CNAME-case.-Fixes-d56.patch)
===================================================================
--- extra-x86_64/0001-Fix-check-for-local-domains-in-CNAME-case.-Fixes-d56.patch (rev 0)
+++ extra-x86_64/0001-Fix-check-for-local-domains-in-CNAME-case.-Fixes-d56.patch 2013-10-30 15:23:36 UTC (rev 198525)
@@ -0,0 +1,49 @@
+From 7b174c250df2bc97b503fd03b9e473998676b1a6 Mon Sep 17 00:00:00 2001
+From: Simon Kelley <simon at thekelleys.org.uk>
+Date: Mon, 28 Oct 2013 13:14:03 +0000
+Subject: [PATCH] Fix check for local domains in CNAME case. Fixes
+ d56a604a9600c08d4a863527d549713c07f0186d
+
+---
+ src/cache.c | 2 +-
+ src/rfc1035.c | 4 ++--
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/cache.c b/src/cache.c
+index d99aba6..6c5f601 100644
+--- a/src/cache.c
++++ b/src/cache.c
+@@ -330,7 +330,7 @@ static int cache_scan_free(char *name, struct all_addr *addr, time_t now, unsign
+ ((flags & crecp->flags & F_TYPE) || ((crecp->flags | flags) & F_CNAME)) &&
+ hostname_isequal(cache_get_name(crecp), name))
+ {
+- if (crecp->flags & (F_HOSTS | F_DHCP))
++ if (crecp->flags & (F_HOSTS | F_DHCP | F_CONFIG))
+ return 0;
+ *up = crecp->hash_next;
+ cache_unlink(crecp);
+diff --git a/src/rfc1035.c b/src/rfc1035.c
+index fc6d09c..ff97576 100644
+--- a/src/rfc1035.c
++++ b/src/rfc1035.c
+@@ -1221,7 +1221,7 @@ int check_for_local_domain(char *name, time_t now)
+ struct naptr *naptr;
+
+ if ((crecp = cache_find_by_name(NULL, name, now, F_IPV4 | F_IPV6 | F_CNAME)) &&
+- (crecp->flags & (F_HOSTS | F_DHCP)))
++ (crecp->flags & (F_HOSTS | F_DHCP | F_CONFIG)))
+ return 1;
+
+ for (naptr = daemon->naptr; naptr; naptr = naptr->next)
+@@ -1861,7 +1861,7 @@ size_t answer_request(struct dns_header *header, char *limit, size_t qlen,
+ if (qtype == T_CNAME || qtype == T_ANY)
+ {
+ if ((crecp = cache_find_by_name(NULL, name, now, F_CNAME)) &&
+- (qtype == T_CNAME || (crecp->flags & (F_HOSTS | F_DHCP))))
++ (qtype == T_CNAME || (crecp->flags & (F_HOSTS | F_DHCP | F_CONFIG))))
+ {
+ ans = 1;
+ if (!dryrun)
+--
+1.8.4.2
+
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2013-10-30 15:23:19 UTC (rev 198524)
+++ extra-x86_64/PKGBUILD 2013-10-30 15:23:36 UTC (rev 198525)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Dave Reisner <dreisner at archlinux.org>
-# Contributor: Paul Mattal <paul at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=dnsmasq
-pkgver=2.67
-pkgrel=1
-pkgdesc="Lightweight, easy to configure DNS forwarder and DHCP server"
-url="http://www.thekelleys.org.uk/dnsmasq/doc.html"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('glibc' 'dbus-core')
-install=$pkgname.install
-backup=('etc/dnsmasq.conf')
-source=("http://www.thekelleys.org.uk/$pkgname/$pkgname-$pkgver.tar.xz"
- 'dnsmasq.service')
-md5sums=('3560068c6cc644a01924fa089a70bb9c'
- '7ac45726cabef4145db40d758cc7fedf')
-
-prepare() {
- cd "$pkgname-$pkgver"
-
- # link against dbus. this ugliness is needed to ensure that the
- # compile time opts report properly on startup. yuck.
- sed -i '/^#ifdef DNSMASQ_COMPILE_OPTS/ i#define HAVE_DBUS' src/config.h
-}
-
-build() {
- cd "$pkgname-$pkgver"
-
- make "CFLAGS=$CPPFLAGS $CFLAGS" "LDFLAGS=$LDFLAGS"
-}
-
-package() {
- cd "$pkgname-$pkgver"
-
- make BINDIR=/usr/bin PREFIX=/usr DESTDIR="$pkgdir" install
-
- install -Dm644 "dbus/dnsmasq.conf" "$pkgdir"/etc/dbus-1/system.d/dnsmasq.conf
- install -Dm644 "dnsmasq.conf.example" "$pkgdir"/etc/dnsmasq.conf
- install -Dm644 "$srcdir/dnsmasq.service" "$pkgdir"/usr/lib/systemd/system/dnsmasq.service
-}
-
-# vim: ts=2 sw=2 et ft=sh
Copied: dnsmasq/repos/extra-x86_64/PKGBUILD (from rev 198524, dnsmasq/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2013-10-30 15:23:36 UTC (rev 198525)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Paul Mattal <paul at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=dnsmasq
+pkgver=2.67
+pkgrel=2
+pkgdesc="Lightweight, easy to configure DNS forwarder and DHCP server"
+url="http://www.thekelleys.org.uk/dnsmasq/doc.html"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('glibc' 'dbus-core')
+install=$pkgname.install
+backup=('etc/dnsmasq.conf')
+source=("http://www.thekelleys.org.uk/$pkgname/$pkgname-$pkgver.tar.xz"
+ '0001-Fix-check-for-local-domains-in-CNAME-case.-Fixes-d56.patch'
+ 'dnsmasq.service')
+md5sums=('3560068c6cc644a01924fa089a70bb9c'
+ '38bcc0c2b8dbc480e58a3478cae34bf6'
+ '7ac45726cabef4145db40d758cc7fedf')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ # link against dbus. this ugliness is needed to ensure that the
+ # compile time opts report properly on startup. yuck.
+ sed -i '/^#ifdef DNSMASQ_COMPILE_OPTS/ i#define HAVE_DBUS' src/config.h
+
+ patch -Np1 <"$srcdir/0001-Fix-check-for-local-domains-in-CNAME-case.-Fixes-d56.patch"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ make "CFLAGS=$CPPFLAGS $CFLAGS" "LDFLAGS=$LDFLAGS"
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ make BINDIR=/usr/bin PREFIX=/usr DESTDIR="$pkgdir" install
+
+ install -Dm644 "dbus/dnsmasq.conf" "$pkgdir"/etc/dbus-1/system.d/dnsmasq.conf
+ install -Dm644 "dnsmasq.conf.example" "$pkgdir"/etc/dnsmasq.conf
+ install -Dm644 "$srcdir/dnsmasq.service" "$pkgdir"/usr/lib/systemd/system/dnsmasq.service
+}
+
+# vim: ts=2 sw=2 et ft=sh
Deleted: extra-x86_64/dnsmasq.install
===================================================================
--- extra-x86_64/dnsmasq.install 2013-10-30 15:23:19 UTC (rev 198524)
+++ extra-x86_64/dnsmasq.install 2013-10-30 15:23:36 UTC (rev 198525)
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-add_dnsmasq_user() {
- if ! getent passwd dnsmasq >/dev/null; then
- useradd -r -d / -c 'dnsmasq daemon' -s /sbin/nologin dnsmasq
- fi
-}
-
-post_install() {
- add_dnsmasq_user
-}
-
-post_upgrade() {
- add_dnsmasq_user
-}
-
-post_remove() {
- if getent passwd dnsmasq >/dev/null; then
- userdel dnsmasq
- fi
-}
Copied: dnsmasq/repos/extra-x86_64/dnsmasq.install (from rev 198524, dnsmasq/trunk/dnsmasq.install)
===================================================================
--- extra-x86_64/dnsmasq.install (rev 0)
+++ extra-x86_64/dnsmasq.install 2013-10-30 15:23:36 UTC (rev 198525)
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+add_dnsmasq_user() {
+ if ! getent passwd dnsmasq >/dev/null; then
+ useradd -r -d / -c 'dnsmasq daemon' -s /sbin/nologin dnsmasq
+ fi
+}
+
+post_install() {
+ add_dnsmasq_user
+}
+
+post_upgrade() {
+ add_dnsmasq_user
+}
+
+post_remove() {
+ if getent passwd dnsmasq >/dev/null; then
+ userdel dnsmasq
+ fi
+}
Deleted: extra-x86_64/dnsmasq.service
===================================================================
--- extra-x86_64/dnsmasq.service 2013-10-30 15:23:19 UTC (rev 198524)
+++ extra-x86_64/dnsmasq.service 2013-10-30 15:23:36 UTC (rev 198525)
@@ -1,15 +0,0 @@
-[Unit]
-Description=A lightweight DHCP and caching DNS server
-After=network.target
-Documentation=man:dnsmasq(8)
-
-[Service]
-Type=dbus
-BusName=uk.org.thekelleys.dnsmasq
-ExecStartPre=/usr/bin/dnsmasq --test
-ExecStart=/usr/bin/dnsmasq -k --enable-dbus --user=dnsmasq --pid-file
-ExecReload=/bin/kill -HUP $MAINPID
-
-[Install]
-WantedBy=multi-user.target
-Alias=dbus-uk.org.thekelleys.dnsmasq
Copied: dnsmasq/repos/extra-x86_64/dnsmasq.service (from rev 198524, dnsmasq/trunk/dnsmasq.service)
===================================================================
--- extra-x86_64/dnsmasq.service (rev 0)
+++ extra-x86_64/dnsmasq.service 2013-10-30 15:23:36 UTC (rev 198525)
@@ -0,0 +1,15 @@
+[Unit]
+Description=A lightweight DHCP and caching DNS server
+After=network.target
+Documentation=man:dnsmasq(8)
+
+[Service]
+Type=dbus
+BusName=uk.org.thekelleys.dnsmasq
+ExecStartPre=/usr/bin/dnsmasq --test
+ExecStart=/usr/bin/dnsmasq -k --enable-dbus --user=dnsmasq --pid-file
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target
+Alias=dbus-uk.org.thekelleys.dnsmasq
More information about the arch-commits
mailing list