UmVirt LFS Package info
DB commit: 3c6efcfc536d7802c89703820d548c1aec13ba9b
APP commit: f0568a86eced844506f88e1faa2e7a1c73783ddf
openvswitch
Open vSwitch is a production quality, multilayer virtual switch. It is designed to enable massive network automation through programmatic extension, while still supporting standard management interfaces and protocols (e.g. NetFlow, sFlow, IPFIX, RSPAN, CLI, LACP, 802.1ag). Package info
Template:
Codename: openvswitch
Source file: openvswitch-3.6.2.tar.gz
Source file size: 9683763
Source file MD5-checkum: 3541b3a0d50b9a1ca36eef335110f974
Source directory: openvswitch-3.6.2
Package URL: https://umvirt.com/linux/downloads/0.2.4/packages/o/openvswitch-3.6.2.tar.gz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.2.4/packages/o/openvswitch-3.6.2.tar.gz.md5sum
Dependances: *** NO DEPENDANCES FOUND ***
Dependance of: *** NO PACKAGES FOUND ***
Patches: *** NO PATCHES FOUND ***
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
sed -i \
-e 's|$(sysconfdir)/bash_completion.d|/usr/share/bash-completion/completions|g' \
-e '/if grep warning:/d' \
Makefile.am
./boot.sh
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-rundir=/run/openvswitch \
--sbindir=/usr/bin \
--enable-shared \
PYTHON=/usr/bin/python3
Build script:
make
Install script:
make install
cat > /usr/lib/tmpfiles.d/openvswitch.conf << "EOF"
d /run/openvswitch 0770 root root -
EOF
cat > /usr/lib/systemd/system/ovsdb-server.service << "EOF"
[Unit]
Description = Open vSwitch Database Server
Documentation = man:ovsdb-server
[Service]
PIDFile=/run/openvswitch/ovsdb-server.pid
ExecStart=/usr/sbin/ovsdb-server --remote=punix:/var/run/openvswitch/db.sock --pidfile=/run/openvswitch/ovsdb-server.pid
EOF
cat > /usr/lib/systemd/system/ovs-vswitchd.service << "EOF"
[Unit]
Description = Open vSwitch Daemon
Documentation = man:ovs-vswitchd
Wants = network.target
Before = network.target NetworkManager.service
Requires = ovsdb-server.service
After = ovsdb-server.service
[Service]
ExecStartPre = /sbin/modprobe openvswitch
PIDFile = /run/openvswitch/ovs-vswitchd.pid
ExecStart = /usr/sbin/ovs-vswitchd --pidfile=/run/openvswitch/ovs-vswitchd.pid
[Install]
WantedBy = multi-user.target
EOF