]> git.ipfire.org Git - ipfire-2.x.git/log
ipfire-2.x.git
3 years agodhcp: Update to 4.4.2
Matthias Fischer [Wed, 3 Mar 2021 14:01:58 +0000 (15:01 +0100)] 
dhcp: Update to 4.4.2

For details see:
https://downloads.isc.org/isc/dhcp/4.4.2/dhcp-4.4.2-RELNOTES

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship wget
Michael Tremer [Wed, 3 Mar 2021 16:49:00 +0000 (16:49 +0000)] 
core155: Ship wget

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agowget: Update to 1.21.1
Matthias Fischer [Wed, 3 Mar 2021 13:50:35 +0000 (14:50 +0100)] 
wget: Update to 1.21.1

Sorry, no changelog found, only:
https://fossies.org/linux/wget/ChangeLog

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agomc: Update to 4.8.26
Matthias Fischer [Wed, 3 Mar 2021 13:49:17 +0000 (14:49 +0100)] 
mc: Update to 4.8.26

For details see:
http://midnight-commander.org/wiki/NEWS-4.8.26

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agopython3: Update to 3.8.7
Michael Tremer [Wed, 3 Mar 2021 13:41:58 +0000 (13:41 +0000)] 
python3: Update to 3.8.7

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship libffi and all dependencies
Michael Tremer [Wed, 3 Mar 2021 13:40:33 +0000 (13:40 +0000)] 
core155: Ship libffi and all dependencies

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolibffi: Update to 3.3
Michael Tremer [Tue, 16 Feb 2021 17:03:50 +0000 (17:03 +0000)] 
libffi: Update to 3.3

This contains a version bump which requires us to ship Python 2 and
Python 3 again.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosuricata: Update to 5.0.6
Matthias Fischer [Wed, 3 Mar 2021 12:56:56 +0000 (13:56 +0100)] 
suricata: Update to 5.0.6

For details see:
https://forum.suricata.io/t/suricata-6-0-2-and-5-0-6-released/1170

and

https://redmine.openinfosecfoundation.org/versions/164

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship libhtp
Michael Tremer [Wed, 3 Mar 2021 13:25:02 +0000 (13:25 +0000)] 
core155: Ship libhtp

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolibhtp: Update to 0.5.37
Matthias Fischer [Wed, 3 Mar 2021 12:52:43 +0000 (13:52 +0100)] 
libhtp: Update to 0.5.37

For details see:
https://github.com/OISF/libhtp/releases

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agofirewall: Remove ALGs from UI
Michael Tremer [Tue, 2 Mar 2021 18:43:06 +0000 (18:43 +0000)] 
firewall: Remove ALGs from UI

This change drops the UIs that could enable ALGs for various protocols.

Those have been all forcibly disabled because "NAT Slipstream".

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Disable all connection tracking helpers
Michael Tremer [Tue, 2 Mar 2021 18:35:13 +0000 (18:35 +0000)] 
core155: Disable all connection tracking helpers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoe2fsprogs: Disable libraries provided by util-linux
Michael Tremer [Tue, 2 Mar 2021 17:40:34 +0000 (17:40 +0000)] 
e2fsprogs: Disable libraries provided by util-linux

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agofirewall: Disable all connection tracking helpers by default
Michael Tremer [Tue, 2 Mar 2021 10:04:46 +0000 (10:04 +0000)] 
firewall: Disable all connection tracking helpers by default

This will mitigate exploiting networks secured by IPFire using NAT
Slipstreaming:

https://lists.ipfire.org/pipermail/development/2021-February/009303.html

Suggested-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosuricata: Ship after updating rust compiler
Michael Tremer [Mon, 1 Mar 2021 21:32:08 +0000 (21:32 +0000)] 
suricata: Ship after updating rust compiler

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155_ Ship boost again
Michael Tremer [Sat, 27 Feb 2021 15:31:07 +0000 (15:31 +0000)] 
core155_ Ship boost again

This is necessary because boost has been removed by filesystem-cleanup.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agofilesystem-cleanup: Ignore boost
Michael Tremer [Sat, 27 Feb 2021 15:27:42 +0000 (15:27 +0000)] 
filesystem-cleanup: Ignore boost

This package does not behave according to standard distribution rules
and our script deletes all libraries

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agorust: Update rootfiles for aarch64 and armv5tel
Michael Tremer [Thu, 25 Feb 2021 17:56:11 +0000 (17:56 +0000)] 
rust: Update rootfiles for aarch64 and armv5tel

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agorust: Remove LLVM tools
Michael Tremer [Thu, 25 Feb 2021 13:55:16 +0000 (13:55 +0000)] 
rust: Remove LLVM tools

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agorust: Update to 1.50
Matthias Fischer [Wed, 24 Feb 2021 12:43:53 +0000 (13:43 +0100)] 
rust: Update to 1.50

For details see:
https://github.com/rust-lang/rust/blob/master/RELEASES.md

Unfortunately I can only build with 32bit and 64bit, this is why I
couldn't upload the rootfiles for 'aarch64' and 'armv5tel'.

Tested here with 'suricata 5.0.5' - running without seen problems.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agofireperf: Update to version 0.2.0
Michael Tremer [Tue, 23 Feb 2021 15:11:57 +0000 (15:11 +0000)] 
fireperf: Update to version 0.2.0

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoRun "./make.sh lang"
Michael Tremer [Mon, 22 Feb 2021 19:01:07 +0000 (19:01 +0000)] 
Run "./make.sh lang"

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship zoneconf
Michael Tremer [Mon, 22 Feb 2021 19:00:45 +0000 (19:00 +0000)] 
core155: Ship zoneconf

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agozoneconf.cgi: Add default value for STP and require input
Leo-Andres Hofmann [Thu, 18 Feb 2021 14:30:16 +0000 (15:30 +0100)] 
zoneconf.cgi: Add default value for STP and require input

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agozoneconf.cgi: Import network-functions.pl
Leo-Andres Hofmann [Thu, 18 Feb 2021 14:30:15 +0000 (15:30 +0100)] 
zoneconf.cgi: Import network-functions.pl

Remove custom functions and use network-functions.pl instead to detect
the available zones correctly. This also removes the requirement that
a device must be assigned for a zone to become visible/configurable.

