head	1.16;
access;
symbols
	RELEASE_8_3_0:1.12
	RELEASE_9_0_0:1.10
	RELEASE_7_4_0:1.10
	RELEASE_8_2_0:1.10
	RELEASE_6_EOL:1.9
	RELEASE_8_1_0:1.9
	RELEASE_7_3_0:1.9
	RELEASE_8_0_0:1.9
	RELEASE_7_2_0:1.9
	RELEASE_7_1_0:1.9
	RELEASE_6_4_0:1.9
	RELEASE_5_EOL:1.9
	RELEASE_7_0_0:1.9
	RELEASE_6_3_0:1.9
	PRE_XORG_7:1.9
	RELEASE_4_EOL:1.9
	RELEASE_6_2_0:1.9
	RELEASE_6_1_0:1.9
	RELEASE_5_5_0:1.9
	RELEASE_6_0_0:1.9
	RELEASE_5_4_0:1.8
	RELEASE_4_11_0:1.8
	RELEASE_5_3_0:1.8
	RELEASE_4_10_0:1.8
	RELEASE_5_2_1:1.8
	RELEASE_5_2_0:1.8
	RELEASE_4_9_0:1.8
	RELEASE_5_1_0:1.6
	RELEASE_4_8_0:1.6
	RELEASE_5_0_0:1.5
	RELEASE_4_7_0:1.5
	RELEASE_4_6_2:1.4
	RELEASE_4_6_1:1.4
	RELEASE_4_6_0:1.4
	RELEASE_5_0_DP1:1.3
	RELEASE_4_5_0:1.3
	RELEASE_4_4_0:1.3
	RELEASE_4_3_0:1.3;
locks; strict;
comment	@# @;


1.16
date	2012.11.17.06.01.00;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2012.09.23.15.38.58;	author danfe;	state Exp;
branches;
next	1.14;

1.14
date	2012.09.23.14.59.36;	author matthew;	state Exp;
branches;
next	1.13;

1.13
date	2012.06.04.19.25.55;	author matthew;	state Exp;
branches;
next	1.12;

1.12
date	2012.02.27.23.44.44;	author matthew;	state Exp;
branches;
next	1.11;

1.11
date	2012.02.27.20.32.28;	author glarkin;	state Exp;
branches;
next	1.10;

1.10
date	2010.12.23.10.54.45;	author roam;	state Exp;
branches;
next	1.9;

1.9
date	2005.07.04.11.27.40;	author roam;	state Exp;
branches;
next	1.8;

1.8
date	2003.09.02.15.45.44;	author roam;	state Exp;
branches;
next	1.7;

1.7
date	2003.08.16.16.02.39;	author petef;	state Exp;
branches;
next	1.6;

1.6
date	2003.02.19.16.07.28;	author roam;	state Exp;
branches;
next	1.5;

1.5
date	2002.09.20.08.26.34;	author roam;	state Exp;
branches;
next	1.4;

1.4
date	2002.05.21.10.25.16;	author roam;	state Exp;
branches;
next	1.3;

1.3
date	2001.04.09.11.09.32;	author roam;	state Exp;
branches;
next	1.2;

1.2
date	2001.01.22.07.31.15;	author roam;	state Exp;
branches;
next	1.1;

1.1
date	2001.01.20.00.13.14;	author roam;	state Exp;
branches;
next	;


desc
@@


1.16
log
@Switch exporter over
@
text
@# Created by: Peter Pentchev <roam@@FreeBSD.org>
# $FreeBSD: head/security/apg/Makefile 304748 2012-09-23 15:38:58Z danfe $

PORTNAME=	apg
PORTVERSION=	2.3.0b
PORTREVISION=	2
CATEGORIES=	security
MASTER_SITES=	http://www.adel.nursat.kz/apg/download/
MASTER_SITE_SUBDIR=	UNIX/misc

MAINTAINER=	matthew@@FreeBSD.org
COMMENT=	Automated password generator

OPTIONS_DEFINE=	CRACKLIB
CRACKLIB_DESCR=	CrackLib support for password quality

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MCRACKLIB}
LIB_DEPENDS=	crack:${PORTSDIR}/security/cracklib
MAKE_ARGS=	-DWITH_CRACKLIB
.endif

LICENSE=	BSD

MAN1=		apg.1 apgbfm.1
MAN8=		apgd.8
DOCS=		APG_TIPS pronun.txt rfc0972.txt rfc1750.txt

