UmVirt LFS Package info
DB commit: 87572d7cf5c2e4fc6a7d33abc05341175a2c925a
APP commit: e905d50832f25d6e1ea1c062c557c2674e1072f0
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.0.tar.gz
Source directory: openvswitch-3.6.0
Package URL: openvswitch-3.6.0.tar.gz
Package md5-checksum URL: openvswitch-3.6.0.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
./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