[racoon2] fix build failure by reconfiguring spmd subdirectory

Pavel Šimerda pavlix at fedoraproject.org
Tue Feb 18 19:48:21 UTC 2014


commit d9815289db7deb89d983892b3124fe6bf9949b4e
Author: Pavel Šimerda <psimerda at redhat.com>
Date:   Tue Feb 18 20:47:10 2014 +0100

    fix build failure by reconfiguring spmd subdirectory

 racoon2.spec |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/racoon2.spec b/racoon2.spec
index 71bbcef..20d1e17 100644
--- a/racoon2.spec
+++ b/racoon2.spec
@@ -42,10 +42,12 @@ and KINK protocols. It works on FreeBSD, NetBSD, Linux, and Mac OS X.
 sed -i '/yyget_leng/d' lib/cftoken.l
 
 %build
-%configure --disable-kinkd --disable-pedant
 # --disable-kinkd: KINK must be disabled unless krb5 is compiled --with-crypto-impl=builtin
 # because kinkd uses krb5's internal crypto functions that are not compiled otherwise.
 # --disable-pedant: Racoon2 doesn't compile with pedantic compiler.
+%configure --disable-kinkd --disable-pedant 
+# racoon2 tends to misconfigure the spmd subtree
+( cd spmd && %configure )
 make %{?_smp_mflags}
 sed -i 's/\t/    /' samples/*.conf
 # Disable spmd.pwd generation
@@ -141,6 +143,7 @@ fi
 %changelog
 * Mon Feb 17 2014 Pavel Šimerda <psimerda at redhat.com> - 20100526a-26
 - #955458 - hardened build
+- fix build failure by reconfiguring spmd subdirectory
 
 * Mon Feb 17 2014 Pavel Šimerda <psimerda at redhat.com> - 20100526a-25
 - #914426 - fix build failure affecting Fedora >= 18


More information about the scm-commits mailing list