diff options
3 files changed, 0 insertions, 90 deletions
diff --git a/meta/recipes-extended/foomatic/foomatic-filters-4.0.17/CVE-2015-8327.patch b/meta/recipes-extended/foomatic/foomatic-filters-4.0.17/CVE-2015-8327.patch deleted file mode 100644 index aaedc88aa3..0000000000 --- a/meta/recipes-extended/foomatic/foomatic-filters-4.0.17/CVE-2015-8327.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | Upstream-Status: Backport | ||
2 | |||
3 | |||
4 | http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/revision/7406 | ||
5 | |||
6 | Hand applied change to util.c. Fix was for cups-filters but also applied to foomatic-filters. | ||
7 | |||
8 | CVE: CVE-2015-8327 | ||
9 | Signed-off-by: Armin Kuster <akuster@mvista.com> | ||
10 | |||
11 | Index: util.c | ||
12 | =================================================================== | ||
13 | --- a/util.c | ||
14 | +++ b/util.c | ||
15 | @@ -31,7 +31,7 @@ | ||
16 | #include <assert.h> | ||
17 | |||
18 | |||
19 | -const char* shellescapes = "|;<>&!$\'\"#*?()[]{}"; | ||
20 | +const char* shellescapes = "|;<>&!$\'\"`#*?()[]{}"; | ||
21 | |||
22 | const char * temp_dir() | ||
23 | { | ||
diff --git a/meta/recipes-extended/foomatic/foomatic-filters-4.0.17/CVE-2015-8560.patch b/meta/recipes-extended/foomatic/foomatic-filters-4.0.17/CVE-2015-8560.patch deleted file mode 100644 index dc973c4592..0000000000 --- a/meta/recipes-extended/foomatic/foomatic-filters-4.0.17/CVE-2015-8560.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | Upstream-Status: Backport | ||
2 | |||
3 | |||
4 | http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/revision/7419 | ||
5 | |||
6 | Hand applied change to util.c. Fix was for cups-filters but also applied to foomatic-filters. | ||
7 | |||
8 | CVE: CVE-2015-8560 | ||
9 | Signed-off-by: Armin Kuster <akuster@mvista.com> | ||
10 | |||
11 | Index: util.c | ||
12 | =================================================================== | ||
13 | --- a/util.c | ||
14 | +++ b/util.c | ||
15 | @@ -31,7 +31,7 @@ | ||
16 | #include <assert.h> | ||
17 | |||
18 | |||
19 | -const char* shellescapes = "|<>&!$\'\"#*?()[]{}"; | ||
20 | +const char* shellescapes = "|;<>&!$\'\"#*?()[]{}"; | ||
21 | |||
22 | const char * temp_dir() | ||
23 | { | ||
diff --git a/meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb b/meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb deleted file mode 100644 index 742c9a5cf2..0000000000 --- a/meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | SUMMARY = "OpenPrinting printer support - filters" | ||
2 | HOMEPAGE = "https://wiki.linuxfoundation.org/openprinting/start" | ||
3 | DESCRIPTION = "Foomatic is a printer database designed to make it easier to set up \ | ||
4 | common printers for use with UNIX-like operating systems.\ | ||
5 | It provides the "glue" between a print spooler (like CUPS or lpr) and \ | ||
6 | the printer, by processing files sent to the printer. \ | ||
7 | \ | ||
8 | This package consists of filters used by the printer spoolers \ | ||
9 | to convert the incoming PostScript data into the printer's native \ | ||
10 | format using a printer-specific, but spooler-independent PPD file. \ | ||
11 | " | ||
12 | |||
13 | DEPENDS += "cups perl libxml2" | ||
14 | PR = "r1" | ||
15 | |||
16 | LICENSE = "GPLv2+" | ||
17 | LIC_FILES_CHKSUM = "file://${WORKDIR}/foomatic-filters-${PV}/COPYING;md5=393a5ca445f6965873eca0259a17f833" | ||
18 | |||
19 | SRC_URI = "http://www.openprinting.org/download/foomatic/foomatic-filters-${PV}.tar.gz" | ||
20 | |||
21 | SRC_URI += "file://CVE-2015-8560.patch \ | ||
22 | file://CVE-2015-8327.patch \ | ||
23 | " | ||
24 | |||
25 | SRC_URI[md5sum] = "b05f5dcbfe359f198eef3df5b283d896" | ||
26 | SRC_URI[sha256sum] = "a2e2e53e502571e88eeb9010c45a0d54671f15707ee104f5c9c22b59ea7a33e3" | ||
27 | |||
28 | UPSTREAM_CHECK_REGEX = "foomatic-filters-(?P<pver>((\d|\d\d)\.*)+)\.tar\.gz" | ||
29 | |||
30 | inherit autotools pkgconfig | ||
31 | |||
32 | EXTRA_OECONF += "--disable-file-converter-check --with-file-converter=texttops" | ||
33 | |||
34 | do_configure_prepend() { | ||
35 | export PERL="${bindir}/env perl" | ||
36 | export CUPS_SERVERBIN=${exec_prefix}/lib/cups # /usr/lib NOT libdir | ||
37 | } | ||
38 | |||
39 | do_install_append_linuxstdbase() { | ||
40 | install -d ${D}${exec_prefix}/lib/cups/filter | ||
41 | ln -sf ${bindir}/foomatic-rip ${D}${exec_prefix}/lib/cups/filter | ||
42 | } | ||
43 | |||
44 | FILES_${PN} += "${exec_prefix}/lib/cups/ ${exec_prefix}/lib/ppr/" | ||