diff options
author | nikita <nikita@pkgsrc.org> | 2020-06-16 10:30:32 +0000 |
---|---|---|
committer | nikita <nikita@pkgsrc.org> | 2020-06-16 10:30:32 +0000 |
commit | 5eaccbabc97bbadd5f848d0e674caa7231ef255c (patch) | |
tree | bb598324b3b63c5c33f9e205da005745d180f1b3 /security | |
parent | cfd7979d2d6bd77f1b3f986767b64093eceb35f2 (diff) | |
download | pkgsrc-5eaccbabc97bbadd5f848d0e674caa7231ef255c.tar.gz |
Add security/passphrase version 1.0.0
Passphrase is a zero-dependency passphrase generator.
It is pretty fast (over 6000 times faster than
bitwarden's "bw generate -p",) and you can use any wordlist.
An English wordlist is included, and is the default.
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 3 | ||||
-rw-r--r-- | security/passphrase/DESCR | 5 | ||||
-rw-r--r-- | security/passphrase/Makefile | 35 | ||||
-rw-r--r-- | security/passphrase/PLIST | 4 | ||||
-rw-r--r-- | security/passphrase/distinfo | 6 |
5 files changed, 52 insertions, 1 deletions
diff --git a/security/Makefile b/security/Makefile index 7364de94a9f..5d360c535a2 100644 --- a/security/Makefile +++ b/security/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.767 2020/06/12 13:42:45 ryoon Exp $ +# $NetBSD: Makefile,v 1.768 2020/06/16 10:30:32 nikita Exp $ # COMMENT= Security tools @@ -366,6 +366,7 @@ SUBDIR+= pam-tacplus SUBDIR+= pam-yubico SUBDIR+= pam_ssh_agent_auth SUBDIR+= paperkey +SUBDIR+= passphrase SUBDIR+= password-store SUBDIR+= pcsc-lite SUBDIR+= pcsc-tools diff --git a/security/passphrase/DESCR b/security/passphrase/DESCR new file mode 100644 index 00000000000..5b208e42b69 --- /dev/null +++ b/security/passphrase/DESCR @@ -0,0 +1,5 @@ +Passphrase is a zero-dependency passphrase generator. + +It is pretty fast (over 6000 times faster than +bitwarden's "bw generate -p",) and you can use any wordlist. +An English wordlist is included, and is the default. diff --git a/security/passphrase/Makefile b/security/passphrase/Makefile new file mode 100644 index 00000000000..60b9042525b --- /dev/null +++ b/security/passphrase/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1 2020/06/16 10:30:32 nikita Exp $ + +DISTNAME= 1.0.0 +PKGNAME= passphrase-1.0.0 +DIST_SUBDIR= passphrase +CATEGORIES= security +MASTER_SITES= https://git.sr.ht/~alva/passphrase/archive/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://git.sr.ht/~alva/passphrase +COMMENT= Zero-dependency passphrase generator +LICENSE= mit + +USE_LANGUAGES= c + +BUILD_DEPENDS+= zig>=0.6:../../lang/zig + +WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} + +SUBST_CLASSES+= mandir +SUBST_STAGE.mandir= pre-build +SUBST_MESSAGE.mandir= replacing mandir location +SUBST_FILES.mandir= build.zig +SUBST_SED.mandir+= -e 's,"share" ++ sep ++ "man","${PKGMANDIR}",g' + +do-build: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} zig build -Drelease-fast + +do-install: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} zig build install -Drelease-fast --prefix ${DESTDIR}${PREFIX} + +do-test: + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} zig build test + +.include "../../mk/bsd.pkg.mk" diff --git a/security/passphrase/PLIST b/security/passphrase/PLIST new file mode 100644 index 00000000000..50777bc6bfa --- /dev/null +++ b/security/passphrase/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1 2020/06/16 10:30:32 nikita Exp $ +bin/passphrase +man/man1/passphrase.1 +share/passphrase/en.txt diff --git a/security/passphrase/distinfo b/security/passphrase/distinfo new file mode 100644 index 00000000000..9d56cc2c903 --- /dev/null +++ b/security/passphrase/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2020/06/16 10:30:32 nikita Exp $ + +SHA1 (passphrase/1.0.0.tar.gz) = 42190f52ec34eebca61ceb1a58de537c01dd7a1a +RMD160 (passphrase/1.0.0.tar.gz) = bafe6b236384daeb6b988053ac926b44aa90242d +SHA512 (passphrase/1.0.0.tar.gz) = 09427cb083439acad531505b714a135bcfdf622d030a356e51a323136f748e7a00837a120a4d2073a16668a972a5406dfb09a9fe51bc5b66f6a3cbe3f6faa8bf +Size (passphrase/1.0.0.tar.gz) = 170157 bytes |