aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarian Buschsieweke <marian.buschsieweke@ovgu.de>2021-05-04 08:01:42 +0200
committerAriadne Conill <ariadne@dereferenced.org>2021-05-04 14:22:35 +0000
commitdb11dccb3c7661e10d6ecf874047b6a2b4921897 (patch)
tree5ee0b7a0d227940a897ea3708d223c59b96b2a79
parent6b03d332cc71071a72b0df53b229b5abb1ccb22b (diff)
downloadaports-db11dccb3c7661e10d6ecf874047b6a2b4921897.tar.gz
aports-db11dccb3c7661e10d6ecf874047b6a2b4921897.tar.bz2
aports-db11dccb3c7661e10d6ecf874047b6a2b4921897.tar.xz
community/newlib: upgrade to 4.1.0
Also disable MIPS for now, as compilation fails
-rw-r--r--community/newlib/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/community/newlib/APKBUILD b/community/newlib/APKBUILD
index 5b36ea5c9a..0c84c41b48 100644
--- a/community/newlib/APKBUILD
+++ b/community/newlib/APKBUILD
@@ -1,8 +1,8 @@
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
+# mips-mti-elf fails with "Error: unrecognized opcode `cfc1 $3,$31'"
_targets="
arm-none-eabi
- mips-mti-elf
msp430-elf
riscv-none-elf
aarch64-none-elf
@@ -12,8 +12,8 @@ case "$CARCH" in
x86_64|aarch64|ppc64le|mips64) _targets="$_targets or1k-elf"
esac
pkgname=newlib
-pkgver=3.3.0
-pkgrel=2
+pkgver=4.1.0
+pkgrel=0
pkgdesc="C standard library implementation intended for use on embedded systems"
url="http://www.sourceware.org/newlib/"
makedepends="texinfo"
@@ -28,6 +28,10 @@ for target in $_targets; do
makedepends="binutils-$target gcc-$target $makedepends"
done
+# secfixes:
+# 4.1.0-r0:
+# - CVE-2021-3420
+
# This package installes two version of the newlib library to remain compatible
# with projects expecting the GNU ARM Embedded Toolchain [1]. The nano version
# appends the postix "_nano" to the libaries. The is not an arbitrary choice,
@@ -154,4 +158,6 @@ aarch64_none_elf() {
_install_subpkg
}
-sha512sums="2f0c6666487520e1a0af0b6935431f85d2359e27ded0d01d02567d0d1c6479f2f0e6bbc60405e88e46b92c2a18780a01a60fc9281f7e311cfd40b8d5881d629c newlib-3.3.0.tar.gz"
+sha512sums="
+6a24b64bb8136e4cd9d21b8720a36f87a34397fd952520af66903e183455c5cf19bb0ee4607c12a05d139c6c59382263383cb62c461a839f969d23d3bc4b1d34 newlib-4.1.0.tar.gz
+"