Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2004 16:30:24 +0800
From:      "Liu Kang" <liukang@bjpu.edu.cn>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/63209: [maintainer]Set LATEST_LINK for jakarta-tomcat5 to avoid conflicts with other tomcats
Message-ID:  <277438624.14023@bjpu.edu.cn>
Resent-Message-ID: <200402220840.i1M8eFsL091232@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         63209
>Category:       ports
>Synopsis:       [maintainer]Set LATEST_LINK for jakarta-tomcat5 to avoid conflicts with
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 22 00:40:15 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kang Liu
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Beijing University of Technology
>Environment:
System:	FreeBSD	ftp.bjpu.edu.cn	4.9-STABLE FreeBSD 4.9-STABLE #64: Fri Dec 5
00:28:47 CST 2003 delphij@ftp.bjpu.edu.cn:/usr/obj/usr/src/sys/FTP	i386

>Description:
1. jakarta-tomcat3,4,41,5 has the same PORTNAME and didn't set LATEST_LINK in
their Makefile.It may cause tomcat5 to conflict with other tomcat(s).
2. Replace spaces by tab
>How-To-Repeat:
n/a
>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/jakarta-tomcat5/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	19 Feb 2004 22:14:10 -0000	1.11
+++ Makefile	22 Feb 2004 08:20:39 -0000
@@ -48,7 +48,8 @@
 		${WRKSRC}/conf/server.xml
 JAR_FILE=	bin/bootstrap.jar
 WRKDIR?=	${WRKDIRPREFIX}${.CURDIR}/work
-PLIST_SUB+=     T=${APP_HOME:S/^${PREFIX}\///} WWWOWN=${USER} WWWGRP=${GROUP}
+PLIST_SUB+=	T=${APP_HOME:S/^${PREFIX}\///} WWWOWN=${USER} WWWGRP=${GROUP}
+LATEST_LINK=	${APP_SHORTNAME}
 .include <bsd.port.pre.mk>
 
 pre-patch:



>Release-Note:
>Audit-Trail:
>Unformatted:
 other tomcats



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?277438624.14023>