Files
bpfire/lfs/cups
Adolf Belka 5a9f439d24 cups: Update to version 2.4.10
- Update from version 2.4.6 to 2.4.10
- Update of rootfile not required
- CVE fix in 2.4.7 & 2.4.9
- Changelog
    2.4.10
	- Fixed error handling when reading a mixed `1setOf` attribute.
	- Fixed scheduler start if there is only domain socket to listen on (Issue #985)
    2.4.9
	- Fixed domain socket handling (CVE-2024-35235)
	- Fixed creating of `cupsUrfSupported` PPD keyword (Issue #952)
	- Fixed searching for destinations in web ui (Issue #954)
	- Fixed TLS negotiation using OpenSSL with servers that require the TLS SNI
	  extension.
	- Really raised `cups_enum_dests()` timeout for listing available IPP printers
	  (Issue #751)...
	- Fixed `Host` header regression (Issue #967)
	- Fixed DNS-SD lookups of local services with Avahi (Issue #970)
	- Fixed listing jobs in destinations in web ui. (Apple issue #6204)
	- Fixed showing search query in web ui help page. (Issue #977)
    2.4.8
	- Added warning if the device has to be asked for 'all,media-col-database'
	  separately (Issue #829)
	- Added new value for 'lpstat' option '-W' - successfull - for getting
	  successfully printed jobs (Issue #830)
	- Added support for PAM modules password-auth and system-auth (Issue #892)
	- Updated IPP Everywhere printer creation error reporting (Issue #347)
	- Updated and documented the MIME typing buffering limit (Issue #925)
	- Now report an error for temporary printer defaults with lpadmin (Issue #237)
	- Fixed mapping of PPD InputSlot, MediaType, and OutputBin values (Issue #238)
	- Fixed "document-unprintable-error" handling (Issue #391)
	- Fixed the web interface not showing an error for a non-existent printer
	  (Issue #423)
	- Fixed printing of jobs with job name longer than 255 chars on older printers
	  (Issue #644)
	- Really backported fix for Issue #742
	- Fixed `cupsCopyDestInfo` device connection detection (Issue #586)
	- Fixed "Upgrade" header handling when there is no TLS support (Issue #775)
	- Fixed memory leak when unloading a job (Issue #813)
	- Fixed memory leak when creating color profiles (Issue #815)
	- Fixed a punch finishing bug in the IPP Everywhere support (Issue #821)
	- Fixed crash in `scan_ps()` if incoming argument is NULL (Issue #831)
	- Fixed setting job state reasons for successful jobs (Issue #832)
	- Fixed infinite loop in IPP backend if hostname is IP address with Kerberos
	  (Issue #838)
	- Added additional check on socket if `revents` from `poll()` returns POLLHUP
	  together with POLLIN or POLLOUT in `httpAddrConnect2()` (Issue #839)
	- Fixed crash in `ppdEmitString()` if `size` is NULL (Issue #850)
	- Fixed reporting `media-source-supported` when sharing printer which has
	  numbers as strings instead of keywords as `InputSlot` values (Issue #859)
	- Fixed IPP backend to support the "print-scaling" option with IPP printers
	  (Issue #862)
	- Fixed potential race condition for the creation of temporary queues
	  (Issue #871)
	- Fixed `httpGets` timeout handling (Issue #879)
	- Fixed checking for required attributes during PPD generation (Issue #890)
	- Fixed encoding of IPv6 addresses in HTTP requests (Issue #903)
	- Fixed sending response headers to client (Issue #927)
	- Fixed CGI program initialization and validation of form checkbox and text
	  fields.
    2.4.7
	- CVE-2023-4504 - Fixed Heap-based buffer overflow when reading Postscript
	  in PPD files
	- Added OpenSSL support for cupsHashData (Issue #762)
	- Fixed delays in lpd backend (Issue #741)
	- Fixed extensive logging in scheduler (Issue #604)
	- Fixed hanging of `lpstat` on IBM AIX (Issue #773)
	- Fixed hanging of `lpstat` on Solaris (Issue #156)
	- Fixed printing to stderr if we can't open cups-files.conf (Issue #777)
	- Fixed purging job files via `cancel -x` (Issue #742)
	- Fixed RFC 1179 port reserving behavior in LPD backend (Issue #743)
	- Fixed a bug in the PPD command interpretation code (Issue #768)
	- Fixed Oki 407 freeze when printing larger jobs (Issue #877)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-13 09:13:51 +00:00

112 lines
3.9 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2024 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 2.4.10
SUMMARY = The Common UNIX Printing System
THISAPP = cups-$(VER)
DL_FILE = $(THISAPP)-source.tar.gz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/cups-$(VER)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = cups
PAK_VER = 39
DEPS = avahi cups-filters dbus ghostscript libexif
SERVICES = cups
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 842a713d606c1e68d5113c0fc2f063cb58519891bb8f442fd64caeebf6b14fbf38b59d1fe4277cf8f9a01238c4c040fc7919234afa56dc86fcebb623a0058322
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
dist:
$(PAK)
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
$(UPDATE_AUTOMAKE)
cd $(DIR_APP) && \
./configure \
--prefix=/usr \
--sysconfdir=/var/ipfire \
--localstatedir=/var \
--enable-debug \
--with-dnssd=avahi \
--enable-dbus \
--with-tls=openssl \
--enable-libusb
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
cd $(DIR_APP) && ln -v -sf /usr/bin/smbspool /usr/lib/cups/backend/smb
install -v -m 644 $(DIR_SRC)/config/backup/includes/cups \
/var/ipfire/backup/addons/includes/cups
# install initscript
$(call INSTALL_INITSCRIPTS,$(SERVICES))
cp -fv $(DIR_SRC)/config/cups/cupsd.conf /var/ipfire/cups/
# Install convenience link
ln -svf /var/ipfire/cups /etc/cups
@rm -rf $(DIR_APP)
@$(POSTBUILD)