From owner-freebsd-ports Tue Aug 13 3:30:16 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 8A4DA37B400 for ; Tue, 13 Aug 2002 03:30:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEDDB43E4A for ; Tue, 13 Aug 2002 03:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7DAU1JU053579 for ; Tue, 13 Aug 2002 03:30:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7DAU1RB053578; Tue, 13 Aug 2002 03:30:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D716237B400 for ; Tue, 13 Aug 2002 03:26:15 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2761243E72 for ; Tue, 13 Aug 2002 03:26:15 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.5/8.12.5) with ESMTP id g7DAQ80o046428 for ; Tue, 13 Aug 2002 22:26:08 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.5/8.12.5/Submit) id g7DAQ8Ee046427; Tue, 13 Aug 2002 22:26:08 +1200 (NZST) Message-Id: <200208131026.g7DAQ8Ee046427@grimoire.chen.org.nz> Date: Tue, 13 Aug 2002 22:26:08 +1200 (NZST) From: Jonathan Chen Reply-To: Jonathan Chen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/41610: New Port: mod_webapp 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: 41610 >Category: ports >Synopsis: New Port: mod_webapp >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Aug 13 03:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Jonathan Chen >Release: FreeBSD 4.6-STABLE i386 >Organization: chen.org.nz >Environment: System: FreeBSD grimoire.chen.org.nz 4.6-STABLE FreeBSD 4.6-STABLE #1: Wed Aug 7 08:08:11 NZST 2002 root@grimoire.chen.org.nz:/usr/obj/usr/src/sys/GRIMOIRE i386 >Description: New port: mod_webapp. >How-To-Repeat: >Fix: Shell archive included. There are a couple of things that could be done better in this port: 1. The way this port uses autoconf is not-quite-correct. 2. To install for Apache2 requires a "make -DWITH_APACHE2 install" # 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 # mod_webapp/Makefile # mod_webapp/distinfo # mod_webapp/pkg-comment # mod_webapp/pkg-descr # mod_webapp/pkg-plist # echo c - mod_webapp mkdir -p mod_webapp > /dev/null 2>&1 echo x - mod_webapp/Makefile sed 's/^X//' >mod_webapp/Makefile << 'END-of-mod_webapp/Makefile' X# New ports collection makefile for: mod_webapp X# Date created: Tue Aug 13 21:38:57 NZST 2002 X# Whom: Jonathan Chen X# X# $FreeBSD$ X# X XPORTNAME= mod_webapp XPORTVERSION= 4.0.4 XCATEGORIES= www XMASTER_SITES= http://jakarta.apache.org/builds/jakarta-tomcat-${PORTVERSION:R}/release/v${PORTVERSION}/src/ XDISTNAME= jakarta-tomcat-connectors-${PORTVERSION}-src X XMAINTAINER= jonc@chen.org.nz X XBUILD_DEPENDS+= autoconf:${PORTSDIR}/devel/autoconf X.if defined(WITH_APACHE2) XBUILD_DEPENDS+= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2 XRUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2 X.else XBUILD_DEPENDS+= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 XRUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 X.endif X XUSE_AUTOCONF_VER= XAUTOCONF= autoconf XUSE_GMAKE= yes X XCONFIGURE_WRKSRC= ${WRKSRC}/webapp XBUILD_WRKSRC= ${CONFIGURE_WRKSRC} X X.if defined(WITH_APACHE2) XCONFIGURE_ARGS= --with-apxs2=${PREFIX}/sbin/apxs XMOD_DIR= libexec/apache2 XWEBAPP_BUILD= apache-2.0 X.else XCONFIGURE_ARGS= --with-apxs=${PREFIX}/sbin/apxs XMOD_DIR= libexec/apache XWEBAPP_BUILD= apache-1.3 X.endif X XPLIST_SUB= MOD_DIR=${MOD_DIR} XALL_TARGET= lib-build ${WEBAPP_BUILD}-build X Xpre-build: X ${MKDIR} ${BUILD_WRKSRC}/build/objs X Xdo-install: X ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${WEBAPP_BUILD}/${PORTNAME}.so ${PREFIX}/${MOD_DIR} X X.include END-of-mod_webapp/Makefile echo x - mod_webapp/distinfo sed 's/^X//' >mod_webapp/distinfo << 'END-of-mod_webapp/distinfo' XMD5 (jakarta-tomcat-connectors-4.0.4-src.tar.gz) = 05aa51eb1660ab6f45d347cba4da31c2 END-of-mod_webapp/distinfo echo x - mod_webapp/pkg-comment sed 's/^X//' >mod_webapp/pkg-comment << 'END-of-mod_webapp/pkg-comment' XTomcat Connector for Apache END-of-mod_webapp/pkg-comment echo x - mod_webapp/pkg-descr sed 's/^X//' >mod_webapp/pkg-descr << 'END-of-mod_webapp/pkg-descr' Xmod_webapp is the successor to mod_jserv; a module that connects the XHTTP stack of the front end Apache web-server(s) with one or more instances Xof the Tomcat servlet container in the back end. END-of-mod_webapp/pkg-descr echo x - mod_webapp/pkg-plist sed 's/^X//' >mod_webapp/pkg-plist << 'END-of-mod_webapp/pkg-plist' X%%MOD_DIR%%/mod_webapp.so END-of-mod_webapp/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message