head	1.10;
access;
symbols
	RELEASE_8_3_0:1.8
	RELEASE_9_0_0:1.8
	RELEASE_7_4_0:1.8
	RELEASE_8_2_0:1.8
	RELEASE_6_EOL:1.8
	RELEASE_8_1_0:1.6
	RELEASE_7_3_0:1.6
	RELEASE_8_0_0:1.6
	RELEASE_7_2_0:1.6
	RELEASE_7_1_0:1.5
	RELEASE_6_4_0:1.5
	RELEASE_5_EOL:1.5
	RELEASE_7_0_0:1.5
	RELEASE_6_3_0:1.5
	PRE_XORG_7:1.5
	RELEASE_4_EOL:1.5
	RELEASE_6_2_0:1.5
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.4
	RELEASE_5_4_0:1.4
	RELEASE_4_11_0:1.4
	RELEASE_5_3_0:1.4
	RELEASE_4_10_0:1.4
	RELEASE_5_2_1:1.3
	RELEASE_5_2_0:1.3
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1;
locks; strict;
comment	@# @;


1.10
date	2012.11.17.06.01.08;	author svnexp;	state Exp;
branches;
next	1.9;

1.9
date	2012.06.30.12.36.10;	author az;	state Exp;
branches;
next	1.8;

1.8
date	2010.11.27.20.47.03;	author sunpoet;	state Exp;
branches;
next	1.7;

1.7
date	2010.09.13.19.47.54;	author decke;	state Exp;
branches;
next	1.6;

1.6
date	2008.11.29.20.23.50;	author miwi;	state Exp;
branches;
next	1.5;

1.5
date	2006.05.13.04.15.06;	author edwin;	state Exp;
branches;
next	1.4;

1.4
date	2004.03.06.18.56.44;	author pav;	state Exp;
branches;
next	1.3;

1.3
date	2003.11.11.09.19.49;	author krion;	state Exp;
branches;
next	1.2;

1.2
date	2003.11.09.16.38.32;	author krion;	state Exp;
branches;
next	1.1;

1.1
date	2003.04.01.08.04.10;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.10
log
@Switch exporter over
@
text
@# New ports collection makefile for:	makepasswd
# Date created:				7 March 2003
# Whom:					Toni Viemer <toni.viemero@@iki.fi>
#
# $FreeBSD: head/security/makepasswd/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	makepasswd
PORTVERSION=	1.10
PORTREVISION=	4
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_DEBIAN_POOL}
DISTNAME=	${PORTNAME}_${PORTVERSION}.orig

PATCHFILES=	${PORTNAME}_${PORTVERSION}-5.diff.gz
PATCH_SITES=	${MASTER_SITES}
PATCH_SITE_SUBDIR=	${MASTER_SITE_SUBDIR}
PATCH_DIST_STRIP=	-p1

MAINTAINER=	toni.viemero@@iki.fi
COMMENT=	Random password generator

LICENSE=	GPLv1

NO_BUILD=	yes
USE_PERL5_RUN=	yes

RUN_DEPENDS+=	p5-Crypt-PasswdMD5>=0:${PORTSDIR}/security/p5-Crypt-PasswdMD5 \
		p5-Crypt-OpenSSL-Random>=0:${PORTSDIR}/security/p5-Crypt-OpenSSL-Random

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

MAN1=		makepasswd.1
DOCS=		CHANGES README

.include <bsd.port.pre.mk>

post-patch:
	${REINPLACE_CMD} -e "s/use	bytes;/#use	bytes;/" ${WRKSRC}/makepasswd

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/makepasswd ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
.for file in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>
@


1.9
log
@- Remove SITE_PERL from *_DEPENDS

Approved by: portmgr@@ (bapt@@)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.8
log
@- Add LICENSE
- Remove obsolete MD5 sum
- Update WWW

PR:		ports/152623
Submitted by:	Toni Viemero <toni.viemero@@iki.fi> (maintainer)
@
text
@d28 2
a29 2
RUN_DEPENDS+=	${SITE_PERL}/Crypt/PasswdMD5.pm:${PORTSDIR}/security/p5-Crypt-PasswdMD5 \
		${SITE_PERL}/${PERL_ARCH}/Crypt/OpenSSL/Random.pm:${PORTSDIR}/security/p5-Crypt-OpenSSL-Random
@


1.7
log
@- Update to Debian patchset 1.10-5
- Use /dev/urandom rather than /dev/random
- Increase default password length range from 6-8 characters to 8-10
- Use OpenSSL's random number generator, seeded with 256 bits of entropy

PR:		ports/150536
Submitted by:	Toni Viemero <toni dot viemero at iki dot fi> (maintainer)
Approved by:	beat (co-mentor, implicit)
@
text
@d23 2
@


1.6
log
@- Chase Debian version to avoid unfetchable patchfile

PR:		129252
Submitted by:	Toni Viemer <toni.viemero@@iki.fi> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	3
d15 1
a15 1
PATCHFILES=	${PORTNAME}_${PORTVERSION}-3.diff.gz
d26 2
a27 1
RUN_DEPENDS+=	${SITE_PERL}/Crypt/PasswdMD5.pm:${PORTSDIR}/security/p5-Crypt-PasswdMD5
a37 2
	${REINPLACE_CMD} -e "s/\/dev\/random/\/dev\/urandom/" ${WRKSRC}/makepasswd
	${REINPLACE_CMD} -e "s/\/dev\/random/\/dev\/urandom/" ${WRKSRC}/makepasswd.1
@


1.5
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d10 1
a10 1
PORTREVISION=	2
d15 1
a15 1
PATCHFILES=	${PORTNAME}_${PORTVERSION}-2.diff.gz
@


1.4
log
@- Use MASTER_SITE_DEBIAN_POOL
- Add SIZE

PR:		ports/63849
Submitted by:	Toni Viemero <toni.viemero@@iki.fi> (maintainer)
@
text
@a24 1
USE_REINPLACE=	yes
@


1.3
log
@- Fix running with perl <5.6, on 4.x
- Bump PORTREVISION

PR:		59104
Submitted by:	maintainer
@
text
@d12 1
a12 2
MASTER_SITES=	${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR=	pool/main/m/makepasswd
@


1.2
log
@- Update to latest patchlevel and
  make it use /dev/urandom
- Utilize DOCSDIR

PR:		59081
Submitted by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	1
d37 2
a38 1
pre-patch:
@


1.1
log
@New port: makepasswd, random password generator

	Random password generator.

PR:		ports/49008
Submitted by:	Toni Viemero <toni.viemero@@iki.fi>
@
text
@d10 1
d13 1
a13 1
MASTER_SITE_SUBDIR=	dists/potato/main/source/admin/
d16 5
d26 4
d35 6
d51 1
a51 1
.include <bsd.port.mk>
@

