summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/cups
AgeCommit message (Collapse)AuthorFiles
2015-02-21cups: 2.0.1 -> 2.0.2Robert Yang4
Removed the patch since upstream has fixed it: 0001-test-ippserver.c-check-avahi-before-use.patch Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-16cups: remove fakeroot from do_install()Robert Yang1
The fakeroot is already set in base.bbclass. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-01-07cups: check avahi before use itRobert Yang2
Fixed the error when --disable-avahi: ippserver.c:425:8: error: unknown type name 'AvahiThreadedPoll' The avahi is optional, we need check whether it is enabled before use as other code does. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2014-12-21cups: Upgrade to 2.0.1Chong Lu2
Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-20cups: remove unrecognised optionRoss Burton1
--disable-openssl was removed in 2.0, so don't pass it to configure. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-09cups: Upgrade to 2.0.0Saul Wold5
Remove backported patch and rebase gcrypt patch Licence change updates the date and removes the OpenSSL exception Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-08base: Improve makefile clean handling, introduce CLEANBROKEN variableRichard Purdie1
It turns out we have quite a number of Makefiles out there without a clean target. Rather than have all cases code an empty do_configure, add a CLEANBROKEN variable which when set to "1" will disable the attempt to "make clean". This patch also adjusts various recipes which either have this problem fixed, or have been reported to have make clean failures. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-03cups: add systemd supportChen Qi4
Add systemd unit files. Also remove sysvinit related files if 'sysvinit' is not in DISTRO_FEATURES. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-03cups: make cups daemon start correctlyIn Long1
The cups daemon needs the lpadmin group to start correctly. Also add 'procps' to RDEPENDS if 'sysvinit' is in DISTRO_FEATURES, because the init script shipped with cups needs it. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-23cups: Upgrade to 1.7.5Saul Wold2
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-06cups: regen configure so cups-no-gcrypt.patch has an effectPeter A. Bigot1
The existing patch backports a change to the m4 source file, but without a forced autoconf before configure it has no effect. Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-25cups: Upgrade to 1.7.4Saul Wold4
Remove patch that was backported Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-10cups.inc: Delete obsolete "PROVIDES" line.Robert P. J. Day1
Remove "PROVIDES =" line that refers back to CUPS version 1.4. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-06-17cups: enable cups-str4402.patchRobert Yang1
This patch is used for fixing build errors without dnssd/avahi, we already have this patch, but isn't added to SRC_URI: meta/recipes-extended/cups/cups/cups-str4402.patch Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-13v4 cups: Shouldn't link against libgcrypt without using gcrypt functionsArmin Kuster2
Backported from http://www.cups.org/strfiles.php/3308/cups-no-gcrypt.patch This addresses the cryto dependency seen during build. Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-03cups: Update to 1.7.3Saul Wold2
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-21cups: fix for cups not building without avahiSaul Wold1
Backport upstream patch for CUPS issue: STR #4402 [YOCTO #6325] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-04-25Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador1
The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-24cups: update to 1.7.2Saul Wold2
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-28autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie1
This patch goes through the OE-Core recipes and marks those which use autotools but don't support a separate build directory (${S} != ${B}). A new class, autotools-brokensep is used for this purpose. This doesn't introduce any change in behaviour in its own right. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14cups: upgrade to 1.7.1Saul Wold2
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-02cups: remove unrecognised optionRobert Yang1
Remove the following 2 options: * --disable-tiff * --with-pdftops The tiff and pdftops filters have been moved into another package cups-filters, so these options are not valid any more. Please visit here for more info: http://www.cups.org/str.php?L3930 Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2013-12-03Don't set DESCRIPTION to the same value as SUMMARYPaul Eggleton1
Setting DESCRIPTION to the same value as SUMMARY doesn't do anything, since the value of DESCRIPTION will be derived from SUMMARY if not specified. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-30cups: upgrade to 1.7.0Saul Wold3
Rename and consolidate cups16.inc to cups.inc use PACKAGECONFIG for pam. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-10-14cups: upgrade to 1.6.4Saul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-27cups: add PACKAGECONFIG for aclMartin Jansa1
* acl is autodetected from sysroot * add PACKAGECONFIG to make it deterministic Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-27cups: Update to 1.6.3Saul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-23cups: add PACKAGECONFIG for avahiMartin Jansa1
* it's autodetected from sysroot Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-13cups: Update to 1.6.2Saul Wold2
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-05-29cups: remove /var/run from package as cupsd will populate it on startupJonathan Liu1
The /var/run/cups and /var/run/cups/certs directories don't need to be included in the package as they are created by cupsd with the proper permissions if they don't exist. The /var/run directory is already created by base-files. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-02cups: remove old patch filesSaul Wold3
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-19cups: Update to 1.6.1Saul Wold9
License change was due to update of Date. Remove CVE patches as they where backports from this release Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-14cups CVE-2011-3170Li Wang2
the patch come from: http://cups.org/strfiles/3914/str3914.patch The gif_read_lzw function in filter/image-gif.c in CUPS 1.4.8 and earlier does not properly handle the first code word in an LZW stream, which allows remote attackers to trigger a heap-based buffer overflow, and possibly execute arbitrary code, via a crafted stream, a different vulnerability than CVE-2011-2896. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-3170 [YOCTO #3583] [ CQID: WIND00299594 ] Upstream-Status: Backport Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-14cups - CVE-2011-2896Li Wang2
the patch come from: http://cups.org/strfiles/3867/str3867.patch The LZW decompressor in the LWZReadByte function in giftoppm.c in the David Koblas GIF decoder in PBMPLUS, as used in the gif_read_lzw function in filter/image-gif.c in CUPS before 1.4.7, the LZWReadByte function in plug-ins/common/file-gif-load.c in GIMP 2.6.11 and earlier, the LZWReadByte function in img/gifread.c in XPCE in SWI-Prolog 5.10.4 and earlier, and other products, does not properly handle code words that are absent from the decompression table when encountered, which allows remote attackers to trigger an infinite loop or a heap-based buffer overflow, and possibly execute arbitrary code, via a crafted compressed stream, a related issue to CVE-2006-1168 and CVE-2011-2895. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-2896 [YOCTO #3582] [ CQID: WIND00299595 ] Upstream-Status: Backport Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-14cups: CVE-2012-5519Li Wang2
lpadmin to (limited) root privilege escalation http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-5519 http://www.cups.org/strfiles/4223/str4223v2-1.4.4-debian.patch [YOCTO #3579] [ CQID: WIND00392016 ] Upstream-Status: Backport Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-23cups: disable pdftopsSaul Wold2
This ensure a reliable built without host contamination, this will also disable the usage of ghostscript. [YOCTO #2966] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26cups_1.4.6.bb: Fix build on ppc64Khem Raj3
ppc64 uses lib64 and usr/lib64 for library paths so we need to train cups build system Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-19Convert tab indentation in python functions into four-spaceRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-19cups: clean up FILE after PACKAGE reorderSaul Wold2
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-30meta: replace os.system with subprocess.callRobert Yang1
Replace os.system with subprocess.call since the older function would fail (more or less) silently if the executed program cannot be found More info: http://docs.python.org/library/subprocess.html#subprocess-replacements [YOCTO #2454] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-16cups: Ensure cups-config has correct target paths, not sysroot ones for ↵Richard Purdie2
cups_serverbin and cups_datadir variables These are used by dependent packages to know where to install cups related pieces into therefore we need to remove the sysroot prefix from these. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie1
Using "1" with getVar is bad coding style and "True" is preferred. This patch is a sed over the meta directory of the form: sed \ -e 's:\(\.getVar([^,()]*, \)1 *):\1True):g' \ -e 's:\(\.getVarFlag([^,()]*, [^,()]*, \)1 *):\1True):g' \ -i `grep -ril getVar *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-15Patch Upstream Status UpdatesSaul Wold2
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-11-10Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie1
This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22cups: Fix recipe to use the correct cups directoriesMark Hatle2
${libdir} is not used, instead they use a common ${exec_prefix}/lib directory structure for helpers, filters, renderers, etc. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27cups: add pam supportKang Kai1
According to distro_feature then add pam support for cups or not. Signed-off-by: Kang Kai <kai.kang@windriver.com>
2011-02-01cups: add cups 1.4.6Jingdong Lu4
This package has been added from meta-openembedded committed by Koen Kooi. Changes from the meta-openembedded version: * Add SUMMARY * Change dependence name: libusb * Add PR Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>