Commit Graph

67 Commits

Author SHA1 Message Date
Michael Tremer
c183124f58 Bump PAK_VER for all packages that use SERVICES
Since we have extended services.cgi that it reads the Services field
from the Pakfire metadata, we will need to make sure that that metadata
is going to be on those systems.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-09-15 10:43:54 +00:00
Peter Müller
2e6def380e CUPS: Bump package number after revert
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-09-12 19:46:59 +00:00
Peter Müller
d1c8c9ef60 Revert "CUPS: Update to 2.4.2"
This reverts commit ffce292e7a.

See: #12924
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-09-12 19:46:18 +00:00
Peter Müller
ffce292e7a CUPS: Update to 2.4.2
Please refer to https://github.com/OpenPrinting/cups/releases/tag/v2.4.2
for the release notes of this version. Most notably for IPFire, it comes
with OpenSSL support again.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-07-29 17:04:17 +00:00
Michael Tremer
71aba971c4 cups: Add link at /etc/cups pointing to configuration
This is needed because cups-pdf is looking for its configuration file in
/etc/cups.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-07-27 07:09:31 +00:00
Stefan Schantl
9aa2c4cc29 libtiff: Move into core system.
pango and the PDF tools as core parts are linked against
libtiff, therefore this library has to become a part of the
core distribution too.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2022-06-17 16:28:05 +00:00
Stefan Schantl
4fdd355880 krb5: Move package into core system.
On one hand, the key.dns_resolver binary is linked against libkrb5, so this
library at least is required by the base system.

On the other hand this easily allows different services on the firewall
to use kerberos for authentication (ssh etc).

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2022-06-17 16:28:05 +00:00
Peter Müller
01cb6d794b cups: Bump package version
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-02 05:28:32 +00:00
Peter Müller
9a7e4d8506 Switch checksums from MD5 to BLAKE2
Historically, the MD5 checksums in our LFS files serve as a protection
against broken downloads, or accidentally corrupted source files.

While the sources are nowadays downloaded via HTTPS, it make sense to
beef up integrity protection for them, since transparently intercepting
TLS is believed to be feasible for more powerful actors, and the state
of the public PKI ecosystem is clearly not helping.

Therefore, this patch switches from MD5 to BLAKE2, updating all LFS
files as well as make.sh to deal with this checksum algorithm. BLAKE2 is
notably faster (and more secure) than SHA2, so the performance penalty
introduced by this patch is negligible, if noticeable at all.

In preparation of this patch, the toolchain files currently used have
been supplied with BLAKE2 checksums as well on
https://source.ipfire.org/.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremeripfire.org>
2022-04-02 14:19:25 +00:00
Daniel Weismueller
d6b2b662da Add backup/include for cups
To solve the behavior discribed in bug 12404 I added the path
 /var/ipfire/cups to the backup.

Signed-off-by: Daniel Weismueller <daniel.weismueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-03-11 15:54:40 +00:00
Robin Roevens
f15707c78c buildprocess: Add extra metadata to pak lfs files
* Add a Summary and Services field to all pak lfs files
* Replace occurances of INSTALL_INITSCRIPT with new INSTALL_INITSCRIPTS
  macro in all pak lfs files.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-11 15:13:15 +00:00
