Index: head/security/Makefile =================================================================== --- head/security/Makefile +++ head/security/Makefile @@ -998,6 +998,7 @@ SUBDIR += py-volatility SUBDIR += py-volatility3 SUBDIR += py-vulndb + SUBDIR += py-xkcdpass SUBDIR += py-xmlsec SUBDIR += py-yara SUBDIR += py-yubikey-manager Index: head/security/py-xkcdpass/Makefile =================================================================== --- head/security/py-xkcdpass/Makefile +++ head/security/py-xkcdpass/Makefile @@ -0,0 +1,38 @@ +# $FreeBSD$ + +PORTNAME= xkcdpass +DISTVERSIONPREFIX= ${PORTNAME}- +DISTVERSION= 1.17.4 +CATEGORIES= security sysutils python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= jacob@jwfh.ca +COMMENT= Password generator as in XKCD 936 + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.BSD + +USES= python +USE_GITHUB= yes +GH_ACCOUNT= jwfh +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +PLIST_FILES= ${_MAN_FILES:S|^|man/man1/|:S|$|.gz|} + +OPTIONS_DEFINE= DOCS + +DOCS_PLIST_FILES= ${_README_FILES:S|^|${DOCSDIR_REL}/|} + +_MAN_FILES= ${PORTNAME}.1 +_README_FILES= README.rst + +post-install: + ${INSTALL_MAN} ${_MAN_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${MANPREFIX}/man/man1 + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${_README_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include Index: head/security/py-xkcdpass/distinfo =================================================================== --- head/security/py-xkcdpass/distinfo +++ head/security/py-xkcdpass/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1589315063 +SHA256 (jwfh-xkcdpass-xkcdpass-1.17.4_GH0.tar.gz) = 422761d7c758d197f34ccf20a5bf5ef252b6ea9681c0f6de5b232c88cb133924 +SIZE (jwfh-xkcdpass-xkcdpass-1.17.4_GH0.tar.gz) = 2197541 Index: head/security/py-xkcdpass/pkg-descr =================================================================== --- head/security/py-xkcdpass/pkg-descr +++ head/security/py-xkcdpass/pkg-descr @@ -0,0 +1,10 @@ +A flexible and scriptable password generator which generates +strong diceword-style passphrases, inspired by XKCD 936. + + $ xkcdpass + > correct horse battery staple + +Usable as standalone script or a module within a larger +Python project. + +WWW: https://github.com/jwfh/xkcdpass