1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/www/mod_auth_mysql/files/patch-aa
Neil Blakey-Milner 8936ab790f Add mod_auth_mysql, allowing apache to authenticate against a mysql
database.

PR:		ports/18730
Submitted by:	James Housley <jim@thehousleys.net>
2000-08-03 11:19:05 +00:00

56 lines
1.9 KiB
Plaintext

--- configure.in.orig Sat Oct 3 06:54:17 1998
+++ configure.in Fri May 19 23:58:48 2000
@@ -48,6 +48,7 @@
APXS_ON=1
APXS="$withval"
APXS_LDFLAGS="@MYSQL_LFLAGS@ @MYSQL_LIBS@"
+ APXS_INCLUDE="@MYSQL_INCLUDE@"
APACHE_INCLUDE="-I`$APXS -q INCLUDEDIR`"
INSTALL_IT="\$(APXS) -i -a -n auth_mysql libauth_mysql.so"
CFLAGS_SHLIB=`perl -V:cccdlflags | cut -d\' -f2`
@@ -56,6 +57,7 @@
STRONGHOLD=
AC_SUBST(APXS)
AC_SUBST(APXS_LDFLAGS)
+ AC_SUBST(APXS_INCLUDE)
AC_SUBST(INSTALL_IT)
AC_DEFINE(HAVE_AP_COMPAT_H)
AC_MSG_RESULT(yes)
@@ -237,7 +239,11 @@
AC_SUBST(LDFLAGS_SHLIB)
AC_SUBST(LDFLAGS_SHLIB_EXPORT)
-if test "$APACHE_VERSION" = "1.2"; then
+if test $APXS_ON -eq 1 ; then
+cat > .install_notes <<EOF
++------------------------------------------------------------------+
+EOF
+elif test "$APACHE_VERSION" = "1.2"; then
cat > .install_notes <<EOF
+------------------------------------------------------------------+
@@ -268,10 +274,9 @@
fi
cat >> .install_notes <<EOF
-| If you are upgrading from an earlier version of mod_auth_mysql, |
-| you would have to update your .htaccess files to reflect the |
-| changes in the directive names. You can do that automatically |
-| by running the bundled update_htaccess_files.sh script. |
+| If you are upgrading from a version of mod_auth_mysql < 2.20, |
+| you will need to update your .htaccess files to reflect the |
+| changes in the directive names. |
+------------------------------------------------------------------+
| Please register this module at |
| http://bourbon.netvision.net.il/mod_auth_mysql/ |
@@ -285,9 +290,6 @@
AC_SUBST(INSTALL_NOTES)
AC_OUTPUT(Makefile libauth_mysql.module, [], [])
-
-echo ""
-echo "Please run 'make'"
# Local Variables:
# tab-width: 4