Index: security/Makefile =================================================================== --- security/Makefile +++ security/Makefile @@ -997,6 +997,7 @@ SUBDIR += py-volatility SUBDIR += py-volatility3 SUBDIR += py-vulndb + SUBDIR += py-xkcdpass SUBDIR += py-xmlsec SUBDIR += py-yara SUBDIR += py-yubikey-manager Index: security/py-xkcdpass/Makefile =================================================================== --- /dev/null +++ security/py-xkcdpass/Makefile @@ -0,0 +1,34 @@ +# $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_PYTHON= autoplist distutils +USE_GITHUB= yes +GH_ACCOUNT= jwfh + +OPTIONS_DEFINE= DOCS + +MAN_FILES= ${PORTNAME}.1 +README_FILES= README.rst +PLIST_FILES+= ${MAN_FILES:S|^|man/man1/|:S|$|.gz|} +DOCS_PLIST_FILES= ${README_FILES:S|^|${DOCSDIR_REL}/|} + +post-stage: + ${INSTALL_MAN} ${MAN_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${MANPREFIX}/man/man1 + +do-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${README_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include Index: security/py-xkcdpass/distinfo =================================================================== --- /dev/null +++ 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: security/py-xkcdpass/pkg-descr =================================================================== --- /dev/null +++ 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