ports/148950: Please upgrade www/grails to 1.3.3

Jani Kaarela jani.kaarela at gmail.com
Mon Jul 26 07:10:03 UTC 2010


>Number:         148950
>Category:       ports
>Synopsis:       Please upgrade www/grails to 1.3.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 26 07:10:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Jani Kaarela
>Release:        8.0-RELEASE
>Organization:
Fifth Element Oy
>Environment:
FreeBSD moondragon 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009     root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Please upgrade port to Grails version 1.3.3, thanks.
>How-To-Repeat:

>Fix:
See the attached Makefile diff. However, it doesn't address a notable change in Grails: building from sources is now done with Gradle instead of Ant. There's a shell script called "gradlew" which needs to be patched for FreeBSD (Java home discovery needed) and preferably linked from ${PREFIX}/bin like the other scripts.

Patch attached with submission follows:

--- ../grails-1.2.2/Makefile	2010-05-19 10:02:03.000000000 +0300
+++ Makefile	2010-07-26 09:55:36.000000000 +0300
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	grails
-DISTVERSION=	1.2.2
+DISTVERSION=	1.3.3
 CATEGORIES=	www java
 MASTER_SITES=	http://dist.codehaus.org/grails/
 DISTNAME=	${PORTNAME}-${PORTVERSION}
@@ -21,8 +21,8 @@
 JAVA_VERSION=	1.5+
 NO_BUILD=	yes
 DATADIR=	${JAVASHAREDIR}/${PORTNAME}
-DATAFILES=	LICENSE README build.properties build.xml ant conf cruise \
-		dist lib media plugins samples scripts src
+DATAFILES=	LICENSE README build.gradle build.properties gradle.properties \
+		gradlew conf dist gradle lib media plugins samples scripts src
 SCRIPTFILES=	grails grails-debug startGrails
 
 .if !defined(NOPORTDOCS)


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



More information about the freebsd-ports-bugs mailing list