From andy@gerweck.dynup.net  Wed May 15 01:31:00 2002
Return-Path: <andy@gerweck.dynup.net>
Received: from gerweck.dynup.net (adsl-64-170-154-2.dsl.sntc01.pacbell.net [64.170.154.2])
	by hub.freebsd.org (Postfix) with ESMTP id 920C837B407
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 15 May 2002 01:30:59 -0700 (PDT)
Received: (from root@localhost)
	by gerweck.dynup.net (8.11.6/8.11.6) id g4F8UxB14034;
	Wed, 15 May 2002 01:30:59 -0700 (PDT)
	(envelope-from andy)
Message-Id: <200205150830.g4F8UxB14034@gerweck.dynup.net>
Date: Wed, 15 May 2002 01:30:59 -0700 (PDT)
From: Andrew Gerweck <gerweck@yahoo.com>
Reply-To: Andrew Gerweck <gerweck@yahoo.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Update port: www/mod_webapp-apache2 Explicit autoconf dependency.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         38102
>Category:       ports
>Synopsis:       Update port: www/mod_webapp-apache2 Explicit autoconf dependency.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    znerd
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 15 01:40:03 PDT 2002
>Closed-Date:    Wed Oct 09 15:12:42 PDT 2002
>Last-Modified:  Wed Oct 09 15:12:42 PDT 2002
>Originator:     Andrew Gerweck
>Release:        FreeBSD 4.5-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD gerweck.dynup.net 4.5-RELEASE-p3 FreeBSD 4.5-RELEASE-p3 #9: Tue Apr 16 17:53:43 PDT 2002 andy@enrique.eville.:/usr/obj/usr/src/sys/ENRIQUE i386


	
>Description:
The previous version--which is still uncommitted--did not properly deal
with an autoconf dependency in a support script.  The new port circumvents
the unnecessary support script and explicitly uses autoconf.

	
>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 <gerweck@yahoo.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mod_webapp
XPORTVERSION=	1.1
XPORTREVISION=	1
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
XPATCH_SITES=	http://home.pacbell.net/gerweck/mod_webapp/
XPATCHFILES=	patch-libtool.gz
X
XMAINTAINER=	gerweck@yahoo.com
X
XBUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/www/apache2:extract \
X		${AUTOCONF}:${PORTSDIR}/devel/autoconf
XRUN_DEPENDS=	${APXS}:${PORTSDIR}/www/apache2
X
X# Release information for distribution files.
XTOMCAT_RELEASE=	4.0.3
XCONNECTORS_RELEASE= 4.0.2-01
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	${CHMOD} a+x ${WRKSRC}/support/*.sh
X
Xpost-build:
X	cd ${WRKSRC}/lib && \
X		${CC} -shared -o libwebapp.so *.lo
X	cd ${WRKSRC}/apache-2.0 && \
X		${LIBTOOL} --silent --mode=link \
X			${CC} -shared -o mod_webapp.so \
X				-module -avoid-version \
X				-I../include -L../lib \
X				${GCC_RPATH} \
X				-dlopen ../lib/libwebapp.la \
X				mod_webapp.lo
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 <bsd.port.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.0.2-01-src.tar.gz) = e111b37d31f7d2a0d8bda26ae008a5d5
XMD5 (mod_webapp/patch-libtool.gz) = cb403eb455362bf5d57241a2a63c1fde
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:
Responsible-Changed-From-To: freebsd-ports->znerd 
Responsible-Changed-By: znerd 
Responsible-Changed-When: Wed Aug 14 13:39:04 PDT 2002 
Responsible-Changed-Why:  
I'll handle this. This is related to PR 41610. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=38102 
State-Changed-From-To: open->feedback 
State-Changed-By: znerd 
State-Changed-When: Fri Sep 13 14:19:31 PDT 2002 
State-Changed-Why:  
Waiting for reply from originator. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=38102 

From: Ernst de Haan <znerd@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, gerweck@yahoo.com
Cc:  
Subject: Re: ports/38102: Update port: www/mod_webapp-apache2 Explicit autoconf dependency.
Date: Fri, 13 Sep 2002 23:25:34 +0200

 Hi Andy,
 
 Could you please provide an updated Makefile. The current one is outdated (my 
 fault I know)
 
 I've changed the Makefile to use Tomcat 4.0.4 and the 4.0.4 connectors, but 
 the patches from your site now don't apply anymore...
 
 
 Ernst
State-Changed-From-To: feedback->closed 
State-Changed-By: znerd 
State-Changed-When: Wed Oct 9 15:11:52 PDT 2002 
State-Changed-Why:  
Superseded by PR 43144. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=38102 
>Unformatted:
