Skip to content
Snippets Groups Projects
Commit 84128875 authored by Olliver Schinagl's avatar Olliver Schinagl Committed by Rasmus Thomsen
Browse files

community/networkmanager: split command line interfaces


The command-line interfaces pull in additional (unneeded) dependences
(newt) and just add unneeded bloat on systems that do not need them.

More fine-grained control is also the alpine way ;-)

Signed-off-by: default avatarOlliver Schinagl <oliver@schinagl.nl>
parent 2e4a9cb3
No related branches found
No related tags found
1 merge request!27727community/networkmanager: Split command line interfaces
......@@ -3,7 +3,7 @@
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=networkmanager
pkgver=1.36.0
pkgrel=0
pkgrel=1
pkgdesc="Network Management daemon"
url="https://wiki.gnome.org/Projects/NetworkManager"
# s390x and riscv64 blocked by polkit
......@@ -43,10 +43,12 @@ makedepends="$depends_dev
python3
"
subpackages="
$pkgname-cli
$pkgname-dev
$pkgname-doc
$pkgname-lang
$pkgname-openrc
$pkgname-tui
$pkgname-bash-completion:bashcomp:noarch
"
source="https://download.gnome.org/sources/NetworkManager/${pkgver:0:4}/NetworkManager-$pkgver.tar.xz
......@@ -123,6 +125,21 @@ bashcomp() {
amove usr/share/bash-completion
}
cli() {
depends="$pkgname"
pkgdesc="$pkgdesc (command line interface)"
amove 'usr/bin/nmcli'
}
tui() {
depends="$pkgname"
pkgdesc="$pkgdesc (textbased user interface)"
amove 'usr/bin/nmtui'*
}
sha512sums="
9cc2f4ca0d4425423b6db75ed6c65f7a51229f7c654ab0b9b07d22c695b292d28768ff56aff6af3d9a2c0bd2b46d25bae015e9edacf766bfb74018b4e5847da8 NetworkManager-1.36.0.tar.xz
0f79016bf717dea43830962f524deae8d1cedc274376e40bd912ebe63208c5b1c3b7a5aa14379da19020c587dbd5588df2f0066ca1540070a226983a43e4159b networkmanager.conf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment