pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Jan 13 22:29:24 UTC 2020

Modified Files:
        pkgsrc/misc: Makefile
Added Files:
        pkgsrc/misc/hexd: DESCR Makefile PLIST distinfo

Log Message:
misc: Add hexd.

hexd prints a human-readable hexdump of the specified files, or standard
input if omitted. Its main distinguishing feature is the use of colours to
visually indicate which range of values an octet belongs to, aiding in
spotting patterns in binary data.

By default, hexd relies on 256-color SGR escape sequences. Most terminal
emulators should support these today, but technically they're only defacto
standard. However, you can override the formatting used with the HEXD_COLORS
environment variable (see manpage), or use the -p option for plaintext
output.


To generate a diff of this commit:
cvs rdiff -u -r1.529 -r1.530 pkgsrc/misc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/hexd/DESCR pkgsrc/misc/hexd/Makefile \
    pkgsrc/misc/hexd/PLIST pkgsrc/misc/hexd/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/Makefile
diff -u pkgsrc/misc/Makefile:1.529 pkgsrc/misc/Makefile:1.530
--- pkgsrc/misc/Makefile:1.529  Wed Jan  8 20:04:27 2020
+++ pkgsrc/misc/Makefile        Mon Jan 13 22:29:24 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.529 2020/01/08 20:04:27 adam Exp $
+# $NetBSD: Makefile,v 1.530 2020/01/13 22:29:24 nia Exp $
 #
 
 COMMENT=       Miscellaneous utilities
@@ -105,6 +105,7 @@ SUBDIR+=    heirloom-sleep
 SUBDIR+=       heirloom-sum
 SUBDIR+=       heirloom-tcopy
 SUBDIR+=       heirloom-time
+SUBDIR+=       hexd
 SUBDIR+=       heyu
 SUBDIR+=       howm
 SUBDIR+=       hs-extra

Added files:

Index: pkgsrc/misc/hexd/DESCR
diff -u /dev/null pkgsrc/misc/hexd/DESCR:1.1
--- /dev/null   Mon Jan 13 22:29:24 2020
+++ pkgsrc/misc/hexd/DESCR      Mon Jan 13 22:29:24 2020
@@ -0,0 +1,10 @@
+hexd prints a human-readable hexdump of the specified files, or standard
+input if omitted. Its main distinguishing feature is the use of colours to
+visually indicate which range of values an octet belongs to, aiding in
+spotting patterns in binary data.
+
+By default, hexd relies on 256-color SGR escape sequences. Most terminal
+emulators should support these today, but technically they're only defacto
+standard. However, you can override the formatting used with the HEXD_COLORS
+environment variable (see manpage), or use the -p option for plaintext
+output.
Index: pkgsrc/misc/hexd/Makefile
diff -u /dev/null pkgsrc/misc/hexd/Makefile:1.1
--- /dev/null   Mon Jan 13 22:29:24 2020
+++ pkgsrc/misc/hexd/Makefile   Mon Jan 13 22:29:24 2020
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2020/01/13 22:29:24 nia Exp $
+
+DISTNAME=      hexd-1.0.0
+CATEGORIES=    misc
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=FireyFly/}
+GITHUB_PROJECT=        hexd
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/FireyFly/hexd
+COMMENT=       Colourful, human-friendly hexdump tool for reverse engineering
+LICENSE=       mit
+
+USE_TOOLS+=    gmake
+
+INSTALLATION_DIRS+=    bin
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/hexd ${DESTDIR}${PREFIX}/bin/hexd
+       ${INSTALL_DATA} ${WRKSRC}/hexd.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/hexd.1
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/misc/hexd/PLIST
diff -u /dev/null pkgsrc/misc/hexd/PLIST:1.1
--- /dev/null   Mon Jan 13 22:29:24 2020
+++ pkgsrc/misc/hexd/PLIST      Mon Jan 13 22:29:24 2020
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/13 22:29:24 nia Exp $
+bin/hexd
+man/man1/hexd.1
Index: pkgsrc/misc/hexd/distinfo
diff -u /dev/null pkgsrc/misc/hexd/distinfo:1.1
--- /dev/null   Mon Jan 13 22:29:24 2020
+++ pkgsrc/misc/hexd/distinfo   Mon Jan 13 22:29:24 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/13 22:29:24 nia Exp $
+
+SHA1 (hexd-1.0.0.tar.gz) = b107924314bb471d61747cb397bf5697f7cfa7ff
+RMD160 (hexd-1.0.0.tar.gz) = e5bcff104da734592731b7cc1075fe93588c4714
+SHA512 (hexd-1.0.0.tar.gz) = 4d6a915fef732258538327ac519c7d8fb0844b5b05f6ae264a0a313d382646f87b3fe6227df2b201fbcc7aa26695279dee16c1b4d2176cbb9ed161c97457d071
+Size (hexd-1.0.0.tar.gz) = 27426 bytes



Home | Main Index | Thread Index | Old Index