gnome-shell-extension-ufw-switcher

LOW
maintainer jerosch 0 votes scanned 2026-09-28 17:21:20.064738
View on AUR
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>
2pkgname=gnome-shell-extension-ufw-switcher
3pkgver=1.0.0
4pkgrel=1
5pkgdesc="Toggle the ufw firewall and switch between location profiles (Home/Office/Public) from GNOME Quick Settings"
6arch=('any')
7url="https://github.com/jerosch/gnome-ufw-switcher"
8license=('GPL-2.0-or-later')
9depends=('gnome-shell' 'ufw' 'python-gobject' 'polkit')
10makedepends=('glib2' 'gettext')
11optdepends=('gufw: graphical firewall configuration')
12source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
13sha256sums=('c516c5906c1274cfb47dd144d11a5100ac4a198074ee6e88b1c1f0356b5fbde0')
14install="${pkgname}.install"
15
16build() {
17 cd "${srcdir}/gnome-ufw-switcher-${pkgver}"
18 make build
19}
20
21package() {
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)SeverityRules
2026-09-28 17:21:20 Low 1
2026-09-28 15:21:17 Low 1

Report a package

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

0 / 4000
Your suggestion