From nobody Thu Mar 30 20:44:58 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Pnb5Q3Y8Kz42Jwr; Thu, 30 Mar 2023 20:44:58 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pnb5Q34hWz3pkd; Thu, 30 Mar 2023 20:44:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680209098; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=K4WOTqlxtAXtooDNJs9Xw8Rk4TBUd3mje110R3IG+8c=; b=pyn6pRPZgiqVcrQZ3aQFMC+wguQluey98E4eRquEc/gRRGLxmz4b7+VRQ9ZuW4jpA+DvI5 C5zZDNo4rdkMxKxzwmxBnKXGPPPTa3DjauDBrxYgqoaw7O10TpOqHjcX9TH8kEBGQipcro 2z7bhx6W7zC3pdTFgkQh+b2lo52fsOU2i97xKg6ck2dWZTvIcQe5MvG2e0C88NdW9tpzZ7 JsYmlR1uNV6DM6nJUAzYFQFtlYEbPaGY2WuTOmO+jNwOpYY+ooX9VlpddP+eMRt7DZ4dWg kfsVutMaRUMhlQIDdbCiXW9I0K1SQK/5p1jhATAOAMtc++PvNUzDPOp+/PU30g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680209098; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=K4WOTqlxtAXtooDNJs9Xw8Rk4TBUd3mje110R3IG+8c=; b=A50Iwt5ALeSK7jkNH6HmCO9vIFYNLqLuBd2oAxsBwWMu9bAxOrC4NbY3+PJkDaUGjZWLMG /ObtdqtDync1ZslV4l0VQCRNcj20MdtVeZvGJ3BQaf0EgPoR1BGzQ2C8rEuHrceE7uOx7U II/9vzHMNhijCdjikySBhQr8+0S7czufl9lNxcvyLv6DdP6V21WJN62wltnrENczwpCElL 6U7gHTvbn7v3C0jm/SI9wKcmnr6UxqNLWNKLEhOKWmaVSrZiBYT2mhuMju/X7PSIp1RJvf HX/IZ5C0a+jnICwrvJ6g/kz3KxAz7mRXpekjAAVRsjaADJotlC4zs6hn2riG4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680209098; a=rsa-sha256; cv=none; b=q/8Vu/4exoRMU/XN3if/hmQfRKPyiOfkce+h5zAupwNAb4S8PzyzV5h+pQEBY57Wz5k88U 5Mn0RAE2e4AYaykwIFOvXkJ1T51NtVPBml/kFsG6GD03Nzh4J4b2uEYTlLCxl4sHm6KIiN iftO+UiBlaPQTqFlguoiEfC3I0Wl66rWSdJ00MlIPptcyB1lTbleACZ6dImjDmDfkDmLqq NiK9D2zF10j9QT4KE2GNA1tnCq5inot5fKqJR8QSyP1qxHMwBqaznXnwdONfgl8IjuUo7M FrQbTNkmod/NVNetabqCXFw/36KwUcIh3PnAj9Rbhu+MgnWREnPewX4zeliZhw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Pnb5Q1qxTzR33; Thu, 30 Mar 2023 20:44:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32UKiwHZ087103; Thu, 30 Mar 2023 20:44:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32UKiwSx087102; Thu, 30 Mar 2023 20:44:58 GMT (envelope-from git) Date: Thu, 30 Mar 2023 20:44:58 GMT Message-Id: <202303302044.32UKiwSx087102@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Guido Falsi Subject: git: de841b40d24d - main - sysutils/xxd: New port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: madpilot X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: de841b40d24d22ab51ad05ed632e025903fbb41f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by madpilot: URL: https://cgit.FreeBSD.org/ports/commit/?id=de841b40d24d22ab51ad05ed632e025903fbb41f commit de841b40d24d22ab51ad05ed632e025903fbb41f Author: Guido Falsi AuthorDate: 2023-03-30 20:42:54 +0000 Commit: Guido Falsi CommitDate: 2023-03-30 20:42:54 +0000 sysutils/xxd: New port Xxd creates a hex dump of a given file or standard input. It can also convert a hex dump back to its original binary form. This is the standalone version of the xxd tool provided by vim. Submitted by: Gianmarco Giovannelli --- editors/vim/Makefile | 4 ++++ sysutils/Makefile | 1 + sysutils/xxd/Makefile | 26 ++++++++++++++++++++++++++ sysutils/xxd/distinfo | 3 +++ sysutils/xxd/pkg-descr | 2 ++ 5 files changed, 36 insertions(+) diff --git a/editors/vim/Makefile b/editors/vim/Makefile index c151df5186bc..e77dc7e135bd 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -45,6 +45,10 @@ CONFLICTS_INSTALL= ${FLAVORS:N${FLAVOR}:S/^/vim-/} ${f}_PKGNAMESUFFIX= -${f} .endfor +.for f in ${FLAVORS:Ntiny} +${f}_CONFLICTS_INSTALL= xxd +.endfor + # GUI flavors .if ${FLAVOR:U} == console GUI= no diff --git a/sysutils/Makefile b/sysutils/Makefile index 5e962fa21448..42ed40b9fc2c 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1630,6 +1630,7 @@ SUBDIR += xpipe SUBDIR += xstow SUBDIR += xsysstats + SUBDIR += xxd SUBDIR += yadf SUBDIR += yadm SUBDIR += yank diff --git a/sysutils/xxd/Makefile b/sysutils/xxd/Makefile new file mode 100644 index 000000000000..378f364cf4bf --- /dev/null +++ b/sysutils/xxd/Makefile @@ -0,0 +1,26 @@ +PORTNAME= xxd +DISTVERSIONPREFIX= v +DISTVERSION= 9.0.1366 +CATEGORIES= sysutils + +MAINTAINER= gmarco@giovannelli.it +COMMENT= Hexdump and reverse hexdump utility +WWW= https://github.com/mew-cx/xxd + +CONFLICTS_INSTALL= vim-[0-9]* vim-gtk2 vim-gtk3 vim-motif vim-x11 + +ALL_TARGET= ${PORTNAME} +PORTSCOUT= ignore:1 +EXTRACT_AFTER_ARGS= --include='*/src/xxd*' +WRKSRC_SUBDIR= src/xxd + +PLIST_FILES= bin/xxd + +USE_GITHUB= yes +GH_ACCOUNT= vim +GH_PROJECT= vim + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/xxd ${STAGEDIR}${PREFIX}/bin + +.include diff --git a/sysutils/xxd/distinfo b/sysutils/xxd/distinfo new file mode 100644 index 000000000000..621edaeec981 --- /dev/null +++ b/sysutils/xxd/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1680090877 +SHA256 (vim-vim-v9.0.1366_GH0.tar.gz) = a9e52c123ab0cc7f96d320c3f1e0fc7d65fab8a081b4887651f9f1a75ca001c1 +SIZE (vim-vim-v9.0.1366_GH0.tar.gz) = 16974070 diff --git a/sysutils/xxd/pkg-descr b/sysutils/xxd/pkg-descr new file mode 100644 index 000000000000..15a6cd75699f --- /dev/null +++ b/sysutils/xxd/pkg-descr @@ -0,0 +1,2 @@ +Xxd creates a hex dump of a given file or standard input. +It can also convert a hex dump back to its original binary form.