summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/cups/cups-1.4.6/use_echo_only_in_init.patch13
-rw-r--r--meta/recipes-extended/cups/cups/0001-don-t-try-to-run-generated-binaries.patch (renamed from meta/recipes-extended/cups/cups-1.4.6/0001-don-t-try-to-run-generated-binaries.patch)0
-rw-r--r--meta/recipes-extended/cups/cups/cups-CVE-2011-2896.patch (renamed from meta/recipes-extended/cups/cups-1.4.6/cups-CVE-2011-2896.patch)0
-rw-r--r--meta/recipes-extended/cups/cups/cups-CVE-2011-3170.patch (renamed from meta/recipes-extended/cups/cups-1.4.6/cups-CVE-2011-3170.patch)0
-rw-r--r--meta/recipes-extended/cups/cups/cups-CVE-2012-5519.patch (renamed from meta/recipes-extended/cups/cups-1.4.6/cups-CVE-2012-5519.patch)0
-rw-r--r--meta/recipes-extended/cups/cups/cups_serverbin.patch (renamed from meta/recipes-extended/cups/cups-1.4.6/cups_serverbin.patch)0
-rw-r--r--meta/recipes-extended/cups/cups/use_echo_only_in_init.patch15
-rw-r--r--meta/recipes-extended/cups/cups16.inc (renamed from meta/recipes-extended/cups/cups14.inc)2
-rw-r--r--meta/recipes-extended/cups/cups_1.6.1.bb (renamed from meta/recipes-extended/cups/cups_1.4.6.bb)12
9 files changed, 20 insertions, 22 deletions
diff --git a/meta/recipes-extended/cups/cups-1.4.6/use_echo_only_in_init.patch b/meta/recipes-extended/cups/cups-1.4.6/use_echo_only_in_init.patch
deleted file mode 100644
index 26b57dd6ce..0000000000
--- a/meta/recipes-extended/cups/cups-1.4.6/use_echo_only_in_init.patch
+++ /dev/null
@@ -1,13 +0,0 @@
1Upstream-Status: Inappropriate [embedded specific]
2
3--- a/init/cups.sh.in.orig 2008-10-04 16:50:46.000000000 -0300
4+++ b/init/cups.sh.in 2008-10-04 16:51:39.000000000 -0300
5@@ -68,7 +68,7 @@
6 ECHO_ERROR=:
7 ;;
8
9- Linux*)
10+ DISABLELinux*)
11 IS_ON=/bin/true
12 if test -f /etc/init.d/functions; then
13 . /etc/init.d/functions
diff --git a/meta/recipes-extended/cups/cups-1.4.6/0001-don-t-try-to-run-generated-binaries.patch b/meta/recipes-extended/cups/cups/0001-don-t-try-to-run-generated-binaries.patch
index e6544b5607..e6544b5607 100644
--- a/meta/recipes-extended/cups/cups-1.4.6/0001-don-t-try-to-run-generated-binaries.patch
+++ b/meta/recipes-extended/cups/cups/0001-don-t-try-to-run-generated-binaries.patch
diff --git a/meta/recipes-extended/cups/cups-1.4.6/cups-CVE-2011-2896.patch b/meta/recipes-extended/cups/cups/cups-CVE-2011-2896.patch
index 7c6f75bd6c..7c6f75bd6c 100644
--- a/meta/recipes-extended/cups/cups-1.4.6/cups-CVE-2011-2896.patch
+++ b/meta/recipes-extended/cups/cups/cups-CVE-2011-2896.patch
diff --git a/meta/recipes-extended/cups/cups-1.4.6/cups-CVE-2011-3170.patch b/meta/recipes-extended/cups/cups/cups-CVE-2011-3170.patch
index fd1b95847c..fd1b95847c 100644
--- a/meta/recipes-extended/cups/cups-1.4.6/cups-CVE-2011-3170.patch
+++ b/meta/recipes-extended/cups/cups/cups-CVE-2011-3170.patch
diff --git a/meta/recipes-extended/cups/cups-1.4.6/cups-CVE-2012-5519.patch b/meta/recipes-extended/cups/cups/cups-CVE-2012-5519.patch
index 6b2887a5c9..6b2887a5c9 100644
--- a/meta/recipes-extended/cups/cups-1.4.6/cups-CVE-2012-5519.patch
+++ b/meta/recipes-extended/cups/cups/cups-CVE-2012-5519.patch
diff --git a/meta/recipes-extended/cups/cups-1.4.6/cups_serverbin.patch b/meta/recipes-extended/cups/cups/cups_serverbin.patch
index f7b44a7bc1..f7b44a7bc1 100644
--- a/meta/recipes-extended/cups/cups-1.4.6/cups_serverbin.patch
+++ b/meta/recipes-extended/cups/cups/cups_serverbin.patch
diff --git a/meta/recipes-extended/cups/cups/use_echo_only_in_init.patch b/meta/recipes-extended/cups/cups/use_echo_only_in_init.patch
new file mode 100644
index 0000000000..696f1374d9
--- /dev/null
+++ b/meta/recipes-extended/cups/cups/use_echo_only_in_init.patch
@@ -0,0 +1,15 @@
1Upstream-Status: Inappropriate [embedded specific]
2
3Index: cups-1.6.1/scheduler/cups.sh.in
4===================================================================
5--- cups-1.6.1.orig/scheduler/cups.sh.in
6+++ cups-1.6.1/scheduler/cups.sh.in
7@@ -67,7 +67,7 @@ case "`uname`" in
8 ECHO_ERROR=:
9 ;;
10
11- Linux*)
12+ DisableLinux*)
13 IS_ON=/bin/true
14 if test -f /etc/init.d/functions; then
15 . /etc/init.d/functions
diff --git a/meta/recipes-extended/cups/cups14.inc b/meta/recipes-extended/cups/cups16.inc
index 9fae880d22..9b0ae5b61d 100644
--- a/meta/recipes-extended/cups/cups14.inc
+++ b/meta/recipes-extended/cups/cups16.inc
@@ -1,7 +1,7 @@
1SUMMARY = "An Internet printing system for Unix" 1SUMMARY = "An Internet printing system for Unix"
2DESCRIPTION = "An Internet printing system for Unix." 2DESCRIPTION = "An Internet printing system for Unix."
3SECTION = "console/utils" 3SECTION = "console/utils"
4LICENSE = "GPLv2 LGPLv2" 4LICENSE = "GPLv2 & LGPLv2"
5DEPENDS = "gnutls libpng jpeg dbus dbus-glib zlib" 5DEPENDS = "gnutls libpng jpeg dbus dbus-glib zlib"
6PROVIDES = "cups14" 6PROVIDES = "cups14"
7 7
diff --git a/meta/recipes-extended/cups/cups_1.4.6.bb b/meta/recipes-extended/cups/cups_1.6.1.bb
index 75c23d39e6..42ce059230 100644
--- a/meta/recipes-extended/cups/cups_1.4.6.bb
+++ b/meta/recipes-extended/cups/cups_1.6.1.bb
@@ -1,21 +1,17 @@
1require cups14.inc 1require cups16.inc
2 2
3PR = "r9"
4DEPENDS += "libusb \ 3DEPENDS += "libusb \
5 ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" 4 ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
6 5
7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=956e7600195e6139f12de8c2a5bbefa9" 6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c5e50cb4b8f24b04636b719683a9102d"
8SRC_URI += " \ 7SRC_URI += " \
9 file://use_echo_only_in_init.patch \ 8 file://use_echo_only_in_init.patch \
10 file://0001-don-t-try-to-run-generated-binaries.patch \ 9 file://0001-don-t-try-to-run-generated-binaries.patch \
11 file://cups_serverbin.patch \ 10 file://cups_serverbin.patch \
12 file://cups-CVE-2011-2896.patch \
13 file://cups-CVE-2011-3170.patch \
14 file://cups-CVE-2012-5519.patch \
15 " 11 "
16 12
17SRC_URI[md5sum] = "de8fb5a29c36554925c0c6a6e2c0dae1" 13SRC_URI[md5sum] = "87ade07e3d1efd03c9c3add949cf9c00"
18SRC_URI[sha256sum] = "f08711702a77b52c7150f96fe1f45482f6151cb95ef601268c528607fe6ad514" 14SRC_URI[sha256sum] = "5842ab1144e653160fe667ee78b932ee036b054c0c2d20533d19e309149a7790"
19 15
20EXTRA_OECONF += " --disable-gssapi --enable-debug --disable-relro --enable-libusb \ 16EXTRA_OECONF += " --disable-gssapi --enable-debug --disable-relro --enable-libusb \
21 ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)}" 17 ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)}"