Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2020 09:40:50 +0000 (UTC)
From:      =?UTF-8?Q?Stefan_E=c3=9fer?= <se@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r549675 - in head/sysutils: . hexpeek hexpeek/files
Message-ID:  <202009230940.08N9eoRU069517@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: se
Date: Wed Sep 23 09:40:50 2020
New Revision: 549675
URL: https://svnweb.freebsd.org/changeset/ports/549675

Log:
  New port of hexpeek
  
  A hex file editor that is scriptable and supports patching of arbitrarily
  large files.

Added:
  head/sysutils/hexpeek/
  head/sysutils/hexpeek/Makefile   (contents, props changed)
  head/sysutils/hexpeek/distinfo   (contents, props changed)
  head/sysutils/hexpeek/files/
  head/sysutils/hexpeek/files/patch-Makefile   (contents, props changed)
  head/sysutils/hexpeek/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Wed Sep 23 09:25:45 2020	(r549674)
+++ head/sysutils/Makefile	Wed Sep 23 09:40:50 2020	(r549675)
@@ -468,6 +468,7 @@
     SUBDIR += healthd
     SUBDIR += heirloom
     SUBDIR += helm
+    SUBDIR += hexpeek
     SUBDIR += hextools
     SUBDIR += hexyl
     SUBDIR += hfsexplorer

Added: head/sysutils/hexpeek/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/hexpeek/Makefile	Wed Sep 23 09:40:50 2020	(r549675)
@@ -0,0 +1,27 @@
+# Created by: se@freebsd.org
+# $FreeBSD$
+
+PORTNAME=	hexpeek
+DISTVERSION=	1.0.20200804
+CATEGORIES=	sysutils
+MASTER_SITES=	https://www.hexpeek.com/releases/${DISTNAME}/
+DISTNAME=	${PORTNAME}-v${PORTVERSION}
+
+MAINTAINER=	se@freebsd.org
+COMMENT=	Hex file editor
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		tar:bzip2 libedit ncurses
+
+CFLAGS+=	-Isrc -D_WITH_GETLINE -L${PREFIX}/lib
+
+PLIST_FILES=	bin/hexdiff bin/hexDump bin/hexpack bin/hexpeek bin/hexview
+PLIST_FILES+=	man/man1/hexpeek.1.gz
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN}  ${WRKSRC}/etc/hexpeek.1 ${STAGEDIR}${MANPREFIX}/man/man1
+
+.include <bsd.port.mk>

Added: head/sysutils/hexpeek/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/hexpeek/distinfo	Wed Sep 23 09:40:50 2020	(r549675)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1596616000
+SHA256 (hexpeek-v1.0.20200804.tar.bz2) = 03b676765e0dee55ff8515dd239a4beade9c65e31816ba5041da18bd3eaee176
+SIZE (hexpeek-v1.0.20200804.tar.bz2) = 1981134

Added: head/sysutils/hexpeek/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/hexpeek/files/patch-Makefile	Wed Sep 23 09:40:50 2020	(r549675)
@@ -0,0 +1,20 @@
+--- Makefile.orig	2020-08-04 05:58:52 UTC
++++ Makefile
+@@ -26,13 +26,10 @@
+ 
+ # Note that libedit is optional. To build hexpeek without it, remove
+ # -DHEXPEEK_EDITABLE_CONSOLE and -ledit.
+-SRCDIR := src
+-BINDIR := bin
+-EXEC   := $(BINDIR)/hexpeek
+-CC     ?= clang
+-CFLAGS := -I$(SRCDIR) -O3 -Wall -fPIC
+-DFLAGS := -DHEXPEEK_EDITABLE_CONSOLE 
+-LIBS   := -ledit #-ltermcap
++SRCDIR = src
++BINDIR = bin
++EXEC   = $(BINDIR)/hexpeek
++LIBS   = -ledit
+ 
+ all: $(EXEC)
+ 	make -C test

Added: head/sysutils/hexpeek/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/hexpeek/pkg-descr	Wed Sep 23 09:40:50 2020	(r549675)
@@ -0,0 +1,8 @@
+hexpeek is a binary editor designed for efficient operation on huge files,
+but works on any file.
+
+Operations supported are searching, patching, and insertions and deletions
+of binary data in a file. An undo feature allows to revert changes made in
+error.
+
+WWW: https://www.hexpeek.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009230940.08N9eoRU069517>