From owner-freebsd-ports Fri Sep 20 15:30: 8 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3790637B401 for ; Fri, 20 Sep 2002 15:30:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD54243E86 for ; Fri, 20 Sep 2002 15:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8KMU2Co018399 for ; Fri, 20 Sep 2002 15:30:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8KMU26u018398; Fri, 20 Sep 2002 15:30:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42BC737B401 for ; Fri, 20 Sep 2002 15:27:45 -0700 (PDT) Received: from gerweck.dyndns.org (adsl-64-170-153-127.dsl.sntc01.pacbell.net [64.170.153.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88F0C43E6E for ; Fri, 20 Sep 2002 15:27:44 -0700 (PDT) (envelope-from andy@gerweck.dyndns.org) Received: from gerweck.dyndns.org (7c947693e9c911f47d4ea80ad8a22afb@localhost.eville [127.0.0.1]) by gerweck.dyndns.org (8.12.3/8.12.3) with ESMTP id g8KMRfZv025282 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 20 Sep 2002 15:27:42 -0700 (PDT) (envelope-from andy@gerweck.dyndns.org) Received: (from andy@localhost) by gerweck.dyndns.org (8.12.3/8.12.3/Submit) id g8KMRe6L025281; Fri, 20 Sep 2002 15:27:40 -0700 (PDT) (envelope-from andy) Message-Id: <200209202227.g8KMRe6L025281@gerweck.dyndns.org> Date: Fri, 20 Sep 2002 15:27:40 -0700 (PDT) From: Andrew Gerweck Reply-To: Andrew Gerweck To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/43144: Mod_webapp updates to work with new Apache, Tomcat Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 43144 >Category: ports >Synopsis: Mod_webapp updates to work with new Apache, Tomcat >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Sep 20 15:30:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Andrew Gerweck >Release: FreeBSD 4.6.2-RELEASE i386 >Organization: >Environment: System: FreeBSD gerweck.dyndns.org 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #14: Sun Aug 25 15:25:19 PDT 2002 andy@gerweck.dyndns.org:/usr/obj/usr/src/sys/ENRIQUE i386 >Description: The newer releases of Tomcat require a significantly different build. This takes care of all of it and is much cleaner than before. >How-To-Repeat: >Fix: --- mod_webapp-apache2.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-comment # mod_webapp-apache2/pkg-plist # mod_webapp-apache2/pkg-descr # 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 (apache2) X# Date created: 1 May 2002 X# Whom: Andy Gerweck X# X# $FreeBSD$ X# X XPORTNAME= mod_webapp XPORTVERSION= 1.2 XCATEGORIES= www XMASTER_SITES= http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v${TOMCAT_RELEASE}/src/ XPKGNAMESUFFIX= -apache2 XDISTNAME= jakarta-tomcat-connectors-${CONNECTORS_RELEASE}-src XDIST_SUBDIR= mod_webapp X XMAINTAINER= gerweck@yahoo.com 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= 4.1.10 XCONNECTORS_RELEASE= 4.1.10 X X# Apache locations. XAPXS?= ${LOCALBASE}/sbin/apxs 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. 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#GCC_RPATH= -rpath ${LOCALBASE}/${APACHE_MODULES} X Xpre-configure: X cd ${WRKSRC} && ${AUTOCONF} X Xpre-build: X ${MKDIR} ${WRKSRC}/build X ${MKDIR} ${WRKSRC}/build/objs X Xdo-install: X# TBD: an apxs thing might be nice here. X ${INSTALL_PROGRAM} ${WRKSRC}/apache-2.0/mod_webapp.so \ X ${PREFIX}/${APACHE_MODULES} 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 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.10-src.tar.gz) = a5e55fb78d9a55df703b4f79024f6ee0 END-of-mod_webapp-apache2/distinfo echo x - mod_webapp-apache2/pkg-comment sed 's/^X//' >mod_webapp-apache2/pkg-comment << 'END-of-mod_webapp-apache2/pkg-comment' XApache module mounts Tomcat web applications END-of-mod_webapp-apache2/pkg-comment 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 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@yahoo.com END-of-mod_webapp-apache2/pkg-descr exit --- mod_webapp-apache2.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message