public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/siegfried/
Date: Sat, 01 Mar 2025 06:45:07 +0000 (UTC)	[thread overview]
Message-ID: <1740811373.1d3a5b4802dcdf1a9d38a6efa794552f5f958637.mgorny@gentoo> (raw)

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"
+}


             reply	other threads:[~2025-03-01  6:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-01  6:45 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-01  6:45 [gentoo-commits] repo/gentoo:master commit in: app-misc/siegfried/ Michał Górny
2024-06-28  5:19 Michał Górny
2024-06-22  9:25 Michał Górny
2024-02-24  9:14 Michał Górny
2024-02-23 17:36 Michał Górny
2024-02-23 17:13 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1740811373.1d3a5b4802dcdf1a9d38a6efa794552f5f958637.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox