network/scapy: Added (interactive packet manipulation tool).

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Corrado Franco 2018-12-25 05:29:26 +07:00 committed by Willy Sudiarto Raharjo
parent 4002feeb79
commit e7afd86aaf
2 changed files with 8 additions and 9 deletions

View file

@ -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

View file

@ -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=""