View | Details | Raw Unified | Return to bug 279465
Collapse All | Expand All

(-)b/security/py-mkpasswd/Makefile (+34 lines)
Added Link Here
1
PORTNAME=	mkpasswd
2
DISTVERSIONPREFIX= v
3
PORTVERSION=	2.1
4
CATEGORIES=	python security
5
6
MAINTAINER=	rbranco@suse.de
7
COMMENT=	Overfeatured front end to crypt(3)
8
9
LICENSE=	MIT
10
LICENSE_FILE=	${WRKSRC}/LICENSE
11
12
USE_GITHUB=	yes
13
GH_ACCOUNT=	ricardobranco777
14
GH_PROJECT=	mkpasswd
15
16
USES=		python
17
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}argon2-cffi>=21.1:security/py-argon2-cffi@${PY_FLAVOR} \
18
		${PYTHON_PKGNAMEPREFIX}passlib>=1.7.4:security/py-passlib@${PY_FLAVOR}
19
20
NO_ARCH=	yes
21
22
PLIST_FILES=	bin/mkpasswd
23
24
# Fix she-bang
25
post-patch:
26
	${REINPLACE_CMD} -e '1s|^#!.*|#!${PYTHON_CMD}|' ${WRKSRC}/mkpasswd
27
28
do-build:
29
	true
30
31
do-install:
32
	${INSTALL_SCRIPT} ${WRKSRC}/mkpasswd ${STAGEDIR}${PREFIX}/bin/mkpasswd
33
34
.include <bsd.port.mk>
(-)b/security/py-mkpasswd/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1717322434
2
SHA256 (ricardobranco777-mkpasswd-v2.1_GH0.tar.gz) = 895ea5be46d9fe0d740cf953799b9f386f945f15ab6c992607734f5ca32e23eb
3
SIZE (ricardobranco777-mkpasswd-v2.1_GH0.tar.gz) = 4053
(-)b/security/py-mkpasswd/pkg-descr (-1 / +1 lines)
Added Link Here
0
- 
1
mkpasswd encrypts the given password with the crypt(3) libc function, using the given salt.

Return to bug 279465