gnome-shell-extension-ufw-switcher
LOW
maintainer jerosch
0 votes
scanned 2026-09-28 17:21:20.064738
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: jerosch <jeroch@users.noreply.github.com>
2
pkgname=gnome-shell-extension-ufw-switcher
3
pkgver=1.0.0
4
pkgrel=1
5
pkgdesc="Toggle the ufw firewall and switch between location profiles (Home/Office/Public) from GNOME Quick Settings"
6
arch=('any')
7
url="https://github.com/jerosch/gnome-ufw-switcher"
8
license=('GPL-2.0-or-later')
9
depends=('gnome-shell' 'ufw' 'python-gobject' 'polkit')
10
makedepends=('glib2' 'gettext')
11
optdepends=('gufw: graphical firewall configuration')
12
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
13
sha256sums=('c516c5906c1274cfb47dd144d11a5100ac4a198074ee6e88b1c1f0356b5fbde0')
14
install="${pkgname}.install"
15
16
build() {
17
cd "${srcdir}/gnome-ufw-switcher-${pkgver}"
18
make build
19
}
20
21
package() {
22
cd "${srcdir}/gnome-ufw-switcher-${pkgver}"
23
24
# GNOME Shell extension (system-wide)
25
local ext_dir="${pkgdir}/usr/share/gnome-shell/extensions/ufw-switcher@jerosch.github.io"
26
install -d "${ext_dir}"
27
cp -r build/. "${ext_dir}/"
28
29
# Privileged helper daemon (D-Bus service, PolicyKit-guarded)
30
install -d "${pkgdir}/usr/lib/gnome-ufw-switcher"
31
install -m 0755 daemon/ufw_switcherd.py "${pkgdir}/usr/lib/gnome-ufw-switcher/"
32
install -d "${pkgdir}/usr/share/dbus-1/system.d"
33
install -m 0644 daemon/org.gnome.UfwSwitcher.conf "${pkgdir}/usr/share/dbus-1/system.d/"
34
install -d "${pkgdir}/usr/share/polkit-1/actions"
35
install -m 0644 daemon/org.gnome.ufw-switcher.policy "${pkgdir}/usr/share/polkit-1/actions/"
36
install -d "${pkgdir}/usr/lib/systemd/system"
37
install -m 0644 daemon/gnome-ufw-switcherd.service "${pkgdir}/usr/lib/systemd/system/"
38
39
# Preferences launcher
40
install -d "${pkgdir}/usr/share/applications"
41
sed 's/@UUID@/ufw-switcher@jerosch.github.io/g' \
42
dist/ufw-switcher-prefs.desktop.in \
43
> "${pkgdir}/usr/share/applications/ufw-switcher-prefs.desktop"
44
}
45
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-28 17:21:20 | Low | 1 |
| 2026-09-28 15:21:17 | Low | 1 |