AUR AI Reviewer

Review Results

Version #3175 of davinci-resolve · commit 20e5b7bbabae · status Reviewed

Risk 0/5 · Safe .SRCINFO
Result #6577

Comment

The only change in this .SRCINFO hunk is a version bump from 21.1.1 to 21.2. No sources, checksums, build steps, install scripts, permissions, or package metadata beyond the version number are altered in the provided diff. Based on this hunk alone, there is no evidence of a security issue.

@@ -1,6 +1,6 @@
 pkgbase = davinci-resolve
 	pkgdesc = Professional A/V post-production software suite from Blackmagic Design
-	pkgver = 21.1.1
+	pkgver = 21.2
 	pkgrel = 1
 	url = https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion
 	install = davinci-resolve.install
Risk 0/5 · Safe .SRCINFO
Result #6578

Comment

The change only updates the packaged upstream installer ZIP from DaVinci Resolve 21.1.1 to 21.2 and refreshes its checksum in .SRCINFO. This is a metadata-only source/version bump with no new build logic, no added network fetches, no install-script changes, and no evidence of privilege escalation or persistence mechanisms in the diff provided. Risk is low; the main trust question remains the upstream binary itself, but that is unchanged in kind and already expected for this package.

@@ -31,9 +31,9 @@ pkgbase = davinci-resolve
 	conflicts = davinci-resolve-beta
 	conflicts = davinci-resolve-studio-beta
 	options = !strip
-	source = file://DaVinci_Resolve_21.1.1_Linux.zip
+	source = file://DaVinci_Resolve_21.2_Linux.zip
 	source = davinci-control-panels-setup.sh
-	sha256sums = 3135921e197ce3469ad1bc82768d4073059bda43ffdc9b43bed41d61a3efb12a
+	sha256sums = 45343f41c34d80c661efd054741403a2bc365a65b1e0ef29b2789121226e8bf1
 	sha256sums = f17236fd68cead727c647bc31404e402922cdd491df5526f4b62364cbef9d3b8
 
 pkgname = davinci-resolve
Risk 0/5 · Safe PKGBUILD
Result #6579

Comment

The change is low risk. It only bumps pkgver from 21.1.1 to 21.2 and updates the corresponding source checksum, plus excludes chrome-sandbox from the patchelf loop to avoid a build-time error. I do not see any new network access, privilege escalation, persistence, or other suspicious packaging behavior introduced by this diff. The chrome-sandbox exclusion is a reasonable build fix and does not alter installed permissions or runtime behavior in a security-relevant way based on the reviewed hunk.

@@ -12,7 +12,7 @@
 
 _pkgname=resolve
 pkgname=davinci-resolve
-pkgver=21.1.1
+pkgver=21.2
 pkgrel=1
 pkgdesc='Professional A/V post-production software suite from Blackmagic Design'
 arch=('x86_64')
Risk 0/5 · Safe PKGBUILD
Result #6580

Comment

The change is low risk. It only updates the package version/checksum for a new upstream release and excludes `chrome-sandbox` from a `patchelf` loop to avoid a known patching error. I did not see any new sources, network fetches, privilege escalation, install-script changes, or other suspicious packaging behavior in the diff. The only security-relevant aspect is that the package still repackages a large upstream binary blob, but that was already true before this change and is not introduced by the hunk under review.

@@ -26,7 +26,7 @@ makedepends=('libarchive' 'xdg-user-dirs' 'patchelf')
 conflicts=('davinci-resolve-studio' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
 source=("file://DaVinci_Resolve_${pkgver}_Linux.zip"
         "davinci-control-panels-setup.sh")
-sha256sums=('3135921e197ce3469ad1bc82768d4073059bda43ffdc9b43bed41d61a3efb12a'
+sha256sums=('45343f41c34d80c661efd054741403a2bc365a65b1e0ef29b2789121226e8bf1'
             'f17236fd68cead727c647bc31404e402922cdd491df5526f4b62364cbef9d3b8')
 install="${pkgname}.install"
 options=('!strip')
Risk 0/5 · Safe PKGBUILD
Result #6581

Comment

The change only excludes `chrome-sandbox` from an existing `patchelf` pass in `prepare()`, with an explanatory comment. This reduces the chance of breaking that binary and does not introduce new network access, privilege escalation, persistence, or integrity risks. The rest of the packaging logic is unchanged in the reviewed hunk.

@@ -78,7 +78,9 @@ prepare() {
   while IFS= read -r -d '' _file; do
     [[ -f "${_file}" && $(od -t x1 -N 4 "${_file}") == *"7f 45 4c 46"* ]] || continue
     patchelf --set-rpath "$(IFS=":"; echo "${_patchelf_paths[*]}:\$ORIGIN")" "${_file}"
-  done < <(find "squashfs-root" -type f -size -32M -print0)
+    # Avoid to patch chrome-sandbox
+    # patchelf: cannot normalize PT_NOTE segment: non-contiguous SHT_NOTE sections
+  done < <(find "squashfs-root" -type f -size -32M ! -name chrome-sandbox -print0)
 
   while IFS= read -r -d '' _file; do
     sed -i "s|RESOLVE_INSTALL_LOCATION|/opt/${_pkgname}|g" "${_file}"