if spell_installed perl; then
cd $SOURCE_DIRECTORY/doc &&
diff --git a/archive/upx/DETAILS b/archive/upx/DETAILS
index 237a31a..0156e15 100755
--- a/archive/upx/DETAILS
+++ b/archive/upx/DETAILS
@@ -1,8 +1,8 @@
SPELL=upx
- VERSION=3.91
- SOURCE=$SPELL-$VERSION-src.tar.bz2
- SOURCE_URL[0]=http://upx.sourceforge.net/download/${SOURCE}
-
SOURCE_HASH=sha512:7e9a392fe11daf7baf9632f2c448ef9936da7dfab215f86ba417e9f097770949acb653aaabe6cc5ed812efc486cb35e0c1e128c80026b02825713d8b12251cf5
+ VERSION=3.96
+ SOURCE=$SPELL-$VERSION-src.tar.xz
+
SOURCE_URL[0]=https://github.com/upx/upx/releases/download/v${VERSION}/${SOURCE}
+
SOURCE_HASH=sha512:2d4d1be21d274d9bfdee9b9815396f5e5ff0bcdfb781b7be5fafa4d1e224028e412ec5f5ba607c482671aae27ccf9069abb2db0fb58f78f3a102a51897df2b11
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${VERSION}-src
DOC_DIRS=""
DOCS="doc/*.txt $DOCS"
@@ -12,40 +12,37 @@
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${VERSION}-src
KEYWORDS="archive"
SHORT="UPX is a free, portable, extendable, high-performance
executable packer for several different executable formats."
cat << EOF
-
-
- UPX is a versatile executable packer with the following features:
-
- * excellent compression ratio: typically compresses better than
- WinZip/zip/gzip, use UPX to decrease the size of your distribution !
-
- * very fast decompression: ~10 MB/sec on an ancient Pentium 133,
- ~200 MB/sec on an Athlon XP 2000+.
-
- * no memory overhead for your compressed executables because of
- in-place decompression.
-
- * safe: you can list, test and unpack your executables. Also, a
- checksum of both the compressed and uncompressed file is maintained
- internally.
- * universal: UPX can pack a number of executable formats:
- o atari/tos
- o djgpp2/coff
- o dos/com
- o dos/exe
- o dos/sys
- o linux/386
- o rtm32/pe
- o tmt/adam
- o watcom/le (supporting DOS4G, PMODE/W, DOS32a and CauseWay)
- o win32/pe
-
- * portable: UPX is written in portable endian-neutral C++
-
- * extendable: because of the class layout it's very easy to add new
- executable formats or new compression algorithms
-
- * free: UPX is distributed with full source code under the GNU
General
- Public License, and may be used freely even with commercial programs.
-
+UPX is a versatile executable packer with the following features:
+
+ * excellent compression ratio: typically compresses better than
+ WinZip/zip/gzip, use UPX to decrease the size of your distribution !
+
+ * very fast decompression: ~10 MB/sec on an ancient Pentium 133,
+ ~200 MB/sec on an Athlon XP 2000+.
+
+ * no memory overhead for your compressed executables because of
+ in-place decompression.
+
+ * safe: you can list, test and unpack your executables. Also, a
+ checksum of both the compressed and uncompressed file is maintained
+ internally.
+ * universal: UPX can pack a number of executable formats:
+ o atari/tos
+ o djgpp2/coff
+ o dos/com
+ o dos/exe
+ o dos/sys
+ o linux/386
+ o rtm32/pe
+ o tmt/adam
+ o watcom/le (supporting DOS4G, PMODE/W, DOS32a and CauseWay)
+ o win32/pe
+
+ * portable: UPX is written in portable endian-neutral C++
+
+ * extendable: because of the class layout it's very easy to add new
+ executable formats or new compression algorithms
+
+ * free: UPX is distributed with full source code under the GNU General
+ Public License, and may be used freely even with commercial programs.
EOF
diff --git a/archive/upx/HISTORY b/archive/upx/HISTORY
index e88a93a..bd01b45 100644
--- a/archive/upx/HISTORY
+++ b/archive/upx/HISTORY
@@ -1,3 +1,6 @@
+2022-07-15 Florian Franzmann <bwlf AT bandrate.org>
+ * BUILD, DETAILS: version 3.96
+
2015-07-15 Ismael Luceno <ismael AT sourcemage.org>
* BUILD: Remove -Wunsafe-loop-optimizations from CXXFLAGS
diff --git a/crypto/openssl/DETAILS b/crypto/openssl/DETAILS
index f497d9d..d54ecde 100755
--- a/crypto/openssl/DETAILS
+++ b/crypto/openssl/DETAILS
@@ -1,6 +1,6 @@
SPELL=openssl
- VERSION=3.0.4
- SECURITY_PATCH=53
+ VERSION=3.0.5
+ SECURITY_PATCH=54
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_URL[0]=http://www.openssl.org/source/$SOURCE
SOURCE_URL[1]=ftp://sunsite.cnlab-switch.ch/mirror/openssl/source/$SOURCE
diff --git a/crypto/openssl/HISTORY b/crypto/openssl/HISTORY
index f3e49da..f069ef5 100644
--- a/crypto/openssl/HISTORY
+++ b/crypto/openssl/HISTORY
@@ -1,3 +1,7 @@
+2022-07-07 Florian Franzmann <bwlf AT bandrate.org>
+ * DETAILS: version 3.0.5, SECURITY_PATCH++, fixes CVE-2022-2274,
CVE-2022-2097
+ * patches/71ad6a8da3e39bd4caf5c6c767287ddd9bce8bae.patch: removed
+
2022-06-27 Thomas Orgis <sobukus AT sourcemage.org>
* DETAILS: ++SECURITY_PATCH
* PRE_BUILD, patches/71ad6a8da3e39bd4caf5c6c767287ddd9bce8bae.patch:
diff --git
a/crypto/openssl/patches/71ad6a8da3e39bd4caf5c6c767287ddd9bce8bae.patch
b/crypto/openssl/patches/71ad6a8da3e39bd4caf5c6c767287ddd9bce8bae.patch
deleted file mode 100644
index b557595..0000000
--- a/crypto/openssl/patches/71ad6a8da3e39bd4caf5c6c767287ddd9bce8bae.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 71ad6a8da3e39bd4caf5c6c767287ddd9bce8bae Mon Sep 17 00:00:00 2001
-From: Xi Ruoyao <xry111 AT xry111.site>
-Date: Wed, 22 Jun 2022 18:07:05 +0800
-Subject: [PATCH] rsa: fix bn_reduce_once_in_place call for
- rsaz_mod_exp_avx512_x2
-
-bn_reduce_once_in_place expects the number of BN_ULONG, but factor_size
-is moduli bit size.
-
-Fixes #18625.
-
-Signed-off-by: Xi Ruoyao <xry111 AT xry111.site>
----
- crypto/bn/rsaz_exp_x2.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/crypto/bn/rsaz_exp_x2.c b/crypto/bn/rsaz_exp_x2.c
-index 6b04486e3f56..f979cebd6fb7 100644
---- a/crypto/bn/rsaz_exp_x2.c
-+++ b/crypto/bn/rsaz_exp_x2.c
-@@ -257,6 +257,9 @@ int ossl_rsaz_mod_exp_avx512_x2(BN_ULONG *res1,
- from_words52(res1, factor_size, rr1_red);
- from_words52(res2, factor_size, rr2_red);
-
-+ /* bn_reduce_once_in_place expects number of BN_ULONG, not bit size */
-+ factor_size /= sizeof(BN_ULONG) * 8;
-+
- bn_reduce_once_in_place(res1, /*carry=*/0, m1, storage, factor_size);
- bn_reduce_once_in_place(res2, /*carry=*/0, m2, storage, factor_size);
-
diff --git a/devel/cppcheck/DETAILS b/devel/cppcheck/DETAILS
index 2ac08a5..8df3565 100755
--- a/devel/cppcheck/DETAILS
+++ b/devel/cppcheck/DETAILS
@@ -1,9 +1,9 @@
source $GRIMOIRE/CMAKE_FUNCTIONS
SPELL=cppcheck
- VERSION=2.8
+ VERSION=2.8.1
SOURCE="${SPELL}-${VERSION}.tar.gz"