head	1.5;
access;
symbols
	RELEASE_8_3_0:1.3
	RELEASE_9_0_0:1.1;
locks; strict;
comment	@# @;


1.5
date	2012.11.17.06.01.03;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2012.07.16.11.40.11;	author zi;	state Exp;
branches;
next	1.3;

1.3
date	2012.03.23.14.27.50;	author zi;	state Exp;
branches;
next	1.2;

1.2
date	2012.02.25.16.39.05;	author zi;	state Exp;
branches;
next	1.1;

1.1
date	2011.08.19.17.14.07;	author zi;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switch exporter over
@
text
@# New ports collection makefile for:	duo
# Date created:				17 Jul 2011
# Whom:					Ryan Steinmetz <zi@@FreeBSD.org>
#
# $FreeBSD: head/security/duo/Makefile 300945 2012-07-16 11:40:11Z zi $
#

PORTNAME=	duo
PORTVERSION=	1.9
CATEGORIES=	security
MASTER_SITES=	http://cloud.github.com/downloads/${PORTNAME}security/${PORTNAME}_unix/ \
		http://mirrors.rit.edu/zi/
DISTNAME=	${PORTNAME}_unix-${PORTVERSION}

MAINTAINER=	zi@@FreeBSD.org
COMMENT=	Duo unix integration package

LICENSE=	GPLv2

LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl

CONFIGURE_ARGS=	--with-pam=${PREFIX}/lib/security --sysconfdir=${ETCDIR} \
		--docdir=${DOCSDIR}

GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
SUB_FILES=	pkg-message

MAN3=		duo.3
MAN8=		login_duo.8 pam_duo.8

post-patch:
	@@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/login_duo/login_duo.8
	@@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/pam_duo/pam_duo.8
.if defined(NOPORTDOCS)
	@@${REINPLACE_CMD} -e 's|README AUTHORS CHANGES LICENSE||g' ${WRKSRC}/Makefile.in
.endif

post-install:
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.4
log
@SVN rev 300945 on 2012-07-16 11:40:11Z by zi

- Update to 1.9
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.3
log
@- Update mirror URL on my ports

Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	1.8
d20 1
a20 1
LIB_DEPENDS=	curl.6:${PORTSDIR}/ftp/curl
d22 2
a23 1
CONFIGURE_ARGS=	--with-pam=${PREFIX}/lib/security --sysconfdir=${ETCDIR}
d35 3
@


1.2
log
@- Update to 1.8
@
text
@d11 2
a12 1
MASTER_SITES=	http://cloud.github.com/downloads/${PORTNAME}security/${PORTNAME}_unix/
@


1.1
log
@New port: security/duo

Duo provides simple two-factor authentication as a service via:

    1.  Phone callback
    2.  SMS-delivered one-time passcodes
    3.  Duo mobile app to generate one-time passcodes
    4.  Duo mobile app for smartphone push authentication
    5.  Duo hardware token to generate one-time passcodes

This package allows an admin (or ordinary user) to quickly add Duo
authentication to any Unix login without setting up secondary user
accounts, directory synchronization, servers, or hardware.

WWW: http://duosecurity.com

Approved by:	tabthorpe (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	1.7
@

