[crux-commits] ports/opt (3.6): [notify] libjpeg-turbo: update to 2.0.5

crux at crux.nu crux at crux.nu
Thu Jun 25 16:31:28 UTC 2020


commit 12779a65136051f5948742fbf7ab886ab49dea73
Author: Juergen Daubert <jue at jue.li>
Date:   Thu Jun 25 12:19:37 2020 +0200

    [notify] libjpeg-turbo: update to 2.0.5
    
    includes the security fix for CVE-2020-13790, see
    https://github.com/libjpeg-turbo/libjpeg-turbo/releases/tag/2.0.5

diff --git a/libjpeg-turbo/.signature b/libjpeg-turbo/.signature
index bf93dce59..4ab51ac86 100644
--- a/libjpeg-turbo/.signature
+++ b/libjpeg-turbo/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/RJOS4pnIA6Pcn8/QE5bUd11W5OeNf1R1vDucbcAj+qIpsQI+wVSBUkB6gwAs6w48ctgGt8KTg6JmdpWHzlLNg8=
-SHA256 (Pkgfile) = 791de7b20e2df13adcbb6975c3fb01b353cf05f20f6a21befd9a38211e8544a3
+RWSE3ohX2g5d/d5zfpcRS0ceq+ya0e6PnR4YW5uUnadscQofUy62TwbyeTK61FC1Mqz7LabQUZq+JvumRN+vK6Uiwk7LDd+g7w0=
+SHA256 (Pkgfile) = cf555d5cf0b7263462c0c9c06154f01c5cc9de13d4551919df8ee9baa0579948
 SHA256 (.footprint) = ac6f18c5b5d3a30d104fd9911f3677c7eac8bd6c4459c7ef14791cf788bf604a
-SHA256 (libjpeg-turbo-2.0.4.tar.gz) = 33dd8547efd5543639e890efbf2ef52d5a21df81faf41bb940657af916a23406
+SHA256 (libjpeg-turbo-2.0.5.tar.gz) = 16f8f6f2715b3a38ab562a84357c793dd56ae9899ce130563c72cd93d8357b5d
diff --git a/libjpeg-turbo/Pkgfile b/libjpeg-turbo/Pkgfile
index e5ec5b38a..5f255a27c 100644
--- a/libjpeg-turbo/Pkgfile
+++ b/libjpeg-turbo/Pkgfile
@@ -1,22 +1,20 @@
 # Description:	Library of JPEG support functions.
-# URL:		http://www.libjpeg-turbo.org/
+# URL:		https://www.libjpeg-turbo.org/
 # Maintainer:	Fredrik Rinnestam, fredrik at crux dot nu
 # Depends on:	cmake, nasm
 
 name=libjpeg-turbo
-version=2.0.4
-release=2
+version=2.0.5
+release=1
 source=(http://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-$version.tar.gz)
 
 build() {
-	cd $name-$version
-	mkdir build
-	cd build
-	cmake .. -G"Unix Makefiles" \
+	cmake -S $name-$version -B build \
+		-G"Unix Makefiles" \
 		-DCMAKE_INSTALL_PREFIX=/usr \
 		-DCMAKE_INSTALL_LIBDIR=/usr/lib \
 		-DWITH_JPEG8=ON
-	make
-	make DESTDIR=$PKG install
+	cmake --build build
+	DESTDIR=$PKG cmake --install build
 	rm -r $PKG/usr/share/doc
 }


More information about the crux-commits mailing list