Adolf Belka
37b4810a14 cups: Update to version 2.4.1
- Update from 2.3.3op2 to 2.4.1
- Update of rootfile
- Changelog
   Changes in CUPS v2.4.1 (27th January 2020)
     - The default color mode now is now configurable and defaults to the printer's
       reported default mode (Issue #277)
     - Configuration script now checks linking for -Wl,-pie flags (Issue #303)
     - Fixed memory leaks - in testi18n (Issue #313), in `cups_enum_dests()`
       (Issue #317), in `_cupsEncodeOption()` and `http_tls_upgrade()` (Issue #322)
     - Fixed missing bracket in de/index.html (Issue #299)
     - Fixed typos in configuration scripts (Issues #304, #316)
     - Removed remaining legacy code for `RIP_MAX_CACHE` environment variable
       (Issue #323)
     - Removed deprecated directives from cupsctl and cups-files.conf (Issue #300)
     - Removed `purge-jobs` legacy code from CGI scripts and templates (Issue #325)
   Changes in CUPS v2.4.0 (29th November 2021)
     - Added configure option --with-idle-exit-timeout (Issue #294)
     - Added --with-systemd-timeoutstartsec configure option (Issue #298)
     - DigestOptions now are applied for MD5 Digest authentication defined
       by RFC 2069 as well (Issue #287)
     - Fixed compilation on Solaris (Issue #293)
     - Fixed and improved German translations (Issue #296, Issue #297)
   Changes in CUPS v2.4rc1 (12th November 2021)
     - Added warning and debug messages when loading printers
      if the queue is raw or with driver (Issue #286)
     - Compilation now uses -fstack-protector-strong if available (Issue #285)
   Changes in CUPS v2.4b1 (27th October 2021)
     - Added support for CUPS running in a Snapcraft snap.
     - Added basic OAuth 2.0 client support (Issue #100)
     - Added support for AirPrint and Mopria clients (Issue #105)
     - Added configure support for specifying systemd dependencies in the CUPS
       service file (Issue #144)
     - Added several features and improvements to `ipptool` (Issue #153)
     - Added a JSON output mode for `ipptool`.
     - The `ipptool` command now correctly reports an error when a test file cannot
       be found.
     - CUPS library now uses thread safe `getpwnam_r` and `getpwuid_r` functions
       (Issue #274)
     - Fixed Kerberos authentication for the web interface (Issue #19)
     - The ZPL sample driver now supports more "standard" label sizes (Issue #70)
     - Fixed reporting of printer instances when enumerating and when no options are
       set for the main instance (Issue #71)
     - Reverted USB read limit enforcement change from CUPS 2.2.12 (Issue #72)
     - The IPP backend did not return the correct status code when a job was canceled
       at the printer/server (Issue #74)
     - The `testlang` unit test program now loops over all of the available locales
       by default (Issue #85)
     - The `cupsfilter` command now shows error messages when options are used
       incorrectly (Issue #88)
     - The PPD functions now treat boolean values as case-insensitive (Issue #106)
     - Temporary queue names no longer end with an underscore (Issue #110)
     - The USB backend now runs as root (Issue #121)
     - Added pkg-config file for libcups (Issue #122)
     - Fixed a PPD memory leak caused by emulator definitions (Issue #124)
     - Fixed a `DISPLAY` bug in `ipptool` (Issue #139)
     - The scheduler now includes the `[Job N]` prefix for job log messages, even
       when using syslog logging (Issue #154)
     - Added support for locales using the GB18030 character set (Issue #159)
     - `httpReconnect2` did not reset the socket file descriptor when the TLS
       negotiation failed (Apple #5907)
     - `httpUpdate` did not reset the socket file descriptor when the TLS
       negotiation failed (Apple #5915)
     - The IPP backend now retries Validate-Job requests (Issue #132)
     - Now show better error messages when a driver interface program fails to
       provide a PPD file (Issue #148)
     - Added dark mode support to the CUPS web interface (Issue #152)
     - Added a workaround for Solaris in `httpAddrConnect2` (Issue #156)
     - Fixed an interaction between `--remote-admin` and `--remote-any` for the
       `cupsctl` command (Issue #158)
     - Now use a 60 second timeout for reading USB backchannel data (Issue #160)
     - The USB backend now tries harder to find a serial number (Issue #170)
     - Fixed `@IF(name)` handling in `cupsd.conf` (Apple #5918)
     - Fixed documentation and added examples for CUPS' limited CGI support
       (Apple #5940)
     - Fixed the `lpc` command prompt (Apple #5946)
     - Now always pass "localhost" in the `Host:` header when talking over a domain
       socket or the loopback interface (Issue #185)
     - Fixed a job history update issue in the scheduler (Issue #187)
     - Fixed `job-pages-per-set` value for duplex print jobs.
     - Fixed an edge case in `ippReadIO` to make sure that only complete attributes
       and values are retained on an error (Issue #195)
     - Hardened `ippReadIO` to prevent invalid IPP messages from being propagated
       (Issue #195, Issue #196)
     - The scheduler now supports the "everywhere" model directly (Issue #201)
     - Fixed some IPP Everywhere option mapping problems (Issue #238)
     - Fixed support for "job-hold-until" with the Restart-Job operation (Issue #250)
     - Fixed the default color/grayscale presets for IPP Everywhere PPDs (Issue #262)
     - Fixed support for the 'offline-report' state for all USB backends (Issue #264)
     - Documentation fixes (Issue #92, Issue #163, Issue #177, Issue #184)
     - Localization updates (Issue #123, Issue #129, Issue #134, Issue #146,
       Issue #164)
     - USB quirk updates (Issue #192, Issue #270, Apple #5766, Apple #5838,
       Apple #5843, Apple #5867)
     - Web interface updates (Issue #142, Issue #218)
     - The `ippeveprinter` tool now automatically uses an available port.
     - Fixed several Windows TLS and hashing issues.
     - Deprecated cups-config (Issue #97)
     - Deprecated Kerberos (`AuthType Negotiate`) authentication (Issue #98)
     - Removed support for the (long deprecated and unused) `FontPath`,
       `ListenBackLog`, `LPDConfigFile`, `KeepAliveTimeout`, `RIPCache`, and
       `SMBConfigFile` directives in `cupsd.conf` and `cups-files.conf`.
     - Stubbed out deprecated `httpMD5` functions.
     - Add test for undefined page ranges during printing.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-06 17:13:42 +00:00
Michael Tremer
e950f7c7a3 cups: Bump package version
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-08-01 13:25:24 +00:00
Adolf Belka
eea5db042f cups: Update to 2.3.3op2
- Update from 2.3.3 to 2.3.3op2
- OpenPrinting statement from March 2021:-
   CUPS has new home at OpenPrinting
   Due to the fact that CUPS development at Apple has stopped since the
   beginning of 2020 we had forked CUPS some months ago to incorporate
   patches and fixes from the distributions. As Apple did not resume the
   upstream work on CUPS, we have made OpenPrinting now the official
   upstream home for CUPS.
   This especially means that we can now continue developing CUPS,
   independent of Apple. So we can add features and lead CUPS into the new
   architecture without PPD files and with Printer Applications.
   CUPS has a new home page now and what was formerly our fork is now the
   official CUPS repository. Upcoming releases will be of the new 2.4.x
   series, without “opX” suffix as now. Also all documentation files which
   come with it are updated to point to the OpenPrinting resources.
- Update of rootfile not required.
- Changelog
   Changes in CUPS v2.3.3op2
    - Security: Fixed a buffer (read) overflow in the `ippReadIO` function
      (CVE-2020-10001)
    - Clarified the documentation for the "Listen" directive (Issue #53)
    - Fixed duplicate ColorModel entries for AirPrint printers (Issue 59)
    - Fixed directory/permission defaults for Debian kfreebsd-based systems
      (Issue #60, Issue #61)
    - Fixed crash bug in `ppdOpen` (Issue #64, Issue #78)
    - Fixed regression in `snprintf` emulation function (Issue #67)
    - The scheduler's systemd service file now waits for the nslcd service to start
      (Issue #69)
    - The libusb-based USB backend now uses a simpler read timer implementation to
      avoid a regression in a previous change (Issue #72)
    - The PPD caching code now only tracks the `APPrinterIconPath` value on macOS
      (Issue #73)
    - Fixed segfault in help.cgi when searching in man pages (Issue #81)
    - Root certificates were incorrectly stored in "~/.cups/ssl".
Changes in CUPS v2.3.3op1
    - The automated test suite can now be activated using `make test` for
      consistency with other projects and CI environments - the old `make check`
      continues to work as well, and the previous test server behavior can be
      accessed by running `make testserver`.
    - ippeveprinter now supports multiple icons and strings files.
    - ippeveprinter now uses the system's FQDN with Avahi.
    - ippeveprinter now supports Get-Printer-Attributes on "/".
    - ippeveprinter now uses a deterministic "printer-uuid" value.
    - ippeveprinter now uses system sounds on macOS for Identify-Printer.
    - Updated ippfind to look for files in "~/Desktop" on Windows.
    - Updated ippfind to honor `SKIP-XXX` directives with `PAUSE`.
    - Updated IPP Everywhere support to work around printers that only advertise
      color raster support but really also support grayscale (Issue #1)
    - ipptool now supports DNS-SD URIs like `ipps://My%20Printer._ipps._tcp.local`
      (Issue #5)
    - The scheduler now allows root backends to have world read permissions but not
      world execute permissions (Issue #21)
    - Failures to bind IPv6 listener sockets no longer cause errors if IPv6 is
      disabled on the host (Issue #25)
    - The SNMP backend now supports the HP and Ricoh vendor MIBs (Issue #28)
    - The scheduler no longer includes a timestamp in files it writes (Issue #29)
    - The systemd service names are now "cups.service" and "cups-lpd.service"
      (Issue #30, Issue #31)
    - The scheduler no longer adds the local hostname to the ServerAlias list
      (Issue #32)
    - Added `LogFileGroup` directive in "cups-files.conf" to control the group
      owner of log files (Issue #34)
    - Added `--with-max-log-size` configure option (Issue #35)
    - Added `--enable-sync-on-close` configure option (Issue #37)
    - Added `--with-error-policy` configure option (Issue #38)
    - IPP Everywhere PPDs could have an "unknown" default InputSlot (Issue #44)
    - The `httpAddrListen` function now uses a listen backlog of 128.
    - Added USB quirks (Apple issue #5789, #5823, #5831)
    - Fixed IPP Everywhere v1.1 conformance issues in ippeveprinter.
    - Fixed DNS-SD name collision support in ippeveprinter.
    - Fixed compiler and code analyzer warnings.
    - Fixed TLS support on Windows.
    - Fixed ippfind sub-type searches with Avahi.
    - Fixed the default hostname used by ippeveprinter on macOS.
    - Fixed resolution of local IPP-USB printers with Avahi.
    - Fixed coverity issues (Issue #2)
    - Fixed `httpAddrConnect` issues (Issue #3)
    - Fixed web interface device URI issue (Issue #4)
    - Fixed lp/lpr "printer/class not found" error reporting (Issue #6)
    - Fixed xinetd support for LPD clients (Issue #7)
    - Fixed libtool build issue (Issue #11)
    - Fixed a memory leak in the scheduler (Issue #12)
    - Fixed a potential integer overflow in the PPD hashing code (Issue #13)
    - Fixed output-bin and print-quality handling issues (Issue #18)
    - Fixed PPD options getting mapped to odd IPP values like "tray---4" (Issue #23)
    - Fixed remote access to the cupsd.conf and log files (Issue #24)
    - Fixed the automated test suite when running in certain build/CI environments
      (Issue #25)
    - Fixed a logging regression caused by a previous change for Apple issue #5604
      (Issue #25)
    - Fixed fax phone number handling with GNOME (Issue #40)
    - Fixed potential rounding error in rastertopwg filter (Issue #41)
    - Fixed the "uri-security-supported" value from the scheduler (Issue #42)
    - Fixed IPP backend crash bug with "printer-alert" values (Issue #43)
    - Removed old Solaris inetconv(1m) reference in cups-lpd man page (Issue #46)
    - Fixed default options that incorrectly use the "custom" prefix (Issue #48)
    - Fixed a memory leak when resolving DNS-SD URIs (Issue #49)
    - Fixed systemd status reporting by adopting the notify interface (Issue #51)
    - Fixed crash in rastertopwg (Apple issue #5773)
    - Fixed cupsManualCopies values in IPP Everywhere PPDs (Apple issue #5807)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-04-14 17:31:45 +00:00
Michael Tremer
80a74a788e cups: Update automake
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-03-06 11:14:50 +00:00
Michael Tremer
a92a4ecb3c cups: Update to 2.3.3
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-09-24 17:36:37 +00:00
Arne Fitzenreiter
bd61ace39b core145: add gnupg, squid and bump cups
they are linked against updated openldap

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-13 18:46:04 +00:00
Michael Tremer
2dc2a27803 lfs: Drop quotes in DEPS variable
Not sure why this has ever been there. This simply makes it
nicer to read and edit because we can have line-breaks now.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-03-24 08:57:27 +00:00
Arne Fitzenreiter
592be1d206 bluetooth: drop outdated bluetooth addon
The cgi support only rfcomm modem dialup. This is not used by modern hardware.
Also the used bluez stack version is outdated long time.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-03-21 15:41:22 +00:00
Michael Tremer
001481edf3 cups: Depends on bluetooth library
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-02-24 04:04:51 +00:00
Peter Müller
eee037b890 update disclaimer in LFS files
Most of these files still used old dates and/or domain names for contact
mail addresses. This is now replaced by an up-to-date copyright line.

Just some housekeeping... :-)

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-10 19:20:36 +01:00
Michael Tremer
467581b8ab avahi: Update to 0.7
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-08-10 11:19:25 +01:00
Michael Tremer
6064cd87cc Revert "avahi: Drop package"
This reverts commit aa6ee515c5.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-08-10 11:11:48 +01:00
Michael Tremer
076ad71576 avahi: Drop package
The daemon locks up when starting up in avahi_log_info() and
probably the other logging functions, too.

Since avahi is not really used a lot in the distribution,
has been in testing for four years and has virtually no users
I am going to drop it instead of wasting time on fixing this.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-04-12 17:49:45 +01:00
Jonatan Schlag
17f7f41e41 Merge branch 'next' into initscripts-cleanup 2017-03-03 14:56:35 +01:00
Michael Tremer
2b5aece94e cups: Use avahi and DBUS
These services are quite handy to make the printing
capabilities available to the network.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-02-25 15:37:29 +00:00
Jonatan Schlag
5283818233 Merge branch 'next' into initscripts-cleanup 2017-02-25 12:58:27 +01:00
Michael Tremer
6d390861b9 Update CUPS to 2.2.2
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-02-24 20:06:01 +00:00
Jonatan Schlag
be2732c217 Install initscript with the new macro
- Move the cups initscript to src/initscripts/packages
2017-02-22 12:26:54 +01:00
Jonatan Schlag
1d8dab5404 Move the initscript of the cups package into the packages directory
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
2017-02-22 11:18:36 +01:00
Michael Tremer
7861ea5cf7 cups: Depend on cups-filters
Without the filters package, CUPS is faily useless

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-02-22 09:18:43 +00:00
Matthias Fischer
e01ff6d89b cups: Update to 2.0.4
Signed-off-by: Matthias Fischer <fischerm42@t-online.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-08-02 21:41:21 +01:00
Matthias Fischer
a46b97969c cups: Update to 2.0.3
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-07-26 19:19:49 +01:00
Michael Tremer
b720e70288 cups: Update to 1.7.5 and fix for CVE-2015-1158 and CVE-2015-1159
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-07-14 17:15:00 +02:00
Michael Tremer
38ca33d110 cups: Fix rootfile.
Basically, include just everything.
2014-03-27 11:36:12 +01:00
Michael Tremer
69460bba80 cups: Update to 1.7.0. 2013-10-27 13:09:30 +01:00
Michael Tremer
cd1f976235 cups: Use libusb. 2013-10-24 22:16:49 +02:00
Michael Tremer
f3604e1192 cups: Update to 1.6.4. 2013-10-24 15:21:33 +02:00
Arne Fitzenreiter
2b5d1d8f70 cups: update to 1.4.8. 2012-02-08 07:50:17 +01:00
Arne Fitzenreiter
a97f6dd36b cups: update to 1.4.6. 2011-05-17 23:03:28 +02:00
Christian Schmidt
b0cc7ed7c6 Updated cups to the latest stable, this should fix some bugs. 2010-09-17 10:01:14 +02:00
Arne Fitzenreiter
51e8c5aa5d Disabled libusb for cups. 2010-01-31 08:55:50 +01:00
Arne Fitzenreiter
4f6b0952a1 Updated cups (1.4.2). 2010-01-25 07:01:01 +01:00
Arne Fitzenreiter
6e725fc4f1 Change cyrus-sasl from package to common. 2010-01-24 15:21:07 +01:00
Maniacikarus
fcc535236f Done a whole review of the lfs to make building more paralell
you may need to clean your ccache
2008-10-28 18:14:09 +01:00
Arne Fitzenreiter
3b1534685b Update cups to 1.3.9 (security fixes) 2008-10-14 22:31:33 +02:00
Arne Fitzenreiter
8f93036659 Fix cups dependency 2008-08-02 13:28:03 +02:00
Arne Fitzenreiter
bfb59786a5 Update cups to 1.3.7
Add missing php-pear files to core11
2008-04-03 19:28:45 +02:00
maniacikarus
d47ad587e7 removed custom background option for urlfilter option is no longer
supported
reverted cups and squid
change QoS CTRL script
changed exit codes for the red init scripts



git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1129 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-12-23 17:33:32 +00:00
maniacikarus
5f9d5a4267 Update Clamav and Cups build might fail because of gcc bug
git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1126 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-12-19 18:47:45 +00:00