UmVirt LFS Package info
DB commit: f9aede95e4e5157a46ec1323bb7abf8947e8632d
APP commit:
NetworkManager
NetworkManager is a set of co-operative tools that make networking simple and straightforward. Whether you use WiFi, wired, 3G, or Bluetooth, NetworkManager allows you to quickly move from one network to another: Once a network has been configured and joined once, it can be detected and re-joined automatically the next time it's available.Package info
Codename: NetworkManager
Source file: NetworkManager-1.44.2.tar.xz
Source directory: NetworkManager-1.44.2
Package URL: https://ulfs.org/linux/downloads/package_files/0.2.1/packages/n/NetworkManager-1.44.2.tar.xz
Package md5-checksum URL: https://ulfs.org/linux/downloads/package_files/0.2.1/packages/n/NetworkManager-1.44.2.tar.xz.md5sum
Dependances: curl, gobject-introspection, vala, polkit, python3-pygobject, systemd, nss, libndp, jansson, dhcpcd, iptables, newt, wpa_supplicant.
Dependance of: xfce4-power-manager, libnma, gnome-shell, gnome-settings-daemon.
Patches: *** NO PATCHES FOUND ***
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
groupadd -fg 86 netdev
grep -rl '^#!.*python$' | xargs sed -i '1s/python/&3/'
mkdir build &&
cd build &&
CXXFLAGS+="-O2 -fPIC" \
meson setup .. \
--prefix=/usr \
--buildtype=release \
-Dlibaudit=no \
-Dnmtui=true \
-Dovs=false \
-Dppp=false \
-Dselinux=false \
-Dqt=false \
-Dsession_tracking=systemd \
-Dmodem_manager=false
Build script:
cd build &&
ninja
if [[ "$ULFS_PKG_TEST" == "YES" ]]
then
ninja test
fi
Install script:
cd build &&
ninja install &&
mv -v /usr/share/doc/NetworkManager{,-1.44.2}
cat >> /etc/NetworkManager/NetworkManager.conf << "EOF"
[main]
plugins=keyfile
EOF
cat > /etc/NetworkManager/conf.d/polkit.conf << "EOF"
[main]
auth-polkit=true
EOF
cat > /etc/NetworkManager/conf.d/dhcp.conf << "EOF"
[main]
dhcp=dhcpcd
EOF
cat > /etc/NetworkManager/conf.d/no-dns-update.conf << "EOF"
[main]
dns=none
EOF
groupadd -fg 86 netdev &&
cat > /usr/share/polkit-1/rules.d/org.freedesktop.NetworkManager.rules << "EOF"
polkit.addRule(function(action, subject) {
if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 && subject.isInGroup("netdev")) {
return polkit.Result.YES;
}
});
EOF
Apache/2.4.62 (Debian) Server at ulfs.org Port 443