Skip to content

Commit

Permalink
vde2: rebuilt
Browse files Browse the repository at this point in the history
  • Loading branch information
conraid committed May 13, 2016
1 parent 858aaec commit 3f40c3a
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 25 deletions.
11 changes: 9 additions & 2 deletions vde2/README
@@ -1,9 +1,16 @@

Slackware Current Repository by Conraid
Slackware Current Repository by Conraid

======================================================================

vde2
VDE (Virtual Distributed Ethernet)

VDE is an ethernet compliant virtual network which includes tools such
as 'vde_switch' and 'vdeqemu'. VDE switch has several virtual ports
where virtual machines, applications, virtual interfaces and
connectivity tools can be virtually plugged in. VDE qemu works as a
wrapper for running qemu/kvm virtual machines that connects
transparently to a specified vde_switch

HOME: http://sourceforge.net/projects/vde/

Expand Down
18 changes: 9 additions & 9 deletions vde2/slack-desc
Expand Up @@ -5,15 +5,15 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.

|-----handy-ruler------------------------------------------------------|
vde2: vde2
vde2:
vde2:
vde2:
vde2:
vde2:
vde2:
vde2:
|-----handy-ruler------------------------------------------------------|
vde2: VDE (Virtual Distributed Ethernet)
vde2:
vde2: VDE is an ethernet compliant virtual network which includes tools such
vde2: as 'vde_switch' and 'vdeqemu'. VDE switch has several virtual ports
vde2: where virtual machines, applications, virtual interfaces and
vde2: connectivity tools can be virtually plugged in. VDE qemu works as a
vde2: wrapper for running qemu/kvm virtual machines that connects
vde2: transparently to a specified vde_switch
vde2:
vde2:
vde2:
28 changes: 14 additions & 14 deletions vde2/vde2.SlackBuild
Expand Up @@ -29,12 +29,12 @@ set -eu

CWD=$(pwd)

PRGNAM=vde2
VERSION=${VERSION:-2.3.2}
BUILD=${BUILD:-2}
PKGNAM=vde2
VERSION=2.3.2
BUILD=${BUILD:-3}
TAG=${TAG:-cf}
TMP=${TMP:-/tmp/pkg}
PKG=$TMP/package-$PRGNAM
PKG=$TMP/package-$PKGNAM
OUTPUT=${OUTPUT:-/tmp}

DOCFILES="COPYING README* doc/README* doc/*HOWTO doc/bochs"
Expand All @@ -54,7 +54,7 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC -fomit-frame-pointer"
SLKCFLAGS="-O2 -fPIC -pipe -fomit-frame-pointer"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
Expand All @@ -64,9 +64,9 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
rm -rf $PKGNAM-$VERSION
tar xvf $CWD/$PKGNAM-$VERSION.tar.bz2
cd $PKGNAM-$VERSION

chown -R root:root .
chmod -R u+w,go+r-w,a+X-s .
Expand All @@ -81,7 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--docdir=/usr/doc/$PKGNAM-$VERSION \
--enable-static=no \
--enable-shared=yes \
--host=$ARCH-slackware-linux \
Expand All @@ -98,10 +98,10 @@ if [ -d $PKG/usr/man ]; then
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
fi

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION || true
cp -a $CWD/txt/* $PKG/usr/doc/$PRGNAM-$VERSION # Thanks to SBo and Alien Bob
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a $DOCFILES $PKG/usr/doc/$PKGNAM-$VERSION || true
cp -a $CWD/txt/* $PKG/usr/doc/$PKGNAM-$VERSION # Thanks to SBo and Alien Bob
cat $CWD/$PKGNAM.SlackBuild > $PKG/usr/doc/$PKGNAM-$VERSION/$PKGNAM.SlackBuild

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
Expand All @@ -116,4 +116,4 @@ done
install -Dm755 $CWD/rc.vde2 $PKG/etc/rc.d/rc.vde2.new

cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
/sbin/makepkg -l y -c n $OUTPUT/$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}

0 comments on commit 3f40c3a

Please sign in to comment.