pgl-git

maintainer orphaned · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a Git repository from Code.SF.net (SourceForge), which is a standard open-source hosting platform, and a patch from Gentoo's official repository; both are legitimate development sources for building the package, despite not being on a strict whitelist.

Triggered rules

LOW AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a Git repository from Code.SF.net (SourceForge), which is a standard open-source hosting platform, and a patch from Gentoo's official repository; both are legitimate development sources for building the package, despite not being on a strict whitelist.

1 higher static finding superseded - not the current verdict (shown for transparency)
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:26 source=('git://git.code.sf.net/p/peerguardian/code/'
  • PKGBUILD:27 'pglinux-2.3.1_p20171006-fno-common.patch::https://gitweb.gentoo.org/repo/gentoo.git/plain/net-firewall/pglinux/files/pglinux-2.3.1_p20171006-fno-common.patch?id=492d6119594d1774685fcd4f40fb5d754c3d77c4')

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: Gilrain <gilrain+libre.arch A_T castelmo DOT_ re>
2
3pkgname=pgl-git
4pkgver=2.3.1.1.r77.g9d91ab6
5pkgrel=1
6pkgdesc='A privacy oriented firewall application (Daemon, CLI & GUI).'
7arch=('i686' 'x86_64')
8url='http://sourceforge.net/projects/peerguardian/'
9license=('GPL3')
10depends=('bash' 'systemd' 'dbus' 'coreutils' 'procps-ng' 'logrotate' 'wget' 'iptables' 'libnetfilter_queue' 'cron' 'qt5-base' 'whois')
11optdepends=('unzip: for zipped blocklists'
12 'p7zip: for 7z blocklists'
13 'net-tools: to whitelist local IP addresses'
14 'networkmanager: to whitelist newly started network interfaces'
15 'smtp-forwarder: to send reports'
16 'tcptraceroute: to diagnose connection problems')
17makedepends=('git' 'zlib' 'qt5-tools')
18license=('GPL3')
19provides=('pgl')
20conflicts=('pgl' 'pgl-cli')
21backup=('etc/pgl/allow.p2p'
22 'etc/pgl/blocklists.list'
23 'etc/pgl/pglcmd.conf'
24 'etc/logrotate.d/pglcmd'
25 'etc/logrotate.d/pgld')
26source=('git://git.code.sf.net/p/peerguardian/code/'
27 'pglinux-2.3.1_p20171006-fno-common.patch::https://gitweb.gentoo.org/repo/gentoo.git/plain/net-firewall/pglinux/files/pglinux-2.3.1_p20171006-fno-common.patch?id=492d6119594d1774685fcd4f40fb5d754c3d77c4')
28sha256sums=('SKIP'
29 'b4cf3cb48620e04c5115be1db73eb25fb9c779120e4930b3e5d4bd04d8c4a13c')
30
31pkgver() {
32 cd code
33
34 git describe --tags | sed 's/^debian\///;s/\([^-]*-g\)/r\1/;s/-/./g'
35}
36
37prepare() {
38 cd "code"
39
40 patch -p1 < ../pglinux-2.3.1_p20171006-fno-common.patch
41 ./autogen.sh
42}
43
44build() {
45 cd code
46
47 ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --localstatedir=/var --datarootdir=/usr/share \
48 --with-piddir=/run --with-systemd --without-initddir
49 make
50}
51
52package() {
53 cd code
54
55 make DESTDIR="$pkgdir" install
56
57 # integrates daemon log in systemd journal
58 sed -i '/^LOG_SYSLOG/s/0/1/g' $pkgdir/usr/lib/pgl/pglcmd.defaults
59}
60

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 LOW 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion