From e7afd86aaf7adf5f8cab4fb8184cd77b74bf7c60 Mon Sep 17 00:00:00 2001 From: Corrado Franco Date: Tue, 25 Dec 2018 05:29:26 +0700 Subject: [PATCH] network/scapy: Added (interactive packet manipulation tool). Signed-off-by: Willy Sudiarto Raharjo --- network/scapy/scapy.SlackBuild | 11 +++++------ network/scapy/scapy.info | 6 +++--- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/network/scapy/scapy.SlackBuild b/network/scapy/scapy.SlackBuild index 2b15e78e53..ce8bd08198 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 # . -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 06e5baf73e..f64a2fe098 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=""