From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1722846-garchives=archives.gentoo.org@lists.gentoo.org> 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 64CB61582EF for <garchives@archives.gentoo.org>; Sat, 01 Mar 2025 06:45:24 +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)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 4CFED342FEF for <garchives@archives.gentoo.org>; Sat, 01 Mar 2025 06:45:24 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 1C2F61103C8; Sat, 01 Mar 2025 06:45:11 +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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 0ED361103C8 for <gentoo-commits@lists.gentoo.org>; Sat, 01 Mar 2025 06:45:11 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B6DF5343017 for <gentoo-commits@lists.gentoo.org>; Sat, 01 Mar 2025 06:45:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D42842809 for <gentoo-commits@lists.gentoo.org>; Sat, 01 Mar 2025 06:45:07 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org> Message-ID: <1740811373.1d3a5b4802dcdf1a9d38a6efa794552f5f958637.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/siegfried/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/siegfried/Manifest app-misc/siegfried/siegfried-1.11.2.ebuild X-VCS-Directories: app-misc/siegfried/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1d3a5b4802dcdf1a9d38a6efa794552f5f958637 X-VCS-Branch: master Date: Sat, 01 Mar 2025 06:45:07 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ab9c32bf-5efd-49cc-94a9-395c906cf1ad X-Archives-Hash: 9bce565b80a576a4c6ce14f40c36b8b8 commit: 1d3a5b4802dcdf1a9d38a6efa794552f5f958637 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Mar 1 06:06:01 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Mar 1 06:42:53 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d3a5b48 app-misc/siegfried: Bump to 1.11.2 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> app-misc/siegfried/Manifest | 3 ++ app-misc/siegfried/siegfried-1.11.2.ebuild | 52 ++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/app-misc/siegfried/Manifest b/app-misc/siegfried/Manifest index 55516de4a757..181dc0138e48 100644 --- a/app-misc/siegfried/Manifest +++ b/app-misc/siegfried/Manifest @@ -1,3 +1,6 @@ DIST siegfried-1.11.1-data.zip 15196475 BLAKE2B ce787aab3bbb4631e571c0496acf77dad79d451c3345af90ae2a02b539eff18554e222a6fc3c93db78e79065bb7f0d6521e5ebbd39bb4eff18e43e91be118e21 SHA512 89dc86baa9b712168d9af5bcdda4b1d532c54b909ce97fb38d9aaeed6a9067f9d90c4eb33ef192a18afcee7415e5bdfb3e9d502a44e026c2653a2539d657b113 DIST siegfried-1.11.1.gh.tar.gz 14651446 BLAKE2B 9f5fd08e0761d2dadafa872555fa9a3f77ff5ae6b4830e2eba8aca33ab2d722a00fdfe4656dc49801877718579755156d25532a0d991cbe6c39ee4af1ca0ae00 SHA512 3d4f65b3c93df684a8ca32012611b18ec562a5eb0984b33f6d3b93881fe36f7bd818b925d6b1124d279144896b014cffe0a326d952aeb29dbb5a98d8e27ca575 DIST siegfried-1.11.1_rc4.deps.tar.xz 12689164 BLAKE2B a5a47c9fbf8eccb26fabe42fef36f94b973b08bb7e9da354b9bc3b5abf4c0ab45bf27e122afe5911c75f858b073b233a2351e213e341038f9c3488641a148fbe SHA512 1ecba77d7b848c5ad58cddd342d554a455823229e579ffd15691714c3df69402cb7fa29f10cf248c92dc049381ea40d0ffb635b0741a9c05a0cd185f46c07bb1 +DIST siegfried-1.11.2-data.zip 12925826 BLAKE2B 96b6daa3b273b4f9d450aca694f4d1d0410ccc9c06c52573b387560510f15b792e0a3f68399375b24f63baeba616e1116fcfc75f2cf82bd10bd1dc3802bbbd60 SHA512 650df6d56f70e5a1ea471aedc46f4e5b8145fb3fc8c584dc0da05e2e56bf39a66a477ca45c31e3537334bbced9b364e17a33246599bb604d20073e839225360c +DIST siegfried-1.11.2.deps.tar.xz 12723344 BLAKE2B df8fc172874d41d8e8c86b731be5d2e6d332500860575f5c6d65d61be116a6cab9a34262fa9733d274b58f6913d85172b29bbc8774a5ffaa048722b5ca60bfc9 SHA512 61a221d4ff8ce16e7da3b43824c28dbafb08a8fda4a24c85b35ee0c23d5ae9e1f8c712b529b3d05f39a55517439a001b37e696134c67a4bb2a92f3e601edbe74 +DIST siegfried-1.11.2.gh.tar.gz 12361213 BLAKE2B 233b1dea64d56a887f602f257eadbc80efb5673e4fda529151096098b2280d111490308fb8fa2f9d97134108607129236dd35894eb02ddf3e7e3d388612f8087 SHA512 08c6378ac10b0d168887fb40e4f8daa21c38782ea050d0551cbbbdef9e3862354971497447494d33fb335c9e863653e17c797c4039d479c42c8ebb98cc5962e0 diff --git a/app-misc/siegfried/siegfried-1.11.2.ebuild b/app-misc/siegfried/siegfried-1.11.2.ebuild new file mode 100644 index 000000000000..b7781d59bbc4 --- /dev/null +++ b/app-misc/siegfried/siegfried-1.11.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +MY_P=${P/_/-} +DESCRIPTION="Signature-based file format identification" +HOMEPAGE=" + https://www.itforarchivists.com/siegfried/ + https://github.com/richardlehane/siegfried/ +" +SRC_URI=" + https://github.com/richardlehane/siegfried/archive/v${PV/_/-}.tar.gz + -> ${MY_P}.gh.tar.gz + https://github.com/richardlehane/siegfried/releases/download/v${PV/_/-}/data_${PV//[._]/-}.zip + -> ${MY_P}-data.zip +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://dev.gentoo.org/~mgorny/dist/${P}.deps.tar.xz + " +fi +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +# vendored deps +LICENSE+=" BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + !app-misc/dfshow +" + +src_compile() { + go build -v -work -x "${S}"/cmd/roy || die + go build -v -work -x "${S}"/cmd/sf || die +} + +src_test() { + cp "${WORKDIR}/siegfried/fddXML.zip" cmd/roy/data || die + go test -v "${S}"/cmd/roy || die + go test -v "${S}"/cmd/sf || die +} + +src_install() { + dobin roy sf + insinto /usr/share/siegfried + doins "${WORKDIR}/siegfried/default.sig" +}