debian/0000755000000000000000000000000012143455206007170 5ustar debian/dirs0000644000000000000000000000007311022741440010045 0ustar usr/bin usr/share/man usr/share/tcltk usr/share/doc/tcllib debian/source/0000755000000000000000000000000012143455206010470 5ustar debian/source/format0000644000000000000000000000001412143455146011701 0ustar 3.0 (quilt) debian/README.source0000644000000000000000000000057511310401152011340 0ustar 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. To get detailed instructions on how to apply the series of patches and modify them, please read /usr/share/doc/quilt/README.source -- Sergei Golovan Sat, 05 Sep 2009 11:33:56 +0400 debian/manpages0000644000000000000000000000004012143455146010703 0ustar debian/tmp/usr/share/man/mann/* debian/rules0000755000000000000000000001043312143455146010254 0ustar #!/usr/bin/make -f # debian/rules that uses debhelper. destdir=debian/tmp mandir=/usr/share/man docdir=/usr/share/doc/tcllib exampledir=$(docdir)/examples %: dh $@ override_dh_clean: dh_testdir dh_testroot # [ ! -f Makefile ] || $(MAKE) distclean # rm -f config.cache config.status dh_clean # Build mostly covers docs and such override_dh_auto_build-indep: dh_testdir # $(MAKE) html-doc # # Remove doc for non-existent module rm doc/html/exif.html # # Fix broken examples permissions chmod 644 examples/csv/bench_join chmod 644 examples/logger/snit-logger.tcl chmod 644 examples/logger/xotcl-logger.tcl chmod 644 examples/mapproj/* override_dh_auto_test: # Disable tests (TODO: add all required packages to build dependencies # and enable tests) override_dh_auto_install-indep: dh_testdir # $(MAKE) DESTDIR=$(destdir) install # # install the mpexpand script, which doesn't otherwise get installed. install -p -m 755 modules/doctools/mpexpand $(destdir)/usr/bin # # now set the permissions properly, since the Makefile doesn't bother cd $(destdir)/usr/lib && \ find . -type f -print | xargs chmod 644 # # move scripts to /usr/share #mv $(destdir)/usr/lib/* $(destdir)/usr/share/tcltk #rmdir $(destdir)/usr/lib # # rename the man pages into section 3 #mv $(destdir)$(mandir)/mann $(destdir)$(mandir)/man3 # # move the man pages for command line utilities to section 1 #mkdir $(destdir)$(mandir)/man1 #for f in dtplite mpexpand nns nnsd nnslog page tcldocstrip ; do \ # mv $(destdir)$(mandir)/man3/$$f.n $(destdir)$(mandir)/man1 ; \ #done # # cleanup manpages cd $(destdir)$(mandir)/mann && \ for f in dtplite mpexpand nns nnsd nnslog page tcldocstrip ; do \ sed -e'/\.so man.macros/ d' \ -e's/^\.TH \([^ ]\+\) n/.TH \1 1/' \ -e's/(n)/(3tcl)/g' \ -e's/^\.dtx/\\\&.dtx/' \ -e's/^\.\.\(.\)/\\\&..\1/' \ $$f.n > $$f.1; \ rm $$f.n; \ done # cd $(destdir)$(mandir)/mann && \ for f in *.n ; do \ sed -e'/\.so man.macros/ d' \ -e's/^\.TH "math::roman" 1\.0/.TH "math::roman" 3tcl 1.0/' \ -e's/^\.TH "tcl::chan::fifo" [in] /.TH "tcl::chan::fifo" 3tcllib /' \ -e's/^\.TH "tcl::chan::fifo2" [in] /.TH "tcl::chan::fifo2" 3tcllib /' \ -e's/^\.TH "tcl::chan::memchan" [in] /.TH "tcl::chan::memchan" 3tcllib /' \ -e's/^\.TH "tcl::chan::null" [in] /.TH "tcl::chan::null" 3tcllib /' \ -e's/^\.TH "tcl::chan::random" [in] /.TH "tcl::chan::random" 3tcllib /' \ -e's/^\.TH "tcl::chan::string" [in] /.TH "tcl::chan::string" 3tcllib /' \ -e's/^\.TH "tcl::chan::variable" [in] /.TH "tcl::chan::variable" 3tcllib /' \ -e's/^\.TH "tcl::chan::zero" [in] /.TH "tcl::chan::zero" 3tcllib /' \ -e's/^\.TH "tcl::transform::zlib" [in] /.TH "tcl::transform::zlib" 3tcllib /' \ -e's/^\.TH \(.\+\) [in] /.TH \1 3tcl /' \ -e's/send(n)/send(3tk)/g' \ -e's/(n)/(3tcl)/g' \ -e's/^\.RE\([^ ]\)/.RE\n\1/' \ -e's/^\.dtx/\\\&.dtx/' \ -e's/^\.sppp/.sp/' \ -e's/^\.plot/\\\&.plot/' \ -e's/^\.sp /.sp\n/' \ -e's/\xf6/\\[:o]/g' \ -e"s/\xe9/\\['e]/g" \ -e's/^\.\.\(.\)/\\\&..\1/' \ -e's/^\.ddt/\\\&.ddt/' \ -e's/^\. It/\\\&. It/' \ -e's/^\.text/\\\&.text/' \ -e's/^\.mycombo/\\\&.mycombo/' \ $$f > `basename $$f .n`.3tcl; \ rm $$f; \ done # # cleanup docs cd doc/html && \ for f in *.html ; do \ sed -i -e's/\(^\|[^:]\+\)send(n)/\1send(3tk)/g' \ -e's/math::roman()/math::roman(3tcl)/' \ -e's/(n)/(3tcl)/g' $$f; \ done # # generate documentation index tclsh debian/gen_index.tcl doc/html >$(destdir)/index.html # dh_install -i override_dh_compress: dh_compress -Xusr/share/doc/tcllib/examples/ \ -Xusr/share/doc/tcllib/html/ override_dh_gencontrol: tcltk-depends dh_gencontrol v=1.15 get-orig-source: CURDIR=`pwd` && \ TMPDIR=`mktemp -d /tmp/tcllib.XXXXXX` && \ cd $$TMPDIR && \ wget -O - http://prdownloads.sourceforge.net/tcllib/tcllib-$(v).tar.gz | tar -zx && \ for f in `grep -rl '^Network Working Group' *` ; do \ echo "REMOVING NON-FREE RFC $$f" ; rm -f $$f ; \ done && \ tar -zcf $$CURDIR/tcllib_$(v)-dfsg.orig.tar.gz tcllib-$(v) && \ rm -rf $$TMPDIR .PHONY: override_dh_clean override_dh_auto_build-indep override_dh_auto_install-indep \ override_dh_compress override_dh_gencontrol get-orig-source debian/docs0000644000000000000000000000003712143455146010046 0ustar doc/html debian/tmp/index.html debian/changelog0000644000000000000000000002137512143455146011055 0ustar tcllib (1.15-dfsg-2) unstable; urgency=low * Switched to 3.0 (quilt) source package format. * Bumped standards version to 3.9.4. * Use debhelper 8.9.7 features in debian/rules and updated the build dependency accordingly. * Removed unecessary patch of Makefile.in (closes: #702520). * Renamed manpages which conflict with ones from the tcl8.6-doc and tcl-memchan packages (closes: #700501, #702502, #704641). * Removed incorrect install-stamp.gz from the binary package (closes: #700503). * Removed unnecessary patch which fixed whatis entries. -- Sergei Golovan Sat, 11 May 2013 18:48:26 +0400 tcllib (1.15-dfsg-1) experimental; urgency=low * New upstream release. * Removed patch for inifile module. -- Sergei Golovan Wed, 06 Feb 2013 23:06:05 +0400 tcllib (1.14-dfsg-3) unstable; urgency=low * Added a patch which fixes ::ini::commit procedure in the inifile module. -- Sergei Golovan Tue, 26 Jun 2012 16:53:47 +0400 tcllib (1.14-dfsg-2) unstable; urgency=low * Renamed try(3tcl) manpage into try(3tcllib) to avoid conflict with the tcl8.6-doc package (closes: #672815). * Removed Chris Waters from the uploaders list (closes: #664114). * Removed HTML doc for no longer existing exif module (closes: #637301). * Bumped standards version to 3.9.3. -- Sergei Golovan Mon, 14 May 2012 10:23:37 +0400 tcllib (1.14-dfsg-1) unstable; urgency=low * New upstream release with several new modules. * Bumped standards version to 3.9.2. * Added build-arch and build-indep rules to debian/rules. * Fixed manpage section in a few manpages. -- Sergei Golovan Wed, 14 Dec 2011 23:18:12 +0400 tcllib (1.13-dfsg-1) unstable; urgency=low * New upstream release with several new modules. * Added ${misc:Depends} variable to debian/config. * Bumped standards version to 3.9.1. -- Sergei Golovan Thu, 03 Mar 2011 22:36:32 +0300 tcllib (1.12-dfsg-2) unstable; urgency=low * Renamed msgcat.3tcl manpage to doctools_msgcat.3tcl to avoid conflict with tcl8.X-doc packages (closes: #560819). -- Sergei Golovan Sat, 12 Dec 2009 17:41:19 +0300 tcllib (1.12-dfsg-1) unstable; urgency=low * New upstream release. * Added README.source file wich explains how to get patched source tree from the original tarball and set of patches in debian/patches. * Fixed whatis entries in manpages for the older versions of struct::graph, struct::matrix and struct::tree packages, and section for the simulation::random package. * Bumped standards version to 3.8.3. -- Sergei Golovan Fri, 11 Dec 2009 11:24:09 +0300 tcllib (1.11.1-dfsg-2) unstable; urgency=low * Use Sourceforge redirector in uscan control file debian/watch. * Renamed random.3tcl manpage to random.3tcllib to prevent conflict with the random manpage in libmemchan-tcl package. -- Sergei Golovan Thu, 19 Mar 2009 17:55:04 +0300 tcllib (1.11.1-dfsg-1) experimental; urgency=low * New upstream release. * Mangled debian version in uscan control file. * Bumped standards version to 3.8.0. -- Sergei Golovan Sun, 21 Dec 2008 12:23:04 +0300 tcllib (1.10-dfsg-3) unstable; urgency=low * Protected quilt invocation in debian/rules to make it possible to convert bwidget source package to 3.0 (quilt) format (closes: #484924). * Cleaned up debian/rules. * Bumped standards version to 3.7.3. * Removed empty /usr/lib directory from the binary tcllib package. * Removed extra leading spaces and changed section name to Programming in doc-base register file. * Fixed copyright statement in debian/copyright. * Removed linda override file. -- Sergei Golovan Sun, 08 Jun 2008 15:00:19 +0400 tcllib (1.10-dfsg-2) unstable; urgency=low [ Sergei Golovan ] * Fixed ::blowfish::blowfish option processing if -dir isn't specified directly. * Adapted the package to Debian Tcl/Tk policy. This includes moving the Tcl modules into a subdirectory of /usr/share/tcltk and switching to default tcl package in dependencies. * Bumped debhelper compatibility level to 5. [ Francesco Paolo Lovergine ] * Added Homepage field in debian/control. -- Sergei Golovan Thu, 15 Nov 2007 19:58:17 +0300 tcllib (1.10-dfsg-1) unstable; urgency=low [ Sergei Golovan ] * New upstream release. * Added Sergei Golovan to uploaders. * Fixed bug with registering Tcllib documentation in doc-base. * Added uscan control file debian/watch. * Removed patch which added asynchronous TCP connect to dns module since it is included into upstream distribution. * Rewritten clean target in debian/rules to ignore only missing Makefile error. -- Sergei Golovan Sun, 16 Sep 2007 13:05:26 +0400 tcllib (1.9.dfsg1-1) unstable; urgency=low [ Sergei Golovan ] * New maintainer Tcl/Tk Debian Packagers. * New upstream release (closes: #391548). * Removed patch from JPEG module as it is no longer needed. * Fixed cleanup after build. * Use quilt to manage patches. * Removed non-free RFSs from upstream source (closes: #393415). * Added get-orig-source target to debian/rules. * Fixed sections inside manual pages. * Fixed manpage sections in HTML documentation. * Added an index for HTML documentation. * Register HTML documentation in doc-base. * Moved scripts from /usr/lib to /usr/share as required by Debian Policy, leaving symlink in /usr/lib. * Added asynchronous TCP connect to dns module (see http://sourceforge.net/tracker/index.php?func=detail&aid=1610330&group_id=12883&atid=312883). * Overridden linda false positive about uncompressed changelog. * Bumped standards version to 3.7.2. -- Chris Waters Wed, 31 Jan 2007 22:40:33 -0800 tcllib (1.8-1) unstable; urgency=low * New upstream release. * Mentioned various new(ish) modules in the package description. * Switched to using debhelper v4. * Applied patch from Victor Wagner to prevent data corruption when removing comments from JPEG files (closes: #343470). -- Chris Waters Sun, 7 May 2006 02:15:04 -0700 tcllib (1.7-1) unstable; urgency=low * New upstream release (closes: #300805). * Patched Makefile.in so that the new "app" script, dtplite, gets installed relative to $DESTDIR (a detail that was apparently overlooked upstream). * Added code to debian/rules to set the file permissions properly, since upstream installer doesn't do so. -- Chris Waters Tue, 11 Oct 2005 20:02:59 -0700 tcllib (1.6.1-1) unstable; urgency=low * New upstream release (bugfix point release). * Fixed typo in package description (closes: #194724). * Now installs the mpexpand script (closes: #221529). -- Chris Waters Thu, 27 May 2004 15:34:48 -0700 tcllib (1.6-1) unstable; urgency=low * New upstream release (closes: #238090). -- Chris Waters Tue, 23 Mar 2004 16:41:37 -0800 tcllib (1.4-1) unstable; urgency=low * New upstream release, fixes broken man pages (closes: #149437). * Changed build-deps, needs newer tcl to build. * Installed html docs in more sensible place (closes: #175723). * Removed some odd files (format/formatter man pages and a "stat" subdirectory) that came from some unknown place, and don't seem to be supported. With any luck, they also aren't needed. (I'm sure I'll hear from someone if I'm wrong about this.:) -- Chris Waters Sun, 11 May 2003 23:35:03 -0700 tcllib (1.3-2) unstable; urgency=low * New maintainer. -- Chris Waters Sat, 12 Oct 2002 22:42:13 -0700 tcllib (1.3-1) unstable; urgency=low * New upstream release. -- Mike Markley Sat, 22 Jun 2002 01:21:06 -0700 tcllib (1.2-1) unstable; urgency=low * New upstream release. * Added tcl8.3 | tclsh to build-deps (Closes: #134905) -- Mike Markley Fri, 22 Feb 2002 02:55:08 -0800 tcllib (1.1-1) unstable; urgency=low * New upstream release. * Added description notes for comm and control modules -- Mike Markley Mon, 3 Dec 2001 23:05:36 -0800 tcllib (1.0-1) unstable; urgency=low * New upstream release. -- Mike Markley Tue, 16 Oct 2001 00:02:44 -0700 tcllib (0.8-1) unstable; urgency=low * New upstream release (Closes: #96064) -- Mike Markley Fri, 15 Jun 2001 20:49:16 -0700 tcllib (0.3-2) unstable; urgency=low * New maintainer. -- Mike Markley Fri, 25 Aug 2000 19:06:37 -0700 tcllib (0.3-1) unstable; urgency=low * Initial packaging. -- David Engel Sat, 8 Apr 2000 21:28:50 -0500 debian/patches/0000755000000000000000000000000012143455206010617 5ustar debian/patches/series0000644000000000000000000000000212143455146012027 0ustar # debian/compat0000644000000000000000000000000212143455146010371 0ustar 8 debian/gen_index.tcl0000644000000000000000000000313511160460730011632 0ustar #!/usr/bin/tclsh set docdir [lindex $argv 0] set manuals {} foreach docfile [glob -nocomplain -directory $docdir *.html] { puts stderr $docfile if {[catch {set fd [open $docfile]} msg]} { puts stderr "Can't open file $docfile: $msg" continue } while {[gets $fd line] >= 0} { if {[regexp {]*>\s*(.*)\((3tcl)?\)\s+(\S+)\s+(\S+)\s+(.*)} $line -> \ name - version module title]} { lappend manuals [list $module!$title!$name $module $name $version $title [file tail $docfile]] break } } close $fd } puts " Tcllib HTML Documentation

Tcllib HTML Documentation

" set manuals [lsort -index 0 $manuals] set prev "" set prevtitle "" foreach m $manuals { set module [lindex $m 1] set name [lindex $m 2] set version [lindex $m 3] set title [lindex $m 4] set fname [lindex $m 5] if {$module != $prev} { if {$prev != ""} { puts "" } puts "

$module: $title

\n
    " set prev $module set prevtitle $title } elseif {$title != $prevtitle} { puts "
\n

$module: $title

\n
    " set prevtitle $title } puts "
  • $name $version
  • " } puts "
" debian/control0000644000000000000000000001232012143455146010574 0ustar Source: tcllib Section: interpreters Priority: optional Maintainer: Tcl/Tk Debian Packagers Uploaders: Sergei Golovan Build-Depends: debhelper (>= 8.9.7) Build-Depends-Indep: tcl-dev Standards-Version: 3.9.4 Homepage: http://tcl.activestate.com/software/tcllib/ Package: tcllib Section: interpreters Priority: optional Architecture: all Depends: ${tclsh:Depends}, ${misc:Depends} Description: Standard Tcl Library Tcllib, the standard Tcl library, is a collection of common utility functions and modules all written in high-level Tcl. . Modules included: * aes: advanced encryption standard * amazon-s3: Amazon S3 web service interface * asn: an ASN.1 encoder and decoder * base32: a base32 encoder and decoder * base64: a base64 encoder and decoder * bee: bittorrent serialization encoder and decoder * bench: benchmark tool * bibtex: parser for bibliographies in BibTeX format * blowfish: blowfish encryption * cache: asynchronous in-memory cache * clock: date/time utilities * cmdline: a command line argument processor similar to opt * comm: remote communications facility * control: procedures for control flow structures * coroutine: coroutine utilities * counter: provides a counter facility and can compute statistics and histograms over the collected data. * crc: checksum-calculation routines (crc32, cksum, sum) * csv: functions to handle CSV (comma-separated values) data * des: DES and 3DES encryption * dns: dns- and resolver library-related functions * docstrip: tools for literate programming, often used with (La)TeX * doctools: documentation tools * fileutil: Tcl implementations of some standard Unix utilities * ftp: Tcl interface to the FTP protocol * ftpd: implementation of functions needed for an FTP server * fumagic: file utilities * generator: Tcl generator commands * gpx: GPS eXchange Format (GPX) * grammar_aycock: Aycock-Horspool-Earley parser generator for Tcl * grammar_fa: finite automaton operations and usage * grammar_me: grammar operations and usage * grammar_peg: grammar operations and usage * hook: hooks * html: generate and control HTML tags * htmlparse: parse HTML strings * http: HTTP protocol helper modules * ident: client interface to the ident protocol * imap4: IMAP client * inifile: parsing of Windows INI files * interp: interpreter utilities * irc: low-level IRC protocol interface * javascript: Tcl shortcuts to create common javascript functions * jpeg: functions to query and modify JPEG images * json: JSON parser * lambda: utility commands for anonymous procedures * ldap: LDAP client and extended object interface * log: functions to log messages with various facilities and levels * map: mapping utilities * mapproj: map projection routines * math: Tcl math library * md4: md4 hashing functions * md5: md5 hashing functions * md5crypt: md5 based password hashing * mime: a MIME encoder and decoder * multiplexer: message multiplexing * ncgi: a new CGI processing module * nmea: NMEA protocol implementation * nns: name service facility * nntp: Tcl functions for the NNTP protocol * ntp: functions for an NTP client * ooutil: utility commands for TclOO * otp: RFC 2289 a one-time password system * page: parser generator * pki: RSA public key encryption * pluginmgr: plugin management * png: functions to query and modify PNG images * pop3: a POP3 protocol implementation * pop3d: a POP3 server implementation * profiler: a function level Tcl source code profiler * pt: parser tools * rc4: implementation of the RC4 stream cipher * rcs: RCS low level utilities * report: provides objects which can be used to generate and format reports * rest: a framework for RESTful web services * ripemd: RIPEMD message-digest algorithm * sasl: Simple Authentication and Security Layer implementation * sha1: sha1 hashing functions * simulation: Tcl simulation tools * smtpd: implementation of functions needed for an SMTP server * snit: snit's not incr Tcl, OO system * soundex: comparison of words based on their phonetic likeness * stooop: simple Tcl-only object oriented programming scheme - provides C++/Java-like OOP interfaces * stringprep: preparation of internationalized strings * struct: Tcl implementations of common data structures (tree, graph, etc) * tar: functions to manipulate tar files * tepam: Tcl's enhanced procedure and argument manager * term: terminal control * textutil: string manipulation library * tie: framework for creating persistent Tcl arrays * tiff: TIFF image manipulation * transfer: data transfer facilities * treeql: tree query language * try: trap and process errors and exceptions * uev: user events * units: convert and manipulate quantities with units * uri: functions to generate and manipulate commonly-used URIs * uuid: generator of universally unique identifiers (UUID) * valtype: validation types * virtchannel: reflected/virtual channel support * wip: word interpreter * yaml: YAML format encoder/decoder * zip: working with zip archives debian/examples0000644000000000000000000000001310556101323010715 0ustar examples/* debian/doc-base0000644000000000000000000000056411022741440010566 0ustar Document: tcllib Title: Tcllib HTML Documentation Author: Authors of the Tcllib modules Abstract: This is a documentation for Tcllib - the standard Tcl library. It contains documentation on individual Tcllib modules, supplied with upstream distribution. Section: Programming Format: HTML Index: /usr/share/doc/tcllib/index.html Files: /usr/share/doc/tcllib/html/*.html debian/copyright0000644000000000000000000000451011022741440011114 0ustar This package was debianized by David Engel from sources obtained from: http://sourceforge.net/project/showfiles.php?group_id=12883 Copyright 2000-2007 Ajuba Solutions and other parties. Copyright: This software is copyrighted by Ajuba Solutions 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/install0000644000000000000000000000007012143455146010561 0ustar debian/tmp/usr/bin debian/tmp/usr/lib/* usr/share/tcltk debian/watch0000644000000000000000000000025311160460730010215 0ustar # Watch control file for uscan # Compulsory line, this is a version 3 file version=3 opts=dversionmangle=s/-dfsg\d*$// \ http://sf.net/tcllib/tcllib-([\d.]*).tar.gz