AUR AI Reviewer

Review Results

Version #1922 of gstreamer0.10 · commit 139d81a56567 · status Reviewed

Risk 0/5 · Safe .SRCINFO
Result #1002

Comment

The change is limited to .SRCINFO metadata. It updates the package description, bumps pkgrel, removes several makedepends from the metadata, adds runtime depends/provides entries, and drops one patch source entry. There is no evidence here of malicious code execution, network access, privilege escalation, or integrity bypass in the reviewed hunk itself. The main thing to note is that .SRCINFO must stay consistent with PKGBUILD; if these metadata changes were inaccurate they could mislead users or tooling, but that is a packaging correctness issue rather than a security issue based on this diff alone.

@@ -1,29 +1,26 @@
 pkgbase = gstreamer0.10
-	pkgdesc = GStreamer Multimedia Framework
+	pkgdesc = Legacy GStreamer 0.10 multimedia framework
 	pkgver = 0.10.36
-	pkgrel = 20
+	pkgrel = 21
 	url = https://gstreamer.freedesktop.org
 	arch = i686
 	arch = x86_64
 	arch = armv7h
 	license = LGPL-2.0-or-later
-	makedepends = intltool
-	makedepends = python3
-	makedepends = pkg-config
-	makedepends = gtk-doc
-	makedepends = bison
-	makedepends = flex
 	makedepends = glib2-devel
-	makedepends = automake
-	makedepends = autoconf
-	makedepends = libtool
-	depends = libxml2
+	depends = bash
 	depends = glib2
+	depends = glibc
+	depends = libxml2
+	provides = libgstreamer-0.10.so
+	provides = libgstbase-0.10.so
+	provides = libgstcheck-0.10.so
+	provides = libgstcontroller-0.10.so
+	provides = libgstdataprotocol-0.10.so
+	provides = libgstnet-0.10.so
 	source = https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.36.tar.xz
-	source = tests-remove-silly-test_fail_abstract_new-check.patch
 	source = bison3.patch
 	sha256sums = 9151aa108c177054387885763fa0e433e76780f7c5655c70a5390f2a6c6871da
-	sha256sums = d3d3f4f04453831fdb4244bfe174a38c4e6f9f4da5c8c9050dcfa1a6097aad52
 	sha256sums = ed154e280abf59b24d98a8ab0fe868b449b26aa61f7ae3813fab8ac615fcaefa
 
 pkgname = gstreamer0.10
Risk 0/5 · Safe PKGBUILD
Result #1003

Comment

Low risk. The change is limited to PKGBUILD metadata/build hygiene: it drops an obsolete patch, adds a check() function, and adjusts dependency/provides declarations. I do not see any new network fetches, shell-elevation, persistence mechanisms, or installation outside pkgdir. The only notable concern is that the new provides() entries may overstate ABI compatibility for a legacy package, but that is a packaging correctness issue rather than a security issue in this diff.

@@ -6,23 +6,22 @@
 pkgname=gstreamer0.10
 _pkgname=gstreamer
 pkgver=0.10.36
-pkgrel=20
-pkgdesc="GStreamer Multimedia Framework"
+pkgrel=21
+pkgdesc="Legacy GStreamer 0.10 multimedia framework"
 arch=('i686' 'x86_64' 'armv7h')
 license=('LGPL-2.0-or-later')
 url='https://gstreamer.freedesktop.org'
-depends=('libxml2' 'glib2')
-makedepends=('intltool' 'python3' 'pkg-config' 'gtk-doc' 'bison' 'flex' 'glib2-devel' 'automake' 'autoconf' 'libtool')
+depends=('bash' 'glib2' 'glibc' 'libxml2')
+makedepends=('glib2-devel')
+provides=('libgstreamer-0.10.so' 'libgstbase-0.10.so' 'libgstcheck-0.10.so'
+          'libgstcontroller-0.10.so' 'libgstdataprotocol-0.10.so' 'libgstnet-0.10.so')
 source=("https://gstreamer.freedesktop.org/src/gstreamer/${_pkgname}-${pkgver}.tar.xz"
-        'tests-remove-silly-test_fail_abstract_new-check.patch'
         'bison3.patch')
 sha256sums=('9151aa108c177054387885763fa0e433e76780f7c5655c70a5390f2a6c6871da'
-            'd3d3f4f04453831fdb4244bfe174a38c4e6f9f4da5c8c9050dcfa1a6097aad52'
             'ed154e280abf59b24d98a8ab0fe868b449b26aa61f7ae3813fab8ac615fcaefa')
 
 prepare() {
-  cd ${_pkgname}-${pkgver}
-  patch -Np1 -i ../tests-remove-silly-test_fail_abstract_new-check.patch
+  cd "${_pkgname}-${pkgver}"
   patch -Np1 -i ../bison3.patch
   sed -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' -i configure.ac
   sed -e 's/static volatile gsize gonce_data/static gsize gonce_data/g' -i gst/gstutils.h
Risk 0/5 · Safe PKGBUILD
Result #1004

Comment

The change is a trivial quoting fix in PKGBUILD: `cd ${_pkgname}-${pkgver}` becomes `cd "${_pkgname}-${pkgver}"`. This does not alter build inputs, network behavior, permissions, install paths, or introduce any execution of untrusted code. It only improves robustness against word splitting/path issues. No security concern identified in the reviewed hunk.

@@ -31,7 +30,7 @@ prepare() {
 }
 
 build() {
-  cd ${_pkgname}-${pkgver}
+  cd "${_pkgname}-${pkgver}"
 
   ./configure --prefix=/usr \
               --sysconfdir=/etc \
Risk 1/5 · Low PKGBUILD
Result #1005

Comment

Risk 1/5. The change only adds a check() function and minor quoting/metadata cleanup. The new tests run locally against the already-built source tree and do not introduce network access, privilege escalation, or installation-time side effects. package() still installs into DESTDIR and removes the same unversioned gst-* binaries as before. No suspicious sources, scripts, or persistence mechanisms were added in this diff.

@@ -44,10 +43,16 @@ build() {
   make
 }
 
+check() {
+  cd "${_pkgname}-${pkgver}"
+  make check-exports check-enum-gettypes
+  make -C tests/check check CFLAGS="${CFLAGS} -std=gnu17" \
+    TESTS='gst/gstbuffer gst/gstcaps gst/gststructure'
+}
+
 package() {
-  cd ${_pkgname}-${pkgver}
+  cd "${_pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
 
-  # Remove unversioned gst-* binaries to avoid possible conflicts
   rm -f "${pkgdir}"/usr/bin/gst-{feedback,inspect,launch,typefind,xmlinspect,xmllaunch}
 }