UmVirt LFS Package info

📦Package info

🔙Parent Directory  -

DB commit: c9dd8835b9e79548f70e25c8ffb9d09430f622a0
APP commit:
[ BASH | XML | JSON ]

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.48.8.tar.xz
Source directory: NetworkManager-1.48.8
Package URL: https://ulfs.org/linux/downloads/package_files/4145625122/packages/n/NetworkManager-1.48.8.tar.xz
Package md5-checksum URL: https://ulfs.org/linux/downloads/package_files/4145625122/packages/n/NetworkManager-1.48.8.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:
grep -rl '^#!.*python$' | xargs sed -i '1s/python/&3/'

mkdir build &&
cd    build    &&

CXXFLAGS+="-O2 -fPIC"             \
meson setup ..                    \
      --prefix=/usr               \
      --buildtype=release         \
      -D libaudit=no              \
      -D nmtui=true               \
      -D ovs=false                \
      -D ppp=false                \
      -D selinux=false            \
      -D qt=false                 \
      -D session_tracking=systemd \
      -D modem_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.48.8}

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