mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-09 06:16:38 +02:00
community/networkmanager: remove iwd dependency
This reverts commit 54ad8af826871c04215055e2e60d811581742f21.
This commit is contained in:
parent
0af28001a2
commit
be27851dff
@ -2,12 +2,12 @@
|
||||
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
||||
pkgname=networkmanager
|
||||
pkgver=1.18.2
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="Network Management daemon"
|
||||
url="https://wiki.gnome.org/Projects/NetworkManager"
|
||||
arch="all !s390x" # Limited by iwd
|
||||
license="GPL-2.0-or-later"
|
||||
depends="dhcpcd iptables dbus iwd"
|
||||
depends="dhcpcd iptables dbus"
|
||||
install="$pkgname.pre-install $pkgname.pre-upgrade"
|
||||
makedepends="$depends_dev
|
||||
curl-dev
|
||||
@ -99,11 +99,11 @@ package() {
|
||||
mv "$pkgdir/usr/share/doc/NetworkManager" "$pkgdir/usr/share/doc/$pkgname"
|
||||
cat > "$pkgdir"/usr/share/doc/$pkgname/README.alpine <<EOF
|
||||
To modify system network connections without the root password: add your user account to the 'plugdev' group, or use Polkit.
|
||||
EOF
|
||||
|
||||
cat > "$pkgdir"/etc/NetworkManager/conf.d/iwd.conf <<-EOF
|
||||
[device]
|
||||
wifi.backend=iwd
|
||||
To use iwd instead of the default wpa_supplicant install iwd, start its service and add the following to your /etc/NetworkManager/NetworkManager.conf:
|
||||
|
||||
[device]
|
||||
wifi.backend=iwd
|
||||
EOF
|
||||
}
|
||||
|
||||
|
||||
@ -2,6 +2,8 @@
|
||||
|
||||
addgroup -S plugdev 2>/dev/null
|
||||
|
||||
printf " *\n * To setup system connections, regular users must either use Polkit for authentication or be a member of the 'plugdev' group."
|
||||
printf " *\n * To setup system connections, regular users must be member of 'plugdev' group.\n *\n"
|
||||
printf " *\n * To control WiFi devices, enable wpa_supplicant service: 'rc-update add wpa_supplicant default'\n"
|
||||
printf " * then reboot the system or restart 'wpa_supplicant' and 'networkmanager' services respectively.\n *\n"
|
||||
|
||||
exit 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user