summaryrefslogtreecommitdiff
path: root/network/ebtables/ebtables.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/ebtables/ebtables.SlackBuild')
-rw-r--r--network/ebtables/ebtables.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/network/ebtables/ebtables.SlackBuild b/network/ebtables/ebtables.SlackBuild
index 39fa5ede9f..758a3521a5 100644
--- a/network/ebtables/ebtables.SlackBuild
+++ b/network/ebtables/ebtables.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=ebtables
VERSION=${VERSION:-2.0.10}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -91,6 +91,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+mv $PKG/etc/ethertypes $PKG/etc/ethertypes.new
+
# Remove Red Hat junk
rm -rf $PKG/etc/rc.d $PKG/etc/sysconfig
@@ -100,6 +102,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}