summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/ebtables/ebtables.SlackBuild15
-rw-r--r--network/ebtables/ebtables.info4
2 files changed, 12 insertions, 7 deletions
diff --git a/network/ebtables/ebtables.SlackBuild b/network/ebtables/ebtables.SlackBuild
index c0740128f5..39fa5ede9f 100644
--- a/network/ebtables/ebtables.SlackBuild
+++ b/network/ebtables/ebtables.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=ebtables
VERSION=${VERSION:-2.0.10}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -59,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-v$VERSION-1
-tar xvf $CWD/$PRGNAM-v$VERSION-1.tar.gz
-cd $PRGNAM-v$VERSION-1
+rm -rf $PRGNAM-v$VERSION-4
+tar xvf $CWD/$PRGNAM-v$VERSION-4.tar.gz
+cd $PRGNAM-v$VERSION-4
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -69,7 +69,12 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
+# Set our CFLAGS and avoid a "warning-as-error" that breaks build
+sed -i \
+ -e "s|-fPIC -O3|${SLKCFLAGS}|" \
+ -e "s|-Wunused|-Wno-error=unused-but-set-variable|" \
+ Makefile
+
make
make install DESTDIR=$PKG \
diff --git a/network/ebtables/ebtables.info b/network/ebtables/ebtables.info
index 87e3457b7d..e929269cfc 100644
--- a/network/ebtables/ebtables.info
+++ b/network/ebtables/ebtables.info
@@ -1,8 +1,8 @@
PRGNAM="ebtables"
VERSION="2.0.10"
HOMEPAGE="http://ebtables.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/ebtables/ebtables-v2.0.10-1.tar.gz"
-MD5SUM="33b9ff7c9b605605c705418f17812714"
+DOWNLOAD="http://downloads.sourceforge.net/ebtables/ebtables-v2.0.10-4.tar.gz"
+MD5SUM="506742a3d44b9925955425a659c1a8d0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""