summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorabs <abs>2017-06-12 12:07:39 +0000
committerabs <abs>2017-06-12 12:07:39 +0000
commitd294ae5c2e316ebfe6820637b93db47a0b8a4923 (patch)
tree959aa60fc64e6e6585c5e53cab7bd0073f8fd14c /databases
parent9483c65d647df40f9e66791d062bdbe008ee5829 (diff)
downloadpkgsrc-d294ae5c2e316ebfe6820637b93db47a0b8a4923.tar.gz
Updated databases/sql-workbench to 122
Also some minor pkglint Build 122 (2017-02-04) Enhancements Conditional execution of Workbench commands now support -isDBMS and -isNotDBMS Added basic support for EXAsol Added support for SSH tunneling per connection profile When loading a SQL script it's now possible to automatically detect the encoding It's now possible to filter the output of WbVarList It's now possible to pin a result tab so that it doesn't get closed even if append mode is not enabled WbExport, WbImport, WbCopy and WbConfirm now support conditional execution WbTriggerSource now also supports writing the source to a file For Postgres, dependencies between triggers and tables are no shown in the DbExplorer and DbTree For Postgres, functions defined as "returns setof refcursor" are now processed correctly when using "select * from function()" For Postgres, it's now possible to import values into array columns if the source data is formatted as a Postgres array literal (WbImport and WbCopy) A new annotation (@WbCrossTab) is available to create simple crosstabs (aka "pivot") from query results. Improved editing of Postgres' hstore result columns. For SQL Server, the object dependencies now include named default constraints and custom data types Bug fixes For Oracle the DDL for tables using reference partitioning was not generated correctly In batch mode when specifying a connection profile using -profile, the setting to ignore drop errors from the profile was ignored The width of the DbTree was limited if the DbExplorer panel was also displayed For HSQLDB, BIT columns were not displayed correctly. For Oracle, the DEDUPLICATION option was not shown for LOB columns Auto completion did not overwrite a partial table (or column) name if that part was a SQL keyword. Activating the object list filter in the DbExplorer by using the toolbar button did not work reliably. Passing connection properties using -connectionProperties to WbCreateProfile did not work When using a profile specific macro file, opening a new window did not always work. When using an Oracle 12.x JDBC driver, materialized views were always reported as missing with WbSchemaDiff It was no longer possible to select "As Is" for the built-in SQL formatter Several features in the DbExplorer did not work for Amazon Redshift Feedback from connect scripts was not always shown in the message tab Error messages were not shown for errors that occurred in connect scripts For Postgres, the remarks for indexes were not retrieved correctly if indexes with the same name existed in different schemas The formatter did not treat the := operator properly for MySQL For Postgres, the source of a table was not shown when an old (unsupported) version of Postgres was used For SQL Server (and other DBMS supporting schemas and catalogs) the list of schemas was not properly refreshed when the database was changed in the DbExplorer's dropdowns For Oracle, value literals for RAW columns where not created correctly For Oracle, -clobAsFile for WbExport was not working for XML columns For Oracle, overloaded procedures inside packages where no longer displayed. For SQL Server, the source of procedures, functions and triggers was not displayed correctly in the DbExplorer for databases other then the default database of the connection. When using -configDir in console mode the connection profiles were still loaded from the default location. For Postgres, when generating scripts for tables and sequences the owner column for a sequence was not correctly generated. Build 121 (2016-07-31) Bug fixes Some DDL statements were not generated properly when changing tables or indexes in the DbExplorer For Oracle, columns defined as TIMESTAMP WITH TIME ZONE or TIMESTAMP WITH LOCAL TIMEZONE where not displayed correctly It was no longer possible to use a timestamp format without time for WbImport When loading a new macro file, the macro menu was not updated.
Diffstat (limited to 'databases')
-rw-r--r--databases/sql-workbench/DESCR42
-rw-r--r--databases/sql-workbench/Makefile23
-rw-r--r--databases/sql-workbench/distinfo10
3 files changed, 17 insertions, 58 deletions
diff --git a/databases/sql-workbench/DESCR b/databases/sql-workbench/DESCR
index e94740b092a..8a3c39d8b21 100644
--- a/databases/sql-workbench/DESCR
+++ b/databases/sql-workbench/DESCR
@@ -6,45 +6,3 @@ Its main focus is on running SQL scripts (either interactively
or as a batch) and export/import features. Graphical query
building or more advanced DBA tasks are not the focus and are
not planned.
-
-Features:
-
- * Edit, insert and delete data directly in the query result.
- * Powerful export command to write text files (aka "CSV"),
- XML, HTML or SQL (including BLOB data). All user tables
- can be exported into a directory with a single command.
- Export files can be compressed "on-the-fly".
- * Powerful text, XML and spreadsheet import. A set of files
- (including compressed files) can be imported from a directory
- with a single command. Foreign key constraints are detected
- to insert the data in the correct order.
- * Compare two database schemas for differences. The XML output
- can be transformed into the approriate SQL ALTER statements
- using XSLT.
- * Compare the data of two database and generate the necessary
- SQL statements to migrate one to the other.
- * Supports running SQL scripts in batch mode.
- * Supports running in console mode.
- * Search text in procedure, view and other sources using a SQL
- command or a GUI.
- * Search for data across all columns in all tables using a SQL
- command or a GUI.
- * Reformatting (Pretty-Print) of SQL Statements.
- * Select rows from related tables according to their foreign
- key definitions.
- * Tooltips for INSERT statements to show the corresponding
- value or column.
- * Copy data directly between to database servers using a SQL
- command or a GUI.
- * Macros (aka aliases) for frequently used SQL statements.
- * Variable substitution in SQL statements including smart
- prompting for values (can be combined with macros).
- * Auto completion for tables and columns in SQL statements.
- * Display database objects and their definitions.
- * Display table source.
- * Display view, procedure and trigger source code.
- * Display foreign key constraints between tables.
- * Full support for BLOB data in query results, SQL statements,
- export and import.
- * SQLWorkbench/J is free for almost everyone (published under
- a modified the Apache 2.0 license).
diff --git a/databases/sql-workbench/Makefile b/databases/sql-workbench/Makefile
index 0100c59ba02..4d5805cffe3 100644
--- a/databases/sql-workbench/Makefile
+++ b/databases/sql-workbench/Makefile
@@ -1,32 +1,33 @@
-# $NetBSD: Makefile,v 1.3 2016/07/29 11:43:36 abs Exp $
+# $NetBSD: Makefile,v 1.4 2017/06/12 12:07:39 abs Exp $
-PKGNAME= sql-workbench-120
-DISTNAME= Workbench-Build120
+DISTNAME= Workbench-Build122
+PKGNAME= sql-workbench-122
CATEGORIES= databases
MASTER_SITES= http://www.sql-workbench.net/
EXTRACT_SUFX= .zip
MAINTAINER= asau@inbox.ru
HOMEPAGE= http://www.sql-workbench.net/
-COMMENT= JDBC-based cross-platform SQL query tool.
+COMMENT= JDBC-based cross-platform SQL query tool
-EXTRACT_DIR= $(WRKSRC)
+EXTRACT_DIR= ${WRKSRC}
USE_JAVA= run
USE_JAVA2= 8
-PKG_JVMS_ACCEPTED= sun-jdk8 openjdk8
+PKG_JVMS_ACCEPTED= oracle-jdk8 openjdk8
+USE_TOOLS+= pax
-INSTALLATION_DIRS= bin share/$(PKGBASE)
+INSTALLATION_DIRS= bin share/${PKGBASE}
pre-extract:
- mkdir -p $(WRKSRC)
+ mkdir -p ${WRKSRC}
do-build:
- printf "#!/bin/sh\n$(PKG_JAVA_HOME)/bin/java -Dvisualvm.display.name=SQLWorkbench -Xmx512m -jar $(PREFIX)/share/$(PKGBASE)/sqlworkbench.jar \$${1:+\"\$$@\"}\n" > $(WRKDIR)/sqlworkbench.sh
+ printf "#!/bin/sh\n${PKG_JAVA_HOME}/bin/java -Dvisualvm.display.name=SQLWorkbench -Xmx512m -jar ${PREFIX}/share/${PKGBASE}/sqlworkbench.jar \$${1:+\"\$$@\"}\n" > ${WRKDIR}/sqlworkbench.sh
do-install:
- cd $(WRKSRC) && pax -rwpm . $(DESTDIR)$(PREFIX)/share/$(PKGBASE)
- $(INSTALL_SCRIPT) $(WRKDIR)/sqlworkbench.sh $(DESTDIR)$(PREFIX)/bin/sqlworkbench
+ cd ${WRKSRC} && pax -rwpm . ${DESTDIR}${PREFIX}/share/${PKGBASE}
+ ${INSTALL_SCRIPT} ${WRKDIR}/sqlworkbench.sh ${DESTDIR}${PREFIX}/bin/sqlworkbench
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/sql-workbench/distinfo b/databases/sql-workbench/distinfo
index c2244b5e26b..33cb789fe0e 100644
--- a/databases/sql-workbench/distinfo
+++ b/databases/sql-workbench/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2016/07/29 11:43:36 abs Exp $
+$NetBSD: distinfo,v 1.5 2017/06/12 12:07:39 abs Exp $
-SHA1 (Workbench-Build120.zip) = f54a651716a5f53006f3204612aec40068966b38
-RMD160 (Workbench-Build120.zip) = ac910996d8b7862c01a4b6b068e04defa5d6f3d8
-SHA512 (Workbench-Build120.zip) = 42e90880f2c2b61fefafb4eeb40fd73dce92265c9a771a8e72ba33678b6d28f3818e150e7122d0c6674bc559089724bf9aaca61f70620bfc77cd4c89bf2787b0
-Size (Workbench-Build120.zip) = 6203585 bytes
+SHA1 (Workbench-Build122.zip) = c9cd1a2230997855be3ab7d7b5a422c5b61180fa
+RMD160 (Workbench-Build122.zip) = d9063222d487db1a94e8ea1681fa2723cace0295
+SHA512 (Workbench-Build122.zip) = 97a7c5628c0f18ffcdbd624d932f25e28db1901cb6dcd1d6468d8311089777fe64e157fab44fae64b14fa98c503210471fe60b93348c5977f1a61ea653bf6d2e
+Size (Workbench-Build122.zip) = 6569442 bytes