ports/132632: databases/sqldeveloper version update from 1.5.3 to 1.5.4

José García Juanino jjuanino at gmail.com
Sat Mar 14 20:30:02 UTC 2009


>Number:         132632
>Category:       ports
>Synopsis:       databases/sqldeveloper version update from 1.5.3 to 1.5.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 14 20:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     José García Juanino
>Release:        7.1-RELEASE-p1
>Organization:
>Environment:
>Description:
Dear FreeBSD committer:

I send a patch to update sqldeveloper port from 1.5.3.57.83 to 1.5.4.59.40 version:

# cd /usr/ports/databases/sqldeveloper
# patch -p1 < pathToPatch.diff
# rm *.orig

Release notes:

www.oracle.com/technology/products/database/sql_developer/files/relnotes_v154.html

Best regards
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -uNr sqldeveloper.orig/Makefile sqldeveloper/Makefile
--- sqldeveloper.orig/Makefile	2009-03-14 16:42:29.000000000 +0100
+++ sqldeveloper/Makefile	2009-03-14 21:14:48.000000000 +0100
@@ -6,12 +6,11 @@
 #
 
 PORTNAME=	sqldeveloper
-PORTVERSION=	1.5.3.57.83
-PORTREVISION=	1
+PORTVERSION=	1.5.4.59.40
 DISTVERSIONSUFFIX=-no-jre
 CATEGORIES=	databases java
 MASTER_SITES=	#http://www.oracle.com/technology/software/products/sql/index.html
-DISTNAME=	${PORTNAME}-5783${DISTVERSIONSUFFIX}
+DISTNAME= ${PORTNAME}-${PORTVERSION}${DISTVERSIONSUFFIX}
 DIST_SUBDIR=	oracle
 
 MAINTAINER=	jjuanino at gmail.com
@@ -57,7 +56,7 @@
 			  -e 's|%JAVA_HOME%|${JAVA_HOME}|' \
 	    ${WRKSRC}/sqldeveloper.sh \
 	    ${WRKSRC}/sqlcli
-	@${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \
+	@${REINPLACE_CMD} -e 's|^#!/bin/bash$$|#!${LOCALBASE}/bin/bash|' \
 	    ${WRKSRC}/sqldeveloper.sh \
 	    ${WRKSRC}/sqlcli \
 	    ${WRKSRC}/ide/bin/launcher.sh \
@@ -88,6 +87,11 @@
 	@${INSTALL_DATA} ${WRKSRC}/icon.png ${DATADIR}/icon.png
 	@${ECHO_MSG} " [ DONE ]"
 
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	@cd ${WRKSRC} && ${INSTALL_MAN} relnotes.html raptor_image.jpg otn_new.css ${DOCSDIR}
+.endif
+
 post-install:
 	@${CAT} ${PKGMESSAGE}
 
diff -uNr sqldeveloper.orig/distinfo sqldeveloper/distinfo
--- sqldeveloper.orig/distinfo	2009-03-14 16:42:29.000000000 +0100
+++ sqldeveloper/distinfo	2009-03-14 16:53:37.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (oracle/sqldeveloper-5783-no-jre.zip) = ad53546208a173f02760b94fa23da7d9
-SHA256 (oracle/sqldeveloper-5783-no-jre.zip) = 8f171b277bc7b3817026a3848508db79da1571d893c06a89bc5fd97b0923695b
-SIZE (oracle/sqldeveloper-5783-no-jre.zip) = 71769626
+MD5 (oracle/sqldeveloper-1.5.4.59.40-no-jre.zip) = fe961b8dba1af61feab3bf926d0db203
+SHA256 (oracle/sqldeveloper-1.5.4.59.40-no-jre.zip) = 3849ea6560bc31a17f6c457ffdefde018041e8acb601426a027efd5fea62debc
+SIZE (oracle/sqldeveloper-1.5.4.59.40-no-jre.zip) = 76430283
diff -uNr sqldeveloper.orig/files/pkg-message.in sqldeveloper/files/pkg-message.in
--- sqldeveloper.orig/files/pkg-message.in	2009-03-14 16:42:29.000000000 +0100
+++ sqldeveloper/files/pkg-message.in	2009-03-14 16:46:02.000000000 +0100
@@ -20,7 +20,7 @@
     If you have enabled mysql support, it is needed to point out to SQL
     Developer where the MySQL JDBC classes are. Go to Tools -> Preferences
     menu, select Database -> Third Party JDBC Drivers and add the proper jar.
-    Do not install 5.1 version of mysql jdbc connector; see note 7 of
-    http://www.oracle.com/technology/products/database/sql_developer/files/relnotes_v151.html#sec1
+    Do not install 5.1 version of mysql jdbc connector; see
+    http://download.oracle.com/docs/cd/E12151_01/doc.150/e12153/install.htm#CIHIHDIF
 
 ************************************************************************
diff -uNr sqldeveloper.orig/pkg-plist sqldeveloper/pkg-plist
--- sqldeveloper.orig/pkg-plist	2009-03-14 16:42:29.000000000 +0100
+++ sqldeveloper/pkg-plist	2009-03-14 17:10:13.000000000 +0100
@@ -193,6 +193,9 @@
 %%DATADIR%%/sqldeveloper/searchengines/searchoraclecom.png
 %%DATADIR%%/sqldeveloper/searchengines/searchoraclecom.src
 %%DATADIR%%/timingframework/TimingFramework.jar
+%%PORTDOCS%%%%DOCSDIR%%/relnotes.html
+%%PORTDOCS%%%%DOCSDIR%%/raptor_image.jpg
+%%PORTDOCS%%%%DOCSDIR%%/otn_new.css
 @dirrm %%DATADIR%%/timingframework
 @dirrm %%DATADIR%%/sqldeveloper/searchengines
 @dirrm %%DATADIR%%/sqldeveloper/lib
@@ -234,3 +237,4 @@
 @dirrm %%DATADIR%%/BC4J/lib
 @dirrm %%DATADIR%%/BC4J
 @dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%


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



More information about the freebsd-ports-bugs mailing list