summaryrefslogtreecommitdiff
path: root/extra/dnsmasq/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/dnsmasq/PKGBUILD')
-rw-r--r--extra/dnsmasq/PKGBUILD21
1 files changed, 7 insertions, 14 deletions
diff --git a/extra/dnsmasq/PKGBUILD b/extra/dnsmasq/PKGBUILD
index 17a247520..e90179183 100644
--- a/extra/dnsmasq/PKGBUILD
+++ b/extra/dnsmasq/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 189772 2013-07-07 19:08:06Z dreisner $
+# $Id: PKGBUILD 197411 2013-10-25 14:32:42Z dreisner $
# Maintainer: Dave Reisner <dreisner@archlinux.org>
# Contributor: Paul Mattal <paul@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=dnsmasq
-pkgver=2.66
-pkgrel=2
+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')
@@ -14,28 +14,21 @@ depends=('glibc' 'dbus-core')
install=$pkgname.install
backup=('etc/dnsmasq.conf')
source=("http://www.thekelleys.org.uk/$pkgname/$pkgname-$pkgver.tar.xz"
- '0001-Fix-wrong-size-in-memset-call.patch'
- '0001-Fix-failure-to-start-with-ENOTSOCK.patch'
'dnsmasq.service')
-md5sums=('cd1c70dd66d2e3ad02b66ca6af4ebf20'
- '05ccefefde68ebdebce5e40d2b3c78be'
- '98cc950a6b0482eb7e61969dafb4f764'
+md5sums=('3560068c6cc644a01924fa089a70bb9c'
'7ac45726cabef4145db40d758cc7fedf')
prepare() {
cd "$pkgname-$pkgver"
- patch -Np1 <"$srcdir/0001-Fix-wrong-size-in-memset-call.patch"
- patch -Np1 <"$srcdir/0001-Fix-failure-to-start-with-ENOTSOCK.patch"
+ # 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"
- # 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
-
make "CFLAGS=$CPPFLAGS $CFLAGS" "LDFLAGS=$LDFLAGS"
}