Unverified Commit 5e5ed10c authored by Olliver Schinagl's avatar Olliver Schinagl
Browse files

community/networkmanager: Split command line interfaces



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

More fine-grained control is also the alpine way ;-)
Signed-off-by: Olliver Schinagl's avatarOlliver Schinagl <oliver@schinagl.nl>
parent 77ccdacd
Pipeline #100751 passed with stages
in 38 minutes and 51 seconds
......@@ -3,7 +3,7 @@
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=networkmanager-elogind
pkgver=1.32.12
pkgrel=0
pkgrel=1
pkgdesc="Network Management daemon (with elogind hibernation support)"
url="https://wiki.gnome.org/Projects/NetworkManager"
# mips64, s390x and riscv64 blocked by polkit
......@@ -40,10 +40,12 @@ makedepends="$depends_dev
elogind-dev
"
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
......@@ -140,6 +142,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="
b8dfa409302781fdab19790afeb7f4396875e282d6983e2c5775294c8c13d3c1036dee69a37bf6e4fb2a2e80504c8e792780b6a9c1262616e57860da5ebc0e61 NetworkManager-1.32.12.tar.xz
0f79016bf717dea43830962f524deae8d1cedc274376e40bd912ebe63208c5b1c3b7a5aa14379da19020c587dbd5588df2f0066ca1540070a226983a43e4159b networkmanager.conf
......
......@@ -3,7 +3,7 @@
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=networkmanager
pkgver=1.32.12
pkgrel=1
pkgrel=2
pkgdesc="Network Management daemon"
url="https://wiki.gnome.org/Projects/NetworkManager"
# mips64, s390x and riscv64 blocked by polkit
......@@ -41,10 +41,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
......@@ -119,6 +121,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="
b8dfa409302781fdab19790afeb7f4396875e282d6983e2c5775294c8c13d3c1036dee69a37bf6e4fb2a2e80504c8e792780b6a9c1262616e57860da5ebc0e61 NetworkManager-1.32.12.tar.xz
0f79016bf717dea43830962f524deae8d1cedc274376e40bd912ebe63208c5b1c3b7a5aa14379da19020c587dbd5588df2f0066ca1540070a226983a43e4159b networkmanager.conf
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment