aboutsummaryrefslogtreecommitdiff
path: root/network/openvswitch/openvswitch.SlackBuild
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/openvswitch.SlackBuild
parent609df9395b95fb8c0308790771ed124637a67216 (diff)
network/openvswitch: Updated for version 2.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/openvswitch/openvswitch.SlackBuild')
-rw-r--r--network/openvswitch/openvswitch.SlackBuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/network/openvswitch/openvswitch.SlackBuild b/network/openvswitch/openvswitch.SlackBuild
index fb5a888e3b64..61f8d33bf8ea 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