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

(-)makepasswd/Makefile (-2 / +18 lines)
Lines 7-27 Link Here
7
7
8
PORTNAME=	makepasswd
8
PORTNAME=	makepasswd
9
PORTVERSION=	1.10
9
PORTVERSION=	1.10
10
PORTREVISION=	1
10
CATEGORIES=	security
11
CATEGORIES=	security
11
MASTER_SITES=	${MASTER_SITE_DEBIAN}
12
MASTER_SITES=	${MASTER_SITE_DEBIAN}
12
MASTER_SITE_SUBDIR=	dists/potato/main/source/admin/
13
MASTER_SITE_SUBDIR=	pool/main/m/makepasswd
13
DISTNAME=	${PORTNAME}_${PORTVERSION}.orig
14
DISTNAME=	${PORTNAME}_${PORTVERSION}.orig
14
15
16
PATCHFILES=	${PORTNAME}_${PORTVERSION}-2.diff.gz
17
PATCH_SITES=	${MASTER_SITES}
18
PATCH_SITE_SUBDIR=	${MASTER_SITE_SUBDIR}
19
PATCH_DIST_STRIP=	-p1
20
15
MAINTAINER=	toni.viemero@iki.fi
21
MAINTAINER=	toni.viemero@iki.fi
16
COMMENT=	Random password generator
22
COMMENT=	Random password generator
17
23
18
NO_BUILD=	yes
24
NO_BUILD=	yes
19
USE_PERL5_RUN=	yes
25
USE_PERL5_RUN=	yes
26
USE_REINPLACE=	yes
27
28
RUN_DEPENDS+=	${SITE_PERL}/Crypt/PasswdMD5.pm:${PORTSDIR}/security/p5-Crypt-PasswdMD5
29
20
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
30
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
21
31
22
MAN1=		makepasswd.1
32
MAN1=		makepasswd.1
23
DOCS=		CHANGES README
33
DOCS=		CHANGES README
24
34
35
.include <bsd.port.pre.mk>
36
37
pre-patch:
38
	${REINPLACE_CMD} -e "s/\/dev\/random/\/dev\/urandom/" ${WRKSRC}/makepasswd
39
	${REINPLACE_CMD} -e "s/\/dev\/random/\/dev\/urandom/" ${WRKSRC}/makepasswd.1
40
25
do-install:
41
do-install:
26
	${INSTALL_SCRIPT} ${WRKSRC}/makepasswd ${PREFIX}/bin
42
	${INSTALL_SCRIPT} ${WRKSRC}/makepasswd ${PREFIX}/bin
27
	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
43
	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
Lines 32-35 Link Here
32
.endfor
48
.endfor
33
.endif
49
.endif
34
50
35
.include <bsd.port.mk>
51
.include <bsd.port.post.mk>
(-)makepasswd/distinfo (+1 lines)
Line 1 Link Here
1
MD5 (makepasswd_1.10.orig.tar.gz) = 55842bb4c064ebcdedffb4afd5f0945a
1
MD5 (makepasswd_1.10.orig.tar.gz) = 55842bb4c064ebcdedffb4afd5f0945a
2
MD5 (makepasswd_1.10-2.diff.gz) = 3525498bf730e11c3aa14721556110fb

Return to bug 59081