[arch-commits] Commit in dnsmasq/trunk (PKGBUILD)

Dave Reisner dreisner at archlinux.org
Sun May 22 06:05:40 UTC 2016


    Date: Sunday, May 22, 2016 @ 08:05:40
  Author: dreisner
Revision: 268472

upgpkg: dnsmasq 2.76-1

- enable i18n, conntrack, and idn support (FS#47192)

Modified:
  dnsmasq/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-21 22:01:52 UTC (rev 268471)
+++ PKGBUILD	2016-05-22 06:05:40 UTC (rev 268472)
@@ -4,23 +4,23 @@
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 
 pkgname=dnsmasq
-pkgver=2.75
+pkgver=2.76
 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' 'libdbus' 'gmp' 'nettle')
+depends=('glibc' 'gmp' 'libidn' 'libdbus' 'libnetfilter_conntrack' 'nettle')
 install=$pkgname.install
 backup=('etc/dnsmasq.conf')
 source=("http://www.thekelleys.org.uk/$pkgname/$pkgname-$pkgver.tar.xz"{,.asc}
         'dnsmasq.service')
-md5sums=('887236f1ddde6eb57cdb9d01916c9f72'
+md5sums=('00f5ee66b4e4b7f14538bf62ae3c9461'
          'SKIP'
          'b87f68013c3e8b4bb37117de968d4603')
 validpgpkeys=('269322E7D9255916E0394DD628FC869A289B82B7')  # Simon Kelley
 
-build_copts="-DHAVE_DNSSEC -DHAVE_DBUS"
+_build_copts="-DHAVE_DNSSEC -DHAVE_DBUS -DHAVE_IDN -DHAVE_CONNTRACK"
 
 build() {
   cd "$pkgname-$pkgver"
@@ -28,7 +28,8 @@
   make \
     CFLAGS="$CPPFLAGS $CFLAGS" \
     LDFLAGS="$LDFLAGS" \
-    COPTS="$build_copts"
+    COPTS="$_build_copts" \
+    all-i18n
 }
 
 package() {
@@ -36,8 +37,9 @@
 
   # need to pass COPTS here to avoid rebuilding the binary.
   make \
-    COPTS="$build_copts" \
-    BINDIR=/usr/bin PREFIX=/usr DESTDIR="$pkgdir" install
+    COPTS="$_build_copts" \
+    BINDIR=/usr/bin PREFIX=/usr DESTDIR="$pkgdir" \
+    install install-i18n
 
   install -Dm644 "dbus/dnsmasq.conf" "$pkgdir"/etc/dbus-1/system.d/dnsmasq.conf
   install -Dm644 "dnsmasq.conf.example" "$pkgdir"/etc/dnsmasq.conf



More information about the arch-commits mailing list