ports/60652: java/j2sdkee13 ports has "issues"

Alfred Perlstein bright at big.endian.org
Sun Dec 28 13:10:27 UTC 2003


>Number:         60652
>Category:       ports
>Synopsis:       java/j2sdkee13 ports has "issues"
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 28 05:10:24 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alfred Perlstein
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
Red Inc.
>Environment:
System: FreeBSD big.endian.org 5.2-CURRENT FreeBSD 5.2-CURRENT #24: Fri Dec 26 23:12:24 PST 2003 root at big.endian.org:/vol/share/src/sys/i386/compile/smpng i386


>Description:

Port _always_ sets IGNORE even if the distfile is fetched manually.
Port sets PORTREVISION to a number with a leading zero ("02") this
breaks certain package utilities.

>How-To-Repeat:
	Try to install then deinstall port, running pkgdb -F also complains.
>Fix:

This patch

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/java/j2sdkee13/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	24 Sep 2003 03:28:24 -0000	1.3
+++ Makefile	28 Dec 2003 12:45:51 -0000
@@ -7,13 +7,13 @@
 
 PORTNAME=	j2sdkee
 PORTVERSION=	1.3.1
-PORTREVISION=	02
+PORTREVISION=	3
 CATEGORIES=	java
 MASTER_SITES=	# http://java.sun.com/j2ee/sdk_1.3/
 DISTNAME=	${PORTNAME}-${PORTVERSION:S/./_/g}-linux
 
 MAINTAINER=	des at freebsd.org
-COMMENT=	Java 2 SDK, Enterprise Edition
+COMMENT=	Java 2 SDK Enterprise Edition
 
 USE_JAVA=	1.3+
 
@@ -22,12 +22,12 @@
 RESTRICTED=	"Redistribution is not permitted"
 NO_CDROM=	"Redistribution is not permitted"
 
-J2SDKEEVERSION=	${PORTVERSION}_${PORTREVISION}
+J2SDKEEVERSION=${PORTVERSION}_02
 DOWNLOAD_URL=	http://java.sun.com/j2ee/sdk_1.3/
 
 .include <bsd.port.pre.mk>
 
-.if !exists(${DISTDIR}/${DISTFILES}) && !defined(PACKAGE_BUILDING)
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
 IGNORE=		You must manually fetch the Java 2 SDK Enterprise Edition\
 		${J2SDKEEVERSION} tarball from ${DOWNLOAD_URL}; download\
 		the \"Linux Install\" into ${DISTDIR} and run ${MAKE} again

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



More information about the freebsd-ports-bugs mailing list