mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
security/py-mkpasswd: Add new port
PR: 279465
This commit is contained in:
parent
521fedd411
commit
cee3cb9c7e
4 changed files with 39 additions and 0 deletions
|
@ -970,6 +970,7 @@
|
|||
SUBDIR += py-liboqs-python
|
||||
SUBDIR += py-m2crypto
|
||||
SUBDIR += py-maec
|
||||
SUBDIR += py-makepasswd
|
||||
SUBDIR += py-merkletools
|
||||
SUBDIR += py-mixbox
|
||||
SUBDIR += py-mnemonic
|
||||
|
|
34
security/py-mkpasswd/Makefile
Normal file
34
security/py-mkpasswd/Makefile
Normal file
|
@ -0,0 +1,34 @@
|
|||
PORTNAME= mkpasswd
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTVERSION= 2.1
|
||||
CATEGORIES= security python
|
||||
|
||||
MAINTAINER= rbranco@suse.de
|
||||
COMMENT= Overfeatured front end to crypt(3)
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= ricardobranco777
|
||||
GH_PROJECT= mkpasswd
|
||||
|
||||
USES= python
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argon2-cffi>=21.1:security/py-argon2-cffi@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}passlib>=1.7.4:security/py-passlib@${PY_FLAVOR}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
PLIST_FILES= bin/mkpasswd
|
||||
|
||||
# Fix she-bang
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e '1s|^#!.*|#!${PYTHON_CMD}|' ${WRKSRC}/mkpasswd
|
||||
|
||||
do-build:
|
||||
true
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/mkpasswd ${STAGEDIR}${PREFIX}/bin/mkpasswd
|
||||
|
||||
.include <bsd.port.mk>
|
3
security/py-mkpasswd/distinfo
Normal file
3
security/py-mkpasswd/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1717322434
|
||||
SHA256 (ricardobranco777-mkpasswd-v2.1_GH0.tar.gz) = 895ea5be46d9fe0d740cf953799b9f386f945f15ab6c992607734f5ca32e23eb
|
||||
SIZE (ricardobranco777-mkpasswd-v2.1_GH0.tar.gz) = 4053
|
1
security/py-mkpasswd/pkg-descr
Normal file
1
security/py-mkpasswd/pkg-descr
Normal file
|
@ -0,0 +1 @@
|
|||
mkpasswd encrypts the given password with the crypt(3) libc function, using the given salt.
|
Loading…
Add table
Reference in a new issue