[dnsmasq/f19] Enable IDN support

Tomas Hozza thozza at fedoraproject.org
Fri Mar 22 12:18:44 UTC 2013


commit 24df3be3719f2548e789fbe5bb4ef7a1fa31080b
Author: Tomas Hozza <thozza at redhat.com>
Date:   Fri Mar 22 12:56:33 2013 +0100

    Enable IDN support
    
    Signed-off-by: Tomas Hozza <thozza at redhat.com>

 dnsmasq.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
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 <thozza at redhat.com> - 2.66-1.rc1
 - Update to latest dnsmasq-2.66rc1
 - Dropping unneeded patches
+- Enable IDN support
 
 * Fri Mar 15 2013 Tomas Hozza <thozza at redhat.com> - 2.65-5
 - Allocate dhcp_buff-ers also if daemon->ra_contexts to prevent SIGSEGV (#920300)


More information about the scm-commits mailing list