Date: Wed, 20 Oct 2010 14:23:17 -0400 From: Eitan Adler <lists@eitanadler.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/151607: [NEW PORT] sysutils/hextools: Useful tools for dealing with hex files Message-ID: <4cbf33cf.9a9ce60a.0751.181a@mx.google.com> Resent-Message-ID: <201010201830.o9KIUA61044356@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 151607 >Category: ports >Synopsis: [NEW PORT] sysutils/hextools: Useful tools for dealing with hex files >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Oct 20 18:30:10 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Eitan Adler >Release: FreeBSD 8.1-RELEASE i386 >Organization: >Environment: >Description: 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 Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- hextools-1.1.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # hextools # hextools/Makefile # hextools/pkg-descr # hextools/distinfo # echo c - hextools mkdir -p hextools > /dev/null 2>&1 echo x - hextools/Makefile sed 's/^X//' >hextools/Makefile << '1f1d757eead3e2491c5890f3e68c1e2c' X# New ports collection makefile for: hextools X# Date created: 19 Oct 2010 X# Whom: Eitan Adler X# X# $FreeBSD$ X# X XPORTNAME= hextools XPORTVERSION= 1.1 XCATEGORIES= sysutils XMASTER_SITES= http://avl.enemy.org/utils/hextools/ X XMAINTAINER= ports@eitanadler.com XCOMMENT= Useful tools for dealing with hex files X XNO_WRKSUBDIR=yes X XMAN1= bin2hex.1 hex2bin.1 XPLIST_FILES= bin/hex2bin bin/bin2hex XALL_TARGET= build X X#not strictly true - it uses a self-styled license X#LICENSE=BSD X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/hex2bin ${PREFIX}/bin/hex2bin X ${INSTALL_PROGRAM} ${WRKSRC}/hexdump ${PREFIX}/bin/bin2hex X.if !defined(NO_INSTALL_MANPAGES) X ${INSTALL_MAN} ${WRKSRC}/hex2bin.1 ${MANPREFIX}/man/man1/hex2bin.1 X ${INSTALL_MAN} ${WRKSRC}/hexdump.1 ${MANPREFIX}/man/man1/bin2hex.1 X.endif X X.include <bsd.port.mk> 1f1d757eead3e2491c5890f3e68c1e2c echo x - hextools/pkg-descr sed 's/^X//' >hextools/pkg-descr << '204ea49e2cc6d4dca13dc581bad84006' Xreversible hexdump is a hexdump/hex2bin-toolkit that dumps to a special Xreadable and reversible hexadecimal byte-dump,where you can not only change Xbytes, but also insert or delete bytes. It has a flush-switch, where it will Xoutput hexbytes for each single char it reads. This is especially useful for Xwatching output from slow devices (e.g., serial devices like mice). The Xhex2bin-utility (the reverse-hexdump) not only accepts hexbytes for input, Xbut also double-quoted strings with most of the escape-chars known Xfrom C and makes good attempts at undumping even hexdumps with repetition-lines X(a "*" on its own line). It's written in ANSI C. X XWWW: http://gnuwin32.sourceforge.net/packages/hextools.htm 204ea49e2cc6d4dca13dc581bad84006 echo x - hextools/distinfo sed 's/^X//' >hextools/distinfo << 'b9d0aebabf79df6eb8ba72d5cb15d2bc' XMD5 (hextools-1.1.tar.gz) = 4fbaf367e9a34bcbcb010e45ffa63679 XSHA256 (hextools-1.1.tar.gz) = f85c64dd2aedb1e924bc9ea11c90eaf8ea4eeef8167b00a7c34be22b3c21318b XSIZE (hextools-1.1.tar.gz) = 7640 b9d0aebabf79df6eb8ba72d5cb15d2bc echo 'This could have been rm -rf /* be careful' exit --- hextools-1.1.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4cbf33cf.9a9ce60a.0751.181a>