mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
network/openvswitch: Updated for version 2.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
609df9395b
commit
ab5708960a
3 changed files with 17 additions and 14 deletions
|
@ -13,7 +13,8 @@ is the default switch in the Xen Cloud Platform and also supports Xen,
|
|||
XenServer, KVM, and VirtualBox. The bulk of the code is written in
|
||||
platform-independent C and is easily ported to other environments.
|
||||
|
||||
This package will build kernel modules that will be used as replacements
|
||||
for the bridge modules included with the stock Linux kernel. Open
|
||||
vSwitch also includes a kernel module for backwards compatibility if you wish
|
||||
to use the standard Linux bridge utils to manage it.
|
||||
NOTE: In order to remain compatible with newer versions of Slackware this
|
||||
build script will check for the existence of the Slackware provided
|
||||
openvswitch.ko kernel module. If the kernel module already exists
|
||||
on the machine then the script will skip installation of the module
|
||||
file. Open vSwitch utilities are always installed.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for openvswitch
|
||||
|
||||
# Copyright 2008-2013 Christopher Walker Copperas Cove, TX
|
||||
# Copyright 2008-2015 Christopher Walker Copperas Cove, TX
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=openvswitch
|
||||
VERSION=${VERSION:-2.0.0}
|
||||
VERSION=${VERSION:-2.3.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -75,6 +75,7 @@ CFLAGS="$SLKCFLAGS" \
|
|||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
|
@ -82,6 +83,8 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--with-l26=/lib/modules/${KERNEL}/build \
|
||||
--enable-ndebug \
|
||||
--enable-ssl \
|
||||
--enable-static=no \
|
||||
--enable-shared=yes \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
|
@ -105,14 +108,13 @@ sed -e "s,@DOCDIR@,/usr/doc/$PRGNAM-$VERSION,g" $CWD/rc.openvswitch \
|
|||
> $PKG/etc/rc.d/rc.openvswitch.new
|
||||
chmod 0755 $PKG/etc/rc.d/rc.openvswitch.new
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/{schema,xen}
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/schema
|
||||
cp -a \
|
||||
AUTHORS COPYING CodingStyle DESIGN INSTALL* NEWS NOTICE PORTING README* \
|
||||
REPORTING-BUGS SubmittingPatches WHY-OVS \
|
||||
AUTHORS BUILD.Windows COPYING CodingStyle DESIGN FAQ INSTALL* \
|
||||
IntegrationGuide NEWS NOTICE OPENFLOW-1.1+ PORTING README* \
|
||||
REPORTING-BUGS TODO WHY-OVS \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a vswitchd/vswitch.ovsschema $PKG/usr/doc/$PRGNAM-$VERSION/schema
|
||||
cp $CWD/xen/vif-openvswitch $CWD/xen/network-openvswitch $CWD/xen/README \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION/xen
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="openvswitch"
|
||||
VERSION="2.0.0"
|
||||
VERSION="2.3.1"
|
||||
HOMEPAGE="http://openvswitch.org"
|
||||
DOWNLOAD="http://openvswitch.org/releases/openvswitch-2.0.0.tar.gz"
|
||||
MD5SUM="7d7a58350e634e515e0fe43c64d64f44"
|
||||
DOWNLOAD="http://openvswitch.org/releases/openvswitch-2.3.1.tar.gz"
|
||||
MD5SUM="c008c1de0a8b6363b37afa599105d6d6"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue