aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2011-02-26 15:11:28 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2011-02-26 15:11:28 +0000
commit0d06f0c26448a35cf911ae5c9c0ee270a4329846 (patch)
tree71dc463ea46165c62ec75233e59571455e3d2e05
parent1fd64d2aa98497a2abb640973a340d525659a383 (diff)
downloadports-0d06f0c26448a35cf911ae5c9c0ee270a4329846.tar.gz
ports-0d06f0c26448a35cf911ae5c9c0ee270a4329846.zip
Notes
-rw-r--r--www/Makefile1
-rw-r--r--www/mod_auth_tkt/Makefile49
-rw-r--r--www/mod_auth_tkt/distinfo2
-rw-r--r--www/mod_auth_tkt/pkg-descr6
-rw-r--r--www/mod_auth_tkt/pkg-plist14
5 files changed, 72 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index b51b322612bf..a4fd23847156 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -458,6 +458,7 @@
SUBDIR += mod_auth_pgsql2
SUBDIR += mod_auth_pubtkt
SUBDIR += mod_auth_remote
+ SUBDIR += mod_auth_tkt
SUBDIR += mod_auth_useragent
SUBDIR += mod_auth_xradius
SUBDIR += mod_authenticache
diff --git a/www/mod_auth_tkt/Makefile b/www/mod_auth_tkt/Makefile
new file mode 100644
index 000000000000..deda3d20810e
--- /dev/null
+++ b/www/mod_auth_tkt/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: mod_auth_tkt
+# Date created: 2 Feb 2011
+# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mod_auth_tkt
+PORTVERSION= 2.1.0
+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= 2.2+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
+AP_FAST_BUILD= YES
+SRC_FILE= ${PORTNAME}.c sha2.c
+AP_EXTRAS= -DAPACHE22
+
+MAN3= mod_auth_tkt.3
+
+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>
diff --git a/www/mod_auth_tkt/distinfo b/www/mod_auth_tkt/distinfo
new file mode 100644
index 000000000000..a14cef954794
--- /dev/null
+++ b/www/mod_auth_tkt/distinfo
@@ -0,0 +1,2 @@
+SHA256 (mod_auth_tkt-2.1.0.tar.gz) = ba456531656be5682f0a6a632a6eccb98c2459753c59b80b843e1d19cc7f8724
+SIZE (mod_auth_tkt-2.1.0.tar.gz) = 100731
diff --git a/www/mod_auth_tkt/pkg-descr b/www/mod_auth_tkt/pkg-descr
new file mode 100644
index 000000000000..ac027b11eec2
--- /dev/null
+++ b/www/mod_auth_tkt/pkg-descr
@@ -0,0 +1,6 @@
+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/
diff --git a/www/mod_auth_tkt/pkg-plist b/www/mod_auth_tkt/pkg-plist
new file mode 100644
index 000000000000..f20e570484fc
--- /dev/null
+++ b/www/mod_auth_tkt/pkg-plist
@@ -0,0 +1,14 @@
+libexec/apache22/mod_auth_tkt.so
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cgi/Apache/AuthTkt.pm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cgi/AuthTktConfig.pm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cgi/login.cgi
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cgi/logout.cgi
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cgi/tkt.css
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/conf/02_auth_tkt.conf
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/conf/auth_tkt_cgi.conf
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/conf
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/cgi/Apache
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/cgi
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%