pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
add passphrase-git
Module Name: pkgsrc-wip
Committed By: nikita <nikita%NetBSD.org@localhost>
Pushed By: nikita
Date: Tue May 2 11:34:53 2023 +0200
Changeset: f04370d626d196abfc35aec1d2b4e6f2f03a24b4
Added Files:
passphrase-git/DESCR
passphrase-git/Makefile
passphrase-git/PLIST
Log Message:
add passphrase-git
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f04370d626d196abfc35aec1d2b4e6f2f03a24b4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
passphrase-git/DESCR | 5 +++++
passphrase-git/Makefile | 37 +++++++++++++++++++++++++++++++++++++
passphrase-git/PLIST | 4 ++++
3 files changed, 46 insertions(+)
diffs:
diff --git a/passphrase-git/DESCR b/passphrase-git/DESCR
new file mode 100644
index 0000000000..5b208e42b6
--- /dev/null
+++ b/passphrase-git/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/passphrase-git/Makefile b/passphrase-git/Makefile
new file mode 100644
index 0000000000..08ee3b94ee
--- /dev/null
+++ b/passphrase-git/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.9 2023/01/22 19:36:02 nikita Exp $
+
+PKGNAME= passphrase-git-1.5
+CATEGORIES= security
+GIT_REPO= https://git.sr.ht/~alva/passphrase
+
+MAINTAINER= nikita%NetBSD.org@localhost
+HOMEPAGE= https://git.sr.ht/~alva/passphrase
+COMMENT= Zero-dependency passphrase generator
+LICENSE= mit
+
+WRKSRC= ${WRKDIR}/passphrase
+
+CONFLICTS+= passphrase-[0-9]*
+
+# \todo: There is currently an issue building this as RELRO.
+# RELRO_SUPPORTED= no
+
+ZIGBUILDARGS= -Dpie=true
+.if ${MKDEBUG:Uyes:M[yY][eE][sS]} && ${INSTALL_UNSTRIPPED:Uyes:tl} == yes
+ZIGBUILDARGS+= -Dstrip=true
+.endif
+ZIGBUILDMODE= -Doptimize=ReleaseSafe
+
+.include "../../lang/python/pyversion.mk"
+CONFLICTS+= ${PYPKGPREFIX}-pyutil-[0-9]*
+
+
+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'
+
+.include "../../wip/zig-git/application.mk"
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/passphrase-git/PLIST b/passphrase-git/PLIST
new file mode 100644
index 0000000000..50777bc6bf
--- /dev/null
+++ b/passphrase-git/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
Home |
Main Index |
Thread Index |
Old Index