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

Dave Reisner dreisner at nymeria.archlinux.org
Wed Apr 9 20:44:14 UTC 2014


    Date: Wednesday, April 9, 2014 @ 22:44:14
  Author: dreisner
Revision: 210094

upgpkg: dnsmasq 2.69-1

- remove hacky prepare function, we can do this via the buildsys
- add gmp/nettle as deps for dnssec support

Modified:
  dnsmasq/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++-------------
 1 file changed, 9 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-04-09 20:20:57 UTC (rev 210093)
+++ PKGBUILD	2014-04-09 20:44:14 UTC (rev 210094)
@@ -4,32 +4,28 @@
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 
 pkgname=dnsmasq
-pkgver=2.68
+pkgver=2.69
 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')
+depends=('glibc' 'libdbus' 'gmp' 'nettle')
 install=$pkgname.install
 backup=('etc/dnsmasq.conf')
-source=("http://www.thekelleys.org.uk/$pkgname/$pkgname-$pkgver.tar.xz"
+source=("http://www.thekelleys.org.uk/$pkgname/$pkgname-$pkgver.tar.xz"{,.asc}
         'dnsmasq.service')
-md5sums=('fec885ba0a9df0f7d8f2e44db48f19ae'
+md5sums=('c5a1152e646eb54db4f33f8e0deee180'
+         'SKIP'
          '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"
+  make \
+    CFLAGS="$CPPFLAGS $CFLAGS" \
+    LDFLAGS="$LDFLAGS" \
+    COPTS="-DHAVE_DNSSEC -DHAVE_DBUS"
 }
 
 package() {




More information about the arch-commits mailing list