The input group should not be blanket allowed for UIs that do not need it as it bypasses the security benefits of Wayland. This change explicitly adds the input group to only the UIs that absolutely require it, which is only SXMO due to their udev rules and lisgd. Signed-off-by: Aster Boese <asterboese@mailbox.org> [ci:skip-vercheck] Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8767>
58 lines
1.2 KiB
Text
58 lines
1.2 KiB
Text
# Reference: https://postmarketos.org/uipkg
|
|
# Co-Maintainer: Anjandev Momi <anjan@momi.ca>
|
|
# Co-Maintainer: Maarten van Gompel <proycon@anaproy.nl>
|
|
# Co-Maintainer: Aren Moynihan <aren@peacerevolution.org>
|
|
maintainer="Willow Barraco <contact@willowbarraco.fr>"
|
|
pkgname=postmarketos-ui-sxmo-de-dwm
|
|
pkgver=1.18.0 # Bump this so the file names in bpo are correct
|
|
pkgrel=0
|
|
pkgdesc="Simple Mobile: Mobile environment based on SXMO and running on dwm"
|
|
url="http://sr.ht/~mil/Sxmo"
|
|
arch="noarch"
|
|
license="AGPL-3.0-only"
|
|
depends="
|
|
postmarketos-base-ui
|
|
postmarketos-base-ui-audio
|
|
postmarketos-base-ui-networkmanager
|
|
|
|
sxmo-utils-dwm
|
|
sxmo-utils-audio-bluetooth
|
|
"
|
|
install="
|
|
$pkgname.post-install
|
|
$pkgname.post-upgrade
|
|
"
|
|
_pmb_groups="input"
|
|
_pmb_recommends="
|
|
w3m
|
|
sfeed
|
|
|
|
adwaita-icon-theme
|
|
clickclack
|
|
postmarketos-artwork-wallpapers
|
|
ttyescape
|
|
xcalc
|
|
"
|
|
provides="postmarketos-ui-sxmo"
|
|
provider_priority=5
|
|
options="!check"
|
|
subpackages="$pkgname-openrc"
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir"
|
|
}
|
|
|
|
openrc() {
|
|
install_if="$pkgname=$pkgver-r$pkgrel openrc"
|
|
install="$subpkgname.post-install $subpkgname.post-upgrade"
|
|
depends="
|
|
openrc
|
|
tinydm-openrc
|
|
modemmanager-openrc
|
|
networkmanager-openrc
|
|
bluez-openrc
|
|
iio-sensor-proxy-openrc
|
|
"
|
|
|
|
mkdir -p "$subpkgdir"
|
|
}
|