debian/0000755000000000000000000000000012205141142007156 5ustar debian/copyright0000644000000000000000000002054112205141142011113 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: tdbc Source: http://sf.net/tcl/ Upstream-Contact: tcl-tdbc@lists.sourceforge.net Copyright: Copyright (c) 2008 by Kevin B. Kenny License: Tcl-license-terms Files: * Copyright: Copyright (c) 2008 by Kevin B. Kenny License: This software is copyrighted by Kevin B. Kenny, and by other parties. The following terms apply to all files associated with the software unless explicitly disclaimed in individual files. . The authors hereby grant permission to use, copy, modify, distribute, and license this software and its documentation for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. No written agreement, license, or royalty fee is required for any of the authorized uses. Modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated on the first page of each file where they apply. . IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. . THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. . GOVERNMENT USE: If you are acquiring this software on behalf of the U.S. government, the Government shall have only "Restricted Rights" in the software and related documentation as defined in the Federal Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you are acquiring the software on behalf of the Department of Defense, the software shall be classified as "Commercial Computer Software" and the Government shall have only "Restricted Rights" as defined in Clause 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the authors grant the U.S. Government and others acting in its behalf permission to use and distribute the software in accordance with the terms specified in this license. Files: tclconfig/tcl.m4 Copyright: Copyright (c) 1999-2000 Ajuba Solutions. Copyright (c) 2002-2005 ActiveState Corporation. License: Tcl-license-terms Files: tclconfig/depcomp Copyright: Copyright 1999, 2000 Free Software Foundation, Inc. Originally written by Alexandre Oliva . License: GPL-2+ Files: tclconfig/install-sh Copyright: Copyright (C) 1994 X Consortium License: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. . Except as contained in this notice, the name of the X Consortium shall not be used in advertising or otherwise to promote the sale, use or other deal- ings in this Software without prior written authorization from the X Consor- tium. . FSF changes to this file are in the public domain. License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure scripts that are the output of Autoconf when processing the Macro. You need not follow the terms of the GNU General Public License when using or distributing such scripts, even though portions of the text of the Macro appear in them. The GNU General Public License (GPL) does govern all other use of the material that constitutes the Autoconf Macro. . This special exception to the GPL applies to versions of the Autoconf Macro released by the Autoconf Macro Archive. When you make and distribute a modified version of the Autoconf Macro, you may extend this special exception to the GPL to apply to your modified version as well. . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: Tcl-license-terms This software is copyrighted by the Regents of the University of California, Sun Microsystems, Inc., Scriptics Corporation, ActiveState Corporation and other parties. The following terms apply to all files associated with the software unless explicitly disclaimed in individual files. . The authors hereby grant permission to use, copy, modify, distribute, and license this software and its documentation for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. No written agreement, license, or royalty fee is required for any of the authorized uses. Modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated on the first page of each file where they apply. . IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. . THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. . GOVERNMENT USE: If you are acquiring this software on behalf of the U.S. government, the Government shall have only "Restricted Rights" in the software and related documentation as defined in the Federal Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you are acquiring the software on behalf of the Department of Defense, the software shall be classified as "Commercial Computer Software" and the Government shall have only "Restricted Rights" as defined in Clause 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the authors grant the U.S. Government and others acting in its behalf permission to use and distribute the software in accordance with the terms specified in this license. debian/source/0000755000000000000000000000000012205141142010456 5ustar debian/source/format0000644000000000000000000000001412205141142011664 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000023012205141142011023 0ustar tdbc (1.0.0-1) unstable; urgency=low * Initial release. (Closes: #587893) -- Massimo Manghi Tue, 13 Aug 2013 15:17:44 +0200 debian/control0000644000000000000000000000114212205141142010557 0ustar Source: tdbc Section: libs Priority: optional Maintainer: Massimo Manghi Build-Depends: debhelper (>=9), tcl8.6-dev Standards-Version: 3.9.4 Homepage: http://tdbc.tcl.tk/ Package: tcl8.6-tdbc Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, tcl8.6 Description: Tcl Database Connectivity It's an interface standard for SQL databases and connectivity that aims to make it easy to write portable and secure Tcl scripts that access SQL databases. This package provides the base class and documentation for tdbc. You need also to install the needed DBMS specific drivers debian/watch0000644000000000000000000000006212205141142010205 0ustar version=3 http://sf.net/tcl/tdbc([\d.]+)\.tar\.gz debian/docs0000644000000000000000000000000712205141142010026 0ustar README debian/compat0000644000000000000000000000000212205141142010354 0ustar 8 debian/clean0000644000000000000000000000003512205141142010161 0ustar debian/tcl8.6-tdbc.substvars debian/patches/0000755000000000000000000000000012205141142010605 5ustar debian/patches/series0000644000000000000000000000003612205141142012021 0ustar groff-unrecognized-macropatch debian/patches/groff-unrecognized-macropatch0000644000000000000000000000343612205141142016452 0ustar Description: unrecognized macros in manual page lintian complains about a .CS unrecognized macro and other text where literal expression using dots or single quotes were placed at the beginning of lines breaking groff syntax Author: Massimo Manghi Last-Update: 2013-08-21 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/doc/tdbc_connection.n +++ b/doc/tdbc_connection.n @@ -117,9 +117,9 @@ object command prepares a call to a stored procedure for execution. The syntax of the stored procedure call is: .PP -.CS +.EX ?\fIresultvar\fR =? \fIprocname\fR(?\fIarg\fR ?, \fIarg\fR...?) -.CE +.EE .PP The return value is a newly-created Tcl command that represents the statement. See @@ -137,7 +137,7 @@ connection for the names of tables that exist in the database. The optional \fIpattern\fR parameter is a pattern to match the name of a table. It may contain the SQL wild-card characters '\fB%\fR' and -'\fB_\fR'. The return value is a dictionary whose keys are table names +\&'\fB_\fR'. The return value is a dictionary whose keys are table names and whose values are subdictionaries. See the documentation for the individual database driver for the interpretation of the values. .PP @@ -145,7 +145,7 @@ connection for the names of columns that exist in a given table. The optional \fBpattern\fR parameter is a pattern to match the name of a column. It may contain the SQL wild-card characters '\fB%\fR' and -'\fB_\fR'. The return value is a dictionary whose keys are column names +\&'\fB_\fR'. The return value is a dictionary whose keys are column names and whose values are dictionaries. Each of the subdictionaries will contain at least the following keys and values (and may contain others whose usage is determined by a specific database driver). debian/rules0000755000000000000000000000503612205141142010242 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 #export DH_OPTIONS=-v DIR = $(shell pwd)/debian/tcl8.6-tdbc %: dh $@ override_dh_auto_install: dh_auto_install # Fix up the manpages. cd $(DIR)/usr/share/man/mann && \ for f in *.[n] ; do \ f2=$$(echo $$f | sed -e 's/\.[3n]/.3tcl/') ; \ if [ -L $$f ]; then \ l=$$(readlink -n $$f | sed -e 's/\.[3n]/.3tcl/') ; \ rm $$f ; \ ln -sf $$l $$f2 ; \ else \ cat $$f | sed -e 's/^\.TH \([^ ]\+\|"[^"]\+"\) [3n]/.TH \1 3tcl/' \ -e 's/\(Tk_[0-9A-Za-z]*\)(3)/\1(3tk)/g' \ -e 's/\([A-Z][0-9A-Za-z_]*\)(3)/\1(3tcl)/g' \ -e 's/send(n)/send(3tk)/g' \ -e 's/text(n)/text(3tk)/g' \ -e 's/tk(n)/tk(3tk)/g' \ -e 's/winfo(n)/winfo(3tk)/g' \ -e 's/(n)/(3tcl)/g' \ -e "s/\\N'244'/\\[^o]/g" \ >$$f2 ; \ mv $$f2 ../man3/ ; \ rm $$f ; \ fi ; \ done ;\ cd .. ;\ rmdir mann ; \ cd man3 ;\ for f in * ; do \ echo "mangling names in $$f" ; \ cat $$f | sed -e 's/tdbc(n)/tdbc(3tcl)/g' \ -e 's/tdbc::mapSqlState(n)/tdbc::mapSqlState(3tcl)/g' \ -e 's/tdbc::tokenize(n)/tdbc::tokenize(3tcl)/g' \ -e 's/tdbc::statement(n)/tdbc::statement(3tcl)/g' \ -e 's/tdbc::connection(n)/tdbc::connection(3tcl)/g' \ -e 's/tdbc::resultset(n)/tdbc::resultset(3tcl)/g' \ -e 's/Tdbc_Init(3tcl)/Tdbc_Init(3)/g' \ >tmpman; \ mv tmpman $$f ; \ done ;\ find $(DIR) -empty -prune -exec rmdir \{\} \; ; \ override_dh_auto_configure: dh_auto_configure -- --with-tcl=/usr/lib/tcl8.6 \ --prefix=/usr \ --includedir=/usr/include \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=/usr/lib/tcltk \ --libexecdir=/usr/lib/tcltk \ --disable-maintainer-mode --disable-dependency-tracking clean: dh_clean .PHONY: override_dh_auto_install override_dh_auto_configure