From 24df3be3719f2548e789fbe5bb4ef7a1fa31080b Mon Sep 17 00:00:00 2001 From: Tomas Hozza Date: Mar 22 2013 12:08:35 +0000 Subject: Enable IDN support Signed-off-by: Tomas Hozza --- diff --git a/dnsmasq.spec b/dnsmasq.spec index 2b79da5..94cfb5f 100644 --- a/dnsmasq.spec +++ b/dnsmasq.spec @@ -24,6 +24,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: dbus-devel BuildRequires: pkgconfig +BuildRequires: libidn-devel BuildRequires: systemd Requires(post): systemd systemd-sysv chkconfig @@ -61,6 +62,9 @@ done #enable dbus sed -i 's|/\* #define HAVE_DBUS \*/|#define HAVE_DBUS|g' src/config.h +#enable IDN support +sed -i 's|/\* #define HAVE_IDN \*/|#define HAVE_IDN|g' src/config.h + #enable /etc/dnsmasq.d fix bz 526703 sed -i 's|#conf-dir=/etc/dnsmasq.d|conf-dir=/etc/dnsmasq.d|g' dnsmasq.conf.example @@ -132,6 +136,7 @@ rm -rf $RPM_BUILD_ROOT * Fri Mar 22 2013 Tomas Hozza - 2.66-1.rc1 - Update to latest dnsmasq-2.66rc1 - Dropping unneeded patches +- Enable IDN support * Fri Mar 15 2013 Tomas Hozza - 2.65-5 - Allocate dhcp_buff-ers also if daemon->ra_contexts to prevent SIGSEGV (#920300)