debian/0000755000000000000000000000000011330413452007162 5ustar debian/control0000644000000000000000000000260111330412473010566 0ustar Source: postgresql-autodoc Section: database Priority: optional Maintainer: Tim Retout Build-Depends: debhelper (>> 7), quilt Build-Depends-Indep: libdbd-pg-perl, libhtml-template-perl, libterm-readkey-perl Standards-Version: 3.8.4 Homepage: http://www.rbt.ca/autodoc/ Vcs-Git: git://git.debian.org/git/collab-maint/postgresql-autodoc.git Vcs-Browser: http://git.debian.org/?p=collab-maint/postgresql-autodoc.git Package: postgresql-autodoc Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libdbd-pg-perl, libhtml-template-perl, libterm-readkey-perl Recommends: graphviz, docbook-book, dia | dia-gnome, lynx | www-browser Description: Utility to create a PostgreSQL database schema overview in HTML, DOT and XML This is a utility which will run through PostgreSQL tables and returns HTML, DOT, and 2 styles of XML which describes the database. . The HTML is human readable (via webbrowser). The first style of XML is actually the fileformat of Dia, a UML diagram tool. The second type of XML is similar to the HTML but in the Docbook 4 format. It enables you to mix in other docbook documentation via the XREFs, generating PDFs, HTML, RTF, or other formatted documents. Between these tools and JavaDoc with the appropriate XREFs, documentation about a project can be generated quickly and be easily updatable yet have a very professional look with some DSSSL work. debian/watch0000644000000000000000000000016211230057711010213 0ustar version=3 http://www.rbt.ca/autodoc/releasenotes.html binaries/postgresql_autodoc-(.*)\.tar\.gz debian uupdate debian/compat0000644000000000000000000000000211230057711010361 0ustar 7 debian/patches/0000755000000000000000000000000011273135116010615 5ustar debian/patches/series0000644000000000000000000000002411273134727012035 0ustar synopsis-correction debian/patches/synopsis-correction0000644000000000000000000000121711273135116014575 0ustar Author: Tommaso Moroni Description: Correct the command-line option documentation printed with --help. diff -urNad postgresql-autodoc-1.30~/postgresql_autodoc.pl postgresql-autodoc-1.30/postgresql_autodoc.pl --- postgresql-autodoc-1.30~/postgresql_autodoc.pl 2007-01-02 15:42:55.000000000 +0100 +++ postgresql-autodoc-1.30/postgresql_autodoc.pl 2007-01-28 08:09:28.000000000 +0100 @@ -1844,7 +1844,7 @@ my ( $basename, $database, $dbuser ) = @_; print < Specify database name to connect to (default: $database) debian/changelog0000644000000000000000000001601011330413417011033 0ustar postgresql-autodoc (1.40-3) unstable; urgency=low * debian/control: + Update maintainer email address. + Add ${misc:Depends} to Depends field. + Bump Standards-Version to 3.8.4. (No changes needed.) * debian/source/format: Use format 3.0 (quilt). -- Tim Retout Thu, 28 Jan 2010 23:00:19 +0000 postgresql-autodoc (1.40-2) unstable; urgency=low * debian/control: + Update Standards-Version to 3.8.3. (No changes needed.) + Use quilt instead of dpatch in Build-Depends. * debian/rules: include quilt makefile instead of dpatch. * debian/patches/: + Rename '02_synopsis_correction.dpatch' to 'synopsis-correction'. + Use 'series' instead of '00list' file. * debian/patches/synopsis-correction: Clean up description. * debian/README.source: New file. -- Tim Retout Sat, 31 Oct 2009 22:23:05 +0000 postgresql-autodoc (1.40-1) unstable; urgency=low [ Peter Eisentraut ] * New upstream version. (Closes: #532614) * debian/watch: + Fix to work with upstream web site. * debian/rules: + Removed autoconf-related stuff that is no longer used. * debian/copyright: + Update the years in the copyright field. * debian/control: + Standards-Version bumped to 3.8.1 (no changes required). [ Tim Retout ] * debian/compat: Update compat level to 7. * debian/control: + Build-Depend on debhelper 7. + Standards-Version bumped to 3.8.2. + Section is now 'database'. * debian/rules: Use dh_prep, not dh_clean -k. -- Tim Retout Fri, 17 Jul 2009 12:53:51 +0100 postgresql-autodoc (1.31-1) unstable; urgency=low * New upstream version. + Fixes compatibility with recent libdbd-pg-perl. (Closes: #469715) * debian/rules: + Touch config.mk before running 'make distribution-clean', so that we never try to use upstream's rule to create it. + config.sub and config.guess are unused by ./configure, so remove altogether. * debian/control: Remove build dependency on autotools-dev. * Makefile: Remove change to config.mk creation rule from Debian diff. -- Tim Retout Fri, 02 May 2008 00:45:52 +0100 postgresql-autodoc (1.30-2) unstable; urgency=low * New maintainer. (Closes: #439534) * debian/compat: Bump debhelper compatibility level to 5. * debian/control: + Bump Build-Depends on debhelper to at least version 5 (see above). + Add Build-Depends on autotools-dev, for config.sub and config.guess. + Change "PostrgreSQL" to "PostgreSQL" in description. (Closes: #447688) + Wrap long description to 80 characters. + Standards-Version bumped to 3.7.3 (no changes required). + Add new Homepage field. + Add new Vcs-* fields. * debian/copyright: + Update the years in the copyright field. + Add new Debian maintainer. * debian/rules: + Use RM="rm -f" in distclean line, and remove initial hyphen. (Fixes lintian warning about ignoring distclean errors.) + Respect DEB_BUILD_GNU_TYPE and DEB_HOST_GNU_TYPE variables, using code from autotools-dev documentation. + Remove config.sub, config.guess during clean. * debian/patches/01_finish_on_undefined_value_fix.dpatch: Remove, since it was disabled in the last upload. * debian/patches/02_synopsis_correction.dpatch: Add a description of the patch. (Fixes lintian warning about missing description.) * config.sub, config.guess: Remove in favour of autotools-dev build-dep. -- Tim Retout Mon, 17 Dec 2007 01:32:12 +0000 postgresql-autodoc (1.30-1) unstable; urgency=low * New upstream release * debian/patches: disabled patch 01_finish_on_undefined_value_fix.dpatch since it is no longer needed. * debian/control: added needed libterm-readkey-perl to the Build-Depends-Indep * debian/control: Standards-Version bumped to 3.7.2 (no changes required) * Corrected synopsis both in the usage print in the program and in the man page. (Closes: #408505) * debian/control: short description rephrased. Thanks to Peter Eisentraut for the help. (Closes: #408498) -- Tommaso Moroni Sun, 28 Jan 2007 07:26:57 +0100 postgresql-autodoc (1.25-3) unstable; urgency=low * Added a dpatch which fixes a bug caused by a method call on an undefined variable. Thanks to William McKee for the patch and to Paolo Cavallini for testing it. (Closes: #361228) * debian/control: put debhelper and dpatch in Build-Depends line; Standards-Version bumped to 3.7.0 (no changes required). -- Tommaso Moroni Mon, 1 May 2006 14:48:53 +0200 postgresql-autodoc (1.25-2) unstable; urgency=low * debian/control: - Standards-Version bumped to 3.6.2 (no changes) - recommends dia | dia-gnome (Closes: #329050) -- Tommaso Moroni Tue, 4 Oct 2005 19:18:34 +0200 postgresql-autodoc (1.25-1) unstable; urgency=low * New upstream release -- Tommaso Moroni Sun, 12 Jun 2005 12:08:32 +0200 postgresql-autodoc (1.24-3) unstable; urgency=low * debian/control: change section from contrib to main, since graphviz is now in main. (Closes: #298765) * debian/copyright: made distiction between copyright and license. -- Tommaso Moroni Fri, 11 Mar 2005 15:45:25 +0100 postgresql-autodoc (1.24-2) unstable; urgency=low * debian/postgresql_autodoc.1: updated to reflect the output of "postgresql_autodoc --help" command. (Closes: #291556) -- Tommaso Moroni Fri, 21 Jan 2005 18:01:32 +0100 postgresql-autodoc (1.24-1) unstable; urgency=low * New upstream release (Closes: #251595) * Corrected download URL in debian/copyright -- Tommaso Moroni Mon, 18 Oct 2004 05:22:38 +0200 postgresql-autodoc (1.23-1) unstable; urgency=low * New upstream release (Closes: #252046, #252049) -- Tommaso Moroni Fri, 4 Jun 2004 13:34:23 +0200 postgresql-autodoc (1.22-2) unstable; urgency=low * Removed dependency on postgresql, as one could generate documentation from a host which doesn't run the dbms. -- Tommaso Moroni Tue, 23 Mar 2004 05:40:45 +0100 postgresql-autodoc (1.22-1) unstable; urgency=low * New upstream release -- Tommaso Moroni Sat, 20 Mar 2004 05:22:47 +0100 postgresql-autodoc (1.21-1) unstable; urgency=low * New upstream release -- Tommaso Moroni Sat, 6 Dec 2003 18:13:06 +0100 postgresql-autodoc (1.20-1) unstable; urgency=low * New upstream release -- Tommaso Moroni Sun, 16 Nov 2003 09:07:09 +0100 postgresql-autodoc (1.12-1) unstable; urgency=low * New upstream release * Package now Recommends dia (>= 0.91) * Updated Standards-version to 3.6.1.0 (no changes needed) * Added debian/watch -- Tommaso Moroni Fri, 29 Aug 2003 18:44:11 +0200 postgresql-autodoc (1.10-1) unstable; urgency=low * Initial Release. (Closes: #166291) -- Tommaso Moroni Sun, 20 Jul 2003 19:53:43 +0200 debian/rules0000755000000000000000000000166711273136300010254 0ustar #!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 include /usr/share/quilt/quilt.make build: build-indep build-indep: build-stamp build-stamp: $(QUILT_STAMPFN) dh_testdir $(MAKE) PREFIX=/usr touch build-stamp clean: clean-patched unpatch clean-patched: dh_testdir dh_testroot rm -f build-stamp $(MAKE) clean dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs $(MAKE) install PREFIX=/usr DESTDIR=$(CURDIR)/debian/postgresql-autodoc/ binary-arch: build install binary-indep: build install dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installman debian/postgresql_autodoc.1 dh_link dh_compress dh_fixperms dh_perl dh_installdeb dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/source/0000755000000000000000000000000011330412572010464 5ustar debian/source/format0000644000000000000000000000001411330413751011672 0ustar 3.0 (quilt) debian/postgresql_autodoc.10000644000000000000000000000354511273133740013201 0ustar .TH POSTGRESQL_AUTODOC 1 21/01/2005 .SH NAME postgresql_autodoc \- creates postgresql tables overview .SH SYNOPSIS .B postgresql_autodoc [options] .SH DESCRIPTION This is a utility which will run through PostgreSQL system tables and returns HTML, DOT, and 2 styles of XML which describes the database. .PP The HTML is human readable (via webbrowser). The first style of XML is actually the fileformat of Dia, a UML diagram tool. The second type of XML is similar to the HTML but in the Docbook 4 format. It enables yous to mix in other docbook documentation via the XREFs, generating PDFs, HTML, RTF, or other formatted documents. Between these tools and JavaDoc with the appropriate XREFs, documentation about a project can be generated quickly and be easily updatable yet have a very professional look with some DSSSL work. .SH OPTIONS .TP .B \-d Specify database name to connect to (default: $database) .TP .B \-f Specify output file prefix (default: $database) .TP .B \-h Specify database server host (default: localhost) .TP .B \-p Specify database server port (default: 5432) .TP .B \-u Specify database username (default: $dbuser) .TP .B \-\-password= Specify database password (default: blank) .TP .B \-l Path to the templates (default: /usr/share/postgresql-autodoc) .TP .B \-t Type of output wanted (default: All in template library) .TP .B -s Specify a specific schema to match. Technically this is a regular expression but anything other than a specific name may have unusual results. .TP .B \-\-statistics In 7.4 and later, with the contrib module pgstattuple installed we can gather statistics on the tables in the database (average size, free space, disk space used, dead tuple counts, etc.) This is disk intensive on large databases as all pages must be visited. .SH AUTHOR Rod Taylor debian/README.source0000644000000000000000000000036311273136473011356 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. See /usr/share/doc/quilt/README.source for a detailed explanation. debian/copyright0000644000000000000000000000341611230057711011122 0ustar This package was debianized by Tommaso Moroni on Sun, 20 Jul 2003 19:53:43 +0200. The current Debian maintainer is Tim Retout . It was downloaded from http://www.rbt.ca/autodoc/ Copyright: Copyright (c) 2001-2009, Rod Taylor Upstream Author: Rod Taylor License: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the InQuent Technologies Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FREEBSD PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.