package/cups: Un-deprecate, and update CUPS to 2.1.2

- Remove 0001-fix-static.patch - Fixed upstream
 - Remove 0002-fix-stack-protector-check.patch - Fixed upstream
 - Remove 0003-mantohtml.patch - Replaced by
   0001-Remove-man-from-BUILDDIRS-in- configure.patch
 - Add 0002-Do-not-use-genstrings.patch
 - Add CUPS_PDFTOPS option to Config.in.legacy - This support was
   moved to the cups-filters package.

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
[Thomas:
 - rewrap patch description in patch 0001
 - adjust patch 0002 to completely remove the call to genstrings
   instead of commenting it, and remove the potentially confusing
   'echo' above it
 - add a third patch that sanitizes the installation process to avoid
   non-working stripping, owernship changes, etc.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Olivier Schonken
2016-01-21 00:17:43 +02:00
committed by Thomas Petazzoni
parent 837de1793a
commit d37ce8e1a4
10 changed files with 240 additions and 95 deletions

View File

@@ -1,7 +1,7 @@
config BR2_PACKAGE_CUPS
bool "cups"
# serious security issues, needs upgrading
depends on BR2_DEPRECATED_SINCE_2015_05
# needs libstdcpp for ppdc
depends on BR2_INSTALL_LIBSTDCPP
# needs fork()
depends on BR2_USE_MMU
help
@@ -9,15 +9,5 @@ config BR2_PACKAGE_CUPS
http://www.cups.org
if BR2_PACKAGE_CUPS
config BR2_PACKAGE_CUPS_PDFTOPS
bool "pdftops support"
depends on BR2_INSTALL_LIBSTDCPP
help
Enable pdftops support
comment "pdftops support needs a toolchain w/ C++"
comment "cups needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP
endif