--- tcllib-1.12-dfsg.orig/debian/changelog
+++ tcllib-1.12-dfsg/debian/changelog
@@ -0,0 +1,198 @@
+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 <sgolovan@debian.org> 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 <sgolovan@debian.org> 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 <sgolovan@debian.org> 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 <sgolovan@debian.org> 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 <sgolovan@debian.org> 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 <sgolovan@debian.org> 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 <sgolovan@debian.org> 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 <xtifr@debian.org> 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 <xtifr@debian.org> 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 <xtifr@debian.org> 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 <xtifr@debian.org> Thu, 27 May 2004 15:34:48 -0700
+
+tcllib (1.6-1) unstable; urgency=low
+
+ * New upstream release (closes: #238090).
+
+ -- Chris Waters <xtifr@debian.org> 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 <xtifr@debian.org> Sun, 11 May 2003 23:35:03 -0700
+
+tcllib (1.3-2) unstable; urgency=low
+
+ * New maintainer.
+
+ -- Chris Waters <xtifr@debian.org> Sat, 12 Oct 2002 22:42:13 -0700
+
+tcllib (1.3-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Mike Markley <mike@markley.org> 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 <mike@markley.org> 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 <mike@markley.org> Mon, 3 Dec 2001 23:05:36 -0800
+
+tcllib (1.0-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Mike Markley <mike@markley.org> Tue, 16 Oct 2001 00:02:44 -0700
+
+tcllib (0.8-1) unstable; urgency=low
+
+ * New upstream release (Closes: #96064)
+
+ -- Mike Markley <mike@markley.org> Fri, 15 Jun 2001 20:49:16 -0700
+
+tcllib (0.3-2) unstable; urgency=low
+
+ * New maintainer.
+
+ -- Mike Markley <mike@markley.org> Fri, 25 Aug 2000 19:06:37 -0700
+
+tcllib (0.3-1) unstable; urgency=low
+
+ * Initial packaging.
+
+ -- David Engel <david@debian.org> Sat, 8 Apr 2000 21:28:50 -0500
+
--- tcllib-1.12-dfsg.orig/debian/rules
+++ tcllib-1.12-dfsg/debian/rules
@@ -0,0 +1,175 @@
+#!/usr/bin/make -f
+# debian/rules that uses debhelper.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export QUILT_PATCHES := debian/patches
+
+destdir=debian/tcllib
+mandir=/usr/share/man
+docdir=/usr/share/doc/tcllib
+exampledir=$(docdir)/examples
+
+unpatch:
+ dh_testdir
+ quilt pop -a || test $$? = 2
+ rm -rf patch-stamp .pc
+
+patch: patch-stamp
+patch-stamp:
+ dh_testdir
+ quilt push -a || test $$? = 2
+ touch patch-stamp
+
+# build mostly covers docs and such
+build: build-stamp
+build-stamp: patch-stamp
+ dh_testdir
+ ./configure --prefix=/usr --mandir=$(mandir)
+ $(MAKE) html-doc
+ #
+ touch build-stamp
+
+clean: clean-patched unpatch
+ dh_testdir
+ dh_testroot
+ dh_clean
+
+clean-patched: patch-stamp
+ dh_testdir
+ #
+ [ ! -f Makefile ] || $(MAKE) distclean
+ #
+ rm -f build-stamp install-stamp
+ rm -f config.cache config.status
+
+install: build install-stamp
+install-stamp:
+ dh_testdir
+ dh_testroot
+ dh_installdirs
+ #
+ $(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 mpexpand, dtplite, page and mpexpand to section 1
+ mkdir $(destdir)$(mandir)/man1
+ mv $(destdir)$(mandir)/man3/mpexpand.n $(destdir)$(mandir)/man1
+ mv $(destdir)$(mandir)/man3/dtplite.n $(destdir)$(mandir)/man1
+ mv $(destdir)$(mandir)/man3/page.n $(destdir)$(mandir)/man1
+ mv $(destdir)$(mandir)/man3/tcldocstrip.n $(destdir)$(mandir)/man1
+ #
+ # cleanup manpages
+ cd $(destdir)$(mandir)/man1 && \
+ for f in *.n ; 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 > `basename $$f .n`.1; \
+ rm $$f; \
+ done
+ #
+ cd $(destdir)$(mandir)/man3 && \
+ 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 \("simulation::random"\) n /.TH \1 3tcllib /' \
+ -e's/^\.TH \(.\+\) n /.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
+ # prevent conflict with tcl8.X-doc package
+ mv $(destdir)$(mandir)/man3/msgcat.3tcl \
+ $(destdir)$(mandir)/man3/doctools_msgcat.3tcl
+ # prevent conflict with memchan package
+ # TODO: find a better solution
+ mv $(destdir)$(mandir)/man3/random.3tcl \
+ $(destdir)$(mandir)/man3/random.3tcllib
+ #
+ touch install-stamp
+ #
+ # 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)$(docdir)/index.html
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installdocs doc/html
+ dh_installexamples
+ # fix some broken permissions
+ chmod 644 $(destdir)$(exampledir)/csv/bench_join
+ chmod 644 $(destdir)$(exampledir)/math/bigfloat.demo.tcl
+ chmod 644 $(destdir)$(exampledir)/logger/snit-logger.tcl
+ chmod 644 $(destdir)$(exampledir)/logger/xotcl-logger.tcl
+ chmod 644 $(destdir)$(exampledir)/mapproj/*
+ dh_installchangelogs ChangeLog
+ dh_link
+ dh_compress -Xusr/share/doc/tcllib/examples/ \
+ -Xusr/share/doc/tcllib/html/
+ dh_fixperms
+ dh_installdeb
+ tcltk-depends
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary-arch: build install
+
+binary: binary-indep binary-arch
+
+source diff:
+ @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+VER=1.12
+
+get-orig-source:
+ CURDIR=`pwd` && \
+ TMPDIR=`mktemp -d /tmp/tcllib.XXXXXX` && \
+ cd $$TMPDIR && \
+ wget -O - http://heanet.dl.sourceforge.net/sourceforge/tcllib/tcllib-$(VER).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_$(VER)-dfsg.orig.tar.gz tcllib-$(VER) && \
+ rm -rf $$TMPDIR
+
+.PHONY: patch unpatch clean-patched build clean binary-indep binary-arch binary install get-orig-source
+
--- tcllib-1.12-dfsg.orig/debian/dirs
+++ tcllib-1.12-dfsg/debian/dirs
@@ -0,0 +1,4 @@
+usr/bin
+usr/share/man
+usr/share/tcltk
+usr/share/doc/tcllib
--- tcllib-1.12-dfsg.orig/debian/watch
+++ tcllib-1.12-dfsg/debian/watch
@@ -0,0 +1,7 @@
+# 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
--- tcllib-1.12-dfsg.orig/debian/copyright
+++ tcllib-1.12-dfsg/debian/copyright
@@ -0,0 +1,46 @@
+This package was debianized by David Engel <david@debiang.org>
+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.
--- tcllib-1.12-dfsg.orig/debian/gen_index.tcl
+++ tcllib-1.12-dfsg/debian/gen_index.tcl
@@ -0,0 +1,81 @@
+#!/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 {<h1[^>]*>\s*(.*)\((3tcl)?\)\s+(\S+)\s+(\S+)\s+(.*)</h1>} $line -> \
+ name - version module title]} {
+ lappend manuals [list $module!$title!$name $module $name $version $title [file tail $docfile]]
+ break
+ }
+ }
+ close $fd
+}
+
+puts "<html>
+<head>
+<title>Tcllib HTML Documentation</title>
+<style type=\"text/css\">
+<!--
+ul {
+ background: #80ffff;
+ border-style: solid;
+ border-width: 1px;
+ border-color: black;
+}
+li {
+ padding: 3px;
+}
+li a {
+ font-weight: bold;
+}
+h1, h2, h3, h4 {
+ margin-top: 1em;
+ font-family: sans-serif;
+ font-size: large;
+ color: #005A9C;
+ background: transparent;
+ text-align: left;
+}
+-->
+</style>
+</head>
+<body>
+<h1>Tcllib HTML Documentation</h1>"
+
+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 "</ul>"
+ }
+ puts "<h2>$module: $title</h2>\n<ul>"
+ set prev $module
+ set prevtitle $title
+ } elseif {$title != $prevtitle} {
+ puts "</ul>\n<h2>$module: $title</h2>\n<ul>"
+ set prevtitle $title
+ }
+ puts "<li><a href=\"html/$fname\">$name</a> $version</li>"
+}
+puts "</ul>
+</body>
+</html>"
+
--- tcllib-1.12-dfsg.orig/debian/compat
+++ tcllib-1.12-dfsg/debian/compat
@@ -0,0 +1 @@
+5
--- tcllib-1.12-dfsg.orig/debian/examples
+++ tcllib-1.12-dfsg/debian/examples
@@ -0,0 +1 @@
+examples/*
--- tcllib-1.12-dfsg.orig/debian/control
+++ tcllib-1.12-dfsg/debian/control
@@ -0,0 +1,110 @@
+Source: tcllib
+Section: interpreters
+Priority: optional
+Maintainer: Tcl/Tk Debian Packagers <pkg-tcltk-devel@lists.alioth.debian.org>
+Uploaders: Chris Waters <xtifr@debian.org>, Sergei Golovan <sgolovan@debian.org>
+Build-Depends: debhelper (>= 5.0.0), quilt
+Build-Depends-Indep: tcl-dev
+Standards-Version: 3.8.3
+Homepage: http://tcl.activestate.com/software/tcllib/
+
+Package: tcllib
+Section: interpreters
+Priority: optional
+Architecture: all
+Depends: ${tclsh:Depends}
+Description: the 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
+ * cmdline: a command line argument processor similar to opt
+ * comm: remote communications facility
+ * control: procedures for control flow structures
+ * 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: manpage-generation tools
+ * exif: extracts/parses EXIF fields from digital images
+ * 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
+ * grammar_fa: finite automaton operations and usage
+ * grammar_me: grammar operations and usage
+ * grammar_peg: grammar operations and usage
+ * html: generate and control HTML tags
+ * htmlparse: parse HTML strings
+ * http: HTTP protocol helper modules
+ * ident: client interface to the ident protocol
+ * 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
+ * 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: common math functions like min, max, and others
+ * 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
+ * otp: RFC 2289 a one-time password system
+ * page: parser generator
+ * 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
+ * rc4: implementation of the RC4 stream cipher
+ * rcs: RCS low level utilities
+ * report: provides objects which can be used to generate and format
+ reports
+ * 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
+ * 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
+ * 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)
+ * wip: word interpreter
+ * yaml: YAML format encoder/decoder
--- tcllib-1.12-dfsg.orig/debian/README.source
+++ tcllib-1.12-dfsg/debian/README.source
@@ -0,0 +1,8 @@
+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 <sgolovan@debian.org> Sat, 05 Sep 2009 11:33:56 +0400
--- tcllib-1.12-dfsg.orig/debian/doc-base
+++ tcllib-1.12-dfsg/debian/doc-base
@@ -0,0 +1,11 @@
+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
--- tcllib-1.12-dfsg.orig/debian/patches/build.diff
+++ tcllib-1.12-dfsg/debian/patches/build.diff
@@ -0,0 +1,17 @@
+--- tcllib-1.12-dfsg.orig/Makefile.in
++++ tcllib-1.12-dfsg/Makefile.in
+@@ -49,12 +49,14 @@
+ all:
+ doc: html-doc nroff-doc
+
++# set -app-path for Debian to hack around broken script
+ install:
+ $(TCLSH_PROG) `$(CYGPATH) $(srcdir)/installer.tcl` \
+ -no-examples -no-html \
+ -pkg-path $(DESTDIR)$(pkglibdir) \
+ -app-path $(DESTDIR)$(bindir) \
+ -nroff-path $(DESTDIR)$(mandir)/mann \
++ -app-path $(DESTDIR)/usr/bin \
+ -no-wait -no-gui
+
+ install-libraries:
--- tcllib-1.12-dfsg.orig/debian/patches/manpages.diff
+++ tcllib-1.12-dfsg/debian/patches/manpages.diff
@@ -0,0 +1,42 @@
+Patch by Sergei Golovan fixes bad whatis entries for older versions of
+struct::graph, struct::matrix and struct::tree packages.
+
+--- tcllib-1.12-dfsg.orig/modules/struct/graph1.man
++++ tcllib-1.12-dfsg/modules.struct/graph1.man
+@@ -1,8 +1,8 @@
+ [comment {-*- tcl -*-}]
+-[manpage_begin {struct::graph v1} n 1.2.1]
++[manpage_begin {struct::graph1} n 1.2.1]
+ [copyright {2002 Andreas Kupries <andreas_kupries@users.sourceforge.net>}]
+ [moddesc {Tcl Data Structures}]
+-[titledesc {Create and manipulate directed graph objects}]
++[titledesc {Create and manipulate directed graph objects (version 1)}]
+ [category {Data structures}]
+ [require Tcl 8.2]
+ [require struct::graph [opt 1.2.1]]
+--- tcllib-1.12-dfsg.orig/modules/struct/matrix1.man
++++ tcllib-1.12-dfsg/modules.struct/matrix1.man
+@@ -1,8 +1,8 @@
+ [comment {-*- tcl -*-}]
+-[manpage_begin {struct::matrix v1} n 1.2.1]
++[manpage_begin {struct::matrix1} n 1.2.1]
+ [copyright {2002 Andreas Kupries <andreas_kupries@users.sourceforge.net>}]
+ [moddesc {Tcl Data Structures}]
+-[titledesc {Create and manipulate matrix objects}]
++[titledesc {Create and manipulate matrix objects (version 1)}]
+ [category {Data structures}]
+ [require Tcl 8.2]
+ [require struct::matrix [opt 1.2.1]]
+--- tcllib-1.12-dfsg.orig/modules/struct/struct_tree1.man
++++ tcllib-1.12-dfsg/modules.struct/struct_tree1.man
+@@ -1,8 +1,8 @@
+ [comment {-*- tcl -*-}]
+-[manpage_begin {struct::tree v1} n 1.2.2]
++[manpage_begin {struct::tree1} n 1.2.2]
+ [copyright {2002 Andreas Kupries <andreas_kupries@users.sourceforge.net>}]
+ [moddesc {Tcl Data Structures}]
+-[titledesc {Create and manipulate tree objects}]
++[titledesc {Create and manipulate tree objects (version 1)}]
+ [category {Data structures}]
+ [require Tcl 8.2]
+ [require struct::tree [opt 1.2.2]]
--- tcllib-1.12-dfsg.orig/debian/patches/series
+++ tcllib-1.12-dfsg/debian/patches/series
@@ -0,0 +1,2 @@
+build.diff
+manpages.diff