Fixes: #12568
Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agozoneconf.cgi: Add Javascript for new GUI elements
Leo-Andres Hofmann [Thu, 18 Feb 2021 14:30:14 +0000 (15:30 +0100)] 
zoneconf.cgi: Add Javascript for new GUI elements

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agozoneconf.cgi: Add STP options to GUI
Leo-Andres Hofmann [Thu, 18 Feb 2021 14:30:13 +0000 (15:30 +0100)] 
zoneconf.cgi: Add STP options to GUI

Changes & new features:
- Add CSS for STP options, add texts to language files
- Read STP settings from ethernet configuration and display inputs
- Validate and save STP settings

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agozoneconf.cgi: Modify CSS to allow additional rows
Leo-Andres Hofmann [Thu, 18 Feb 2021 14:30:12 +0000 (15:30 +0100)] 
zoneconf.cgi: Modify CSS to allow additional rows

Simplify borders, load more colors from header and add dividers

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agozoneconf.cgi: Change NIC display order, improve code
Leo-Andres Hofmann [Thu, 18 Feb 2021 14:30:11 +0000 (15:30 +0100)] 
zoneconf.cgi: Change NIC display order, improve code

Refactor duplicate perl code and add comments

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agohaproxy: Use new PCRE2 library
Michael Tremer [Mon, 22 Feb 2021 13:58:28 +0000 (13:58 +0000)] 
haproxy: Use new PCRE2 library

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolang: Actually check Polish translation
Michael Tremer [Mon, 22 Feb 2021 13:41:31 +0000 (13:41 +0000)] 
lang: Actually check Polish translation

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoAdd Spanish translations for Captive Portal
Roberto Peña [Sun, 21 Feb 2021 11:11:47 +0000 (12:11 +0100)] 
Add Spanish translations for Captive Portal

- Ran ./make lang before adding translations and git status was clear
- Ran ./make lang after adding translations and git status included also
    doc/language_issues.pl although I did not change anything for Polish
    and it was clear before making any changes

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolibxcrypt 4.4.17: Fix for rootfile
Matthias Fischer [Sat, 20 Feb 2021 10:14:05 +0000 (11:14 +0100)] 
libxcrypt 4.4.17: Fix for rootfile

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship tar
Michael Tremer [Mon, 22 Feb 2021 11:27:40 +0000 (11:27 +0000)] 
core155: Ship tar

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agotar: Update to 1.34
Matthias Fischer [Fri, 19 Feb 2021 23:17:28 +0000 (00:17 +0100)] 
tar: Update to 1.34

For details see:
https://lists.gnu.org/archive/html/info-gnu/2021-02/msg00006.html

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship libgcrypt
Michael Tremer [Mon, 22 Feb 2021 11:26:50 +0000 (11:26 +0000)] 
core155: Ship libgcrypt

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolibgcrypt: Update to 1.9.2
Matthias Fischer [Fri, 19 Feb 2021 23:14:12 +0000 (00:14 +0100)] 
libgcrypt: Update to 1.9.2

For details see:
https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000457.html

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship nettle
Michael Tremer [Mon, 22 Feb 2021 11:26:19 +0000 (11:26 +0000)] 
core155: Ship nettle

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agonettle: Update to 3.7.1
Matthias Fischer [Fri, 19 Feb 2021 23:09:50 +0000 (00:09 +0100)] 
nettle: Update to 3.7.1

For details see:

Annonce for 3.7.1:
http://lists.lysator.liu.se/pipermail/nettle-bugs/2021/009434.html

Announce for 3.6:
http://lists.lysator.liu.se/pipermail/nettle-bugs/2020/008967.html

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoWIO - Patch PPPOE show right Icon
Stephan Feddersen [Tue, 16 Feb 2021 21:45:07 +0000 (22:45 +0100)] 
WIO - Patch PPPOE show right Icon

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agokrb5: Update to 1.19.1
Matthias Fischer [Fri, 19 Feb 2021 17:51:14 +0000 (18:51 +0100)] 
krb5: Update to 1.19.1

For details see:
https://web.mit.edu/kerberos/krb5-1.19/README-1.19.1.txt

"This is a bug fix release.

* Fix a linking issue with Samba.

* Better support multiple pkinit_identities values by checking whether
  certificates can be loaded for each value.

krb5-1.19.1 changes by ticket ID
--------------------------------

8984    Load certs when checking pkinit_identities values
8985    Restore krb5_set_default_tgs_ktypes()
8987    Synchronize command-line option documentation"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship bind
Michael Tremer [Fri, 19 Feb 2021 19:32:43 +0000 (19:32 +0000)] 
core155: Ship bind

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agobind: Update to 9.11.28
Matthias Fischer [Fri, 19 Feb 2021 17:44:27 +0000 (18:44 +0100)] 
bind: Update to 9.11.28

For details see:
https://downloads.isc.org/isc/bind9/9.11.28/RELEASE-NOTES-bind-9.11.28.html

"Notes for BIND 9.11.28
Security Fixes

When tkey-gssapi-keytab or tkey-gssapi-credential was configured,
a specially crafted GSS-TSIG query could cause a buffer overflow in the
ISC implementation of SPNEGO (a protocol enabling negotiation of the
security mechanism to use for GSSAPI authentication). This flaw could
be exploited to crash named. Theoretically, it also enabled remote code
execution, but achieving the latter is very difficult in real-world
conditions. (CVE-2020-8625)

