ffmpeg_split-git
MEDIUM
maintainer dreieck
0 votes
scanned 2026-10-21 21:33:09.570113
Why flagged
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
Triggered rules
Medium
source=() URL on a non-standard host
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:34
"${_pkgname}::git+https://${_githost}/${_gituser}/${_pyname}.git"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: dreieck (https://aur.archlinux.org/account/dreieck)
2
3
_gitname="ffmpeg_split"
4
_pyname="${_gitname}"
5
_pkgname="${_pyname}"
6
pkgname="${_pkgname}-git"
7
pkgver=1.0.r24.20250811.75ab33e
8
pkgrel=1
9
pkgdesc="Split a media file by embedded chapter information, using ffmpeg."
10
arch=(
11
'any'
12
)
13
_githost='github.com'
14
_gituser='harryjackson'
15
url="https://${_githost}/${_gituser}/${_gitname}"
16
license=("Apache-2.0")
17
depends=(
18
'ffmpeg'
19
'python>=3'
20
)
21
makedepends=(
22
'git'
23
)
24
optdepends=()
25
checkdepends=()
26
provides=(
27
"${_pkgname}=${pkgver}"
28
)
29
conflicts=(
30
"${_pkgname}"
31
)
32
33
source=(
34
"${_pkgname}::git+https://${_githost}/${_gituser}/${_pyname}.git"
35
#"${_pkgname}_multi-stream-support.patch::https://github.com/harryjackson/ffmpeg_split/pull/18.patch"
36
)
37
sha256sums=(
38
'SKIP'
39
#'9b138eb915b76bf48ea6fd2ebc81e8ef45883d8a1d79dd5a781edbb0182b6032'
40
)
41
42
prepare() {
43
cd "${srcdir}/${_pkgname}"
44
git log > "${srcdir}/git.log"
45
46
local _patch
47
#for _patch in "${_pkgname}_multi-stream-support.patch"; do
48
# printf '%s\n' " --> Applying patch '${_patch}' ..."
49
# patch -Np1 --follow-symlinks -i "${srcdir}/${_patch}"
50
#done
51
}
52
53
pkgver() {
54
cd "${srcdir}/${_pkgname}"
55
56
#_ver="$(git describe --tags | sed -E -e 's|^[vV]||' -e 's|\-g[0-9a-f]*$||' | tr '-' '+')"
57
_ver="$(python ./split_ffmpeg.py --version | awk '{print $2}')"
58
_rev="$(git rev-list --count HEAD)"
59
_date="$(git log -1 --date=format:"%Y%m%d" --format="%ad")"
60
_hash="$(git rev-parse --short HEAD)"
61
62
if [ -z "${_ver}" ]; then
63
error "Version could not be determined."
64
return 1
65
else
66
printf '%s' "${_ver}.r${_rev}.${_date}.${_hash}"
67
fi
68
}
69
70
package() {
71
cd "${srcdir}/${_pkgname}"
72
printf '%s\n' " --> installing ..."
73
74
install -Dvm755 split_ffmpeg.py "${pkgdir}/usr/bin"/ffmpeg_split_chapters
75
76
_docfiles=(
77
"${srcdir}/git.log"
78
README.md
79
)
80
_docdirs=()
81
_manfiles=()
82
_infofiles=()
83
_licensefiles=(
84
LICENSE
85
)
86
printf '%s\n' " --> installing documentation ..."
87
for _docfile in "${_docfiles[@]}"; do
88
install -D -v -m644 "${_docfile}" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_docfile}")"
89
done
90
for _docdir in "${_docdirs[@]}"; do
91
cp -rv "${_docdir}" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_docdir}")"
92
done
93
for _manfile in "${_manfiles[@]}"; do
94
_section="$(basename "${_manfile}" .gz | sed -E -e 's|^.*\.([^.]*)$|\1|')"
95
install -D -v -m644 "docs/build/man/${_manfile}" "${pkgdir}/usr/share/man/man${_section}/$(basename "${_manfile}")"
96
done
97
for _infofile in "${_infofiles[@]}"; do
98
install -D -v -m644 "${_infofile}" "${pkgdir}/usr/share/info/$(basename "${_infofile}")"
99
done
100
printf '%s\n' " --> installing license ..."
101
for _licensefile in "${_licensefiles[@]}"; do
102
install -D -v -m644 "${_licensefile}" "${pkgdir}/usr/share/licenses/${pkgname}/$(basename "${_licensefile}")"
103
ln -svr "${pkgdir}/usr/share/licenses/${pkgname}/$(basename "${_licensefile}")" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_licensefile}")"
104
done
105
}
106
107
Changes since previous scan
--- PKGBUILD @ 2026-06-19 19:07+++ PKGBUILD @ 2026-10-21 21:33@@ -4,7 +4,7 @@ _pyname="${_gitname}" _pkgname="${_pyname}" pkgname="${_pkgname}-git"-pkgver=1.0.r24.20250811.5979ae8+pkgver=1.0.r24.20250811.75ab33e pkgrel=1 pkgdesc="Split a media file by embedded chapter information, using ffmpeg." arch=(@@ -32,14 +32,22 @@ source=( "${_pkgname}::git+https://${_githost}/${_gituser}/${_pyname}.git"+ #"${_pkgname}_multi-stream-support.patch::https://github.com/harryjackson/ffmpeg_split/pull/18.patch" ) sha256sums=( 'SKIP'+ #'9b138eb915b76bf48ea6fd2ebc81e8ef45883d8a1d79dd5a781edbb0182b6032' ) prepare() { cd "${srcdir}/${_pkgname}" git log > "${srcdir}/git.log"++ local _patch+ #for _patch in "${_pkgname}_multi-stream-support.patch"; do+ # printf '%s\n' " --> Applying patch '${_patch}' ..."+ # patch -Np1 --follow-symlinks -i "${srcdir}/${_patch}"+ #done } pkgver() {Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-21 21:33:09 | Medium | 1 |
| 2026-06-19 19:07:35 | Clean | 2 |
| 2026-06-18 16:11:54 | Medium | 1 |