carbonapi
MEDIUM
maintainer GeorgP
1 votes
scanned 2026-08-24 11:22:50.619045
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:14
source=($pkgname-$pkgver.tar.gz::https://$_gopkg/archive/refs/tags/v$pkgver.tar.gz
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Georg Pichler <georg.pichler@gmail.com>
2
3
pkgname=carbonapi
4
pkgver=0.18.2
5
pkgrel=1
6
pkgdesc="Replacement graphite API server written in Go"
7
arch=(i686 x86_64)
8
url='https://github.com/go-graphite/carbonapi'
9
license=('BSD')
10
depends=(glibc cairo)
11
makedepends=('go>=1.14')
12
backup=('etc/carbonapi.yaml')
13
_gopkg=github.com/go-graphite/$pkgname
14
source=($pkgname-$pkgver.tar.gz::https://$_gopkg/archive/refs/tags/v$pkgver.tar.gz
15
carbonapi.yaml
16
carbonapi.service)
17
sha256sums=('c315f34aa017d7f5e6191951eb424c12e28f0645cc14b5ca8af31d32a5ec546e'
18
'cef6f2fb6702d32ce84765615ec8208f8d03f9d540f177e904f47c61e5ea1215'
19
'9d24333dfefc199957a2efa4779f69a9ad01f78bbff97c35dbacbb160b9bec50')
20
21
build() {
22
export GOPATH="${srcdir}"
23
24
# make fake GOPATH structure
25
local _importPath="${srcdir}/src/$_gopkg"
26
mkdir -p "${_importPath%/*}"
27
28
ln -sf "${srcdir}/${pkgname}-${pkgver}${_versuffix}" "${_importPath}"
29
cd "${_importPath}"
30
31
make
32
}
33
34
package() {
35
cd "${srcdir}/src/$_gopkg"
36
37
install -Dm0755 "./carbonapi" "${pkgdir}/usr/bin/carbonapi"
38
install -Dm0644 "${srcdir}/carbonapi.service" "${pkgdir}/usr/lib/systemd/system/carbonapi.service"
39
install -Dm0644 "${srcdir}/carbonapi.yaml" "${pkgdir}/etc/carbonapi.yaml"
40
41
install -Dm0644 "${srcdir}/${pkgname}-${pkgver}${_versuffix}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
42
}
43
Changes since previous scan
--- PKGBUILD @ 2026-06-20 00:18+++ PKGBUILD @ 2026-08-24 11:22@@ -1,8 +1,7 @@-# Maintainer: Mario Hros <m-aur@k3a.me>+# Maintainer: Georg Pichler <georg.pichler@gmail.com> pkgname=carbonapi-pkgver=0.17.0-_versuffix=-patch2+pkgver=0.18.2 pkgrel=1 pkgdesc="Replacement graphite API server written in Go" arch=(i686 x86_64)@@ -12,10 +11,10 @@ makedepends=('go>=1.14') backup=('etc/carbonapi.yaml') _gopkg=github.com/go-graphite/$pkgname-source=($pkgname-$pkgver.tar.gz::https://$_gopkg/archive/v$pkgver$_versuffix.tar.gz+source=($pkgname-$pkgver.tar.gz::https://$_gopkg/archive/refs/tags/v$pkgver.tar.gz carbonapi.yaml carbonapi.service)-sha256sums=('4acabc5f22669c26e9011f74fd778f82db563d7002ff70f0b004c83b053cdd11'+sha256sums=('c315f34aa017d7f5e6191951eb424c12e28f0645cc14b5ca8af31d32a5ec546e' 'cef6f2fb6702d32ce84765615ec8208f8d03f9d540f177e904f47c61e5ea1215' '9d24333dfefc199957a2efa4779f69a9ad01f78bbff97c35dbacbb160b9bec50') @@ -42,5 +41,3 @@ install -Dm0644 "${srcdir}/${pkgname}-${pkgver}${_versuffix}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } -# vim:set ts=4 sw=4 noet:-Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-24 11:22:50 | Medium | 1 |
| 2026-06-20 00:18:46 | Medium | 1 |
| 2026-06-19 23:51:18 | Clean | 2 |
| 2026-06-19 19:07:35 | Low | 2 |
| 2026-06-18 16:11:54 | Medium | 1 |