post-extract:
	${FIND} ${WRKSRC} -type d | ${XARGS} ${CHMOD} u+wx
	${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} u+w

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/apg ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/apgbfm ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/apgd ${PREFIX}/sbin
	${INSTALL_MAN} ${WRKSRC}/doc/man/apg.1 ${MANPREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/doc/man/apgbfm.1 ${MANPREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/doc/man/apgd.8 ${MANPREFIX}/man/man8
.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}
.endif

.include <bsd.port.mk>
@


1.15
log
@SVN rev 304748 on 2012-09-23 15:38:58Z by danfe

- Adjust "Created by" tag to include more complete submitter's information
- Mute MKDIRs, remove trailing dot from RESTRICTED, drop leading indefinite
  article from COMMENT where appropriate
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.14
log
@SVN rev 304744 on 2012-09-23 14:59:36Z by matthew

- Fix spelling in docs: normally I'd submit this change upstream, but
  upstream has been completely unresponsive for years.
- While here, rebuild patches using current naming conventions
- Trim Makefile headers

PR:		165312
Submitted by:	Anatoly Borodin
@
text
@d1 1
a1 1
# Created by:	roam@@FreeBSD.org
d12 1
a12 1
COMMENT=	An automated password generator
d42 1
a42 1
	${MKDIR} ${DOCSDIR}
@


1.13
log
@- Convert all my remaining ports to OPTIONSng
  Files	  affected:

    databases/mysql-connector-java/Makefile
    databases/phpmyadmin/Makefile
    mail/sa-utils/Makefile
    net/phpldapadmin/Makefile
    security/apg/Makefile
    textproc/sphinxsearch/Makefile
    www/p5-RT-Authen-ExternalAuth/Makefile
    www/p5-RT-Extension-LDAPImport/Makefile
    www/p5-RT-Extension-SLA/Makefile
    www/p5-RTx-Calendar/Makefile
    www/rt40/Makefile
    www/rt40/Makefile.cpan
    x11-fonts/gentium/Makefile
    x11-fonts/gentium-basic/Makefile

Approved by:	shaun (mentor)
@
text
@d1 1
a1 4
# New ports collection makefile for:	apg
# Date created:		1 September 2000
# Whom:			roam@@FreeBSD.org
#
a2 1
#
@


1.12
log
@ - Take maintainership

 - Fix LIB_DEPENDS when WITH_CRACKLIB is selected

Approved by:	   shaun (mentor)
PRs:	 	   ports/165313 [1], ports/165469 [2]
Submitted by:	   anatoly.borodin@@gmail.com [1], freebsd@@omnilan.de [2]
@
text
@d18 2
a19 1
OPTIONS=	CRACKLIB "CrackLib support for password quality" off
d23 1
a23 1
.if defined(WITH_CRACKLIB)
d45 1
a45 1
.if !defined(NOPORTDOCS)
@


1.11
log
@- Reassign to the heap

Requested by:	roam (on ports-developers@@)
@
text
@d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
d23 1
a23 1
LIB_DEPENDS=	crack.1:${PORTSDIR}/security/cracklib
@


1.10
log
@Fix a segfault when using the -y option.  While I'm here:
- remove the MD5 checksum from the distfile
- note upstream's BSD license
- OPTIONSify the support for CrackLib
- add a descriptive patch header to the existing patch-aa
- remove the packetstorm master site, it only seems to carry a much
  older version of apg
- bump PORTREVISION for the segfault fix

PR:		153382 (the segfault fix)
Submitted by:	David Boyd <David.Boyd@@insightbb.com>
@
text
@d15 1
a15 1
MAINTAINER=	roam@@FreeBSD.org
@


1.9
log
@Fix cracklib support:
- there is no lib/crack.a [1], and moreover
- apg actually links to the dynamic library, so BUILD -> LIB_DEPENDS.
Bump PORTREVISION, since the package dependencies changed.

PR:		79673 [1]
Submitted by:	Vasil Dimov <vd@@datamax.bg>
@
text
@d10 1
a10 1
PORTREVISION=	1
d12 1
a12 2
MASTER_SITES=	http://www.adel.nursat.kz/apg/download/ \
		${MASTER_SITE_PACKETSTORM}
d18 4
d27 2
@


1.8
log
@Update to 2.3.0b, enabling cracklib use and installing docfiles.

PR:		55884
Submitted by:	Roman Neuhauser <roman@@bellavista.cz>
@
text
@d10 1
d20 1
a20 1
BUILD_DEPENDS=	${LOCALBASE}/lib/crack.a:${PORTSDIR}/security/cracklib
@


1.7
log
@Add MASTER_SITE_PACKETSTORM as an additional mirror.

PR:		52109
Submitted by:	Jim Geovedi <jim@@corebsd.or.id>
Approved by:	various maintainers, timeouts
@
text
@d9 1
a9 1
PORTVERSION=	2.1.0
d16 6
a21 1
COMMENT=	"An automated password generator"
d25 17
@


1.6
log
@Remove pkg-comment files in my ports.
@
text
@d11 3
a13 1
MASTER_SITES=	http://www.adel.nursat.kz/apg/download/
@


1.5
log
@Update to apg-2.1.0.

PR:		42837
Submitted by:	Dominic Marks <dominic_marks@@btinternet.com>
@
text
@d14 1
@


1.4
log
@Update to apg-2.0.0final.

PR:		38311
Submitted by:	Dominic Marks <dominic_marks@@btinternet.com>
@
text
@d9 1
a9 1
PORTVERSION=	2.0.0
a11 2
DISTRELTAG=	final
DISTNAME=	${PORTNAME}-${PORTVERSION}${DISTRELTAG}
@


1.3
log
@Update to 1.2.13, fix a fennerism along the way ;)
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/apg/Makefile,v 1.2 2001/01/22 07:31:15 roam Exp $
d9 1
a9 1
PORTVERSION=	1.2.13
d12 2
d17 1
a17 3
USE_GMAKE=	yes

MAN1=		apg.1
@


1.2
log
@Correct my e-mail address: roam@@orbitel.bg -> roam@@FreeBSD.org.

Reminded by:	Bill Fenner's distfile survey mail
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/apg/Makefile,v 1.1 2001/01/20 00:13:14 roam Exp $
d9 1
a9 1
PORTVERSION=	1.1.61b
@


1.1
log
@apg is an automated generator for pronounceable passwords.
@
text
@d3 1
a3 1
# Whom:			roam@@orbitel.bg
d5 1
a5 1
# $FreeBSD$
d13 1
a13 1
MAINTAINER=	roam@@orbitel.bg
@

