Skip to contentSkip to conversation

PATCH] smack: Add new package

PATCH New Armin Kuster 1 participant 1 message Oct 31, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 PATCH] smack: Add new package

V2:
Fix typo and add LDFLAG to makefile

---
 recipes-security/smack/files/run-ptest             |  3 ++
 .../smack/files/smack_generator_make_fixup.patch   | 18 ++++++++
 recipes-security/smack/smack_1.3.0.bb              | 54 ++++++++++++++++++++++
 3 files changed, 75 insertions(+)
 create mode 100644 recipes-security/smack/files/run-ptest
 create mode 100644 recipes-security/smack/files/smack_generator_make_fixup.patch
 create mode 100644 recipes-security/smack/smack_1.3.0.bb
recipes-security/smack/files/run-ptest new file +3 -0
new file mode 100644
index 0000000..049a9b4
@@ -0,0 +1,3 @@
+#!/bin/sh
+./tests/make_policies.bash ./tests/generator
+./tests/make_policies.bash ./tests/generator labels
recipes-security/smack/files/smack_generator_make_fixup.patch new file +18 -0
new file mode 100644
index 0000000..4d677e7
@@ -0,0 +1,18 @@
+Upstream-Status: Pending
+
+Signed-off-by: Armin Kuster <[email protected]>
+
+
+Index: git/tests/Makefile
+===================================================================
+--- git.orig/tests/Makefile
++++ git/tests/Makefile
+@@ -4,7 +4,7 @@ clean:
+ 	rm -rf ./out ./generator
+ 
+ generator: generator.c
+-	gcc -Wall -O3 generator.c -o ./generator
++	${CC}  ${LDFLAGS} generator.c -o ./generator
+ 
+ policies: ./generator ./make_policies.bash
+ 	./make_policies.bash ./generator
recipes-security/smack/smack_1.3.0.bb new file +54 -0

54 lines not on this page · raw message

Signature · 1 line
2.7.4