1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Update to 1.2.27 [1]

- While here Use SUB_FILES for pkg-message and mod_jk.conf.sample
- PORTREVISION bump for slave port www/mod_jk-apache2

PR:             ports/130306 [1]
Submitted by:   brd
Approved by:    maintainer timeout (5 months)
This commit is contained in:
Philip M. Gollucci 2009-05-10 23:25:18 +00:00
parent b9bd44d2f3
commit fcdecc69a2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=233661
6 changed files with 21 additions and 11 deletions

View File

@ -7,6 +7,7 @@
MASTERDIR= ${.CURDIR}/../mod_jk
USE_APACHE= 2.0+
PORTREVISION= 1
PORTEPOCH= 0
LATEST_LINK= mod_jk-ap2

View File

@ -6,7 +6,7 @@
#
PORTNAME= mod_jk
PORTVERSION= 1.2.26
PORTVERSION= 1.2.27
PORTREVISION= 0
PORTEPOCH?= 1
CATEGORIES= www
@ -34,17 +34,15 @@ USE_GMAKE= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-apxs=${APXS}
PLIST_SUB= APACHEETCDIR=${APACHEETCDIR} APACHEMODDIR=${APACHEMODDIR}
SUB_FILES+= mod_jk.conf.sample pkg-message
do-install:
${APXS} -i -n jk ${WRKSRC}/apache-${APACHE_VER}/mod_jk.so
- ${APXS} -e -A -n jk ${WRKSRC}/apache-${APACHE_VER}/mod_jk.so
${SED} -e "s#%%APACHE_CONF%%#${APACHEETCDIR}#g" ${FILESDIR}/mod_jk.conf.sample \
> ${WRKDIR}/mod_jk.conf.sample
${INSTALL_DATA} ${WRKDIR}/mod_jk.conf.sample ${PREFIX}/${APACHEETCDIR}
${INSTALL_DATA} ${FILESDIR}/workers.properties.sample ${PREFIX}/${APACHEETCDIR}
${INSTALL_DATA} ${WRKDIR}/mod_jk.conf.sample ${LOCALBASE}/${APACHEETCDIR}
${INSTALL_DATA} ${FILESDIR}/workers.properties.sample ${LOCALBASE}/${APACHEETCDIR}
post-install:
${CAT} ${PKGMESSAGE} | ${SED} "s|%%APACHEETCDIR%%|${PREFIX}/${APACHEETCDIR}|g;"
${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
MD5 (tomcat-connectors-1.2.26-src.tar.gz) = feaec245136bc4d99a9dde95a00ea93c
SHA256 (tomcat-connectors-1.2.26-src.tar.gz) = 75c2ef701622394536be2e0a2e5cf38330e8bb1078d683a733769a8c49a5381a
SIZE (tomcat-connectors-1.2.26-src.tar.gz) = 1442605
MD5 (tomcat-connectors-1.2.27-src.tar.gz) = a15cc9e3813ef5b081c7de10e6a1fbed
SHA256 (tomcat-connectors-1.2.27-src.tar.gz) = 9ea66964194734a16416303ecc92a3b88b764caf17a6406254109e15d9ad3407
SIZE (tomcat-connectors-1.2.27-src.tar.gz) = 1509182

View File

@ -2,7 +2,7 @@
# specified in workers.properties.
#
<IfModule mod_jk.c>
JkWorkersFile %%APACHE_CONF%%/workers.properties
JkWorkersFile %%APACHEETCDIR%%/workers.properties
JkLogFile /var/log/jk.log
JkShmFile /var/log/jk-runtime-status
JkLogLevel error

View File

@ -0,0 +1,11 @@
--- configure.ori 2009-01-08 09:42:19.000000000 -0800
+++ configure 2009-01-08 10:06:18.000000000 -0800
@@ -3066,7 +3066,7 @@
APXSCC="`$APXS -q CC`"
APXSCFLAGS="`${APXS} -q CFLAGS` `${APXS} -q EXTRA_CFLAGS` -DHAVE_APR ${APRINCLUDEDIR}"
APXSCPPFLAGS="`${APXS} -q EXTRA_CPPFLAGS`"
- APXSLDFLAGS="`$APXS -q LDFLAGS`"
+ APXSLDFLAGS="`$APXS -q LDFLAGS|sed -e 's#/usr/local/lib#-L/usr/local/lib#' -e 's/-pthread//'`"
APACHE_CONFIG_VARS="`${APXS} -q exp_installbuilddir`/config_vars.mk"
LIBTOOL=`$APXS -q LIBTOOL`
fi