head	1.6;
access;
symbols
	RELEASE_8_3_0:1.2
	RELEASE_9_0_0:1.2;
locks; strict;
comment	@# @;


1.6
date	2012.11.17.06.02.40;	author svnexp;	state Exp;
branches;
next	1.5;

1.5
date	2012.10.25.15.15.52;	author kuriyama;	state Exp;
branches;
next	1.4;

1.4
date	2012.09.22.21.15.50;	author ohauer;	state Exp;
branches;
next	1.3;

1.3
date	2012.08.18.14.29.08;	author ohauer;	state Exp;
branches;
next	1.2;

1.2
date	2011.08.20.17.27.40;	author ohauer;	state Exp;
branches;
next	1.1;

1.1
date	2011.02.26.15.11.28;	author kuriyama;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Switch exporter over
@
text
@# Created by: Jun Kuriyama <kuriyama@@FreeBSD.org>
# $FreeBSD: head/www/mod_auth_tkt/Makefile 306385 2012-10-25 15:15:52Z kuriyama $

PORTNAME=	mod_auth_tkt
PORTVERSION=	2.1.0
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_LOCAL} \
		http://www.openfusion.com.au/labs/dist/mod_auth_tkt/
MASTER_SITE_SUBDIR=	kuriyama

MAINTAINER=	kuriyama@@FreeBSD.org
COMMENT=	Lightweight single-sign-on authentication module for apache

USE_APACHE=	22
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
PATCH_WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
PATCH_STRIP=	-p1
AP_FAST_BUILD=	yes
SRC_FILE=	${PORTNAME}.c sha2.c
AP_EXTRAS=	-DAPACHE22

MAN3=	mod_auth_tkt.3

OPTIONS_DEFINE=	QUERY_SEP
QUERY_SEP_DESC=	Experimental TKTAuthQuerySeparator directive
OPTIONS_DEFAULT=QUERY_SEP

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MQUERY_SEP}
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-query-separator
.endif

post-patch:
	${REINPLACE_CMD} -e 's|.usr/share/man|${PREFIX}/man|' ${WRKSRC}/../Makedefs

post-build:
	cd ${WRKSRC}/../doc; ${MAKE} all

post-install:
	cd ${WRKSRC}/../doc; ${MAKE} ${.TARGET:S/post-//}
.if !defined(NOPORTEXAMPLES)
	${MKDIR} ${EXAMPLESDIR}/cgi/Apache ${EXAMPLESDIR}/conf
.for i in cgi/AuthTktConfig.pm cgi/Apache/AuthTkt.pm cgi/tkt.css \
	conf/02_auth_tkt.conf conf/auth_tkt_cgi.conf
	${INSTALL_DATA} ${WRKSRC}/../${i} ${EXAMPLESDIR}/${i}
.endfor
.for i in logout.cgi login.cgi
	${INSTALL_SCRIPT} ${WRKSRC}/../cgi/${i} ${EXAMPLESDIR}/cgi/${i}
.endfor
.endif
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/../README ${DOCSDIR}/
.endif

.include <bsd.port.mk>
@


1.5
log
@SVN rev 306385 on 2012-10-25 15:15:52Z by kuriyama

- Add option to use TKTAuthQuerySeparator directive.

Obtained from:	https://github.com/gavincarr/mod_auth_tkt
Feature safe: yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.4
log
@SVN rev 304723 on 2012-09-22 21:15:50Z by ohauer

- USE_APACHE= s/22+/22/
- adopt new Makefile header

Port build fails on local exp-run with apache24 with
 error: 'conn_rec' has no member named 'remote_ip'

or various other apache22 specific functions/parameters

with hat apache@@
@
text
@d6 1
d17 2
d25 10
@


1.3
log
@SVN rev 302724 on 2012-08-18 14:29:08Z by ohauer

- remove www/apache20 and devel/apr0
- s/USE_APACHE= 20+/USE_APACHE= 22+/
- unify s/YES/yes/
- cleanup APACHE_VERSION <= 22 usage
- add entry to MOVED

with hat apache@@
@
text
@d1 1
a1 4
# New ports collection makefile for:	mod_auth_tkt
# Date created:		2 Feb 2011
# Whom:			Jun Kuriyama <kuriyama@@FreeBSD.org>
#
a2 1
#
d14 1
a14 1
USE_APACHE=	22+
@


1.2
log
@ - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined
@
text
@d20 1
a20 1
AP_FAST_BUILD=	YES
@


1.1
log
@mod_auth_tkt is a lightweight single-sign-on authentication module for
apache, supporting versions 1.3.x, 2.0.x, and 2.2.x.  It uses secure
cookie-based tickets to implement a single-signon framework that works
across multiple apache instances and servers.

WWW: http://www.openfusion.com.au/labs/mod_auth_tkt/
@
text
@d18 1
a18 1
USE_APACHE=	2.2+
@

