diff options
author | Armin Kuster <akuster808@gmail.com> | 2016-10-25 12:21:15 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2016-11-02 09:06:39 -0700 |
commit | 742a99778b016f21e8f73a1b2ee013b265d9edd4 (patch) | |
tree | 6b84f2a978930296321ebf41a1015db5315f0a61 /recipes-security/smack/files | |
parent | ef20cdf6ea6131420a9b92d685372e311366fc82 (diff) | |
download | meta-security-742a99778b016f21e8f73a1b2ee013b265d9edd4.tar.gz |
smack: Add new package
V2:
Fix typo and add LDFLAG to makefile
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-security/smack/files')
-rw-r--r-- | recipes-security/smack/files/run-ptest | 3 | ||||
-rw-r--r-- | recipes-security/smack/files/smack_generator_make_fixup.patch | 18 |
2 files changed, 21 insertions, 0 deletions
diff --git a/recipes-security/smack/files/run-ptest b/recipes-security/smack/files/run-ptest new file mode 100644 index 0000000..049a9b4 --- /dev/null +++ b/recipes-security/smack/files/run-ptest | |||
@@ -0,0 +1,3 @@ | |||
1 | #!/bin/sh | ||
2 | ./tests/make_policies.bash ./tests/generator | ||
3 | ./tests/make_policies.bash ./tests/generator labels | ||
diff --git a/recipes-security/smack/files/smack_generator_make_fixup.patch b/recipes-security/smack/files/smack_generator_make_fixup.patch new file mode 100644 index 0000000..4d677e7 --- /dev/null +++ b/recipes-security/smack/files/smack_generator_make_fixup.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Signed-off-by: Armin Kuster <akuster808@gmail.com> | ||
4 | |||
5 | |||
6 | Index: git/tests/Makefile | ||
7 | =================================================================== | ||
8 | --- git.orig/tests/Makefile | ||
9 | +++ git/tests/Makefile | ||
10 | @@ -4,7 +4,7 @@ clean: | ||
11 | rm -rf ./out ./generator | ||
12 | |||
13 | generator: generator.c | ||
14 | - gcc -Wall -O3 generator.c -o ./generator | ||
15 | + ${CC} ${LDFLAGS} generator.c -o ./generator | ||
16 | |||
17 | policies: ./generator ./make_policies.bash | ||
18 | ./make_policies.bash ./generator | ||