Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add security/xhash #237

Closed
wants to merge 1 commit into from
Closed

Conversation

ricardobranco777
Copy link
Contributor

Add security/xhash

This Go program uses goroutines to calculate multiple hashes on strings, files and directories. By default it reads from standard input. It can be used as a drop-in replacement for the GNU coreutils when hard-linked as md5sum, etc. and it actually supports the --zero option with --check. The output format is fully configurable.

@metalefty metalefty self-assigned this Feb 24, 2024
@metalefty
Copy link
Member

Have you tested the build? USES= go:modules,1.21 is required.

===>  Building xhash from .
check.go:9:2: package slices is not in GOROOT (/usr/local/go120/src/slices)
note: imported by a module that requires go 1.21
*** Error code 1

Stop.
make: stopped in /usr/ports/security/xhash
build of security/xhash | xhash-3.3.1 ended at Sat Feb 24 22:47:52 JST 2024
build time: 00:00:02
!!! build failure encountered !!!

@ricardobranco777
Copy link
Contributor Author

Have you tested the build? USES= go:modules,1.21 is required.

Fixed, thanks.

I tested it but I had DEFAULT_VERSIONS+= go=1.22 set in /etc/make.conf. It works as well with go1.21.

freebsd-git pushed a commit that referenced this pull request Feb 25, 2024
PR:		277279
Pull Request:	#237
@metalefty
Copy link
Member

Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants