diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2018-11-29 05:53:27 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-11-29 17:59:45 +0100 |
commit | 7284497dcf1ed750a9703553209d899a8c111149 (patch) | |
tree | d28ab1c79f228cb433fd739f28cd225fdcdae42d /source/x | |
parent | 388986876373b8d6d9053c36196978464bd3362e (diff) | |
download | current-7284497dcf1ed750a9703553209d899a8c111149.tar.gz |
Thu Nov 29 05:53:27 UTC 201820181129055327
a/sysvinit-scripts-2.1-noarch-23.txz: Rebuilt.
rc.S: simplify test for F2FS filesystem on /. Thanks to GazL.
ap/soma-3.2.0-noarch-1.txz: Upgraded.
d/cmake-3.13.1-x86_64-1.txz: Upgraded.
l/jansson-2.12-x86_64-1.txz: Upgraded.
n/rp-pppoe-3.13-x86_64-1.txz: Upgraded.
n/samba-4.9.3-x86_64-1.txz: Upgraded.
This update fixes bugs and security issues:
CVE-2018-14629: Unprivileged adding of CNAME record causing loop in AD
Internal DNS server
CVE-2018-16841: Double-free in Samba AD DC KDC with PKINIT
CVE-2018-16851: NULL pointer de-reference in Samba AD DC LDAP server
CVE-2018-16852: NULL pointer de-reference in Samba AD DC DNS servers
CVE-2018-16853: Samba AD DC S4U2Self crash in experimental MIT Kerberos
configuration (unsupported)
CVE-2018-16857: Bad password count in AD DC not always effective
For more information, see:
https://www.samba.org/samba/security/CVE-2018-14629.html
https://www.samba.org/samba/security/CVE-2018-16841.html
https://www.samba.org/samba/security/CVE-2018-16851.html
https://www.samba.org/samba/security/CVE-2018-16852.html
https://www.samba.org/samba/security/CVE-2018-16853.html
https://www.samba.org/samba/security/CVE-2018-16857.html
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14629
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16841
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16851
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16852
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16853
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16857
(* Security fix *)
x/mesa-18.2.6-x86_64-1.txz: Upgraded.
x/vulkan-sdk-1.1.92.1-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/x')
-rwxr-xr-x | source/x/vulkan-sdk/fetch-sources.sh | 8 | ||||
-rwxr-xr-x | source/x/vulkan-sdk/vulkan-sdk.SlackBuild | 29 | ||||
-rw-r--r-- | source/x/vulkan-sdk/vulkan-sdk.url | 4 |
3 files changed, 27 insertions, 14 deletions
diff --git a/source/x/vulkan-sdk/fetch-sources.sh b/source/x/vulkan-sdk/fetch-sources.sh index 67ec96b9..4a15b10e 100755 --- a/source/x/vulkan-sdk/fetch-sources.sh +++ b/source/x/vulkan-sdk/fetch-sources.sh @@ -25,10 +25,10 @@ # github, and then look at the revisions listed in the external_revisions # directory to fetch the proper glslang, SPIRV-Headers, and SPIRV-Tools. # -# Example: VERSION=1.1.85.0 ./fetch-sources.sh +# Example: VERSION=1.1.92.1 ./fetch-sources.sh -VERSION=${VERSION:-1.1.85.0} -BRANCH=${BRANCH:-sdk-1.1.85} +VERSION=${VERSION:-1.1.92.1} +BRANCH=${BRANCH:-sdk-1.1.92} rm -rf Vulkan-*-*.tar.?z glslang* SPIRV-Tools* SPIRV-Headers* \ Vulkan-Headers-sdk-${VERSION}* \ @@ -52,7 +52,7 @@ GLSLANG_COMMIT=$(python3 - << EOF import json import tarfile with tarfile.open('Vulkan-ValidationLayers-sdk-$VERSION.tar') as layers: - known_good = layers.extractfile('Vulkan-ValidationLayers-sdk-1.1.85.0/scripts/known_good.json') + known_good = layers.extractfile('Vulkan-ValidationLayers-sdk-1.1.92.1/scripts/known_good.json') known_good_info = json.loads(known_good.read()) glslang = next(repo for repo in known_good_info['repos'] if repo['name'] == 'glslang') print(glslang['commit']) diff --git a/source/x/vulkan-sdk/vulkan-sdk.SlackBuild b/source/x/vulkan-sdk/vulkan-sdk.SlackBuild index c79ac738..34478a6a 100755 --- a/source/x/vulkan-sdk/vulkan-sdk.SlackBuild +++ b/source/x/vulkan-sdk/vulkan-sdk.SlackBuild @@ -29,8 +29,6 @@ PKGNAM=vulkan-sdk VERSION=${VERSION:-$(echo Vulkan-ValidationLayers-sdk-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} -NUMJOBS=${NUMJOBS:--j7} - # Automatically determine the architecture we're building on: MARCH=$( uname -m ) if [ -z "$ARCH" ]; then @@ -51,6 +49,8 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi +NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} + if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" @@ -77,8 +77,14 @@ SPIRV_TOOLS_VERSION=$(echo SPIRV-Tools-*.tar.?z | rev | cut -f 3- -d . | cut -f rm -rf $PKG mkdir -p $TMP $PKG + cd $TMP -rm -rf Vulkan-ValidationLayers-sdk-$VERSION Vulkan-Headers-sdk-$VERSION glslang-$GLSLANG_VERSION +# Clear existing tmp sources: +rm -rf glslang-${GLSLANG_VERSION} \ + Vulkan-Headers-sdk-$VERSION \ + Vulkan-Loader-sdk-$VERSION \ + Vulkan-ValidationLayers-sdk-$VERSION \ + Vulkan-Tools-sdk-$VERSION tar xvf $CWD/glslang-${GLSLANG_VERSION}.tar.?z || exit 1 cd glslang-$GLSLANG_VERSION/External @@ -116,7 +122,6 @@ make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 cd $TMP - tar xvf $CWD/Vulkan-Headers-sdk-$VERSION.tar.?z || exit 1 cd Vulkan-Headers-sdk-$VERSION @@ -138,8 +143,21 @@ cmake \ .. make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 -cd $TMP +# Make sure some SPIR-V headers are there: +HEADER_SOURCE_DIR="$TMP/glslang-${GLSLANG_VERSION}/External/spirv-tools/external/spirv-headers/include/spirv/unified1" +mkdir -p $PKG/usr/include/vulkan +for file in GLSL.std.450.h spirv.h spirv.hpp spirv.hpp11 spirv.json \ + spirv.lua spirv.py ; do + if [ -r $HEADER_SOURCE_DIR/$file -a ! -r $PKG/usr/include/vulkan/$file ]; then + cp -a --verbose $HEADER_SOURCE_DIR/$file $PKG/usr/include/vulkan/$file + chown root:root $PKG/usr/include/vulkan/$file + chmod 644 $PKG/usr/include/vulkan/$file + fi +done +unset HEADER_SOURCE_DIR + +cd $TMP tar xvf $CWD/Vulkan-Loader-sdk-$VERSION.tar.?z || exit 1 cd $TMP/Vulkan-Loader-sdk-$VERSION @@ -201,7 +219,6 @@ cd build make install DESTDIR=$PKG || exit 1 cd $TMP - tar xvf $CWD/Vulkan-Tools-sdk-$VERSION.tar.?z || exit 1 cd $TMP/Vulkan-Tools-sdk-$VERSION diff --git a/source/x/vulkan-sdk/vulkan-sdk.url b/source/x/vulkan-sdk/vulkan-sdk.url deleted file mode 100644 index 5dcdf19f..00000000 --- a/source/x/vulkan-sdk/vulkan-sdk.url +++ /dev/null @@ -1,4 +0,0 @@ -https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/archive/sdk-1.1.73.0/Vulkan-LoaderAndValidationLayers-sdk-1.1.73.0.tar.gz -https://github.com/KhronosGroup/glslang/archive/3bb4c48cd95892a5cfcd63df20fcc47fd51c97a0/glslang-3bb4c48cd95892a5cfcd63df20fcc47fd51c97a0.tar.gz -https://github.com/KhronosGroup/SPIRV-Headers/archive/12f8de9f04327336b699b1b80aa390ae7f9ddbf4/SPIRV-Headers-12f8de9f04327336b699b1b80aa390ae7f9ddbf4.tar.gz -https://github.com/KhronosGroup/SPIRV-Tools/archive/26a698c34788bb69123a1f3789970a16cf4d9641/SPIRV-Tools-26a698c34788bb69123a1f3789970a16cf4d9641.tar.gz |