debian/0000755000000000000000000000000011626747656007212 5ustar debian/copyright0000644000000000000000000000220511257457303011127 0ustar This package was debianized by Damien Raude-Morvan on Tue, 22 Jul 2008 00:39:39 +0200. It was downloaded from http://sqlline.sourceforge.net/ Upstream Author: Marc Prud'hommeaux Copyright: Copyright (C) 2002, 2003, 2004, 2005 Marc Prud'hommeaux Note: The upstream orig.tar.gz file of sqlline contains an outdated LICENCE file as stated by upstream author "Marc Prud'hommeaux": > SQLLine was once GPL, but it was changed to be BSD a few years back. > Any references to the GPL are vestigial. Hopefully the license > declaration at http://sqlline.sourceforge.net/#license is sufficiently > authoritative in this regard. This file has been superseed by BSD LICENCE file in upstream CVS but no new release had been made since then. debian/copyright is synchronised with src/sqlline/SqlLine.java. License: BSD (3 clause) On Debian systems, the complete text of the BSD License can be found in `/usr/share/common-licenses/BSD'. The Debian packaging is Copyright (C) 2008-2009, Damien Raude-Morvan and is licensed under the BSD, see `/usr/share/common-licenses/BSD'. debian/sqlline.sh0000644000000000000000000000051111226703074011170 0ustar #!/bin/sh JAVA_ARGS="-Djava.ext.dirs=/usr/share/java/:/usr/local/share/java/" # Include the wrappers utility script . /usr/lib/java-wrappers/java-wrappers.sh # We need a java runtime (any 1.4 work) find_java_runtime all # Define our classpath find_jars jline sqlline # Run SQLLine run_java sqlline.SqlLine $extra_args "$@" debian/patches/0000755000000000000000000000000011626747656010641 5ustar debian/patches/01_build_lib_release.patch0000644000000000000000000000131611230076611015561 0ustar Description: Create/remove lib-release directory Author: Damien Raude-Morvan Forwarded: not-needed Origin: vendor Last-Update: 2009-07-17 --- a/build.xml +++ b/build.xml @@ -259,6 +259,7 @@ + @@ -274,6 +275,7 @@ + debian/patches/series0000644000000000000000000000003411230076611012024 0ustar 01_build_lib_release.patch debian/rules0000755000000000000000000000151711626703625010262 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/ant.mk JAVA_HOME := /usr/lib/jvm/default-java ANT_HOME := /usr/share/ant DEB_JARS := jline # override build and clean target DEB_ANT_BUILD_TARGET = all DEB_ANT_CLEAN_TARGET = clean DEB_ANT_INSTALL_TARGET = jars.core.build # Strip .sh from script name binary-post-install/sqlline:: mv $(CURDIR)/debian/sqlline/usr/bin/sqlline.sh $(CURDIR)/debian/sqlline/usr/bin/sqlline # Rename upstream src.jar to an orig.tar.gz get-orig-source: uscan --force-download --rename mkdir orig_tmp (cd orig_tmp && \ unzip ../../${DEB_SOURCE_PACKAGE}-src-*.jar && \ mv ${DEB_SOURCE_PACKAGE}-* ${DEB_SOURCE_PACKAGE}-${DEB_UPSTREAM_VERSION} && \ tar -czf ../../${DEB_SOURCE_PACKAGE}_${DEB_UPSTREAM_VERSION}.orig.tar.gz ${DEB_SOURCE_PACKAGE}-*) rm -rf orig_tmp debian/sqlline.10000644000000000000000000001042711226703074010725 0ustar .TH SQLLINE: "1" "August 2008" "sqlline" "User Commands" .SH NAME sqlline \- JDBC command-line utility for issuing SQL .SH SYNOPSIS \fBsqlline\fR [ \fB\fIoption\fB\fR\fI...\fR ] .SH DESCRIPTION .TP \fB\-u\fR the JDBC URL to connect to .TP \fB\-n\fR the username to connect as .TP \fB\-p\fR the password to connect as .TP \fB\-d\fR the driver class to use .TP \fB\-\-color\fR=\fI[true\fR/false] control whether color is used for display .TP \fB\-\-showHeader\fR=\fI[true\fR/false] show column names in query results .TP \fB\-\-headerInterval\fR=\fIROWS\fR; the interval between which heades are displayed .TP \fB\-\-fastConnect\fR=\fI[true\fR/false] skip building table/column list for tab\-completion .TP \fB\-\-autoCommit\fR=\fI[true\fR/false] enable/disable automatic transaction commit .TP \fB\-\-verbose\fR=\fI[true\fR/false] show verbose error messages and debug info .TP \fB\-\-showWarnings\fR=\fI[true\fR/false] display connection warnings .TP \fB\-\-force\fR=\fI[true\fR/false] continue running script even after errors .TP \fB\-\-maxWidth\fR=\fIMAXWIDTH\fR the maximum width of the terminal .TP \fB\-\-maxColumnWidth\fR=\fIMAXCOLWIDTH\fR the maximum width to use when displaying columns .TP \fB\-\-silent\fR=\fI[true\fR/false] be more silent .TP \fB\-\-autosave\fR=\fI[true\fR/false] automatically save preferences .TP \fB\-\-outputformat\fR=\fI[table\fR/vertical/csv/tsv] format mode for result display .TP \fB\-\-isolation\fR=\fILEVEL\fR set the transaction isolation level .TP \fB\-\-help\fR display this message .PP Usage: java sqlline.SqlLine .TP \fB\-u\fR the JDBC URL to connect to .TP \fB\-n\fR the username to connect as .TP \fB\-p\fR the password to connect as .TP \fB\-d\fR the driver class to use .TP \fB\-\-color\fR=\fI[true\fR/false] control whether color is used for display .TP \fB\-\-showHeader\fR=\fI[true\fR/false] show column names in query results .TP \fB\-\-headerInterval\fR=\fIROWS\fR; the interval between which heades are displayed .TP \fB\-\-fastConnect\fR=\fI[true\fR/false] skip building table/column list for tab\-completion .TP \fB\-\-autoCommit\fR=\fI[true\fR/false] enable/disable automatic transaction commit .TP \fB\-\-verbose\fR=\fI[true\fR/false] show verbose error messages and debug info .TP \fB\-\-showWarnings\fR=\fI[true\fR/false] display connection warnings .TP \fB\-\-force\fR=\fI[true\fR/false] continue running script even after errors .TP \fB\-\-maxWidth\fR=\fIMAXWIDTH\fR the maximum width of the terminal .TP \fB\-\-maxColumnWidth\fR=\fIMAXCOLWIDTH\fR the maximum width to use when displaying columns .TP \fB\-\-silent\fR=\fI[true\fR/false] be more silent .TP \fB\-\-autosave\fR=\fI[true\fR/false] automatically save preferences .TP \fB\-\-outputformat\fR=\fI[table\fR/vertical/csv/tsv] format mode for result display .TP \fB\-\-isolation\fR=\fILEVEL\fR set the transaction isolation level .TP \fB\-\-help\fR display this message .TP \fB\-u\fR the JDBC URL to connect to .TP \fB\-n\fR the username to connect as .TP \fB\-p\fR the password to connect as .TP \fB\-d\fR the driver class to use .TP \fB\-\-color\fR=\fI[true\fR/false] control whether color is used for display .TP \fB\-\-showHeader\fR=\fI[true\fR/false] show column names in query results .TP \fB\-\-headerInterval\fR=\fIROWS\fR; the interval between which heades are displayed .TP \fB\-\-fastConnect\fR=\fI[true\fR/false] skip building table/column list for tab\-completion .TP \fB\-\-autoCommit\fR=\fI[true\fR/false] enable/disable automatic transaction commit .TP \fB\-\-verbose\fR=\fI[true\fR/false] show verbose error messages and debug info .TP \fB\-\-showWarnings\fR=\fI[true\fR/false] display connection warnings .TP \fB\-\-force\fR=\fI[true\fR/false] continue running script even after errors .TP \fB\-\-maxWidth\fR=\fIMAXWIDTH\fR the maximum width of the terminal .TP \fB\-\-maxColumnWidth\fR=\fIMAXCOLWIDTH\fR the maximum width to use when displaying columns .TP \fB\-\-silent\fR=\fI[true\fR/false] be more silent .TP \fB\-\-autosave\fR=\fI[true\fR/false] automatically save preferences .TP \fB\-\-outputformat\fR=\fI[table\fR/vertical/csv/tsv] format mode for result display .TP \fB\-\-isolation\fR=\fILEVEL\fR set the transaction isolation level .TP \fB\-\-help\fR display this message debian/changelog0000644000000000000000000000442711626747620011062 0ustar sqlline (1.0.2-4) unstable; urgency=low * Team upload. * Switch to source format 3.0. * Switch to debhelper level 7. * Update Standards-Version: 3.9.1. -- Torsten Werner Mon, 29 Aug 2011 14:23:54 +0200 sqlline (1.0.2-3) unstable; urgency=low * Use default-jdk instead of default-jdk-builddep for Build-Depends as no components are built with gcj * Depends on default-jre-headless instead of gcj * Update Vcs-* fields * Add Homepage field * Bump Standards-Version to 3.8.3: - Add ${misc:Depends} in Depends field for debhelper - Move to "java" section of archive * Switch to Quilt patch system: - Refresh all patches - Add B-D on quilt - Include patchsys-quilt.mk in debian/rules * Set Maintainer field to Debian Java Team * Add myself as Uploaders and update my email address * Add lintian-override for spelling-error-in-description -- Damien Raude-Morvan Sat, 26 Sep 2009 20:33:31 +0200 sqlline (1.0.2-2) unstable; urgency=low * debian/sqlline.sh: Use java-wrappers for launch script * debian/control: - Build-Depend on default-jdk-builddep instead of java-gcj-compat-dev - Depends on java-wrappers for launch script * debian/rules: Use default-java from default-jdk-builddep as JAVA_HOME * debian/watch: Use uversionmangle=s/_/./g to replace _ by . in upstream version -- Damien Raude-Morvan Sun, 30 Nov 2008 12:56:57 +0100 sqlline (1.0.2-1) unstable; urgency=low * Initial release (Closes: #491805) * debian/sqlline.1: create manpage for sqlline program * Use debian/install to install jar and shell script (instead of install/sqlline:: rule) and just strip .sh from script name in binary-post-install/sqlline:: * debian/control: - Recommends a JDBC driver (all drivers available as alternative) - Depends on a JRE (has required by Debian Java-Policy). Use java-gcj-compat-headless as default and java2-runtime-headless for alternatives - Keep java-gcj-compat-dev in B-D as it's needed for clean target * debian/copyright: - Add a note for vestigious LICENCE file (see #491805) - Licence packaging work under BSD (using same licence as upstream) -- Damien Raude-Morvan Sat, 09 Aug 2008 09:27:18 +0200 debian/README.source0000644000000000000000000000041611230076611011343 0ustar Patch System ============ This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. See /usr/share/doc/quilt/README.source for a detailed explanation. debian/watch0000644000000000000000000000012611226703074010220 0ustar version=3 opts="uversionmangle=s/_/./g" \ http://sf.net/sqlline/sqlline-src-(.*)\.jar debian/control0000644000000000000000000000207311626703625010603 0ustar Source: sqlline Section: java Priority: extra Maintainer: Debian Java Maintainers Uploaders: Damien Raude-Morvan Build-Depends-Indep: libjline-java Build-Depends: ant, default-jdk, debhelper (>= 7), cdbs Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/sqlline/ Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/sqlline/ Standards-Version: 3.9.1 Homepage: http://sqlline.sourceforge.net/ Package: sqlline Architecture: all Depends: ${misc:Depends}, default-jre-headless | java2-runtime-headless, libjline-java, java-wrappers Recommends: libhsqldb-java | libmysql-java | libpg-java Description: JDBC command-line utility for issuing SQL SQLLine is a pure-Java console based utility for connecting to relational databases and executing SQL commands. . It is similar to other command-line database access utilities like sqlplus for Oracle, mysql for MySQL, and isql for Sybase/SQL Server. . Since it is pure-Java, it is platform independent, and will run on any platform that can run Java 1.3 or higher. debian/README.Debian0000644000000000000000000000115611257457303011241 0ustar sqlline for Debian ------------------ * No JDBC driver included in this package. SQLLine is only useful with a JDBC driver to connect to a database. For example, you can install the following drivers (debian package name): - libhsqldb-java: JDBC driver for HSQLDB - libmysql-java: JDBC driver for mysql - libpg-java: JDBC driver for pgsql * You can run SQLLine by using the /usr/bin/sqlline launcher which takes care of looking for JDBC drivers (jar) in the following directories: - /usr/share/java/ - /usr/local/share/java/ -- Damien Raude-Morvan Tue, 22 Jul 2008 00:39:39 +0200 debian/sqlline.lintian-overrides0000644000000000000000000000012611257457303014223 0ustar # Here, "mysql" is the CLI utility sqlline: spelling-error-in-description mysql MySQL debian/source/0000755000000000000000000000000011626747656010512 5ustar debian/source/format0000644000000000000000000000001411626703625011704 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211626703625010374 0ustar 7 debian/manpages0000644000000000000000000000002111226703074010677 0ustar debian/sqlline.1 debian/docs0000644000000000000000000000002411226703074010037 0ustar VERSION.txt AUTHORS debian/install0000644000000000000000000000007511226703074010563 0ustar release/sqlline.jar usr/share/java debian/sqlline.sh usr/bin