From 26273e4a12a913968a740de1aae4e1917c954465 Mon Sep 17 00:00:00 2001 From: Sven Hoexter Date: Tue, 25 Dec 2007 12:56:58 +0000 Subject: [PATCH] [svn-inject] Applying Debian modifications to trunk --- debian/changelog | 121 +++++++++++++++++++++++++++++++++ debian/compat | 1 + debian/control | 15 ++++ debian/copyright | 30 ++++++++ debian/docs | 3 + debian/manpages | 1 + debian/patches/makefiletargets | 16 +++++ debian/patches/man-section | 13 ++++ debian/patches/series | 2 + debian/rules | 68 ++++++++++++++++++ 10 files changed, 270 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/manpages create mode 100644 debian/patches/makefiletargets create mode 100644 debian/patches/man-section create mode 100644 debian/patches/series create mode 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..6ec84f3 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,121 @@ +mysqltcl (3.03-1) unstable; urgency=low + + * New upstream release with a fix for mysql 5. + * Standards-Version: 3.7.3 - no changes required. + * Changed compat to 5, Build-Depend on debhelper >> 5. + * Moved the homepage to the new Homepage field. + * Build-Depend now on tcl-dev instead of tcl8.4-dev. + * Use tcltk-depends to depend on the right Tcl version. + * Switched to use quilt to mange the patches. + + -- Sven Hoexter Sat, 15 Dec 2007 16:00:40 +0100 + +mysqltcl (3.02-1) unstable; urgency=low + + * New upstream release + * Changed Standards-Version to 3.7.2 + + -- Sven Hoexter Sun, 7 May 2006 17:53:25 +0200 + +mysqltcl (3.01-2) unstable; urgency=low + + * ACK Luk Claes NMU (Closes: #359296, #343784, #353920). + * Added the mysqltcl Homepage to the control file. + * Changed Standards-Version to 3.6.2 + * Changed from DH_COMPAT 3 to DH_COMPAT 4 and moved it from rules + into the compat file. Build-Depends on debhelper >> 4 + * Build as a normal package with .diff.gz (closes: #353919) + * Removed the dot from the end of the synopsis line in control + * Edited the manpage to fit in section 3 + * Removed debian/dirs - everything we need is auto created + * Removed install-bin-binaries from Makefile.in so that we do not + create the empty bin directory in the package + * Removed commented out dh_* commands from rules + * Added myself as the current maintainer in the copyright and control file + * David N. Welton agreed that I take over the + maintenance of this package. + + -- Sven Hoexter Mon, 10 Apr 2006 16:17:32 +0200 + +mysqltcl (3.01-1.1) unstable; urgency=high + + * Non-maintainer upload. + * Fix syntax error in tcl.m4 (Closes: #353920). + * Upgrade build depends to libmysqlclient15-dev (Closes: #343784). + + -- Luk Claes Mon, 27 Mar 2006 19:55:25 +0200 + +mysqltcl (3.01-1) unstable; urgency=low + + * New upstream release. + * mysqltcl: New upstream release available (v2.50) + * mysqltcl: Typo results in: Tcl_Release couldn't find reference + + -- David N. Welton Sun, 30 Oct 2005 17:59:39 +0100 + +mysqltcl (2.30-3) unstable; urgency=low + + * Recompile against libmysqlclient12. Enable threads in Tcl configure. + + -- David N. Welton Fri, 28 Jan 2005 15:55:33 +0100 + +mysqltcl (2.30-2) unstable; urgency=low + + * Fixed problem with directories. + + -- David N. Welton Sat, 30 Aug 2003 13:27:31 +0200 + +mysqltcl (2.30-1) unstable; urgency=low + + * New upstream release + + -- David N. Welton Sat, 26 Jul 2003 12:50:47 +0200 + +mysqltcl (2.12-1) unstable; urgency=low + + * New upstream release. + + -- David N. Welton Wed, 26 Mar 2003 02:19:04 -0800 + +mysqltcl (2.1-1) unstable; urgency=low + + * New upstream release. + + -- David N. Welton Mon, 9 Dec 2002 13:48:03 -0800 + +mysqltcl (2.0rc11-5) unstable; urgency=low + + * Updated config.guess and config.sub from /usr/share/misc. Let's hope + this time it works. Auto* sucks. (closes: #131058) + + -- David N. Welton Fri, 1 Feb 2002 15:08:30 +0100 + +mysqltcl (2.0rc11-4) unstable; urgency=low + + * Updated config.guess and config.sub from ftp.gnu.org. + * (closes: #125964) + + -- David N. Welton Wed, 2 Jan 2002 14:06:02 +0100 + +mysqltcl (2.0rc11-3) unstable; urgency=low + + * Added dependencies on mysql and tcl -dev packages. + * (closes: #121368) + + -- David N. Welton Tue, 18 Dec 2001 23:30:28 +0100 + +mysqltcl (2.0rc11-2) unstable; urgency=low + + * Created package. (closes: #119129) + + * Added man page. + + -- David N. Welton Mon, 12 Nov 2001 13:33:19 +0100 + +mysqltcl (2.0rc11-1) unstable; urgency=low + + * Initial Release. + + -- David N. Welton Sun, 11 Nov 2001 15:25:08 +0100 + + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..5e2b751 --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: mysqltcl +Section: libs +Priority: optional +Maintainer: Sven Hoexter +Build-Depends: debhelper (>> 5), tcl-dev, libmysqlclient15-dev, quilt +Standards-Version: 3.7.3 +Homepage: http://www.xdobry.de/mysqltcl/ + +Package: mysqltcl +Architecture: any +Depends: ${shlibs:Depends}, ${tclsh:Depends} +Description: Interface to the MySQL database for the Tcl language + The mysqltcl package provides a Tcl interface to the mysql database system. + + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..ca70674 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by David N. Welton on +Sun, 11 Nov 2001 15:25:08 +0100. + +The current Debian maintainer is Sven Hoexter + +It was downloaded from http://www.xdobry.de/mysqltcl/ + +Upstream Authors: Tobias Ritzau , Artur Trzewik + +Copyright: + +/* + * Copyright (c) 1994, 1995 Hakan Soderstrom and Tom Poindexter + * + * Permission to use, copy, modify, distribute, and sell this software + * and its documentation for any purpose is hereby granted without fee, + * provided that the above copyright notice and this permission notice + * appear in all copies of the software and related documentation. + * + * THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, + * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY + * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. + * + * IN NO EVENT SHALL HAKAN SODERSTROM OR SODERSTROM PROGRAMVARUVERKSTAD + * AB BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL + * DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS + * OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF THE POSSIBILITY + * OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN + * CONNECTON WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..1a83401 --- /dev/null +++ b/debian/docs @@ -0,0 +1,3 @@ +AUTHORS +README +README-msqltcl diff --git a/debian/manpages b/debian/manpages new file mode 100644 index 0000000..57b8354 --- /dev/null +++ b/debian/manpages @@ -0,0 +1 @@ +doc/*.n diff --git a/debian/patches/makefiletargets b/debian/patches/makefiletargets new file mode 100644 index 0000000..ac17747 --- /dev/null +++ b/debian/patches/makefiletargets @@ -0,0 +1,16 @@ +Index: mysqltcl-3.03/Makefile.in +=================================================================== +--- mysqltcl-3.03.orig/Makefile.in 2007-12-15 16:11:42.000000000 +0100 ++++ mysqltcl-3.03/Makefile.in 2007-12-15 16:36:13.000000000 +0100 +@@ -200,9 +200,9 @@ + doc: + @echo "user manual doc is as nroff (man) file mysqltcl.n" + +-install: all install-binaries install-libraries install-doc ++install: all install-binaries + +-install-binaries: binaries install-lib-binaries install-bin-binaries ++install-binaries: binaries install-lib-binaries + + #======================================================================== + # This rule installs platform-independent files, such as header files. diff --git a/debian/patches/man-section b/debian/patches/man-section new file mode 100644 index 0000000..84c1680 --- /dev/null +++ b/debian/patches/man-section @@ -0,0 +1,13 @@ +Index: mysqltcl-3.03/doc/mysqltcl.n +=================================================================== +--- mysqltcl-3.03.orig/doc/mysqltcl.n 2007-12-15 16:09:34.000000000 +0100 ++++ mysqltcl-3.03/doc/mysqltcl.n 2007-12-15 16:09:57.000000000 +0100 +@@ -238,7 +238,7 @@ + .de UL + \\$1\l'|0\(ul'\\$2 + .. +-.TH "mysqltcl" n 3.0 "" ++.TH "mysqltcl" 3 3.0 "" + .BS + .SH "NAME" + mysqltcl \- MySQL server access commands for Tcl diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..b50ed5c --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +makefiletargets +man-section diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..439bc93 --- /dev/null +++ b/debian/rules @@ -0,0 +1,68 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +LDFLAGS += -Wl,-z,defs -Wl,--as-needed + +configure: patch configure-stamp +configure-stamp: + dh_testdir + ./configure \ + --prefix=/usr + --enable-threads + + touch configure-stamp + +build: configure build-stamp +build-stamp: + dh_testdir + + $(MAKE) + touch build-stamp + +clean: cleaner unpatch +cleaner: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/mysqltcl/ + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installman + dh_installchangelogs ChangeLog + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + tcltk-depends + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure -- 2.39.5