diff options
author | zeising <zeising@FreeBSD.org> | 2017-07-20 01:20:36 +0800 |
---|---|---|
committer | zeising <zeising@FreeBSD.org> | 2017-07-20 01:20:36 +0800 |
commit | 202fcb062cbc62e6b358b973df3fc5259c5184d9 (patch) | |
tree | 6fa328eb1673c523c39d8ddc9440f14623f50749 /security | |
parent | 530946b2ea02439c9ed8fb5d7d72bff29336d346 (diff) | |
download | freebsd-ports-gnome-202fcb062cbc62e6b358b973df3fc5259c5184d9.tar.gz freebsd-ports-gnome-202fcb062cbc62e6b358b973df3fc5259c5184d9.tar.zst freebsd-ports-gnome-202fcb062cbc62e6b358b973df3fc5259c5184d9.zip |
Add sha2wordlist.
sha2wordlist makes a sha256 digest and outputs it in PGP Words, to be used
when verifying hashes verbally.
Submitted by: Peter Ankerstål
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/sha2wordlist/Makefile | 26 | ||||
-rw-r--r-- | security/sha2wordlist/distinfo | 3 | ||||
-rw-r--r-- | security/sha2wordlist/pkg-descr | 5 |
4 files changed, 35 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index f937320e1e1d..2c614ee7b843 100644 --- a/security/Makefile +++ b/security/Makefile @@ -1113,6 +1113,7 @@ SUBDIR += sguil SUBDIR += sha SUBDIR += sha1collisiondetection + SUBIDR += sha2wordlist SUBDIR += shibboleth2-sp SUBDIR += shimmer SUBDIR += shishi diff --git a/security/sha2wordlist/Makefile b/security/sha2wordlist/Makefile new file mode 100644 index 000000000000..b200a754574a --- /dev/null +++ b/security/sha2wordlist/Makefile @@ -0,0 +1,26 @@ +# Created by: Peter Ankerstal <peter@pean.org> +# $FreeBSD$ + +PORTNAME= sha2wordlist +PORTVERSION= 1.0.20140124 +CATEGORIES= security + +MAINTAINER= peter@pean.org +COMMENT= create SHA256 digests as PGP words + +LICENSE= BSD2CLAUSE BSD3CLAUSE +LICENSE_COMB= multi + +USE_GITHUB= yes +GH_ACCOUNT= kirei +GH_TAGNAME= 3615281 + +PLIST_FILES= sbin/sha2wordlist + +post-patch: + @${REINPLACE_CMD} -e 's|gcc|cc|g' ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${LOCALBASE}/sbin/ + +.include <bsd.port.mk> diff --git a/security/sha2wordlist/distinfo b/security/sha2wordlist/distinfo new file mode 100644 index 000000000000..b8a8401b9ee4 --- /dev/null +++ b/security/sha2wordlist/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1500115682 +SHA256 (kirei-sha2wordlist-1.0.20140124-3615281_GH0.tar.gz) = 9fc3227ada752823250d2892961b7fed34f2d8a736c47421cf8dd6e4b1d26cee +SIZE (kirei-sha2wordlist-1.0.20140124-3615281_GH0.tar.gz) = 14272 diff --git a/security/sha2wordlist/pkg-descr b/security/sha2wordlist/pkg-descr new file mode 100644 index 000000000000..156c2e1641a8 --- /dev/null +++ b/security/sha2wordlist/pkg-descr @@ -0,0 +1,5 @@ +This program takes data on stdin and outputs the SHA256 checksum of that +data together with the PGP Wordlist representation of the checksum. +This could be very useful when verifying checksums verbally. + +WWW: https://github.com/kirei/sha2wordlist |