Skip to content

Commit

Permalink
main/gmp: upgrade to 6.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
J0WI authored and ncopa committed Aug 4, 2023
1 parent 0b9716d commit 7bf34ae
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions main/gmp/APKBUILD
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gmp
pkgver=6.2.1
pkgrel=3
pkgver=6.3.0
pkgrel=0
pkgdesc="free library for arbitrary precision arithmetic"
url="https://gmplib.org/"
arch="all"
license="LGPL-3.0-or-later OR GPL-2.0-or-later"
makedepends="m4 texinfo libtool autoconf automake"
subpackages="$pkgname-doc $pkgname-dev libgmpxx"
source="https://gmplib.org/download/gmp/gmp-$pkgver.tar.xz
CVE-2021-43618.patch::https://gmplib.org/repo/gmp-6.2/raw-rev/561a9c25298e
"
source="https://gmplib.org/download/gmp/gmp-$pkgver.tar.xz"
replaces="gmp5"

# secfixes:
Expand All @@ -24,6 +22,7 @@ prepare() {
}

build() {
CFLAGS="$CFLAGS -flto=auto" \
./configure \
--build=$CBUILD \
--host=$CHOST \
Expand All @@ -37,14 +36,14 @@ build() {
make
}

package() {
make DESTDIR="$pkgdir" install
}

check() {
[ "$CBUILD" = "$CHOST" ] && make check
}

package() {
make DESTDIR="$pkgdir" install
}

libgmpxx() {
pkgdesc="C++ support for gmp"
mkdir -p "$subpkgdir"/usr/lib/
Expand All @@ -56,5 +55,6 @@ doc() {
replaces="gmp5-doc"
}

sha512sums="c99be0950a1d05a0297d65641dd35b75b74466f7bf03c9e8a99895a3b2f9a0856cd17887738fa51cf7499781b65c049769271cbcb77d057d2e9f1ec52e07dd84 gmp-6.2.1.tar.xz
3956190d9c266feb62f8965c3cd32d0a9260f76ffb0d3e32211974bb53ddd5c6eaa657f7e00ba8fa7c914c0e1375155d25de6a81cdb9b03d6a5bbc16ac121447 CVE-2021-43618.patch"
sha512sums="
e85a0dab5195889948a3462189f0e0598d331d3457612e2d3350799dba2e244316d256f8161df5219538eb003e4b5343f989aaa00f96321559063ed8c8f29fd2 gmp-6.3.0.tar.xz
"

0 comments on commit 7bf34ae

Please sign in to comment.