From 2818ad098af4758cbf172a928b63f821ce1fc271 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 19 Feb 2011 16:35:34 +0100 Subject: [PATCH] dnsmasq: update to 2.57. --- srcpkgs/dnsmasq/patches/enable_dbus.diff | 11 ----------- srcpkgs/dnsmasq/template | 14 ++++++-------- 2 files changed, 6 insertions(+), 19 deletions(-) delete mode 100644 srcpkgs/dnsmasq/patches/enable_dbus.diff diff --git a/srcpkgs/dnsmasq/patches/enable_dbus.diff b/srcpkgs/dnsmasq/patches/enable_dbus.diff deleted file mode 100644 index 21eb050845..0000000000 --- a/srcpkgs/dnsmasq/patches/enable_dbus.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- src/config.h.orig 2009-12-04 07:13:34.249760044 +0100 -+++ src/config.h 2009-12-04 07:13:44.546926746 +0100 -@@ -169,7 +169,7 @@ NOTES: - #define HAVE_TFTP - #define HAVE_SCRIPT - /* #define HAVE_BROKEN_RTC */ --/* #define HAVE_DBUS */ -+#define HAVE_DBUS - - /* Allow TFTP to be disabled with COPTS=-DNO_TFTP */ - #ifdef NO_TFTP diff --git a/srcpkgs/dnsmasq/template b/srcpkgs/dnsmasq/template index 3eb7753956..807bf24e50 100644 --- a/srcpkgs/dnsmasq/template +++ b/srcpkgs/dnsmasq/template @@ -1,14 +1,13 @@ # Template file for 'dnsmasq' pkgname=dnsmasq -version=2.51 -revision=1 +version=2.57 distfiles="http://www.thekelleys.org.uk/$pkgname/$pkgname-$version.tar.gz" build_style=gnu_makefile make_build_target="all-i18n" make_install_args="PREFIX=/usr install-i18n" short_desc="Lightweight, easy to configure DNS forwarder and DHCP server" maintainer="Juan RP " -checksum=08a7f95e1aa344be07681f514d992320b86932c5dc2f091ac6edd0599ff90622 +checksum=c2e0c7b82122d636933b28a1c28e6bccb6daad49162e7534b641b3c3340ff8ae long_desc=" Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server. It is designed to provide DNS and, optionally, DHCP, to a small network. It @@ -32,13 +31,12 @@ Add_dependency build libidn-devel post_install() { - cd ${wrksrc} || return 1 install -D -m644 dnsmasq.conf.example \ - ${DESTDIR}/etc/dnsmasq.conf || return 1 + ${DESTDIR}/etc/dnsmasq.conf install -D -m755 ${FILESDIR}/dnsmasq.rc \ - ${DESTDIR}/etc/init.d/dnsmasq || return 1 + ${DESTDIR}/etc/init.d/dnsmasq install -D -m644 ${FILESDIR}/dnsmasq.confd \ - ${DESTDIR}/etc/conf.d/dnsmasq || return 1 + ${DESTDIR}/etc/conf.d/dnsmasq install -D -m644 dbus/dnsmasq.conf \ - ${DESTDIR}/etc/dbus-1/system.d/dnsmasq.conf || return 1 + ${DESTDIR}/etc/dbus-1/system.d/dnsmasq.conf }