This vulnerability was responsibly reported to us as ZDI-CAN-12302
by Trend Micro Zero Day Initiative. [GL #2354]"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agomonit: Update to 5.27.2
Matthias Fischer [Fri, 12 Feb 2021 13:15:59 +0000 (14:15 +0100)] 
monit: Update to 5.27.2

For details see:
https://mmonit.com/monit/changes/

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolibjpeg-compat: Drop package
Michael Tremer [Wed, 17 Feb 2021 16:25:14 +0000 (16:25 +0000)] 
libjpeg-compat: Drop package

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoreadline-compat: Drop package
Michael Tremer [Wed, 17 Feb 2021 16:23:17 +0000 (16:23 +0000)] 
readline-compat: Drop package

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoberkeley-compat: Drop package
Michael Tremer [Wed, 17 Feb 2021 16:21:24 +0000 (16:21 +0000)] 
berkeley-compat: Drop package

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agogmp-compat: Drop package
Michael Tremer [Wed, 17 Feb 2021 16:18:30 +0000 (16:18 +0000)] 
gmp-compat: Drop package

This is no longer required because everything should be linked against
the current version.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoDrop /usr/lib/sse2
Michael Tremer [Tue, 16 Feb 2021 18:00:16 +0000 (18:00 +0000)] 
Drop /usr/lib/sse2

This is now unused

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoopenssl: Drop SSE2-optimized version
Michael Tremer [Tue, 16 Feb 2021 17:55:29 +0000 (17:55 +0000)] 
openssl: Drop SSE2-optimized version

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agogmp: Drop SSE2-optimized version on i586
Michael Tremer [Tue, 16 Feb 2021 17:43:12 +0000 (17:43 +0000)] 
gmp: Drop SSE2-optimized version on i586

The next version of glibc has removed support for this and this patch
removes it.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoMerge branch 'master' into next
Michael Tremer [Tue, 16 Feb 2021 17:37:26 +0000 (17:37 +0000)] 
Merge branch 'master' into next

3 years agoMerge remote-tracking branch 'ms/wifi-fixes' core154
Michael Tremer [Tue, 16 Feb 2021 17:36:41 +0000 (17:36 +0000)] 
Merge remote-tracking branch 'ms/wifi-fixes'

3 years agocore154: Ship openssl
Michael Tremer [Tue, 16 Feb 2021 17:36:22 +0000 (17:36 +0000)] 
core154: Ship openssl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoopenssl: Update to 1.1.1j
Michael Tremer [Tue, 16 Feb 2021 17:28:17 +0000 (17:28 +0000)] 
openssl: Update to 1.1.1j

Null pointer deref in X509_issuer_and_serial_hash() (CVE-2021-23841)
====================================================================

Severity: Moderate

The OpenSSL public API function X509_issuer_and_serial_hash() attempts to
create a unique hash value based on the issuer and serial number data contained
within an X509 certificate. However it fails to correctly handle any errors
that may occur while parsing the issuer field (which might occur if the issuer
field is maliciously constructed). This may subsequently result in a NULL
pointer deref and a crash leading to a potential denial of service attack.

The function X509_issuer_and_serial_hash() is never directly called by OpenSSL
itself so applications are only vulnerable if they use this function directly
and they use it on certificates that may have been obtained from untrusted
sources.

OpenSSL versions 1.1.1i and below are affected by this issue. Users of these
versions should upgrade to OpenSSL 1.1.1j.

OpenSSL versions 1.0.2x and below are affected by this issue. However OpenSSL
1.0.2 is out of support and no longer receiving public updates. Premium support
customers of OpenSSL 1.0.2 should upgrade to 1.0.2y. Other users should upgrade
to 1.1.1j.

This issue was reported to OpenSSL on 15th December 2020 by Tavis Ormandy from
Google. The fix was developed by Matt Caswell.

Incorrect SSLv2 rollback protection (CVE-2021-23839)
====================================================

Severity: Low

OpenSSL 1.0.2 supports SSLv2. If a client attempts to negotiate SSLv2 with a
server that is configured to support both SSLv2 and more recent SSL and TLS
versions then a check is made for a version rollback attack when unpadding an
RSA signature. Clients that support SSL or TLS versions greater than SSLv2 are
supposed to use a special form of padding. A server that supports greater than
SSLv2 is supposed to reject connection attempts from a client where this special
form of padding is present, because this indicates that a version rollback has
occurred (i.e. both client and server support greater than SSLv2, and yet this
is the version that is being requested).

The implementation of this padding check inverted the logic so that the
connection attempt is accepted if the padding is present, and rejected if it
is absent. This means that such as server will accept a connection if a version
rollback attack has occurred. Further the server will erroneously reject a
connection if a normal SSLv2 connection attempt is made.

Only OpenSSL 1.0.2 servers from version 1.0.2s to 1.0.2x are affected by this
issue. In order to be vulnerable a 1.0.2 server must:

1) have configured SSLv2 support at compile time (this is off by default),
2) have configured SSLv2 support at runtime (this is off by default),
3) have configured SSLv2 ciphersuites (these are not in the default ciphersuite
  list)

OpenSSL 1.1.1 does not have SSLv2 support and therefore is not vulnerable to
this issue. The underlying error is in the implementation of the
RSA_padding_check_SSLv23() function. This also affects the RSA_SSLV23_PADDING
padding mode used by various other functions. Although 1.1.1 does not support
SSLv2 the RSA_padding_check_SSLv23() function still exists, as does the
RSA_SSLV23_PADDING padding mode. Applications that directly call that function
or use that padding mode will encounter this issue. However since there is no
support for the SSLv2 protocol in 1.1.1 this is considered a bug and not a
security issue in that version.

OpenSSL 1.0.2 is out of support and no longer receiving public updates. Premium
support customers of OpenSSL 1.0.2 should upgrade to 1.0.2y. Other users should
upgrade to 1.1.1j.

This issue was reported to OpenSSL on 21st January 2021 by D. Katz and Joel
Luellwitz from Trustwave. The fix was developed by Matt Caswell.

Integer overflow in CipherUpdate (CVE-2021-23840)
=================================================

Severity: Low

Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow
the output length argument in some cases where the input length is close to the
maximum permissable length for an integer on the platform. In such cases the
return value from the function call will be 1 (indicating success), but the
output length value will be negative. This could cause applications to behave
incorrectly or crash.

OpenSSL versions 1.1.1i and below are affected by this issue. Users of these
versions should upgrade to OpenSSL 1.1.1j.

OpenSSL versions 1.0.2x and below are affected by this issue. However OpenSSL
1.0.2 is out of support and no longer receiving public updates. Premium support
customers of OpenSSL 1.0.2 should upgrade to 1.0.2y. Other users should upgrade
to 1.1.1j.

This issue was reported to OpenSSL on 13th December 2020 by Paul Kehrer. The fix
was developed by Matt Caswell.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship openssl
Michael Tremer [Tue, 16 Feb 2021 17:34:10 +0000 (17:34 +0000)] 
core155: Ship openssl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoopenssl: Update to 1.1.1j
Michael Tremer [Tue, 16 Feb 2021 17:28:17 +0000 (17:28 +0000)] 
openssl: Update to 1.1.1j

Null pointer deref in X509_issuer_and_serial_hash() (CVE-2021-23841)
====================================================================

Severity: Moderate

The OpenSSL public API function X509_issuer_and_serial_hash() attempts to
create a unique hash value based on the issuer and serial number data contained
within an X509 certificate. However it fails to correctly handle any errors
that may occur while parsing the issuer field (which might occur if the issuer
field is maliciously constructed). This may subsequently result in a NULL
pointer deref and a crash leading to a potential denial of service attack.

