* [gentoo-commits] repo/gentoo:master commit in: app-misc/siegfried/
@ 2024-02-23 17:13 Michał Górny
0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2024-02-23 17:13 UTC (permalink / raw
To: gentoo-commits
commit: 62d8963a8e490e57d1871f80245cbeb5bbd34f2b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 23 17:08:58 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 23 17:13:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62d8963a
app-misc/siegfried: New package, v1.11.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-misc/siegfried/Manifest | 3 ++
app-misc/siegfried/metadata.xml | 11 ++++++
app-misc/siegfried/siegfried-1.11.0.ebuild | 55 ++++++++++++++++++++++++++++++
3 files changed, 69 insertions(+)
diff --git a/app-misc/siegfried/Manifest b/app-misc/siegfried/Manifest
new file mode 100644
index 000000000000..d1355a33d2da
--- /dev/null
+++ b/app-misc/siegfried/Manifest
@@ -0,0 +1,3 @@
+DIST siegfried-1.11.0-data.zip 14626213 BLAKE2B 64bdb75c278c7e21ceb96dea7b96b3ba5f2e361ea9123ab14549832545968519b6504f9d6223cbcaa0f4509d2491a6892e8383dc5891ec0b2dec833506c0b968 SHA512 e7fd2e66158efb4016189f2563af0818ced75ac346985806f2eb7e75a208411dcd1adae226957f486809e9904df3750a932bcf62ecc48c16a5a3c363e64f96ec
+DIST siegfried-1.11.0.deps.tar.xz 12660688 BLAKE2B c894faa87fbc8d1a662e0336d59283b70130875b17d82078a630ad663a340efc02d5a392b55e33c16d7f48a1db39f670fcce8d4a69192b4d195eb33229de2b85 SHA512 a7eefd2d9a6743ca0bbd6e8dee59025b0153570729c630606bdfd9239ed7eb40d65d64107da19959d2b6eab31fa59ef5891750788292323dc5aa75eae09682e2
+DIST siegfried-1.11.0.gh.tar.gz 14122315 BLAKE2B 262b73b32d08a2c65cf758321da8c6c7520fddad006f6562b5356282ae25dcca253ce18b73ff11313ff7103b28ae4262ca7aa50437e2ceefe706ce668aaddaac SHA512 fc7b3f42da7a78cc66f9e71586220acefac8986d645aaf0ba6138a46fc3bf125e76a954c95fec74ac6d369b9bdb16090777fe36eadbf4f6ac994623b3529e723
diff --git a/app-misc/siegfried/metadata.xml b/app-misc/siegfried/metadata.xml
new file mode 100644
index 000000000000..deee7035f1c8
--- /dev/null
+++ b/app-misc/siegfried/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">richardlehane/siegfried</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/siegfried/siegfried-1.11.0.ebuild b/app-misc/siegfried/siegfried-1.11.0.ebuild
new file mode 100644
index 000000000000..e92e21ecb129
--- /dev/null
+++ b/app-misc/siegfried/siegfried-1.11.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="Signature-based file format identification"
+HOMEPAGE="https://github.com/richardlehane/siegfried/"
+SRC_URI="
+ https://github.com/richardlehane/siegfried/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+ https://github.com/richardlehane/siegfried/releases/download/v${PV}/data_1-11-0.zip
+ -> ${P}-data.zip
+"
+if [[ ${PKGBUMPING} != ${PVR} ]]; then
+ SRC_URI+="
+ https://dev.gentoo.org/~mgorny/dist/${P}.deps.tar.xz
+ "
+fi
+
+LICENSE="Apache-2.0"
+# vendored deps
+LICENSE+=" BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+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"
+ newenvd - 99siegfried <<-EOF
+ SIEGFRIED_HOME="${EPREFIX}/usr/share/siegfried"
+ EOF
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ elog "We use SIEGFRIED_HOME environment variable to point Siegfried"
+ elog "to the signature file. Please source /etc/profile to make it"
+ elog "work. If you would like to use another home directory, check"
+ elog "the -home option."
+ fi
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/siegfried/
@ 2024-02-23 17:36 Michał Górny
0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2024-02-23 17:36 UTC (permalink / raw
To: gentoo-commits
commit: 5ca4c97865818f0cd4e5da4d1d4a2de2306d82a6
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 23 17:14:50 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 23 17:36:27 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ca4c978
app-misc/siegfried: Add main homepage
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-misc/siegfried/siegfried-1.11.0.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/app-misc/siegfried/siegfried-1.11.0.ebuild b/app-misc/siegfried/siegfried-1.11.0.ebuild
index e92e21ecb129..3c1e49b97832 100644
--- a/app-misc/siegfried/siegfried-1.11.0.ebuild
+++ b/app-misc/siegfried/siegfried-1.11.0.ebuild
@@ -6,7 +6,10 @@ EAPI=8
inherit go-module
DESCRIPTION="Signature-based file format identification"
-HOMEPAGE="https://github.com/richardlehane/siegfried/"
+HOMEPAGE="
+ https://www.itforarchivists.com/siegfried/
+ https://github.com/richardlehane/siegfried/
+"
SRC_URI="
https://github.com/richardlehane/siegfried/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/siegfried/
@ 2024-02-24 9:14 Michał Górny
0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2024-02-24 9:14 UTC (permalink / raw
To: gentoo-commits
commit: 2ec4e1b52b946fa962635ae2fdfcbed8c32fc700
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 24 09:08:53 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 24 09:14:15 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ec4e1b5
app-misc/siegfried: Block app-misc/dfshow
Closes: https://bugs.gentoo.org/925346
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-misc/siegfried/siegfried-1.11.0.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/app-misc/siegfried/siegfried-1.11.0.ebuild b/app-misc/siegfried/siegfried-1.11.0.ebuild
index 3c1e49b97832..5b0297eaee87 100644
--- a/app-misc/siegfried/siegfried-1.11.0.ebuild
+++ b/app-misc/siegfried/siegfried-1.11.0.ebuild
@@ -28,6 +28,10 @@ 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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/siegfried/
@ 2024-06-22 9:25 Michał Górny
0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2024-06-22 9:25 UTC (permalink / raw
To: gentoo-commits
commit: 4353b914b080299ef3ea0641ba96ed5177fadd2b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 22 09:23:52 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 22 09:25:22 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4353b914
app-misc/siegfried: Bump to 1.11.1_rc4
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-misc/siegfried/Manifest | 3 ++
app-misc/siegfried/siegfried-1.11.1_rc4.ebuild | 52 ++++++++++++++++++++++++++
2 files changed, 55 insertions(+)
diff --git a/app-misc/siegfried/Manifest b/app-misc/siegfried/Manifest
index d1355a33d2da..b8b73b46413f 100644
--- a/app-misc/siegfried/Manifest
+++ b/app-misc/siegfried/Manifest
@@ -1,3 +1,6 @@
DIST siegfried-1.11.0-data.zip 14626213 BLAKE2B 64bdb75c278c7e21ceb96dea7b96b3ba5f2e361ea9123ab14549832545968519b6504f9d6223cbcaa0f4509d2491a6892e8383dc5891ec0b2dec833506c0b968 SHA512 e7fd2e66158efb4016189f2563af0818ced75ac346985806f2eb7e75a208411dcd1adae226957f486809e9904df3750a932bcf62ecc48c16a5a3c363e64f96ec
DIST siegfried-1.11.0.deps.tar.xz 12660688 BLAKE2B c894faa87fbc8d1a662e0336d59283b70130875b17d82078a630ad663a340efc02d5a392b55e33c16d7f48a1db39f670fcce8d4a69192b4d195eb33229de2b85 SHA512 a7eefd2d9a6743ca0bbd6e8dee59025b0153570729c630606bdfd9239ed7eb40d65d64107da19959d2b6eab31fa59ef5891750788292323dc5aa75eae09682e2
DIST siegfried-1.11.0.gh.tar.gz 14122315 BLAKE2B 262b73b32d08a2c65cf758321da8c6c7520fddad006f6562b5356282ae25dcca253ce18b73ff11313ff7103b28ae4262ca7aa50437e2ceefe706ce668aaddaac SHA512 fc7b3f42da7a78cc66f9e71586220acefac8986d645aaf0ba6138a46fc3bf125e76a954c95fec74ac6d369b9bdb16090777fe36eadbf4f6ac994623b3529e723
+DIST siegfried-1.11.1-rc4-data.zip 15196475 BLAKE2B 16e3fbeb8387f68b55dbdbdf8cf796bbd5c9f021ce8a42322f400e3bad2dfda456725eb749157693422559c6f3fb059cf2cc4468747aca491f010f41af96d95d SHA512 0b2448e864a4d6e1f32123d20353247da5a57f65604ef6a30d9abd688c1f46796e5a8ecc8294416660035457cb5b43eacdbb0205ab10e0aab59a597cc960ebe0
+DIST siegfried-1.11.1-rc4.gh.tar.gz 14651149 BLAKE2B 75e0e45651dd15905fca91e701af2c637214ae31efffa2d5c99f767b84e336f7d51d668cfeb17099d5e6d160db92003ef5563cd36ebc98b19948bb0914bdc8a9 SHA512 74ad1be89097576fa95c07f23776aecad3084e9a8a7a9e114e8d2d88862cd7a2816b6abb3a723487e3d498cd759f54d2d16e620a939f3b4ce0f7dc4de2774495
+DIST siegfried-1.11.1_rc4.deps.tar.xz 12689164 BLAKE2B a5a47c9fbf8eccb26fabe42fef36f94b973b08bb7e9da354b9bc3b5abf4c0ab45bf27e122afe5911c75f858b073b233a2351e213e341038f9c3488641a148fbe SHA512 1ecba77d7b848c5ad58cddd342d554a455823229e579ffd15691714c3df69402cb7fa29f10cf248c92dc049381ea40d0ffb635b0741a9c05a0cd185f46c07bb1
diff --git a/app-misc/siegfried/siegfried-1.11.1_rc4.ebuild b/app-misc/siegfried/siegfried-1.11.1_rc4.ebuild
new file mode 100644
index 000000000000..a6e8b8e33da2
--- /dev/null
+++ b/app-misc/siegfried/siegfried-1.11.1_rc4.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2024 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"
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/siegfried/
@ 2024-06-28 5:19 Michał Górny
0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2024-06-28 5:19 UTC (permalink / raw
To: gentoo-commits
commit: 388abdc20e3a2de2c709f99f00bdf46e0b274f4f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 28 04:24:22 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jun 28 05:19:43 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=388abdc2
app-misc/siegfried: Bump to 1.11.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-misc/siegfried/Manifest | 2 ++
app-misc/siegfried/siegfried-1.11.1.ebuild | 52 ++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/app-misc/siegfried/Manifest b/app-misc/siegfried/Manifest
index b8b73b46413f..9c0521255263 100644
--- a/app-misc/siegfried/Manifest
+++ b/app-misc/siegfried/Manifest
@@ -1,6 +1,8 @@
DIST siegfried-1.11.0-data.zip 14626213 BLAKE2B 64bdb75c278c7e21ceb96dea7b96b3ba5f2e361ea9123ab14549832545968519b6504f9d6223cbcaa0f4509d2491a6892e8383dc5891ec0b2dec833506c0b968 SHA512 e7fd2e66158efb4016189f2563af0818ced75ac346985806f2eb7e75a208411dcd1adae226957f486809e9904df3750a932bcf62ecc48c16a5a3c363e64f96ec
DIST siegfried-1.11.0.deps.tar.xz 12660688 BLAKE2B c894faa87fbc8d1a662e0336d59283b70130875b17d82078a630ad663a340efc02d5a392b55e33c16d7f48a1db39f670fcce8d4a69192b4d195eb33229de2b85 SHA512 a7eefd2d9a6743ca0bbd6e8dee59025b0153570729c630606bdfd9239ed7eb40d65d64107da19959d2b6eab31fa59ef5891750788292323dc5aa75eae09682e2
DIST siegfried-1.11.0.gh.tar.gz 14122315 BLAKE2B 262b73b32d08a2c65cf758321da8c6c7520fddad006f6562b5356282ae25dcca253ce18b73ff11313ff7103b28ae4262ca7aa50437e2ceefe706ce668aaddaac SHA512 fc7b3f42da7a78cc66f9e71586220acefac8986d645aaf0ba6138a46fc3bf125e76a954c95fec74ac6d369b9bdb16090777fe36eadbf4f6ac994623b3529e723
+DIST siegfried-1.11.1-data.zip 15196475 BLAKE2B ce787aab3bbb4631e571c0496acf77dad79d451c3345af90ae2a02b539eff18554e222a6fc3c93db78e79065bb7f0d6521e5ebbd39bb4eff18e43e91be118e21 SHA512 89dc86baa9b712168d9af5bcdda4b1d532c54b909ce97fb38d9aaeed6a9067f9d90c4eb33ef192a18afcee7415e5bdfb3e9d502a44e026c2653a2539d657b113
DIST siegfried-1.11.1-rc4-data.zip 15196475 BLAKE2B 16e3fbeb8387f68b55dbdbdf8cf796bbd5c9f021ce8a42322f400e3bad2dfda456725eb749157693422559c6f3fb059cf2cc4468747aca491f010f41af96d95d SHA512 0b2448e864a4d6e1f32123d20353247da5a57f65604ef6a30d9abd688c1f46796e5a8ecc8294416660035457cb5b43eacdbb0205ab10e0aab59a597cc960ebe0
DIST siegfried-1.11.1-rc4.gh.tar.gz 14651149 BLAKE2B 75e0e45651dd15905fca91e701af2c637214ae31efffa2d5c99f767b84e336f7d51d668cfeb17099d5e6d160db92003ef5563cd36ebc98b19948bb0914bdc8a9 SHA512 74ad1be89097576fa95c07f23776aecad3084e9a8a7a9e114e8d2d88862cd7a2816b6abb3a723487e3d498cd759f54d2d16e620a939f3b4ce0f7dc4de2774495
+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
diff --git a/app-misc/siegfried/siegfried-1.11.1.ebuild b/app-misc/siegfried/siegfried-1.11.1.ebuild
new file mode 100644
index 000000000000..97c5215d2a79
--- /dev/null
+++ b/app-misc/siegfried/siegfried-1.11.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2024 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}_rc4.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"
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-06-28 5:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-28 5:19 [gentoo-commits] repo/gentoo:master commit in: app-misc/siegfried/ Michał Górny
-- strict thread matches above, loose matches on Subject: below --
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox