]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
testing: Add a patch to tnc-fhh that avoids building the tncsim package
authorTobias Brunner <tobias@strongswan.org>
Fri, 20 Nov 2015 16:51:54 +0000 (17:51 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 15 Jun 2016 14:24:43 +0000 (16:24 +0200)
This sub-package does not build on Debian jessie.

testing/scripts/recipes/002_tnc-fhh.mk
testing/scripts/recipes/patches/tnc-fhh-tncsim [new file with mode: 0644]

index 397cef950d778c827d1ba37e5b43677a4182c786..d4ed4f99c2d05425915f9190b7929ab64762dea7 100644 (file)
@@ -9,6 +9,9 @@ CONFIG_OPTS = \
        -DCOMPONENT=all \
        -DNAL=8021x
 
+PATCHES = \
+       tnc-fhh-tncsim
+
 all: install
 
 .$(PKG)-cloned:
@@ -16,7 +19,11 @@ all: install
        mkdir $(PKG)/build
        @touch $@
 
-.$(PKG)-configured: .$(PKG)-cloned
+.$(PKG)-patches-applied: .$(PKG)-cloned
+       cd $(PKG) && cat $(addprefix ../patches/, $(PATCHES)) | patch -p1
+       @touch $@
+
+.$(PKG)-configured: .$(PKG)-patches-applied
        cd $(PKG)/build && cmake $(CONFIG_OPTS) ../
        @touch $@
 
diff --git a/testing/scripts/recipes/patches/tnc-fhh-tncsim b/testing/scripts/recipes/patches/tnc-fhh-tncsim
new file mode 100644 (file)
index 0000000..42c7144
--- /dev/null
@@ -0,0 +1,12 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index fe65134512ea..3c5255f21ea6 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -101,7 +101,6 @@ IF(${COMPONENT} STREQUAL "ALL")
+       add_subdirectory(tncxacml)
+       add_subdirectory(imcv)
+       add_subdirectory(tncs)
+-      add_subdirectory(tncsim)
+                       
+       IF(${NAL} STREQUAL "8021X" OR ${NAL} STREQUAL "ALL")
+               add_subdirectory(naaeap)