The function X509_issuer_and_serial_hash() is never directly called by OpenSSL
itself so applications are only vulnerable if they use this function directly
and they use it on certificates that may have been obtained from untrusted
sources.

OpenSSL versions 1.1.1i and below are affected by this issue. Users of these
versions should upgrade to OpenSSL 1.1.1j.

OpenSSL versions 1.0.2x and below are affected by this issue. However OpenSSL
1.0.2 is out of support and no longer receiving public updates. Premium support
customers of OpenSSL 1.0.2 should upgrade to 1.0.2y. Other users should upgrade
to 1.1.1j.

This issue was reported to OpenSSL on 15th December 2020 by Tavis Ormandy from
Google. The fix was developed by Matt Caswell.

Incorrect SSLv2 rollback protection (CVE-2021-23839)
====================================================

Severity: Low

OpenSSL 1.0.2 supports SSLv2. If a client attempts to negotiate SSLv2 with a
server that is configured to support both SSLv2 and more recent SSL and TLS
versions then a check is made for a version rollback attack when unpadding an
RSA signature. Clients that support SSL or TLS versions greater than SSLv2 are
supposed to use a special form of padding. A server that supports greater than
SSLv2 is supposed to reject connection attempts from a client where this special
form of padding is present, because this indicates that a version rollback has
occurred (i.e. both client and server support greater than SSLv2, and yet this
is the version that is being requested).

The implementation of this padding check inverted the logic so that the
connection attempt is accepted if the padding is present, and rejected if it
is absent. This means that such as server will accept a connection if a version
rollback attack has occurred. Further the server will erroneously reject a
connection if a normal SSLv2 connection attempt is made.

Only OpenSSL 1.0.2 servers from version 1.0.2s to 1.0.2x are affected by this
issue. In order to be vulnerable a 1.0.2 server must:

1) have configured SSLv2 support at compile time (this is off by default),
2) have configured SSLv2 support at runtime (this is off by default),
3) have configured SSLv2 ciphersuites (these are not in the default ciphersuite
  list)

OpenSSL 1.1.1 does not have SSLv2 support and therefore is not vulnerable to
this issue. The underlying error is in the implementation of the
RSA_padding_check_SSLv23() function. This also affects the RSA_SSLV23_PADDING
padding mode used by various other functions. Although 1.1.1 does not support
SSLv2 the RSA_padding_check_SSLv23() function still exists, as does the
RSA_SSLV23_PADDING padding mode. Applications that directly call that function
or use that padding mode will encounter this issue. However since there is no
support for the SSLv2 protocol in 1.1.1 this is considered a bug and not a
security issue in that version.

OpenSSL 1.0.2 is out of support and no longer receiving public updates. Premium
support customers of OpenSSL 1.0.2 should upgrade to 1.0.2y. Other users should
upgrade to 1.1.1j.

This issue was reported to OpenSSL on 21st January 2021 by D. Katz and Joel
Luellwitz from Trustwave. The fix was developed by Matt Caswell.

Integer overflow in CipherUpdate (CVE-2021-23840)
=================================================

Severity: Low

Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow
the output length argument in some cases where the input length is close to the
maximum permissable length for an integer on the platform. In such cases the
return value from the function call will be 1 (indicating success), but the
output length value will be negative. This could cause applications to behave
incorrectly or crash.

OpenSSL versions 1.1.1i and below are affected by this issue. Users of these
versions should upgrade to OpenSSL 1.1.1j.

OpenSSL versions 1.0.2x and below are affected by this issue. However OpenSSL
1.0.2 is out of support and no longer receiving public updates. Premium support
customers of OpenSSL 1.0.2 should upgrade to 1.0.2y. Other users should upgrade
to 1.1.1j.

This issue was reported to OpenSSL on 13th December 2020 by Paul Kehrer. The fix
was developed by Matt Caswell.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agowlanclient: Do not force using legacy interface to talk to the kernel
Michael Tremer [Tue, 16 Feb 2021 16:44:45 +0000 (17:44 +0100)] 
wlanclient: Do not force using legacy interface to talk to the kernel

"wireless extensions" is the old interface to speak to the kernel.

