pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security



Module Name:    pkgsrc
Committed By:   nikita
Date:           Tue Jun 16 10:30:32 UTC 2020

Modified Files:
        pkgsrc/security: Makefile
Added Files:
        pkgsrc/security/passphrase: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.767 -r1.768 pkgsrc/security/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/security/passphrase/DESCR \
    pkgsrc/security/passphrase/Makefile pkgsrc/security/passphrase/PLIST \
    pkgsrc/security/passphrase/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/Makefile
diff -u pkgsrc/security/Makefile:1.767 pkgsrc/security/Makefile:1.768
--- pkgsrc/security/Makefile:1.767      Fri Jun 12 13:42:45 2020
+++ pkgsrc/security/Makefile    Tue Jun 16 10:30:32 2020
@@ -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

Added files:

Index: pkgsrc/security/passphrase/DESCR
diff -u /dev/null pkgsrc/security/passphrase/DESCR:1.1
--- /dev/null   Tue Jun 16 10:30:32 2020
+++ pkgsrc/security/passphrase/DESCR    Tue Jun 16 10:30:32 2020
@@ -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.
Index: pkgsrc/security/passphrase/Makefile
diff -u /dev/null pkgsrc/security/passphrase/Makefile:1.1
--- /dev/null   Tue Jun 16 10:30:32 2020
+++ pkgsrc/security/passphrase/Makefile Tue Jun 16 10:30:32 2020
@@ -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"
Index: pkgsrc/security/passphrase/PLIST
diff -u /dev/null pkgsrc/security/passphrase/PLIST:1.1
--- /dev/null   Tue Jun 16 10:30:32 2020
+++ pkgsrc/security/passphrase/PLIST    Tue Jun 16 10:30:32 2020
@@ -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
Index: pkgsrc/security/passphrase/distinfo
diff -u /dev/null pkgsrc/security/passphrase/distinfo:1.1
--- /dev/null   Tue Jun 16 10:30:32 2020
+++ pkgsrc/security/passphrase/distinfo Tue Jun 16 10:30:32 2020
@@ -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