aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2008-02-16 16:54:06 +0800
committerbeech <beech@FreeBSD.org>2008-02-16 16:54:06 +0800
commit2b10de71d83de79ee85659ac6f62c028972d4414 (patch)
treec408e5733479a1a88bd843fe923139d44899d44e /www
parent74a41f63db96af7a016330ec803448912ee42ca3 (diff)
downloadfreebsd-ports-gnome-2b10de71d83de79ee85659ac6f62c028972d4414.tar.gz
freebsd-ports-gnome-2b10de71d83de79ee85659ac6f62c028972d4414.tar.zst
freebsd-ports-gnome-2b10de71d83de79ee85659ac6f62c028972d4414.zip
mod_auth_form is a form based authentication module for apache2. It is
used to place access restrictions on a per-directory, per-user-request basis using session management. The module uses a MySQL database to retrieve users' group membership, maintain and validate users' sessions and optionally track user activity. PR: ports/120514 Submitted by: Tommy Scheunemann <net at arrishq.net>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/mod_auth_form/Makefile37
-rw-r--r--www/mod_auth_form/distinfo3
-rw-r--r--www/mod_auth_form/files/patch-configure33
-rw-r--r--www/mod_auth_form/pkg-descr7
-rw-r--r--www/mod_auth_form/pkg-plist7
6 files changed, 88 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 329e2c05b770..efa8110d7e1a 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -336,6 +336,7 @@
SUBDIR += mod_auth_cookie_mysql2
SUBDIR += mod_auth_external
SUBDIR += mod_auth_external2
+ SUBDIR += mod_auth_form
SUBDIR += mod_auth_imap
SUBDIR += mod_auth_imap2
SUBDIR += mod_auth_kerb
diff --git a/www/mod_auth_form/Makefile b/www/mod_auth_form/Makefile
new file mode 100644
index 000000000000..1d593087236e
--- /dev/null
+++ b/www/mod_auth_form/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: mod_auth_form
+# Date created: Feb 10 2008
+# Whom: Tommy Scheunemann <net@arrishq.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mod_auth_form
+PORTVERSION= 2.05
+CATEGORIES= www
+MASTER_SITES= http://comp.uark.edu/~ajarthu/mod_auth_form/download.php?download=v2_05/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER= net@arrishq.net
+COMMENT= MySQL based form authentication module for Apache 2.x
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+USE_MYSQL= YES
+USE_APACHE= 2.0+
+
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= MYSQL_PREFIX="${LOCALBASE}" APACHE2_PREFIX="${LOCALBASE}" \
+ APACHE2_INCLUDE="${LOCALBASE}/include/apache${APACHE_VERSION}" \
+ APR1_INCLUDE="${LOCALBASE}/include/apache2"
+
+PORTDOCS= AUTHORS NEWS README
+
+post-install:
+ ${ECHO} ${APACHE_VERSION}
+.if !defined(NOPORTDOCS)
+ @${INSTALL} -d ${DOCSDIR}
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/www/mod_auth_form/distinfo b/www/mod_auth_form/distinfo
new file mode 100644
index 000000000000..aa0a18e51c1b
--- /dev/null
+++ b/www/mod_auth_form/distinfo
@@ -0,0 +1,3 @@
+MD5 (mod_auth_form-2.05-src.tar.gz) = 8deb88ebef94d826fe0bfe4beaf88c89
+SHA256 (mod_auth_form-2.05-src.tar.gz) = d0fdd24b6ecf3c2ba045876878ba51ffadaa96dca9e36ee1a6fd4918b6814d52
+SIZE (mod_auth_form-2.05-src.tar.gz) = 335813
diff --git a/www/mod_auth_form/files/patch-configure b/www/mod_auth_form/files/patch-configure
new file mode 100644
index 000000000000..f2ce1e80ba3c
--- /dev/null
+++ b/www/mod_auth_form/files/patch-configure
@@ -0,0 +1,33 @@
+--- configure 2007-01-09 03:05:02.000000000 +0100
++++ configure_new 2008-02-11 00:26:25.000000000 +0100
+@@ -20078,8 +20078,8 @@
+
+
+
+-# Extract the first word of "apxs2", so it can be a program name with args.
+-set dummy apxs2; ac_word=$2
++# Extract the first word of "apxs", so it can be a program name with args.
++set dummy apxs; ac_word=$2
+ { echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+ if test "${ac_cv_path_APXS+set}" = set; then
+@@ -20120,14 +20120,14 @@
+
+
+ if test "$APXS" = "no"; then
+- if test -e $APACHE2_PREFIX/bin/apxs2; then
+- APXS=$APACHE2_PREFIX/bin/apxs2
+- { echo "$as_me:$LINENO: result: Apache2 'apxs2' found." >&5
++ if test -e $APACHE2_PREFIX/bin/apxs; then
++ APXS=$APACHE2_PREFIX/bin/apxs
++ { echo "$as_me:$LINENO: result: Apache2 'apxs' found." >&5
+ echo "${ECHO_T}Apache2 'apxs2' found." >&6; }
+ else
+- { echo "$as_me:$LINENO: result: Apache2 'apxs2' cannot be found. Checking for
++ { echo "$as_me:$LINENO: result: Apache2 'apxs' cannot be found. Checking for
+ Apache2 'apxs'." >&5
+-echo "${ECHO_T}Apache2 'apxs2' cannot be found. Checking for
++echo "${ECHO_T}Apache2 'apxs' cannot be found. Checking for
+ Apache2 'apxs'." >&6; }
+ fi
+ fi
diff --git a/www/mod_auth_form/pkg-descr b/www/mod_auth_form/pkg-descr
new file mode 100644
index 000000000000..175ff9f6d0e9
--- /dev/null
+++ b/www/mod_auth_form/pkg-descr
@@ -0,0 +1,7 @@
+mod_auth_form is a form based authentication module for apache2. It is
+used to place access restrictions on a per-directory, per-user-request basis
+using session management. The module uses a MySQL database to retrieve users'
+group membership, maintain and validate users' sessions and optionally track
+user activity.
+
+WWW: http://comp.uark.edu/~ajarthu/mod_auth_form/
diff --git a/www/mod_auth_form/pkg-plist b/www/mod_auth_form/pkg-plist
new file mode 100644
index 000000000000..38e67dfbdc6d
--- /dev/null
+++ b/www/mod_auth_form/pkg-plist
@@ -0,0 +1,7 @@
+lib/mod_auth_form.a
+lib/mod_auth_form.la
+lib/mod_auth_form.so
+lib/mod_auth_form.so.2
+%%APACHEMODDIR%%/mod_auth_form.so
+@exec %D/sbin/apxs -e -A -n auth_form %D/%F
+@unexec %D/sbin/apxs -e -A -n auth_form %D/%F