mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Update to 1.101
- Convert to USE_APACHE framework
This commit is contained in:
parent
2d2a450386
commit
d42e9253f4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=187769
@ -5,7 +5,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mod_log_sql
|
||||
PORTVERSION= 1.100
|
||||
PORTVERSION= 1.101
|
||||
CATEGORIES= www databases
|
||||
MASTER_SITES= http://www.outoforder.cc/downloads/${PORTNAME}/
|
||||
|
||||
@ -18,9 +18,11 @@ USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS+= --with-apxs=${APXS}
|
||||
SSL_PLIST= ""
|
||||
PLIST_SUB+= SSL=${SSL_PLIST}
|
||||
APACHE2X= ""
|
||||
PLIST_SUB+= SSL=${SSL_PLIST} APACHE2X=${APACHE2X}
|
||||
|
||||
USE_MYSQL= yes
|
||||
USE_APACHE= 13+
|
||||
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -L${LOCALBASE}/lib/mysql"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
@ -28,17 +30,14 @@ CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -L${LOCALBASE}/lib/mysql"
|
||||
CONFIGURE_ARGS+= --with-dbi=${LOCALBASE}
|
||||
LIB_DEPENDS+= dbi.0:${PORTSDIR}/databases/libdbi
|
||||
.endif
|
||||
.include "${PORTSDIR}/www/apache20/Makefile.modules.3rd"
|
||||
. if ${AP_VER} == 13
|
||||
. if ${APACHE_VERSION} == 13
|
||||
WITHOUT_SSL= YES
|
||||
APACHE2X= "@comment "
|
||||
. endif
|
||||
.if defined(WITHOUT_SSL)
|
||||
CONFIGURE_ARGS+= --disable-ssl
|
||||
SSL_PLIST= "@comment "
|
||||
.else
|
||||
.if !exists(${LOCALBASE}/include/apache2/mod_ssl.h)
|
||||
BROKEN= "Please recompile apache2 with SSL support"
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (mod_log_sql-1.100.tar.bz2) = b54657ad270cffc34dfab12302c53306
|
||||
SHA256 (mod_log_sql-1.100.tar.bz2) = e9a49e01ecea00292ddec0a0bc4f33f0200dd7617bea11b0de92f1fd100025fc
|
||||
SIZE (mod_log_sql-1.100.tar.bz2) = 122507
|
||||
MD5 (mod_log_sql-1.101.tar.bz2) = 16157f311eba364d8ee467078e7cc086
|
||||
SHA256 (mod_log_sql-1.101.tar.bz2) = 0907579b0466844f7f1886af92a9ea36b4815ec869929ba577c74d32b6d69a5e
|
||||
SIZE (mod_log_sql-1.101.tar.bz2) = 127500
|
||||
|
@ -2,4 +2,5 @@
|
||||
@exec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%F
|
||||
@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%F
|
||||
%%APACHEMODDIR%%/mod_log_sql_mysql.so
|
||||
%%APACHE2X%%%%APACHEMODDIR%%/mod_log_sql_logio.so
|
||||
%%SSL%%%%APACHEMODDIR%%/mod_log_sql_ssl.so
|
||||
|
Loading…
Reference in New Issue
Block a user