aboutsummaryrefslogtreecommitdiff
path: root/network/scapy
diff options
context:
space:
mode:
authorCorrado Franco <conraid (at) linux (dot) it>2018-12-25 05:29:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-25 05:29:26 +0700
commite7afd86aaf7adf5f8cab4fb8184cd77b74bf7c60 (patch)
tree0969c5b1c710873666933211de586eb200087bbf /network/scapy
parent4002feeb7996e619913dc7e51568e51d20539d15 (diff)
network/scapy: Added (interactive packet manipulation tool).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/scapy')
-rw-r--r--network/scapy/scapy.SlackBuild11
-rw-r--r--network/scapy/scapy.info6
2 files changed, 8 insertions, 9 deletions
diff --git a/network/scapy/scapy.SlackBuild b/network/scapy/scapy.SlackBuild
index 2b15e78e532ac..ce8bd081989dc 100644
--- a/network/scapy/scapy.SlackBuild
+++ b/network/scapy/scapy.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for scapy (http://www.secdev.org/projects/scapy/)
#
-# Copyright 2008-2015 Corrado Franco (http://conraid.net)
+# Copyright 2008-2018 Corrado Franco (http://conraid.net)
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
@@ -23,8 +23,8 @@
# with this program (most likely, a file named COPYING). If not, see
# <http://www.gnu.org/licenses/>.
-PRGNAM=${PRGNAM:-scapy}
-VERSION=${VERSION:-2.3.1}
+PRGNAM=scapy
+VERSION=${VERSION:-2.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,7 +47,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-unzip $CWD/$PRGNAM-$VERSION.zip
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -57,8 +57,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-sed -i "s%share/man/man1%man/man1%g" setup.py
+sed "s|share/man/man1|man/man1|g" -i setup.py
python setup.py build
python setup.py install --root=$PKG
diff --git a/network/scapy/scapy.info b/network/scapy/scapy.info
index 06e5baf73ea4e..f64a2fe0982ac 100644
--- a/network/scapy/scapy.info
+++ b/network/scapy/scapy.info
@@ -1,8 +1,8 @@
PRGNAM="scapy"
-VERSION="2.3.1"
+VERSION="2.4.0"
HOMEPAGE="http://www.secdev.org/projects/scapy/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/scapy-2.3.1.zip"
-MD5SUM="46f4ef88b676daebd3053bbd2ee16425"
+DOWNLOAD="https://github.com/secdev/scapy/archive/v2.4.0/scapy-2.4.0.tar.gz"
+MD5SUM="37e0f19a6ccfc4ab1d7a73a96704d9eb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""