diff options
author | Barry J. Grundy <bgrundyat> | 2022-05-20 05:14:44 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-05-21 08:25:22 +0700 |
commit | 7ee598d4f6d773696461fd47ded5fbae0697a40d (patch) | |
tree | 624cbc639c9106b65fd9e598460b818d7085c92f | |
parent | c9bd188e068aa75ef3e7e50292074b4fddc45e01 (diff) | |
download | slackbuilds-7ee598d4f6d773696461fd47ded5fbae0697a40d.tar.gz |
python/dpkt: Updated for version 1.9.7.2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | python/dpkt/dpkt.SlackBuild | 14 | ||||
-rw-r--r-- | python/dpkt/dpkt.info | 6 |
2 files changed, 10 insertions, 10 deletions
diff --git a/python/dpkt/dpkt.SlackBuild b/python/dpkt/dpkt.SlackBuild index e04bb3278c..b83144c3a9 100644 --- a/python/dpkt/dpkt.SlackBuild +++ b/python/dpkt/dpkt.SlackBuild @@ -1,9 +1,9 @@ #!/bin/bash # Slackware build script for dpkt - +# # Written by Vincent Batts, vbatts@hashbangbash.com - +# # Copyright 2014 # All rights reserved. # @@ -23,13 +23,13 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Updated for version 1.8.8 January 2017, Barry J. Grundy. +# +# Updated for version 1.9.7.2 by Barry Grundy - May 2022 cd $(dirname $0) ; CWD=$(pwd) PRGNAM=dpkt -VERSION=${VERSION:-1.8.8} +VERSION=${VERSION:-1.9.7.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -83,13 +83,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \ -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG +python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS CHANGES LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/dpkt/dpkt.info b/python/dpkt/dpkt.info index 5962a08460..f484c5f847 100644 --- a/python/dpkt/dpkt.info +++ b/python/dpkt/dpkt.info @@ -1,8 +1,8 @@ PRGNAM="dpkt" -VERSION="1.8.8" +VERSION="1.9.7.2" HOMEPAGE="https://github.com/kbandla/dpkt" -DOWNLOAD="https://github.com/kbandla/dpkt/archive/v1.8.8/dpkt-1.8.8.tar.gz" -MD5SUM="7b3e5de66847c4c09a4582a195212ff8" +DOWNLOAD="https://github.com/kbandla/dpkt/archive/v1.9.7.2/dpkt-1.9.7.2.tar.gz" +MD5SUM="8f9bf3f16c01cae99223ae71117022fb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |