[arch-commits] Commit in dnsmasq/repos (8 files)

2017-10-02 Thread Christian Hesse
Date: Monday, October 2, 2017 @ 13:53:25
  Author: eworm
Revision: 306562

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  dnsmasq/repos/testing-i686/
  dnsmasq/repos/testing-i686/PKGBUILD
(from rev 306561, dnsmasq/trunk/PKGBUILD)
  dnsmasq/repos/testing-i686/dnsmasq-sysusers.conf
(from rev 306561, dnsmasq/trunk/dnsmasq-sysusers.conf)
  dnsmasq/repos/testing-i686/dnsmasq.service
(from rev 306561, dnsmasq/trunk/dnsmasq.service)
  dnsmasq/repos/testing-x86_64/
  dnsmasq/repos/testing-x86_64/PKGBUILD
(from rev 306561, dnsmasq/trunk/PKGBUILD)
  dnsmasq/repos/testing-x86_64/dnsmasq-sysusers.conf
(from rev 306561, dnsmasq/trunk/dnsmasq-sysusers.conf)
  dnsmasq/repos/testing-x86_64/dnsmasq.service
(from rev 306561, dnsmasq/trunk/dnsmasq.service)

--+
 testing-i686/PKGBUILD|   56 +
 testing-i686/dnsmasq-sysusers.conf   |1 
 testing-i686/dnsmasq.service |   14 
 testing-x86_64/PKGBUILD  |   56 +
 testing-x86_64/dnsmasq-sysusers.conf |1 
 testing-x86_64/dnsmasq.service   |   14 
 6 files changed, 142 insertions(+)

Copied: dnsmasq/repos/testing-i686/PKGBUILD (from rev 306561, 
dnsmasq/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2017-10-02 13:53:25 UTC (rev 306562)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Christian Hesse 
+# Maintainer: Dave Reisner 
+# Contributor: Paul Mattal 
+# Contributor: Tom Newsom 
+
+pkgname=dnsmasq
+pkgver=2.78
+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' 'gmp' 'libidn' 'libdbus' 'libnetfilter_conntrack' 'nettle')
+backup=('etc/dnsmasq.conf')
+validpgpkeys=('D6EACBD6EE46B834248D111215CDDA6AE19135A2') # Simon Kelley 

+source=("http://www.thekelleys.org.uk/$pkgname/$pkgname-$pkgver.tar.xz"{,.asc}
+'dnsmasq-sysusers.conf'
+'dnsmasq.service')
+sha256sums=('89949f438c74b0c7543f06689c319484bd126cc4b1f8c745c742ab397681252b'
+'SKIP'
+'7f6ff6a709038ae580758f4b6a754451d7f7ce22957b88a36b97f7b643d3c2ab'
+'983a3c7a68ce114cf7b44f0d9c59b74c266647a9e5ac34c1d1d5161610bc57fe')
+
+_build_copts="-DHAVE_DNSSEC -DHAVE_DBUS -DHAVE_IDN -DHAVE_CONNTRACK"
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  make \
+CFLAGS="$CPPFLAGS $CFLAGS" \
+LDFLAGS="$LDFLAGS" \
+COPTS="$_build_copts" \
+all-i18n
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  # need to pass COPTS here to avoid rebuilding the binary.
+  make \
+COPTS="$_build_copts" \
+BINDIR=/usr/bin PREFIX=/usr DESTDIR="$pkgdir" \
+install install-i18n
+
+  install -Dm644 "dbus/dnsmasq.conf" 
"$pkgdir"/usr/share/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
+  install -Dm644 "$srcdir/dnsmasq-sysusers.conf" 
"$pkgdir"/usr/lib/sysusers.d/dnsmasq.conf
+
+  # DNSSEC setup
+  sed -i 's,%%PREFIX%%,/usr,' "$pkgdir"/etc/dnsmasq.conf
+  install -Dm644 "trust-anchors.conf" 
"$pkgdir"/usr/share/dnsmasq/trust-anchors.conf
+}
+
+# vim: ts=2 sw=2 et ft=sh

Copied: dnsmasq/repos/testing-i686/dnsmasq-sysusers.conf (from rev 306561, 
dnsmasq/trunk/dnsmasq-sysusers.conf)
===
--- testing-i686/dnsmasq-sysusers.conf  (rev 0)
+++ testing-i686/dnsmasq-sysusers.conf  2017-10-02 13:53:25 UTC (rev 306562)
@@ -0,0 +1 @@
+u dnsmasq - "dnsmasq daemon" /

Copied: dnsmasq/repos/testing-i686/dnsmasq.service (from rev 306561, 
dnsmasq/trunk/dnsmasq.service)
===
--- testing-i686/dnsmasq.service(rev 0)
+++ testing-i686/dnsmasq.service2017-10-02 13:53:25 UTC (rev 306562)
@@ -0,0 +1,14 @@
+[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

Copied: dnsmasq/repos/testing-x86_64/PKGBUILD (from rev 306561, 
dnsmasq/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-10-02 13:53:25 UTC (rev 306562)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Christian Hesse 
+# 

[arch-commits] Commit in dnsmasq/repos (8 files)

2017-08-22 Thread Christian Hesse
Date: Tuesday, August 22, 2017 @ 14:25:43
  Author: eworm
Revision: 303256

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  dnsmasq/repos/testing-i686/
  dnsmasq/repos/testing-i686/PKGBUILD
(from rev 303255, dnsmasq/trunk/PKGBUILD)
  dnsmasq/repos/testing-i686/dnsmasq-sysusers.conf
(from rev 303255, dnsmasq/trunk/dnsmasq-sysusers.conf)
  dnsmasq/repos/testing-i686/dnsmasq.service
(from rev 303255, dnsmasq/trunk/dnsmasq.service)
  dnsmasq/repos/testing-x86_64/
  dnsmasq/repos/testing-x86_64/PKGBUILD
(from rev 303255, dnsmasq/trunk/PKGBUILD)
  dnsmasq/repos/testing-x86_64/dnsmasq-sysusers.conf
(from rev 303255, dnsmasq/trunk/dnsmasq-sysusers.conf)
  dnsmasq/repos/testing-x86_64/dnsmasq.service
(from rev 303255, dnsmasq/trunk/dnsmasq.service)

--+
 testing-i686/PKGBUILD|   55 +
 testing-i686/dnsmasq-sysusers.conf   |1 
 testing-i686/dnsmasq.service |   14 
 testing-x86_64/PKGBUILD  |   55 +
 testing-x86_64/dnsmasq-sysusers.conf |1 
 testing-x86_64/dnsmasq.service   |   14 
 6 files changed, 140 insertions(+)

Copied: dnsmasq/repos/testing-i686/PKGBUILD (from rev 303255, 
dnsmasq/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2017-08-22 14:25:43 UTC (rev 303256)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Dave Reisner 
+# Contributor: Paul Mattal 
+# Contributor: Tom Newsom 
+
+pkgname=dnsmasq
+pkgver=2.77
+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' 'gmp' 'libidn' 'libdbus' 'libnetfilter_conntrack' 'nettle')
+backup=('etc/dnsmasq.conf')
+validpgpkeys=('D6EACBD6EE46B834248D111215CDDA6AE19135A2') # Simon Kelley 

+source=("http://www.thekelleys.org.uk/$pkgname/$pkgname-$pkgver.tar.xz"{,.asc}
+'dnsmasq-sysusers.conf'
+'dnsmasq.service')
+sha256sums=('6eac3b1c50ae25170e3ff8c96ddb55236cf45007633fdb8a35b1f3e02f5f8b8a'
+'SKIP'
+'7f6ff6a709038ae580758f4b6a754451d7f7ce22957b88a36b97f7b643d3c2ab'
+'983a3c7a68ce114cf7b44f0d9c59b74c266647a9e5ac34c1d1d5161610bc57fe')
+
+_build_copts="-DHAVE_DNSSEC -DHAVE_DBUS -DHAVE_IDN -DHAVE_CONNTRACK"
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  make \
+CFLAGS="$CPPFLAGS $CFLAGS" \
+LDFLAGS="$LDFLAGS" \
+COPTS="$_build_copts" \
+all-i18n
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  # need to pass COPTS here to avoid rebuilding the binary.
+  make \
+COPTS="$_build_copts" \
+BINDIR=/usr/bin PREFIX=/usr DESTDIR="$pkgdir" \
+install install-i18n
+
+  install -Dm644 "dbus/dnsmasq.conf" 
"$pkgdir"/usr/share/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
+  install -Dm644 "$srcdir/dnsmasq-sysusers.conf" 
"$pkgdir"/usr/lib/sysusers.d/dnsmasq.conf
+
+  # DNSSEC setup
+  sed -i 's,%%PREFIX%%,/usr,' "$pkgdir"/etc/dnsmasq.conf
+  install -Dm644 "trust-anchors.conf" 
"$pkgdir"/usr/share/dnsmasq/trust-anchors.conf
+}
+
+# vim: ts=2 sw=2 et ft=sh

Copied: dnsmasq/repos/testing-i686/dnsmasq-sysusers.conf (from rev 303255, 
dnsmasq/trunk/dnsmasq-sysusers.conf)
===
--- testing-i686/dnsmasq-sysusers.conf  (rev 0)
+++ testing-i686/dnsmasq-sysusers.conf  2017-08-22 14:25:43 UTC (rev 303256)
@@ -0,0 +1 @@
+u dnsmasq - "dnsmasq daemon" /

Copied: dnsmasq/repos/testing-i686/dnsmasq.service (from rev 303255, 
dnsmasq/trunk/dnsmasq.service)
===
--- testing-i686/dnsmasq.service(rev 0)
+++ testing-i686/dnsmasq.service2017-08-22 14:25:43 UTC (rev 303256)
@@ -0,0 +1,14 @@
+[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

Copied: dnsmasq/repos/testing-x86_64/PKGBUILD (from rev 303255, 
dnsmasq/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-08-22 14:25:43 UTC (rev 303256)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Dave Reisner 
+# Contributor: Paul Mattal 
+# 

[arch-commits] Commit in dnsmasq/repos (8 files)

2017-06-01 Thread Christian Hesse
Date: Thursday, June 1, 2017 @ 19:03:24
  Author: eworm
Revision: 297330

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  dnsmasq/repos/testing-i686/
  dnsmasq/repos/testing-i686/PKGBUILD
(from rev 297329, dnsmasq/trunk/PKGBUILD)
  dnsmasq/repos/testing-i686/dnsmasq-sysusers.conf
(from rev 297329, dnsmasq/trunk/dnsmasq-sysusers.conf)
  dnsmasq/repos/testing-i686/dnsmasq.service
(from rev 297329, dnsmasq/trunk/dnsmasq.service)
  dnsmasq/repos/testing-x86_64/
  dnsmasq/repos/testing-x86_64/PKGBUILD
(from rev 297329, dnsmasq/trunk/PKGBUILD)
  dnsmasq/repos/testing-x86_64/dnsmasq-sysusers.conf
(from rev 297329, dnsmasq/trunk/dnsmasq-sysusers.conf)
  dnsmasq/repos/testing-x86_64/dnsmasq.service
(from rev 297329, dnsmasq/trunk/dnsmasq.service)

--+
 testing-i686/PKGBUILD|   55 +
 testing-i686/dnsmasq-sysusers.conf   |1 
 testing-i686/dnsmasq.service |   14 
 testing-x86_64/PKGBUILD  |   55 +
 testing-x86_64/dnsmasq-sysusers.conf |1 
 testing-x86_64/dnsmasq.service   |   14 
 6 files changed, 140 insertions(+)

Copied: dnsmasq/repos/testing-i686/PKGBUILD (from rev 297329, 
dnsmasq/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2017-06-01 19:03:24 UTC (rev 297330)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Dave Reisner 
+# Contributor: Paul Mattal 
+# Contributor: Tom Newsom 
+
+pkgname=dnsmasq
+pkgver=2.77
+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' 'gmp' 'libidn' 'libdbus' 'libnetfilter_conntrack' 'nettle')
+backup=('etc/dnsmasq.conf')
+validpgpkeys=('D6EACBD6EE46B834248D111215CDDA6AE19135A2') # Simon Kelley 

+source=("http://www.thekelleys.org.uk/$pkgname/$pkgname-$pkgver.tar.xz"{,.asc}
+'dnsmasq-sysusers.conf'
+'dnsmasq.service')
+sha256sums=('6eac3b1c50ae25170e3ff8c96ddb55236cf45007633fdb8a35b1f3e02f5f8b8a'
+'SKIP'
+'7f6ff6a709038ae580758f4b6a754451d7f7ce22957b88a36b97f7b643d3c2ab'
+'983a3c7a68ce114cf7b44f0d9c59b74c266647a9e5ac34c1d1d5161610bc57fe')
+
+_build_copts="-DHAVE_DNSSEC -DHAVE_DBUS -DHAVE_IDN -DHAVE_CONNTRACK"
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  make \
+CFLAGS="$CPPFLAGS $CFLAGS" \
+LDFLAGS="$LDFLAGS" \
+COPTS="$_build_copts" \
+all-i18n
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  # need to pass COPTS here to avoid rebuilding the binary.
+  make \
+COPTS="$_build_copts" \
+BINDIR=/usr/bin PREFIX=/usr DESTDIR="$pkgdir" \
+install install-i18n
+
+  install -Dm644 "dbus/dnsmasq.conf" 
"$pkgdir"/usr/share/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
+  install -Dm644 "$srcdir/dnsmasq-sysusers.conf" 
"$pkgdir"/usr/lib/sysusers.d/dnsmasq.conf
+
+  # DNSSEC setup
+  sed -i 's,%%PREFIX%%,/usr,' "$pkgdir"/etc/dnsmasq.conf
+  install -Dm644 "trust-anchors.conf" 
"$pkgdir"/usr/share/dnsmasq/trust-anchors.conf
+}
+
+# vim: ts=2 sw=2 et ft=sh

Copied: dnsmasq/repos/testing-i686/dnsmasq-sysusers.conf (from rev 297329, 
dnsmasq/trunk/dnsmasq-sysusers.conf)
===
--- testing-i686/dnsmasq-sysusers.conf  (rev 0)
+++ testing-i686/dnsmasq-sysusers.conf  2017-06-01 19:03:24 UTC (rev 297330)
@@ -0,0 +1 @@
+u dnsmasq - "dnsmasq daemon" /

Copied: dnsmasq/repos/testing-i686/dnsmasq.service (from rev 297329, 
dnsmasq/trunk/dnsmasq.service)
===
--- testing-i686/dnsmasq.service(rev 0)
+++ testing-i686/dnsmasq.service2017-06-01 19:03:24 UTC (rev 297330)
@@ -0,0 +1,14 @@
+[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

Copied: dnsmasq/repos/testing-x86_64/PKGBUILD (from rev 297329, 
dnsmasq/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-06-01 19:03:24 UTC (rev 297330)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Dave Reisner 
+# Contributor: Paul Mattal 
+# 

[arch-commits] Commit in dnsmasq/repos (8 files)

2015-04-13 Thread Andreas Radke
Date: Monday, April 13, 2015 @ 18:59:42
  Author: andyrtr
Revision: 236376

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  dnsmasq/repos/staging-i686/
  dnsmasq/repos/staging-i686/PKGBUILD
(from rev 236375, dnsmasq/trunk/PKGBUILD)
  dnsmasq/repos/staging-i686/dnsmasq.install
(from rev 236375, dnsmasq/trunk/dnsmasq.install)
  dnsmasq/repos/staging-i686/dnsmasq.service
(from rev 236375, dnsmasq/trunk/dnsmasq.service)
  dnsmasq/repos/staging-x86_64/
  dnsmasq/repos/staging-x86_64/PKGBUILD
(from rev 236375, dnsmasq/trunk/PKGBUILD)
  dnsmasq/repos/staging-x86_64/dnsmasq.install
(from rev 236375, dnsmasq/trunk/dnsmasq.install)
  dnsmasq/repos/staging-x86_64/dnsmasq.service
(from rev 236375, dnsmasq/trunk/dnsmasq.service)

+
 staging-i686/PKGBUILD  |   44 +++
 staging-i686/dnsmasq.install   |   21 ++
 staging-i686/dnsmasq.service   |   14 
 staging-x86_64/PKGBUILD|   44 +++
 staging-x86_64/dnsmasq.install |   21 ++
 staging-x86_64/dnsmasq.service |   14 
 6 files changed, 158 insertions(+)

Copied: dnsmasq/repos/staging-i686/PKGBUILD (from rev 236375, 
dnsmasq/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2015-04-13 16:59:42 UTC (rev 236376)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Dave Reisner dreis...@archlinux.org
+# Contributor: Paul Mattal p...@archlinux.org
+# Contributor: Tom Newsom jeeps...@gmx.co.uk
+
+pkgname=dnsmasq
+pkgver=2.72
+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' 'libdbus' 'gmp' 'nettle')
+install=$pkgname.install
+backup=('etc/dnsmasq.conf')
+source=(http://www.thekelleys.org.uk/$pkgname/$pkgname-$pkgver.tar.xz;
+'dnsmasq.service')
+md5sums=('0256e0a71e27c8d8a5c89a0d18f3cfe2'
+ 'b87f68013c3e8b4bb37117de968d4603')
+
+build() {
+  cd $pkgname-$pkgver
+
+  make \
+CFLAGS=$CPPFLAGS $CFLAGS \
+LDFLAGS=$LDFLAGS \
+COPTS=-DHAVE_DNSSEC -DHAVE_DBUS
+}
+
+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
+
+  # DNSSEC setup
+  sed -i 's,%%PREFIX%%,/usr,' $pkgdir/etc/dnsmasq.conf
+  install -Dm644 trust-anchors.conf 
$pkgdir/usr/share/dnsmasq/trust-anchors.conf
+}
+
+# vim: ts=2 sw=2 et ft=sh

Copied: dnsmasq/repos/staging-i686/dnsmasq.install (from rev 236375, 
dnsmasq/trunk/dnsmasq.install)
===
--- staging-i686/dnsmasq.install(rev 0)
+++ staging-i686/dnsmasq.install2015-04-13 16:59:42 UTC (rev 236376)
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+add_dnsmasq_user() {
+  if ! getent passwd dnsmasq /dev/null; then
+useradd -r -d / -c 'dnsmasq daemon' -s /usr/bin/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/staging-i686/dnsmasq.service (from rev 236375, 
dnsmasq/trunk/dnsmasq.service)
===
--- staging-i686/dnsmasq.service(rev 0)
+++ staging-i686/dnsmasq.service2015-04-13 16:59:42 UTC (rev 236376)
@@ -0,0 +1,14 @@
+[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

Copied: dnsmasq/repos/staging-x86_64/PKGBUILD (from rev 236375, 
dnsmasq/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-04-13 16:59:42 UTC (rev 236376)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Dave Reisner dreis...@archlinux.org
+# Contributor: Paul Mattal p...@archlinux.org
+# Contributor: Tom Newsom jeeps...@gmx.co.uk
+
+pkgname=dnsmasq
+pkgver=2.72
+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' 'libdbus' 'gmp' 'nettle')
+install=$pkgname.install
+backup=('etc/dnsmasq.conf')

[arch-commits] Commit in dnsmasq/repos (8 files)

2011-08-26 Thread Dave Reisner
Date: Friday, August 26, 2011 @ 22:25:00
  Author: dreisner
Revision: 136349

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  dnsmasq/repos/extra-i686/PKGBUILD
(from rev 136348, dnsmasq/trunk/PKGBUILD)
  dnsmasq/repos/extra-i686/rc.dnsmasq
(from rev 136348, dnsmasq/trunk/rc.dnsmasq)
  dnsmasq/repos/extra-x86_64/PKGBUILD
(from rev 136348, dnsmasq/trunk/PKGBUILD)
  dnsmasq/repos/extra-x86_64/rc.dnsmasq
(from rev 136348, dnsmasq/trunk/rc.dnsmasq)
Deleted:
  dnsmasq/repos/extra-i686/PKGBUILD
  dnsmasq/repos/extra-i686/rc.dnsmasq
  dnsmasq/repos/extra-x86_64/PKGBUILD
  dnsmasq/repos/extra-x86_64/rc.dnsmasq

-+
 extra-i686/PKGBUILD |   83 +++---
 extra-i686/rc.dnsmasq   |   72 +++
 extra-x86_64/PKGBUILD   |   83 +++---
 extra-x86_64/rc.dnsmasq |   72 +++
 4 files changed, 158 insertions(+), 152 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2011-08-27 02:24:39 UTC (rev 136348)
+++ extra-i686/PKGBUILD 2011-08-27 02:25:00 UTC (rev 136349)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Paul Mattal p...@archlinux.org
-# Contributor: Tom Newsom jeeps...@gmx.co.uk
-
-pkgname=dnsmasq
-pkgver=2.57
-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' 'bash')
-makedepends=('libcap=2.16')
-backup=('etc/dnsmasq.conf')
-install=
-source=(http://www.thekelleys.org.uk/$pkgname/$pkgname-$pkgver.tar.gz; 
-'rc.dnsmasq')
-md5sums=('d10faeb409717eae94718d7716ca63a4' 'e956eee1ec24212a3254d2b168187495')
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-
-  # Build
-  make || return 1
-
-  # Install
-  install -d $pkgdir/etc/rc.d || return 1
-  make PREFIX=/usr DESTDIR=$pkgdir install || return 1
-
-  install -D -m755 \
-$srcdir/rc.dnsmasq $pkgdir/etc/rc.d/dnsmasq || return 1
-  install -D -m644 \
-dnsmasq.conf.example $pkgdir/etc/dnsmasq.conf || return 1
-
-  # Make the Required Directories for DHCP Server Default Directories
-  install -d $pkgdir/var/db || return 1
-  install -d $pkgdir/var/lib/misc || return 1
-}
-
-# vim: ts=2 sw=2 et ft=sh

Copied: dnsmasq/repos/extra-i686/PKGBUILD (from rev 136348, 
dnsmasq/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2011-08-27 02:25:00 UTC (rev 136349)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Dave Reisner dreis...@archlinux.org
+# Contributor: Paul Mattal p...@archlinux.org
+# Contributor: Tom Newsom jeeps...@gmx.co.uk
+
+pkgname=dnsmasq
+pkgver=2.58
+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' 'bash' 'dbus-core')
+makedepends=('libcap=2.16')
+backup=('etc/dnsmasq.conf')
+install=
+source=(http://www.thekelleys.org.uk/$pkgname/$pkgname-$pkgver.tar.gz; 
+'rc.dnsmasq')
+md5sums=('14c5c81debb324adc261db971730f4c6'
+ 'e956eee1ec24212a3254d2b168187495')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # link against dbus
+  echo '#define HAVE_DBUS'  src/config.h
+
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  make PREFIX=/usr DESTDIR=$pkgdir install
+
+  install -dm755 $pkgdir/var/{db,lib/misc}
+  install -Dm755 $srcdir/rc.dnsmasq $pkgdir/etc/rc.d/dnsmasq
+  install -Dm644 dbus/dnsmasq.conf $pkgdir/etc/dbus-1/system.d/dnsmasq.conf
+  install -Dm644 dnsmasq.conf.example $pkgdir/etc/dnsmasq.conf
+  install -Dm644 contrib/systemd/dnsmasq.service 
$pkgdir/lib/systemd/system/dnsmasq.service
+}
+
+# vim: ts=2 sw=2 et ft=sh

Deleted: extra-i686/rc.dnsmasq
===
--- extra-i686/rc.dnsmasq   2011-08-27 02:24:39 UTC (rev 136348)
+++ extra-i686/rc.dnsmasq   2011-08-27 02:25:00 UTC (rev 136349)
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/dnsmasq`
-case $1 in
-  start)
-stat_busy Starting DNS/DHCP daemon
-[ -z $PID ]  /usr/sbin/dnsmasq
-if [ $? -gt 0 ] ; then
-  stat_fail
-else
-  add_daemon dnsmasq # create the 'state' dir
-  stat_done 
-fi
-;;
-  stop)
-stat_busy Stopping DNS/DHCP daemon
-[ $PID ]  kill $PID  /dev/null
-if [ $? -gt 0 ]; then
-  stat_fail
-else
-  rm_daemon dnsmasq  # remove the 'state' dir
-  stat_done
-fi
-;;
-  restart)
-$0 stop
-sleep 5
-$0 start
-;;
-  *)
-echo usage: $0 {start|stop|restart}
-esac
-exit 0

Copied: dnsmasq/repos/extra-i686/rc.dnsmasq (from rev 136348, 
dnsmasq/trunk/rc.dnsmasq)