Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security Add security/passphrase version 1.0.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/51fa3aeae228
branches: trunk
changeset: 434416:51fa3aeae228
user: nikita <nikita%pkgsrc.org@localhost>
date: Tue Jun 16 10:30:32 2020 +0000
description:
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:
security/Makefile | 3 ++-
security/passphrase/DESCR | 5 +++++
security/passphrase/Makefile | 35 +++++++++++++++++++++++++++++++++++
security/passphrase/PLIST | 4 ++++
security/passphrase/distinfo | 6 ++++++
5 files changed, 52 insertions(+), 1 deletions(-)
diffs (83 lines):
diff -r 3136a8e10a99 -r 51fa3aeae228 security/Makefile
--- a/security/Makefile Tue Jun 16 10:06:04 2020 +0000
+++ b/security/Makefile Tue Jun 16 10:30:32 2020 +0000
@@ -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-yubico
SUBDIR+= pam_ssh_agent_auth
SUBDIR+= paperkey
+SUBDIR+= passphrase
SUBDIR+= password-store
SUBDIR+= pcsc-lite
SUBDIR+= pcsc-tools
diff -r 3136a8e10a99 -r 51fa3aeae228 security/passphrase/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/passphrase/DESCR Tue Jun 16 10:30:32 2020 +0000
@@ -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 -r 3136a8e10a99 -r 51fa3aeae228 security/passphrase/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/passphrase/Makefile Tue Jun 16 10:30:32 2020 +0000
@@ -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@localhost
+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 -r 3136a8e10a99 -r 51fa3aeae228 security/passphrase/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/passphrase/PLIST Tue Jun 16 10:30:32 2020 +0000
@@ -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 -r 3136a8e10a99 -r 51fa3aeae228 security/passphrase/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/passphrase/distinfo Tue Jun 16 10:30:32 2020 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index