1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

PR: 151607

Submitted by:	Eitan Adler <lists _at_ eitanadler.com>
Approved by:	glarkin (mentor, implicit)

reversible hexdump is a hexdump/hex2bin-toolkit that dumps to a special
readable and reversible hexadecimal byte-dump,where you can not only change
bytes, but also insert or delete bytes. It has a flush-switch, where it will
output hexbytes for each single char it reads. This is especially useful for
watching output from slow devices (e.g., serial devices like mice). The
hex2bin-utility (the reverse-hexdump) not only accepts hexbytes for input,
but also double-quoted strings with most of the escape-chars known
from C and makes good attempts at undumping even hexdumps with repetition-lines
(a "*" on its own line). It's written in ANSI C.

WWW: http://gnuwin32.sourceforge.net/packages/hextools.htm
This commit is contained in:
Olli Hauer 2010-11-01 14:11:20 +00:00
parent a54ce325b8
commit 8e216fe7fb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=263895
4 changed files with 47 additions and 0 deletions

View File

@ -357,6 +357,7 @@
SUBDIR += healthd
SUBDIR += heartbeat
SUBDIR += heirloom
SUBDIR += hextools
SUBDIR += hidesvn
SUBDIR += highlnk
SUBDIR += hilite

View File

@ -0,0 +1,33 @@
# New ports collection makefile for: hextools
# Date created: 19 Oct 2010
# Whom: Eitan Adler
#
# $FreeBSD$
#
PORTNAME= hextools
PORTVERSION= 1.1
CATEGORIES= sysutils
MASTER_SITES= http://avl.enemy.org/utils/hextools/
MAINTAINER= ports@eitanadler.com
COMMENT= Useful tools for dealing with hex files
NO_WRKSUBDIR=yes
MAN1= bin2hex.1 hex2bin.1
PLIST_FILES= bin/hex2bin bin/bin2hex
ALL_TARGET= build
#not strictly true - it uses a self-styled license
#LICENSE= BSD
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hex2bin ${PREFIX}/bin/hex2bin
${INSTALL_PROGRAM} ${WRKSRC}/hexdump ${PREFIX}/bin/bin2hex
.if !defined(NO_INSTALL_MANPAGES)
${INSTALL_MAN} ${WRKSRC}/hex2bin.1 ${MANPREFIX}/man/man1/hex2bin.1
${INSTALL_MAN} ${WRKSRC}/hexdump.1 ${MANPREFIX}/man/man1/bin2hex.1
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (hextools-1.1.tar.gz) = f85c64dd2aedb1e924bc9ea11c90eaf8ea4eeef8167b00a7c34be22b3c21318b
SIZE (hextools-1.1.tar.gz) = 7640

View File

@ -0,0 +1,11 @@
reversible hexdump is a hexdump/hex2bin-toolkit that dumps to a special
readable and reversible hexadecimal byte-dump,where you can not only change
bytes, but also insert or delete bytes. It has a flush-switch, where it will
output hexbytes for each single char it reads. This is especially useful for
watching output from slow devices (e.g., serial devices like mice). The
hex2bin-utility (the reverse-hexdump) not only accepts hexbytes for input,
but also double-quoted strings with most of the escape-chars known
from C and makes good attempts at undumping even hexdumps with repetition-lines
(a "*" on its own line). It's written in ANSI C.
WWW: http://gnuwin32.sourceforge.net/packages/hextools.htm