summaryrefslogtreecommitdiff
path: root/network/openvswitch
diff options
context:
space:
mode:
authorChristopher Walker <kris240376@gmail.com>2015-05-08 22:52:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-08 22:52:46 +0700
commitab5708960ab3d232b1b35a3b55a79da14d099834 (patch)
tree6e0fa3fd155f01bf7abc03a595ca837b98dabe44 /network/openvswitch
parent609df9395b95fb8c0308790771ed124637a67216 (diff)
downloadslackbuilds-ab5708960ab3d232b1b35a3b55a79da14d099834.tar.gz
network/openvswitch: Updated for version 2.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/openvswitch')
-rw-r--r--network/openvswitch/README9
-rw-r--r--network/openvswitch/openvswitch.SlackBuild16
-rw-r--r--network/openvswitch/openvswitch.info6
3 files changed, 17 insertions, 14 deletions
diff --git a/network/openvswitch/README b/network/openvswitch/README
index 65f76de5da..3416c573e5 100644
--- a/network/openvswitch/README
+++ b/network/openvswitch/README
@@ -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.
diff --git a/network/openvswitch/openvswitch.SlackBuild b/network/openvswitch/openvswitch.SlackBuild
index fb5a888e3b..61f8d33bf8 100644
--- a/network/openvswitch/openvswitch.SlackBuild
+++ b/network/openvswitch/openvswitch.SlackBuild
@@ -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
diff --git a/network/openvswitch/openvswitch.info b/network/openvswitch/openvswitch.info
index 6ff583e32d..b61073006d 100644
--- a/network/openvswitch/openvswitch.info
+++ b/network/openvswitch/openvswitch.info
@@ -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=""