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 <m...@eworm.de> +# Maintainer: Dave Reisner <dreis...@archlinux.org> +# Contributor: Paul Mattal <p...@archlinux.org> +# Contributor: Tom Newsom <jeeps...@gmx.co.uk> + +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 <si...@thekelleys.org.uk> +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.service 2017-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 <m...@eworm.de> +# Maintainer: Dave Reisner <dreis...@archlinux.org> +# Contributor: Paul Mattal <p...@archlinux.org> +# Contributor: Tom Newsom <jeeps...@gmx.co.uk> + +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 <si...@thekelleys.org.uk> +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-x86_64/dnsmasq-sysusers.conf (from rev 306561, dnsmasq/trunk/dnsmasq-sysusers.conf) =================================================================== --- testing-x86_64/dnsmasq-sysusers.conf (rev 0) +++ testing-x86_64/dnsmasq-sysusers.conf 2017-10-02 13:53:25 UTC (rev 306562) @@ -0,0 +1 @@ +u dnsmasq - "dnsmasq daemon" / Copied: dnsmasq/repos/testing-x86_64/dnsmasq.service (from rev 306561, dnsmasq/trunk/dnsmasq.service) =================================================================== --- testing-x86_64/dnsmasq.service (rev 0) +++ testing-x86_64/dnsmasq.service 2017-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