ports/116963: www/mod_auth_cookie_mysql2 update to 0.9a
Yarema
yds at CoolRat.org
Sat Oct 6 01:00:08 UTC 2007
>Number: 116963
>Category: ports
>Synopsis: www/mod_auth_cookie_mysql2 update to 0.9a
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 06 01:00:07 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Yarema
>Release: FreeBSD 6.2-STABLE amd64
>Organization:
NYCBUG.org
>Environment:
System: FreeBSD 6.2-STABLE amd64
>Description:
Version 0.8 - 26.03.2007
bug fix: fixed small memory leak
enhancement: code cleanup
Version 0.9 - 23.03.2007
enhancement: persistent connections are possible now (only in version 2)
enhancement: code cleanup
change: name of the configuration options were slightly modified
Version 0.9a (version 2) - 02.05.2007
bugfix: Fixed tiny typo in Makefile. "make install" should work without
problems now on every machine.
PORTDOCS handling had to be removed. The rest of the changes were adapted from the
tarball's Makefile to make the new version build, install and load without breaking.
>How-To-Repeat:
cd /usr/ports/www/mod_auth_cookie_mysql2 && make install
>Fix:
diff -u -r -N mod_auth_cookie_mysql2-0.7/Makefile mod_auth_cookie_mysql2/Makefile
--- mod_auth_cookie_mysql2-0.7/Makefile 2007-03-19 03:47:15.000000000 -0400
+++ mod_auth_cookie_mysql2/Makefile 2007-10-05 19:39:25.000000000 -0400
@@ -5,7 +5,7 @@
# $FreeBSD: ports/www/mod_auth_cookie_mysql2/Makefile,v 1.8 2007/03/18 17:17:42 clement Exp $
PORTNAME= mod_auth_cookie_mysql2
-PORTVERSION= 0.7
+PORTVERSION= 0.9a
CATEGORIES= www
MASTER_SITES= http://home.digithi.de/digithi/dev/mod_auth_cookie_mysql/
DISTNAME= ${PORTNAME}_${PORTVERSION}
@@ -15,18 +15,13 @@
COMMENT= Allows authentication against a MySQL database via a secure cookie
USE_MYSQL= YES
-
USE_APACHE= 20+
AP_FAST_BUILD= YES
AP_GENPLIST= YES
-AP_INC?= ${LOCALBASE}/include/mysql
-AP_LIB?= ${LOCALBASE}/lib/mysql -lmysqlclient -lz
-PORTDOCS= mod_auth_cookie_mysql.html
+AP_EXTRAS= -DMODULE_NAME=$(SHORTMODNAME) -DMODULE_NAME_module=$(SHORTMODNAME)_module
+AP_INC= `${LOCALBASE}/bin/mysql_config --include | ${SED} -e 's/^-I//'`
+AP_LIB= `${LOCALBASE}/bin/mysql_config --libs | ${SED} -e 's/^-L//'`
+SRC_FILE= mod_auth_cookie_sql2.c mod_auth_cookie_sql2_mysql.c
-post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
-.endif
.include <bsd.port.mk>
diff -u -r -N mod_auth_cookie_mysql2-0.7/distinfo mod_auth_cookie_mysql2/distinfo
--- mod_auth_cookie_mysql2-0.7/distinfo 2007-03-19 03:47:15.000000000 -0400
+++ mod_auth_cookie_mysql2/distinfo 2007-10-05 16:10:41.000000000 -0400
@@ -1,3 +1,3 @@
-MD5 (apache20/mod_auth_cookie_mysql2_0.7.tar.gz) = cb2869d2bff22f99d48bea11004a18eb
-SHA256 (apache20/mod_auth_cookie_mysql2_0.7.tar.gz) = f5aedec0b4873bce5eaf92d8b431ecfeb894dcfc75d148e42c5450abfc2989f5
-SIZE (apache20/mod_auth_cookie_mysql2_0.7.tar.gz) = 7954
+MD5 (apache20/mod_auth_cookie_mysql2_0.9a.tar.gz) = 15c359e7157d032bbc1c1322181a59f6
+SHA256 (apache20/mod_auth_cookie_mysql2_0.9a.tar.gz) = 8a4c6f838d7e793b891096f23f9a76ffc13e3d4d2f3925676276bdc570b4840e
+SIZE (apache20/mod_auth_cookie_mysql2_0.9a.tar.gz) = 7592
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list