diff options
| author | Armin Kuster <akuster808@gmail.com> | 2016-10-30 09:13:59 -0700 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2017-02-18 11:43:20 -0800 |
| commit | 7fd5f25475e02f39f2f81421dee9264ae56cbee8 (patch) | |
| tree | cd667515204e8373642d97e1e2b63c01b5f03834 /recipes-security/AppArmor/files/disable_pdf.patch | |
| parent | 6edbdc7a3443dea309a357618f01c13203cced71 (diff) | |
| download | meta-security-7fd5f25475e02f39f2f81421dee9264ae56cbee8.tar.gz | |
apparmor: Add new package
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-security/AppArmor/files/disable_pdf.patch')
| -rw-r--r-- | recipes-security/AppArmor/files/disable_pdf.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-security/AppArmor/files/disable_pdf.patch b/recipes-security/AppArmor/files/disable_pdf.patch new file mode 100644 index 0000000..c6b4bdd --- /dev/null +++ b/recipes-security/AppArmor/files/disable_pdf.patch | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | Index: apparmor-2.10.95/parser/Makefile | ||
| 2 | =================================================================== | ||
| 3 | --- apparmor-2.10.95.orig/parser/Makefile | ||
| 4 | +++ apparmor-2.10.95/parser/Makefile | ||
| 5 | @@ -139,17 +139,6 @@ export Q VERBOSE BUILD_OUTPUT | ||
| 6 | po/${NAME}.pot: ${SRCS} ${HDRS} | ||
| 7 | $(MAKE) -C po ${NAME}.pot NAME=${NAME} SOURCES="${SRCS} ${HDRS}" | ||
| 8 | |||
| 9 | -techdoc.pdf: techdoc.tex | ||
| 10 | - timestamp=$(shell date --utc "+%Y%m%d%H%M%S%z" -r $< );\ | ||
| 11 | - while pdflatex "\def\fixedpdfdate{$$timestamp}\input $<" ${BUILD_OUTPUT} || exit 1 ; \ | ||
| 12 | - grep -q "Label(s) may have changed" techdoc.log; \ | ||
| 13 | - do :; done | ||
| 14 | - | ||
| 15 | -techdoc/index.html: techdoc.pdf | ||
| 16 | - latex2html -show_section_numbers -split 0 -noinfo -nonavigation -noaddress techdoc.tex ${BUILD_OUTPUT} | ||
| 17 | - | ||
| 18 | -techdoc.txt: techdoc/index.html | ||
| 19 | - w3m -dump $< > $@ | ||
| 20 | |||
| 21 | # targets arranged this way so that people who don't want full docs can | ||
| 22 | # pick specific targets they want. | ||
| 23 | @@ -159,9 +148,7 @@ manpages: $(MANPAGES) | ||
| 24 | |||
| 25 | htmlmanpages: $(HTMLMANPAGES) | ||
| 26 | |||
| 27 | -pdf: techdoc.pdf | ||
| 28 | - | ||
| 29 | -docs: manpages htmlmanpages pdf | ||
| 30 | +docs: manpages htmlmanpages | ||
| 31 | |||
| 32 | indep: docs | ||
| 33 | $(Q)$(MAKE) -C po all | ||
