Created attachment 170890 [details]
the new port's shar file
Siegfried is an advanced file identification tool written in Go. It is signature-based, implementing the PRONOM file format signatures and freedesktop.org's MIME-info file format signatures.
Hi! Can you convert this to USES=go please?
You can look at sysutils/node_exporter for an example.
Created attachment 178758 [details]
This is a draft of a cleaned-up port.
The biggest change is renaming the binary from "siegfried" to "sf",
since this is what upstream documentation references.
Can you take a look at it and let me know if you are OK with it?
There is still one issue: I can't actually update signatures. I get this:
System error: Get : unsupported protocol scheme ""
I spent very little time troubleshooting this, but maybe it's something that upstream can help with.
Created attachment 178759 [details]
Updating to latest version (1.6.7) fixes the protocol error.
I'm ready to commit this if you are okay with how it looks.
(In reply to Nikolai Lifanov from comment #3)
I am ok with it!
A commit references this bug:
Date: Wed Jan 11 19:22:30 UTC 2017
New revision: 431196
new port: sysutils/siegfried
Siegfried is an advanced file identification tool written in Go.
It is signature-based, implementing the PRONOM file format signatures
and freedesktop.org's MIME-info file format signatures.
Submitted by: Steffen Fritz <email@example.com>
Reviewed by: matthew
Approved by: matthew (mentor)
Differential Revision: https://reviews.freebsd.org/D9136
Committed with changes, thanks!