ports/51634: Updated mod_webapp version
Andy Gerweck
andy at gerweck.dyndns.org
Wed Apr 30 18:00:28 UTC 2003
>Number: 51634
>Category: ports
>Synopsis: Updated mod_webapp version
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 30 11:00:26 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Andy Gerweck
>Release: FreeBSD 5.0-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD gerweck.dyndns.org 5.0-RELEASE-p7 FreeBSD 5.0-RELEASE-p7 #9: Wed Apr 16 19:46:25 PDT 2003 root at gerweck.dyndns.org:/usr/obj/usr/src/sys/ENRIQUE i386
>Description:
Attached is a new version of mod_webapp to match the current distribution
and uses the new MASTER_SITE_APACHE_JAKARTA variable from bsd.sites.mk.
>How-To-Repeat:
>Fix:
--- mod_webapp.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# mod_webapp-apache2
# mod_webapp-apache2/Makefile
# mod_webapp-apache2/distinfo
# mod_webapp-apache2/pkg-descr
# mod_webapp-apache2/pkg-plist
#
echo c - mod_webapp-apache2
mkdir -p mod_webapp-apache2 > /dev/null 2>&1
echo x - mod_webapp-apache2/Makefile
sed 's/^X//' >mod_webapp-apache2/Makefile << 'END-of-mod_webapp-apache2/Makefile'
X# Ports collection makefile for: mod_webapp for Apache 2.x
X# Date created: Oct 11 2002
X# Whom: Andy Gerweck <gerweck at yahoo.com>
X#
X# $FreeBSD: ports/www/mod_webapp-apache2/Makefile,v 1.2 2003/02/21 14:01:22 knu Exp $
X#
X
XPORTNAME= mod_webapp
XPORTVERSION= 4.1.24
XCATEGORIES= www
XMASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA}
XMASTER_SITE_SUBDIR= jakarta-tomcat-4.0/release/v${TOMCAT_RELEASE}/src/
XPKGNAMESUFFIX= -apache2
XDISTNAME= jakarta-tomcat-connectors-${CONNECTORS_RELEASE}-src
XDIST_SUBDIR= ${PORTNAME}
X
XMAINTAINER= gerweck at yahoo.com
XCOMMENT= Apache module mounts Tomcat web applications
X
XBUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/www/apache2:extract \
X ${AUTOCONF}:${PORTSDIR}/devel/autoconf \
X ${LIBTOOL}:${PORTSDIR}/devel/libtool
XRUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache2
X
XUSE_GMAKE= yes
XALL_TARGET= lib-build apache-2.0-build
X
X# Release information for distribution files.
XTOMCAT_RELEASE= ${PORTVERSION}
XCONNECTORS_RELEASE= ${PORTVERSION}
X
X.include <bsd.port.pre.mk>
X
X# Apache locations.
XAPXS?= ${LOCALBASE}/sbin/apxs
XAPACHECTL?= ${LOCALBASE}/sbin/apachectl
XAPR_LIB?= ${LOCALBASE}/lib/apache2/
XAPR_INCLUDE?= ${LOCALBASE}/include/apache2/
XAPACHE_MODULES?= libexec/apache2/
XAPR_SRC?= ${PORTSDIR}/www/apache2/work/httpd-*/srclib/apr
XLIBTOOL?= ${LOCALBASE}/bin/libtool
XAUTOCONF?= ${LOCALBASE}/bin/autoconf
X
X# If the user's changed the modules directory, pack things correctly.
XPLIST_SUB= APACHE_MODULES=${APACHE_MODULES}
X
X# Build options.
XVERSION_2!= ${APACHECTL} -v | ${GREP} Apache/2 || true
X
XWRKSRC= ${WRKDIR}/${DISTNAME}/webapp
XHAS_CONFIGURE= yes
XCONFIGURE_ARGS= --with-apxs=${APXS} \
X --with-apr-lib=${APR_LIB} \
X --with-apr-include=${APR_INCLUDE} \
X --with-apr=${APR_SRC}
X
Xpre-configure:
X cd ${WRKSRC} && ${AUTOCONF}
X
Xpre-build:
X ${MKDIR} ${WRKSRC}/build
X ${MKDIR} ${WRKSRC}/build/objs
X
Xdo-install:
X ${APXS} -i -a ${WRKSRC}/apache-2.0/mod_webapp.so
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${PREFIX}/share/doc/mod_webapp
X ${INSTALL_MAN} ${WRKSRC}/INSTALL.txt ${PREFIX}/share/doc/mod_webapp
X.endif
X
X.include <bsd.port.post.mk>
END-of-mod_webapp-apache2/Makefile
echo x - mod_webapp-apache2/distinfo
sed 's/^X//' >mod_webapp-apache2/distinfo << 'END-of-mod_webapp-apache2/distinfo'
XMD5 (mod_webapp/jakarta-tomcat-connectors-4.1.24-src.tar.gz) = 0daa701e51d04570006abce1ac580aed
END-of-mod_webapp-apache2/distinfo
echo x - mod_webapp-apache2/pkg-descr
sed 's/^X//' >mod_webapp-apache2/pkg-descr << 'END-of-mod_webapp-apache2/pkg-descr'
XMod_webapp is an Apache module that allows Tomcat applications to be
Xmounted into an Apache server. Tomcat is a Java servlet and jsp engine.
XApache is the popular webserver.
X
XWWW: http://jakarta.apache.org/tomcat/
X
X- Andy Gerweck
Xgerweck at yahoo.com
END-of-mod_webapp-apache2/pkg-descr
echo x - mod_webapp-apache2/pkg-plist
sed 's/^X//' >mod_webapp-apache2/pkg-plist << 'END-of-mod_webapp-apache2/pkg-plist'
X%%APACHE_MODULES%%/mod_webapp.so
X%%PORTDOCS%%share/doc/mod_webapp/INSTALL.txt
X%%PORTDOCS%%@dirrm share/doc/mod_webapp
END-of-mod_webapp-apache2/pkg-plist
exit
--- mod_webapp.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list