From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9D0791582EF for ; Sun, 09 Mar 2025 19:30:05 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 827253430C5 for ; Sun, 09 Mar 2025 19:30:05 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 85FA9110370; Sun, 09 Mar 2025 19:30:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 7D4A4110370 for ; Sun, 09 Mar 2025 19:30:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 087ED3430C5 for ; Sun, 09 Mar 2025 19:30:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 582F9122C for ; Sun, 09 Mar 2025 19:30:01 +0000 (UTC) From: "Nickolas Raymond Kaczynski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nickolas Raymond Kaczynski" Message-ID: <1741548432.71801d19f8bcd577a47219b82edbda6bd675c0ce.nrk@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/rexxd/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-util/rexxd/Manifest dev-util/rexxd/metadata.xml dev-util/rexxd/rexxd-2025.02.17.ebuild X-VCS-Directories: dev-util/rexxd/ X-VCS-Committer: nrk X-VCS-Committer-Name: Nickolas Raymond Kaczynski X-VCS-Revision: 71801d19f8bcd577a47219b82edbda6bd675c0ce X-VCS-Branch: dev Date: Sun, 09 Mar 2025 19:30:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1fee41fd-b335-4e34-bbb5-0816e181550a X-Archives-Hash: fc334e293f6812907304cd7145f0b3c2 commit: 71801d19f8bcd577a47219b82edbda6bd675c0ce Author: NRK disroot org> AuthorDate: Sun Mar 9 19:21:01 2025 +0000 Commit: Nickolas Raymond Kaczynski disroot org> CommitDate: Sun Mar 9 19:27:12 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=71801d19 dev-util/rexxd: add new package Signed-off-by: NRK disroot.org> dev-util/rexxd/Manifest | 1 + dev-util/rexxd/metadata.xml | 7 +++++++ dev-util/rexxd/rexxd-2025.02.17.ebuild | 37 ++++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) diff --git a/dev-util/rexxd/Manifest b/dev-util/rexxd/Manifest new file mode 100644 index 000000000..3253bedbc --- /dev/null +++ b/dev-util/rexxd/Manifest @@ -0,0 +1 @@ +DIST rexxd-2025.02.17.c 81204 BLAKE2B 05347fc0d08a064ce80e200f561296bb351e7cba832ed6bafd173b73cf8334f7672c7f44027758ecfd636b519a48dd8971463e0e9816b3a3b2cb10e5f376887d SHA512 7d4f70436438d6d43930e17609ea4558ef826ba8cb1a8c598c3fc721a4649cdd8df59ac5da2d99c5354945bb7c3f02c7cb80aed0bd7fb3c6fbde4a1caf0eac57 diff --git a/dev-util/rexxd/metadata.xml b/dev-util/rexxd/metadata.xml new file mode 100644 index 000000000..db24a3bdd --- /dev/null +++ b/dev-util/rexxd/metadata.xml @@ -0,0 +1,7 @@ + + + + + nrk@disroot.org + + diff --git a/dev-util/rexxd/rexxd-2025.02.17.ebuild b/dev-util/rexxd/rexxd-2025.02.17.ebuild new file mode 100644 index 000000000..463319536 --- /dev/null +++ b/dev-util/rexxd/rexxd-2025.02.17.ebuild @@ -0,0 +1,37 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo flag-o-matic toolchain-funcs + +DESCRIPTION="Drop-in replacement for the original xxd" +HOMEPAGE="https://github.com/skeeto/w64devkit/blob/master/src/rexxd.c" + +COMMIT="b217f139b86096c7864fc50f727d0ce81e4831d0" +SRC_URI="https://github.com/skeeto/w64devkit/raw/${COMMIT}/src/rexxd.c -> ${P}.c" +S="${WORKDIR}" +LICENSE="Unlicense" +KEYWORDS="~amd64 ~x86" + +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +src_unpack() { + cp "${DISTDIR}/${P}.c" rexxd.c || die "cp failed" +} + +src_compile() { + append-cflags -D_FILE_OFFSET_BITS=64 + edo $(tc-getCC) ${CFLAGS} -o rexxd rexxd.c ${LDFLAGS} + use test && edo $(tc-getCC) ${CFLAGS} -DTEST -o tests rexxd.c ${LDFLAGS} +} + +src_install() { + dobin rexxd +} + +src_test() { + edo ./tests +}