Commit Graph

24 Commits

Author SHA1 Message Date
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
Adolf Belka
3850aa4c89 pcre: Update to version 8.45
- Update from 8.44 to 8.45
- Updated rootfile
- Checked the dependencies of the old lib versions using find-dependencies
   nothing flagged
- Changelog
   Version 8.45 15-June-2021
    This is the final release of PCRE1. A few minor tidies are included.
   1. CMakeLists.txt has two user-supplied patches applied, one to allow for the
      setting of MODULE_PATH, and the other to support the generation of pcre-config
      file and libpcre*.pc files.
   2. There was a memory leak if a compile error occurred when there were more
      than 20 named groups (Bugzilla #2613).
   3. Fixed some typos in code and documentation.
   4. Fixed a small (*MARK) bug in the interpreter (Bugzilla #2771).

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-08-16 06:52:19 +00:00
Michael Tremer
05bcdbfec8 pcre: Disable JIT on riscv64
This architecture is not supporting this feature, yet

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-03-06 11:14:50 +00:00
Wolfgang Apolinarski
ddda384a44 Update Apache Dependencies
Update apache dependencies:
APR: update to version 1.7.0
PCRE: update to version 8.44
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-03-21 16:14:08 +00:00
Matthias Fischer
57354c8187 pcre: Update to 8.43
For details see:
http://www.pcre.org/original/changelog.txt

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2019-10-08 18:01:13 +00:00
Michael Tremer
4af8d6964b pcre: Enable JIT
This is now possible because we no longer run grsecurity-enabled
kernels. The performance of PCRE increases dramatically and applications
like the IDS benefit hugely:

  https://blog.inliniac.net/2011/10/12/suricata-and-pcre-performance/

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-12-19 15:44:32 +00:00
Matthias Fischer
792bed3716 pcre: Update to 8.42
For details see:
http://www.pcre.org/original/changelog.txt

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-05 20:40:33 +01:00
Matthias Fischer
fe65a45955 pcre: Update to 8.41
For details see:
http://www.pcre.org/original/changelog.txt

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-08-15 11:50:14 +01:00
Marcel Lorenz
a309f3b5c3 pcre: update to 8.40
Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-04-06 10:14:13 +01:00
Marcel Lorenz
602696704c pcre: update to 8.39
http://www.pcre.org/original/changelog.txt

Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-07-14 23:28:39 +01:00
Matthias Fischer
c07053012f pcre 8.38: latest patches from upstream (LFS)
* Fix auto-callout (?# comment bug.
* Fix negated POSIX class within negated overall class UCP bug.
* Fix bug for isolated \E between an item and its qualifier
when auto callout is set.
* Give error for regexec with pmatch=NULL and REG_STARTEND set.
* Allow for up to 32-bit numbers in the ordin() function in  pcregrep.
* Fix \Q\E before qualifier bug when auto callouts are enabled.
* Fix /x bug when pattern starts with white space and (?-x).
* Fix copy named substring bug.
* Fix (by hacking) another length computation issue.
* Fix get_substring_list() bug when \K is used in an assertion.
* Fix pcretest bad behaviour for callout in lookbehind.
* Fix workspace overflow for (*ACCEPT) with deeply nested parentheses.
* Yet another duplicate name bugfix by overestimating the
memory needed  (i.e. another hack - PCRE2 has this "properly" fixed).
* Fix pcretest loop for global matching with an ovector size less than 2.
* Fix non-diagnosis of missing assertion after (?(?C).

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-04-05 22:56:33 +01:00
Matthias Fischer
0a0059c3e6 pcre: Update to 8.38
Bugfix release

For complete changelog see:
http://www.pcre.org/original/changelog.txt

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-03-31 13:35:43 +01:00
Michael Tremer
191976efbd pcre: Fix more buffer overflows
This reverts commit cec620efdf.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-08-21 21:29:46 +01:00
Michael Tremer
cec620efdf Revert "pcre: Fix more buffer overflows"
This reverts commit b62425e3e3.
2015-08-19 20:30:50 +01:00
Michael Tremer
b62425e3e3 pcre: Fix more buffer overflows
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-08-17 23:36:36 +01:00
Michael Tremer
5929298ea1 pcre: Fix CVE-2015-5073
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-07-14 17:14:13 +02:00
Matthias Fischer
4c777aeaf0 pcre: Update to 8.37
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-06-08 14:22:43 +02:00
Matthias Fischer
898f08edf4 Changed configure-option: '--enable-jit' => '--disable-jit'
Reason:
The latest version of pcre comes with a JIT compiler for regular
expressions. The implementation of that requires that memory is writable
and executable at the same time which is not allowed by grsecurity.
2014-11-22 18:43:11 +01:00
Matthias Fischer
14c33f6393 Update: pcre to 8.36 2014-11-05 21:41:43 +01:00
Michael Tremer
542244b35a pcre: Update to 8.31.
Needs a compat package.
2012-08-20 14:14:44 +02:00
Arne Fitzenreiter
4abbd39e9b Updated pcre to version 7.7 and add it to core16 2008-07-07 20:39:51 +02:00
ms
70df830214 Ein Paar Dateien fuer die GPLv3 angepasst.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@853 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-29 13:25:32 +00:00
ms
411afd1f4b Zwischencommit fuer LFS.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@320 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-10-13 15:35:24 +00:00
ipfire
cd1a292722 git-svn-id: http://svn.ipfire.org/svn/ipfire/IPFire/source@16 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 2006-02-15 21:15:54 +00:00