pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/binwalk binwalk: simplify github handling.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3dd587d90fba
branches:  trunk
changeset: 309413:3dd587d90fba
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jun 17 11:46:26 2018 +0000

description:
binwalk: simplify github handling.

Make distfile fetchable. Some cleanups.

diffstat:

 sysutils/binwalk/Makefile |   9 +++------
 sysutils/binwalk/PLIST    |   4 ++--
 sysutils/binwalk/distinfo |  10 +++++-----
 3 files changed, 10 insertions(+), 13 deletions(-)

diffs (52 lines):

diff -r 398fbb93051c -r 3dd587d90fba sysutils/binwalk/Makefile
--- a/sysutils/binwalk/Makefile Sun Jun 17 11:24:22 2018 +0000
+++ b/sysutils/binwalk/Makefile Sun Jun 17 11:46:26 2018 +0000
@@ -1,18 +1,15 @@
-# $NetBSD: Makefile,v 1.1 2018/06/13 13:25:02 maya Exp $
+# $NetBSD: Makefile,v 1.2 2018/06/17 11:46:26 wiz Exp $
 
-GITHUB_PROJECT=        binwalk
-DISTNAME=      v2.1.1
-PKGNAME=       ${GITHUB_PROJECT}-${DISTNAME:S/^v//}
+DISTNAME=      binwalk-2.1.1
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ReFirmLabs/}
-DIST_SUBDIR=   ${GITHUB_PROJECT}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/ReFirmLabs/binwalk/
 COMMENT=       Firmware analysis tool
 LICENSE=       mit
 
-WRKSRC=                ${WRKDIR}/binwalk-2.1.1
 USE_LANGUAGES= # none
 
 .include "../../lang/python/distutils.mk"
diff -r 398fbb93051c -r 3dd587d90fba sysutils/binwalk/PLIST
--- a/sysutils/binwalk/PLIST    Sun Jun 17 11:24:22 2018 +0000
+++ b/sysutils/binwalk/PLIST    Sun Jun 17 11:46:26 2018 +0000
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1 2018/06/13 13:25:02 maya Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/06/17 11:46:26 wiz Exp $
 bin/binwalk
-${PYSITELIB}/binwalk-2.1.1-py${PYVERSSUFFIX}.egg-info
+${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/binwalk/__init__.py
 ${PYSITELIB}/binwalk/__init__.pyc
 ${PYSITELIB}/binwalk/__init__.pyo
diff -r 398fbb93051c -r 3dd587d90fba sysutils/binwalk/distinfo
--- a/sysutils/binwalk/distinfo Sun Jun 17 11:24:22 2018 +0000
+++ b/sysutils/binwalk/distinfo Sun Jun 17 11:46:26 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2018/06/13 13:25:02 maya Exp $
+$NetBSD: distinfo,v 1.2 2018/06/17 11:46:26 wiz Exp $
 
-SHA1 (binwalk/v2.1.1.tar.gz) = 7a958497f7eccd951379d2e358a4ca94317cd6bc
-RMD160 (binwalk/v2.1.1.tar.gz) = 911b1e6da052be08bcee5ed1e1f50a311092ffc0
-SHA512 (binwalk/v2.1.1.tar.gz) = 373e276a4d6ec845952f1091f85f953d3b0d52d561d9b74a54000ebdef85d13cafc997a4f8f76f25842db8b76fdcd1e602d4d81792a3ea01c9dea6c6ed5c2168
-Size (binwalk/v2.1.1.tar.gz) = 263977 bytes
+SHA1 (binwalk-2.1.1.tar.gz) = 7a958497f7eccd951379d2e358a4ca94317cd6bc
+RMD160 (binwalk-2.1.1.tar.gz) = 911b1e6da052be08bcee5ed1e1f50a311092ffc0
+SHA512 (binwalk-2.1.1.tar.gz) = 373e276a4d6ec845952f1091f85f953d3b0d52d561d9b74a54000ebdef85d13cafc997a4f8f76f25842db8b76fdcd1e602d4d81792a3ea01c9dea6c6ed5c2168
+Size (binwalk-2.1.1.tar.gz) = 263977 bytes



Home | Main Index | Thread Index | Old Index