dnsmasq: build with dbus and i18n support.

--HG--
extra : convert_revision : f3ec6f0c8b648af2688837ef4e382006195b950c
This commit is contained in:
Juan RP 2009-12-04 07:29:44 +01:00
parent 66bb2e2540
commit 58bf257aaa
2 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,11 @@
--- 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

View file

@ -3,7 +3,8 @@ pkgname=dnsmasq
version=2.51
distfiles="http://www.thekelleys.org.uk/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_makefile
make_install_args="PREFIX=/usr"
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 <xtraeme@gmail.com>"
checksum=08a7f95e1aa344be07681f514d992320b86932c5dc2f091ac6edd0599ff90622
@ -20,7 +21,10 @@ conf_files="/etc/dnsmasq.conf /etc/conf.d/dnsmasq"
openrc_services="dnsmasq default"
Add_dependency full glibc
Add_dependency full dbus
Add_dependency full libcap
Add_dependency full libidn
Add_dependency build gettext
post_install()
{
@ -31,4 +35,6 @@ post_install()
${DESTDIR}/etc/init.d/dnsmasq || return 1
install -D -m644 ${FILESDIR}/dnsmasq.confd \
${DESTDIR}/etc/conf.d/dnsmasq || return 1
install -D -m644 dbus/dnsmasq.conf \
${DESTDIR}/etc/dbus-1/system.d/dnsmasq.conf || return 1
}