From owner-svn-ports-head@freebsd.org Wed Sep 23 09:40:51 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A89A43F3F6B; Wed, 23 Sep 2020 09:40:51 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BxCpq40kmz4XVY; Wed, 23 Sep 2020 09:40:51 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6D5F4E90F; Wed, 23 Sep 2020 09:40:51 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08N9ep46069521; Wed, 23 Sep 2020 09:40:51 GMT (envelope-from se@FreeBSD.org) Received: (from se@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08N9eoRU069517; Wed, 23 Sep 2020 09:40:50 GMT (envelope-from se@FreeBSD.org) Message-Id: <202009230940.08N9eoRU069517@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: se set sender to se@FreeBSD.org using -f From: =?UTF-8?Q?Stefan_E=c3=9fer?= Date: Wed, 23 Sep 2020 09:40:50 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: se X-SVN-Commit-Paths: in head/sysutils: . hexpeek hexpeek/files X-SVN-Commit-Revision: 549675 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2020 09:40:51 -0000 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 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/