All newer drivers support nl80211 now.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agowirelessclient.cgi: Show when 802.11w is active
Michael Tremer [Tue, 16 Feb 2021 16:41:23 +0000 (17:41 +0100)] 
wirelessclient.cgi: Show when 802.11w is active

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agowirelessclient.cgi: Show when actually connected using WPA3
Michael Tremer [Tue, 16 Feb 2021 16:37:07 +0000 (17:37 +0100)] 
wirelessclient.cgi: Show when actually connected using WPA3

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agowirelessclient.cgi: Show when using WPA3
Michael Tremer [Tue, 16 Feb 2021 16:34:02 +0000 (17:34 +0100)] 
wirelessclient.cgi: Show when using WPA3

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agodhcp.cgi: Fix incorrect { placement from patch 3724
Adolf Belka [Tue, 16 Feb 2021 13:30:10 +0000 (14:30 +0100)] 
dhcp.cgi: Fix incorrect { placement from patch 3724

- When patch 3724 was created for bug #10743 a curly bracket was placed in the wrong place
This results in the overlap of two if loops meaning that there will be no validity
check carried out on Default Lease Time if Deny Known Clients is not checked.
- This patch moves the { bracket to the right location.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoRevert "dhcpcd: Update to 9.3.4"
Michael Tremer [Tue, 16 Feb 2021 11:50:16 +0000 (11:50 +0000)] 
Revert "dhcpcd: Update to 9.3.4"

This reverts commit d96d979e2a0bb199b5ae7bec75964f4091996268.

Arne requested to revert this commit as well since dhcpcd still does not
run without any problems on i586 systems.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship country.cgi
Michael Tremer [Mon, 15 Feb 2021 13:14:13 +0000 (13:14 +0000)] 
core155: Ship country.cgi

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocountry.cgi: Fix for copy&paste typo
Matthias Fischer [Fri, 12 Feb 2021 19:40:38 +0000 (20:40 +0100)] 
country.cgi: Fix for copy&paste typo

Fixes typo in line 103 (<-> is no tab...)

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship sysvinit
Michael Tremer [Mon, 15 Feb 2021 13:13:45 +0000 (13:13 +0000)] 
core155: Ship sysvinit

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosysvinit: Update to 2.98
Adolf Belka [Fri, 12 Feb 2021 17:59:15 +0000 (18:59 +0100)] 
sysvinit: Update to 2.98

- Update sysvinit from 2.88dsf to 2.98
- From version 2.89 mounpoint build was not enabled as standard
- Patch created to modify Makefile to define mountpoint to be built
- Update of rootfiles
- Changelog is ~400 lines long from 2.88dsf to 2.98
- For details see the Changelog in the doc directory in the tarball

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship wirelessclient.cgi
Michael Tremer [Fri, 12 Feb 2021 12:00:15 +0000 (12:00 +0000)] 
core155: Ship wirelessclient.cgi

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agowirelessclient.cgi: Fix for bug #12571
Adolf Belka [Thu, 11 Feb 2021 12:41:29 +0000 (13:41 +0100)] 
wirelessclient.cgi: Fix for bug #12571

- Wirelessclient shows priority 0 to be most preferred and priority 4 as
least preferred. Based on forum posters experience and the wpa_supplicant
man page it is the other way round.
- This patch moves the least preferred title to priority 0 and vice versa
- Will ask bug reporter to test out the patch and confirm it works. The page
is only shown if you have a wifi connection on red.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agopython-xattr: Removal of addon
Adolf Belka [Wed, 10 Feb 2021 11:06:02 +0000 (12:06 +0100)] 
python-xattr: Removal of addon

- Update of attr causes current version of python-xattr to fail to build
- Following input from Michael Tremer
- This package was orihinally required for pakfire 3 which no longer depends on it
- This is a python 2 module. Python 2 is EOL
- lfs and rootfile removed from IPFire
- make.sh updated to remove python-xattr entry

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship attr
Michael Tremer [Fri, 12 Feb 2021 11:58:00 +0000 (11:58 +0000)] 
core155: Ship attr

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoattr: Update to 2.4.48
Adolf Belka [Wed, 10 Feb 2021 11:05:44 +0000 (12:05 +0100)] 
attr: Update to 2.4.48

- Update attr from 2.4.47 (2013) to 2.4.48 (2018)
- Update rootfiles
- Changelog in tarball only goes up to 2.4.44 so extracted changes
from commits between 2.4.47 and release of 2.4.48
v2.4.48
attr: Fix segmentation fault Andreas Gruenbacher
po: update Andreas Gruenbacher
setfacl: Include errno.h Andreas Gruenbacher
copy_action: drop unused alloca.h include Mike Frysinger
include: add uninstall target to fix distcheck Mike Frysinger
attr_copy_{fd,file}: sync changes between the files Mike Frysinger
xattr.conf: do not copy security.evm Stefan Berger
Cleanup visibility of API functions Yury Usishchev
Cleanup config.h usage Yury Usishchev
Use stdint types consistently Felix Janda
walk_tree_rec: Add parentheses to clarify code Andreas Gruenbacher
Reintroduce symbols that used to be syscall wrappers Dmitry V. Levin
Do not export symbols that are not supposed to be exported Dmitry V. Levin
Add explicit symbol versioning for attr_copy_action Dmitry V. Levin
ignore configure.lineno Mike Frysinger
walk_tree: mark internal variables as static Dmitry V. Levin
Remove the attr.5 man page (moved to man-pages) Andreas Gruenbacher
Remove <attr/xattr.h> and the syscall wrappers Andreas Gruenbacher
Remove the section 2 man pages Andreas Gruenbacher
Remove outdated tests from test/attr.test Andreas Gruenbacher
Remove test/ext/fs.test Andreas Gruenbacher
Add setfattr --raw option Andreas Gruenbacher
Properly set and report empty attribute values Andreas Gruenbacher
Man pages: Minor fixes Andreas Gruenbacher
build: unbreak attr_copy_fd() and attr_copy_file(). Nick Alcock
attr: Don't report a NULL attribute name when -l (list) fails Andreas Gruenbacher
attr_list / attr_listf: Fix cursor off-by-one error Andreas Gruenbacher
Portability fix: <alloca.h> is Linux specific Emmanuel Dreyfus
Portability fixes Emmanuel Dreyfus
telldir return value and seekdir second parameters are of type long Cristian Rodríguez
License fixes Andreas Gruenbacher
test: fix cleanup & running as root Mike Frysinger
include examples/ in dist tarball Mike Frysinger
build: ship a pkgconfig file for libattr Jan Engelhardt
build: make use of an aux-dir to stow away helper scripts Jan Engelhardt
avoid glibc-specific DECLS defines Mike Frysinger
build: drop attrincludedir, use pkgincludedir Jan Engelhardt
disable installation of man(2) pages by default Mike Frysinger
po: regenerate files after move Mike Frysinger
modernize build system Mike Frysinger
test: make running parallel/out-of-tree safe Mike Frysinger
move gettext logic into misc.h Mike Frysinger
punt debian/rpm packaging logic Mike Frysinger
Suppress deprecation warnings when building attr and libattr Andreas Gruenbacher
Add a default /etc/xattr.conf file Andreas Gruenbacher
Mark the Irix compatibility functions as deprecated Andreas Gruenbacher
Make attr_get and attr_getf behave as described in the man page Andreas Gruenbacher
Use autoreconf rather than autoconf to regenerate the files. Fabrice Bauzac
.gitignore: ignore *~ and config.h.in. Fabrice Bauzac
Fix ATTR_OP_REMOVE operation in attr_multi()
Makefile: rename configure.in to configure.ac

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolcd4linux: Update due to autoconf change
Adolf Belka [Tue, 9 Feb 2021 20:23:36 +0000 (21:23 +0100)] 
lcd4linux: Update due to autoconf change

- lcd4linux fails to build with autoconf-2.71
Required running of autoupdate on configure.in
and autoreconf to solve files not found errors

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship collectd
Michael Tremer [Fri, 12 Feb 2021 11:55:23 +0000 (11:55 +0000)] 
core155: Ship collectd

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocollectd: Update due to autoconf change
Adolf Belka [Tue, 9 Feb 2021 20:23:25 +0000 (21:23 +0100)] 
collectd: Update due to autoconf change

- collectd fails to build with autoconf-2.71
Required running of autoupdate on configure.in
and addition of --with-fp-layout=nothing to configure options

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoautoconf: Update to 2.71
Adolf Belka [Tue, 9 Feb 2021 20:23:13 +0000 (21:23 +0100)] 
autoconf: Update to 2.71

- Update autoconf from 2.69 to 2.71
- Updated rootfile
- Changelog
Large amount of changes, especially in 2.70 - too many to add in here.
Details of changes can be found in the NEWS file in the tarball

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship unbound
Michael Tremer [Fri, 12 Feb 2021 11:54:26 +0000 (11:54 +0000)] 
core155: Ship unbound

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agounbound: Update to 1.13.1
Matthias Fischer [Tue, 9 Feb 2021 17:33:17 +0000 (18:33 +0100)] 
unbound: Update to 1.13.1

For details see:
https://nlnetlabs.nl/projects/unbound/download/#unbound-1-13-1

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoDrop pcre-compat
Michael Tremer [Fri, 12 Feb 2021 11:51:45 +0000 (11:51 +0000)] 
Drop pcre-compat

This version of the library is outdated for a long time and we have been
shipping newer versions for long enough so that everyone should have
been migrated by now.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship pcre2
Michael Tremer [Fri, 12 Feb 2021 11:49:51 +0000 (11:49 +0000)] 
core155: Ship pcre2

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agopcre2: New package
Michael Tremer [Tue, 9 Feb 2021 16:10:07 +0000 (16:10 +0000)] 
pcre2: New package

pcre is no longer receiving any feature updates, but only bug fixes.

pcre2 is the successor which is replacing pcre.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship qpdf
Michael Tremer [Tue, 9 Feb 2021 15:01:38 +0000 (15:01 +0000)] 
core155: Ship qpdf

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoqpdf: Update to 10.1.0
Adolf Belka [Mon, 8 Feb 2021 19:57:10 +0000 (20:57 +0100)] 
qpdf: Update to 10.1.0

- Update qpdf from 10.0.1 to 10.1.0
- Update rootfile
- Changelog
2021-01-05  Jay Berkenbilt  <ejb@ql.org>
* 10.1.0: release
2021-01-04  Jay Berkenbilt  <ejb@ql.org>
* When qpdf CLI extracts pages, it now only attempts to remove
unreferenced resources from the pages that it is keeping. This
change dramatically reduces the time it takes to extract a small
number of pages from a large, complex file.
* Move getNext()->write() calls in some pipelines to ensure that
state gates properly reset even if the next pipeline's write
throws an exception (fuzz issue 28262).
2021-01-03  Jay Berkenbilt  <ejb@ql.org>
* Don't include -o nospace with zsh completion setup so file
completion works normally. Fixes #473.
2021-01-02  Jay Berkenbilt  <ejb@ql.org>
* Make QPDFPageObjectHelper methods pipeContents, parseContents,
and addContentTokenFilter work with form XObjects.
* Rename some QPDFPageObjectHelper methods and make them support
form XObjects as well as pages. The old names will be preserved
from compatibility.
- pipePageContents -> pipeContents
- parsePageContents -> parseContents
* Add QPDFObjectHandle::parseAsContents to apply ParserCallbacks
to a form XObject.
* QPDFPageObjectHelper::externalizeInlineImages can be called with
form XObjects as well as pages.
* Bug fix: QPDFPageObjectHelper::externalizeInlineImages was not
descending into form XObjects on a page. It now does this by
default. In the extremely unlikely event that anyone was actually
depending on the old behavior, it is available by passing
shallow=true to the externalizeInlineImages call.
* Bug fix: QPDFObjectHandle::filterPageContents was broken for
pages with an array of content streams. This caused
externalize-inline-images to also be broken for this case.
2021-01-01  Jay Berkenbilt  <ejb@ql.org>
* Add methods to QPDFPageObjectHelper: forEachXObject,
forEachImage, forEachFormXObject to call a function on each
XObject (or image or form XObject) in a page or form XObject,
possibly recursing into nested form XObjects.
* Add method QPDFPageObjectHelper::getFormXObjects to return a map
of keys to form XObjects (non-recursively) from a page or form
XObject.
* Add method QPDFObjectHandle::isImage to test whether an object
is an image.
2020-12-31  Jay Berkenbilt  <ejb@ql.org>
* QPDFPageObjectHelper::removeUnreferencedResources can now be
called with a QPDFPageObjectHelper created from a form XObject.
The method already recursed into form XObjects.
* Rename some QPDFPageObjectHelper methods and make them support
form XObjects as well as pages. The old names will be preserved
from compatibility.
- getPageImages -> getImages
- filterPageContents -> filterContents
* Add QPDFObjectHandle::isFormXObject to test whether an object is
a form XObject.
2020-12-30  Jay Berkenbilt  <ejb@ql.org>
* Add QPDFPageObjectHelper::flattenRotation and --flatten-rotation
option to the qpdf CLI. The flattenRotation method removes any
/Rotate key from a page dictionary and implements the same
rotation by modifying the page's contents such that the various
page boxes are altered and the page renders identically. This can
be used to work around buggy PDF applications that don't properly
handle page rotation. The --flatten-rotation option to the qpdf
CLI calls flattenRotation for every page.
2020-12-26  Jay Berkenbilt  <ejb@ql.org>
* Add QPDFObjectHandle::setFilterOnWrite, which can be used to
tell QPDFWriter not to filter a stream on output even if it can.
You can use this to prevent QPDFWriter from touching a stream
(either uncompressing or compressing) that you have optimized or
otherwise ensured looks exactly the way you want it, even if
decode level or stream compression would otherwise cause
QPDFWriter to modify the stream.
* Add ostream << for QPDFObjGen. (Don't ask why it took 7.5 years
for me to decide to do this.)
2020-12-25  Jay Berkenbilt  <ejb@ql.org>
* Refactor write code to eliminate an extra full traversal of
objects in the file and to remove assumptions that preclude stream
references from appearing in /DecodeParms of filterable streams.
This results in an approximately 8% performance reduction in write
times.
2020-12-23  Jay Berkenbilt  <ejb@ql.org>
* Allow library users to provide their own decoders for stream
filters by deriving classes from QPDFStreamFilter and registering
them using QPDF::registerStreamFilter. Registered stream filters
provide code to validate and interpret /DecodeParms for a specific
/Filter and also to provide a pipeline that will decode. Note that
it is possible to encode to a filter type that is not supported
even without this feature. See examples/pdf-custom-filter.cc for
an example of using custom stream filters.
2020-12-22  Jay Berkenbilt  <ejb@ql.org>
* Add QPDFObjectHandle::makeDirect(bool allow_streams) -- if
allow_streams is true, preserve indirect references to streams
rather than throwing an exception. This allows the object to be
made as direct as possible while preserving stream references.
2020-12-20  Jay Berkenbilt  <ejb@ql.org>
* Add qpdf_register_progress_reporter method to C API,
corresponding to QPDFWriter::registerProgressReporter. Fixes #487.
2020-11-28  Jay Berkenbilt  <ejb@ql.org>
* Add new functions to the C API for manipulating
QPDFObjectHandles. The new functions allow creation and
modification of objects, which brings a lot of additional power to
the C API. See include/qpdf/qpdf-c.h for details and
examples/pdf-c-objects.c for a simple example.
2020-11-21  Jay Berkenbilt  <ejb@ql.org>
* 10.0.4: release
* Fix QIntC::range_check to handle negative numbers properly (fuzz
issue 26994).
2020-11-11  Jay Berkenbilt  <ejb@ql.org>
* Treat a direct page object as a runtime error rather than a
logic error since it is actually possible to create a file that
has this (fuzz issue 27393).
2020-11-09  Jay Berkenbilt  <ejb@ql.org>
* Handle "." appearing in --pages not preceded by a numeric range
as a special case in command-line parsing code.
2020-11-04  Jay Berkenbilt  <ejb@ql.org>
* Ignore the value of the offset/generation field in an xref entry
for a deleted object. Also attempt file recovery on lower-level
exceptions thrown while reading the xref table. Fixes #482.
2020-10-31  Jay Berkenbilt  <ejb@ql.org>
* 10.0.3: release
* Don't enter extension initialization in QPDFWriter on a direct
object. Fixes stack overflow in pathological case of /Root being a
direct object (fuzz issue 26761).
* My previous fix to #449 (handling foreign streams with indirect
objects in /Filter and/or /DecodeParms) was incorrect and caused
other problems. There is a now a correct fix to the original
problem. Fixes #478.
2020-10-27  Jay Berkenbilt  <ejb@ql.org>
* 10.0.2: release
2020-10-25  Jay Berkenbilt  <ejb@ql.org>
* When signing distribution files, generate sha256 checksums
instead of md5, sha1, and sha512. sha256 seems to be more widely
used, and there's no reason to use md5 or sha1 anymore.
* Official Windows releases are now built using the openssl crypto
provider. The native provider is still available for selection at
runtime using the QPDF_CRYPTO_PROVIDER environment variable.
* Bug fix: --no-warn was not suppressing some warnings that might
be generated by --split-pages.
2020-10-23  Jay Berkenbilt  <ejb@ql.org>
* Bug fix: when concatenating content streams, insert a newline if
needed to prevent the last token from the old stream from being
merged with the first token of the new stream. Qpdf was mistakenly
concatenating the streams without regard to the specification that
content streams are to be broken on token boundaries. Fixes #444.
* fix-qdf: handle empty streams better with ignore newline by
treating them as empty even though, technically, a blank line
would be required inside the Stream. This just makes it easier to
add place-holder empty streams while editing qdf files by hand.
2020-10-22  Jay Berkenbilt  <ejb@ql.org>
* Fix memory leak that could occur if objects in object streams
were resolved more than once and the objects within the object
streams contained circular references. This leak could be
triggered when qpdf was run with --object-streams=generate on
files that already had object streams containing circular
references (fuzz issue 23642).
* Add QIntC::range_check for checking to see whether adding two
numbers together will cause an overflow.
* Fix loop detection problem when traversing page thumbnails
during optimization (fuzz issue 23172).
2020-10-21  Jay Berkenbilt  <ejb@ql.org>
* Bug fix: properly handle copying foreign streams that have
indirect /Filter or /DecodeParms keys when stream data has been
replaced. The circumstances leading to this bug are very unusual
but would cause qpdf to either generate an internal error or some
other kind of warning situation if it would occur. Fixes #449.
* Qpdf's build and CI has been migrated from Azure Pipelines
(Azure DevOps) to GitHub Actions.
* Remove some fuzz files that triggered Mal/PDFEx-H with some
virus scanners. There's plenty of coverage in the fuzz corpus
without these files, and it's a nuisance to have virus checkers
remove them. Fixes #460.
* Ensure that numeric conversion is not affected by the user's
global locale setting. Fixes #459.
* Add qpdf-<version>-linux-x86_64.zip to the list of built
distributions. This is a simple zip file that contains just the
qpdf executables and the dependent shared libraries that would not
ordinarily be present on a base system. This minimal binary
distribution works as is when used as a Lambda layer in AWS and
could be suitable for inclusion in a docker image or other
standalone Linux/x86_64 environment where you want minimal support
for running the qpdf executable. Fixes #352.
2020-10-20  Jay Berkenbilt  <ejb@ql.org>
* Add --warning-exit-0 option to the qpdf command line. When
specified, qpdf will exit with a status of 0 rather than 3 when
there are warnings without errors. Combine with --no-warn to
completely ignore warnings.
* Bug fix: fix further cases in which errors were written to
stdout. Fixes #438.
* Build option: add --disable-rpath option to ./configure, which
disables passing -rpath to the linker when building shared
libraries with libtool. Fixes #422.
2020-10-16  Jay Berkenbilt  <ejb@ql.org>
* Accept pull request that improves how the Windows native crypto
provider is obtained.
* Accept pull request that improves performance in processing
files in memory.
* Accept pull requests that improve openssl configuration and
error reporting.
* Build using GitHub Actions. The intention is that this will
replace Azure Pipelines as the official CI for qpdf for the next
release.
2020-10-15  Jay Berkenbilt  <ejb@ql.org>
* Make many minor improvements to the build process and code
health, including fixing a lgtm warning and compiler warnings from
newer version of gcc and MSVC toolchains. Add several cosmetic
improvements to build output in CI.
* Added LL_FMT to config.h.in. This is populated automatically by
autoconf, but if build with your own build system, you may need to
define it as whatever the format string needed by printf for long
long is. Usually this is "%lld", but it can be "%I64d" for some
older Windows-based compilers.
2020-04-29  Jay Berkenbilt  <ejb@ql.org>
* Bug fix: qpdf --check was writing errors and warnings reported
by checkLinearization to stdout instead of stderr. Fixes #438.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agompage: Update to 2.5.7
Adolf Belka [Mon, 8 Feb 2021 19:56:58 +0000 (20:56 +0100)] 
mpage: Update to 2.5.7

- Update mpage from 2.5.6 to 2.5.7
- No change to rootfile
- Slight tuning of patch needed due to changes in source file
- Changelog
June 2017
   - Released version 2.5.7
   - Relicensed code under GPLv2 or later

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolzo: Update to 2.10
Adolf Belka [Mon, 8 Feb 2021 19:56:40 +0000 (20:56 +0100)] 
lzo: Update to 2.10

- Update lzo from 2.09 to 2.10
- Update rootfile
- Changelog
Changes in 2.10 (01 Mar 2017)
  * Improve CMake build support.
  * Add support for pkg-config.
  * Do not redefine "snprintf" so that the examples build with MSVC 2015.
  * Assorted cleanups.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship LZ4
Michael Tremer [Tue, 9 Feb 2021 11:52:11 +0000 (11:52 +0000)] 
core155: Ship LZ4

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolz4: Update to 1.9.3
Adolf Belka [Mon, 8 Feb 2021 19:56:29 +0000 (20:56 +0100)] 
lz4: Update to 1.9.3

- Update lz4 from 1.9.2 to 1.9.3
- Updated rootfile
- Removed old patches and updated to new version name
- Changelog
v1.9.3
perf: highly improved speed in kernel space, by @terrelln
perf: faster speed with Visual Studio, thanks to @wolfpld and @remittor
perf: improved dictionary compression speed, by @felixhandte
perf: fixed LZ4_compress_HC_destSize() ratio, detected by @hsiangkao
perf: reduced stack usage in high compression mode, by @Yanpas
api : LZ4_decompress_safe_partial() supports unknown compressed size, requested by @jfkthame
api : improved LZ4F_compressBound() with automatic flushing, by Christopher Harvie
api : can (de)compress to/from NULL without UBs
api : fix alignment test on 32-bit systems (state initialization)
api : fix LZ4_saveDictHC() in corner case scenario, detected by @IgorKorkin
cli : `-l` legacy format is now compatible with `-m` multiple files, by Filipe Calasans
cli : benchmark mode supports dictionary, by @rkoradi
cli : fix --fast with large argument, detected by @picoHz
build: link to user-defined memory functions with LZ4_USER_MEMORY_FUNCTIONS, suggested by Yuriy Levchenko
build: contrib/cmake_unofficial/ moved to build/cmake/
build: visual/* moved to build/
build: updated meson script, by @neheb
build: tinycc support, by Anton Kochkov
install: Haiku support, by Jerome Duval
doc : updated LZ4 frame format, clarify EndMark

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship lcms2
Michael Tremer [Tue, 9 Feb 2021 11:50:08 +0000 (11:50 +0000)] 
core155: Ship lcms2

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agolcms2: Update to 2.12
Adolf Belka [Mon, 8 Feb 2021 19:56:11 +0000 (20:56 +0100)] 
lcms2: Update to 2.12

- Update lcms2 from 2.9 to 2.12
- Updated rootfile
- Changelog
-----------------------
2.12 Maintenance release
-----------------------
Added new build-in sigmoidal tone curve
Added XCode 12 project
Added support for multichannel input up to 15 channels
Fix LUT8 write matrix
Fix version mess on 10/11
Fix tools & samples xgetopt
Fix warnings on different function pointers
Fix matlab MEX compilation
plugin: cleanup and better SSE detection
plugin: add lab to any on float
plugin: it can now be compiled as C++
recover PDF documentation, but try to keep it under a resonable size.
Prevent a rare but possible out-of-bounds read in postscript generator
Remove unused variables
-----------------------
2.11 Maintenance release
-----------------------
Fixed __cpuid() on fast float plugin to allow gnu gcc
Fixed copy alpha bounds check
Fixed data race condition on contexts pool
Fixed LUT16 write matrix on multichannel V2 profiles
-----------------------
2.10 Featured release
-----------------------
Added a compilation toggle to remove "register" keyword in API.
Previously commercial, fast_float plug-in is now released as open source under GPL3 license.
MD5 functions are now accesible through plug-in API.
Added support for Visual Studio 2019
Bug fixing.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agotoolchain: Build libxcrypt earlier because gcc depends on it
Michael Tremer [Mon, 8 Feb 2021 15:56:33 +0000 (10:56 -0500)] 
toolchain: Build libxcrypt earlier because gcc depends on it

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoqemu: Enable riscv64 targets
Michael Tremer [Mon, 8 Feb 2021 16:33:24 +0000 (16:33 +0000)] 
qemu: Enable riscv64 targets

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship net-tools
Michael Tremer [Mon, 8 Feb 2021 13:54:49 +0000 (13:54 +0000)] 
core155: Ship net-tools

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agonet-tools: Update to 2.10
Adolf Belka [Sun, 7 Feb 2021 18:00:36 +0000 (19:00 +0100)] 
net-tools: Update to 2.10

- Update net-tools from 1.60 to 2.10
- Based on guidance from Michael Tremer
- new no-hostname patch created to remove all hostname references
from makefile
- all other patch files removed from lfs as no longer needed
- version 2.10 places ifconfig and route tools in bin instead of sbin
those tools moved to sbin to keep in line with previous approach
- make update replaced by make install as there is no longer a make
rule for make update
- Updated rootfiles

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship squid
Michael Tremer [Mon, 8 Feb 2021 13:38:54 +0000 (13:38 +0000)] 
core155: Ship squid

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore155: Ship tcl
Michael Tremer [Mon, 8 Feb 2021 13:38:28 +0000 (13:38 +0000)] 
core155: Ship tcl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agosquid: Update to 4.14
Matthias Fischer [Mon, 8 Feb 2021 13:15:10 +0000 (14:15 +0100)] 
squid: Update to 4.14

For details see:
http://www.squid-cache.org/Versions/v4/changesets/

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agokrb5: Update to 1.19
Matthias Fischer [Thu, 4 Feb 2021 16:17:07 +0000 (17:17 +0100)] 
krb5: Update to 1.19

For details (complete list) see:
https://web.mit.edu/kerberos/krb5-1.19/krb5-1.19.html

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agotcl: Update to 8.6.11
Matthias Fischer [Fri, 5 Feb 2021 23:40:24 +0000 (00:40 +0100)] 
tcl: Update to 8.6.11

For details see:
https://sourceforge.net/projects/tcl/files/Tcl/8.6.11/tcltk-release-notes-8.6.11.txt/view

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agomisc-progs: Call unpriv_system commands in a shell
Michael Tremer [Sun, 7 Feb 2021 16:46:55 +0000 (16:46 +0000)] 
misc-progs: Call unpriv_system commands in a shell

Reported-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agomisc-progs: Call unpriv_system commands in a shell
Michael Tremer [Sun, 7 Feb 2021 16:46:55 +0000 (16:46 +0000)] 
misc-progs: Call unpriv_system commands in a shell

Reported-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>