summaryrefslogtreecommitdiff
path: root/network/scapy
diff options
context:
space:
mode:
Diffstat (limited to 'network/scapy')
-rw-r--r--network/scapy/scapy.SlackBuild8
-rw-r--r--network/scapy/scapy.info2
-rw-r--r--network/scapy/slack-desc2
3 files changed, 7 insertions, 5 deletions
diff --git a/network/scapy/scapy.SlackBuild b/network/scapy/scapy.SlackBuild
index af073ffff9..89ae0c8bb5 100644
--- a/network/scapy/scapy.SlackBuild
+++ b/network/scapy/scapy.SlackBuild
@@ -24,9 +24,9 @@
PRGNAM=${PRGNAM:-scapy}
VERSION=${VERSION:-2.0.1}
-ARCH=noarch
+ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
+TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -48,7 +48,7 @@ chmod -R u+w,go+r-w,a-s .
sed -i "s%share/man/man1%man/man1%g" setup.py
python setup.py install --root=$PKG
-
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -57,4 +57,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-${BUILD}${TAG}.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-${BUILD}${TAG}.${PKGTYPE:-tgz}
diff --git a/network/scapy/scapy.info b/network/scapy/scapy.info
index 89ee7db188..16112ce5af 100644
--- a/network/scapy/scapy.info
+++ b/network/scapy/scapy.info
@@ -2,7 +2,9 @@ PRGNAM="scapy"
VERSION="2.0.1"
HOMEPAGE="http://www.secdev.org/projects/scapy"
DOWNLOAD="http://www.secdev.org/projects/scapy/files/scapy-2.0.1.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="eaf09bce872c835135a8c66327f920cb"
+MD5SUM_x86_64=""
MAINTAINER="Corrado Franco"
EMAIL="conraid@gmail.com"
APPROVED="dsomero"
diff --git a/network/scapy/slack-desc b/network/scapy/slack-desc
index f945c9f095..f3475751f5 100644
--- a/network/scapy/slack-desc
+++ b/network/scapy/slack-desc
@@ -16,4 +16,4 @@ scapy: Interaction is provided by the Python interpreter, so Python
scapy: programming structures can be used (such as variables, loops, and
scapy: functions). Report modules are possible and easy to make.
scapy:
-scapy: Home: http://www.secdev.org/projects/scapy/
+scapy: Homepage: http://www.secdev.org/projects/scapy/