Blame SOURCES/bz990539-2-replacing_nss_wrapperr.patch

182b9e
diff -urN fence-agents-4.0.2.orig/configure.ac fence-agents-4.0.2/configure.ac
182b9e
--- fence-agents-4.0.2.orig/configure.ac	2014-02-17 14:55:59.768097454 +0100
182b9e
+++ fence-agents-4.0.2/configure.ac	2014-02-17 14:57:05.567548670 +0100
182b9e
@@ -243,6 +243,8 @@
182b9e
 CPPFLAGS="-I\$(top_builddir)/make -I\$(top_srcdir)/make -I. $ENV_CPPFLAGS"
182b9e
 LDFLAGS="$ENV_LDFLAGS"
182b9e
 
182b9e
+AC_PATH_PROG([GNUTLSCLI_PATH], [gnutlscli], [/usr/bin/gnutls-cli])
182b9e
+
182b9e
 AC_CONFIG_FILES([Makefile
182b9e
 		 fence/Makefile
182b9e
 		 fence/agents/Makefile
182b9e
@@ -276,7 +278,6 @@
182b9e
 		 fence/agents/lpar/Makefile
182b9e
 		 fence/agents/manual/Makefile
182b9e
 		 fence/agents/mcdata/Makefile
182b9e
-		 fence/agents/nss_wrapper/Makefile
182b9e
 		 fence/agents/rackswitch/Makefile
182b9e
 		 fence/agents/ovh/Makefile
182b9e
 		 fence/agents/rhevm/Makefile
182b9e
diff -urN fence-agents-4.0.2.orig/fence/agents/Makefile.am fence-agents-4.0.2/fence/agents/Makefile.am
182b9e
--- fence-agents-4.0.2.orig/fence/agents/Makefile.am	2014-02-17 14:55:59.774097497 +0100
182b9e
+++ fence-agents-4.0.2/fence/agents/Makefile.am	2014-02-17 14:58:09.426990207 +0100
182b9e
@@ -1,5 +1,4 @@
182b9e
 MAINTAINERCLEANFILES	= Makefile.in
182b9e
 
182b9e
 SUBDIRS 		= lib \
182b9e
-			  nss_wrapper \
182b9e
 			  $(AGENTS_LIST)
182b9e
diff -urN fence-agents-4.0.2.orig/make/fencebuild.mk fence-agents-4.0.2/make/fencebuild.mk
182b9e
--- fence-agents-4.0.2.orig/make/fencebuild.mk	2014-02-17 14:55:59.768097454 +0100
182b9e
+++ fence-agents-4.0.2/make/fencebuild.mk	2014-02-17 14:59:06.653383134 +0100
182b9e
@@ -9,6 +9,7 @@
182b9e
 		-e 's#@''LOGDIR@#${LOGDIR}#g' \
182b9e
 		-e 's#@''SBINDIR@#${sbindir}#g' \
182b9e
 		-e 's#@''LIBEXECDIR@#${libexecdir}#g' \
182b9e
+		-e 's#@''GNUTLSCLI_PATH@#${GNUTLSCLI_PATH}#g' \
182b9e
 	> $@
182b9e
 
182b9e
 	if [ 0 -eq `echo "$(SRC)" | grep fence_ &> /dev/null; echo $$?` ]; then \