--- sqlite3-3.6.16.orig/Makefile.in +++ sqlite3-3.6.16/Makefile.in @@ -804,9 +804,13 @@ rm -f $(PUBLISH) rm -f *.da *.bb *.bbg gmon.out rm -f testfixture$(TEXE) test.db + [ -f doc/lemon.html ] && mv doc/lemon.html doc/report1.txt . + rm -rf doc/* + [ -f lemon.html ] && mv lemon.html report1.txt doc/ rm -f common.tcl rm -f sqlite3.dll sqlite3.lib sqlite3.def rm -f sqlite3.c .target_source + rm -f last_change distclean: clean rm -f config.log config.status libtool Makefile sqlite3.pc --- sqlite3-3.6.16.orig/debian/libsqlite3-tcl.dirs +++ sqlite3-3.6.16/debian/libsqlite3-tcl.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/lib/sqlite3 --- sqlite3-3.6.16.orig/debian/control +++ sqlite3-3.6.16/debian/control @@ -0,0 +1,89 @@ +Source: sqlite3 +Section: devel +Priority: optional +Maintainer: Laszlo Boszormenyi (GCS) +Build-Depends: cdbs (>= 0.4.15), debhelper (>= 5), autoconf (>= 2.59), libtool (>= 1.5.2), automake, autotools-dev, chrpath, libreadline5-dev, tcl8.4-dev +Standards-Version: 3.8.2 + +Package: lemon +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: The Lemon Parser Generator + Lemon is an LALR(1) parser generator for C or C++. It does the same + job as bison and yacc. But lemon is not another bison or yacc + clone. It uses a different grammar syntax which is designed to reduce + the number of coding errors. Lemon also uses a more sophisticated + parsing engine that is faster than yacc and bison and which is both + reentrant and thread-safe. Furthermore, Lemon implements features + that can be used to eliminate resource leaks, making is suitable for + use in long-running programs such as graphical user interfaces or + embedded controllers. + +Package: sqlite3 +Section: database +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: sqlite3-doc +Description: A command line interface for SQLite 3 + SQLite is a C library that implements an SQL database engine. + Programs that link with the SQLite library can have SQL database + access without running a separate RDBMS process. + +Package: sqlite3-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Recommends: sqlite3 +Description: SQLite 3 documentation + SQLite is a C library that implements an SQL database engine. + Programs that link with the SQLite library can have SQL database + access without running a separate RDBMS process. + . + This package contains the documentation that is also available on + the SQLite homepage. + +Package: libsqlite3-0-dbg +Section: debug +Architecture: any +Priority: extra +Depends: libsqlite3-0 (= ${binary:Version}), ${misc:Depends} +Description: SQLite 3 debugging symbols + SQLite is a C library that implements an SQL database engine. + Programs that link with the SQLite library can have SQL database + access without running a separate RDBMS process. + . + This package contains the debugging symbols for the libraries. + +Package: libsqlite3-0 +Section: libs +Architecture: any +Priority: standard +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: SQLite 3 shared library + SQLite is a C library that implements an SQL database engine. + Programs that link with the SQLite library can have SQL database + access without running a separate RDBMS process. + +Package: libsqlite3-dev +Suggests: sqlite3-doc +Section: libdevel +Architecture: any +Depends: libsqlite3-0 (= ${binary:Version}), ${misc:Depends}, libc6-dev +Description: SQLite 3 development files + SQLite is a C library that implements an SQL database engine. + Programs that link with the SQLite library can have SQL database + access without running a separate RDBMS process. + . + This package contains the development files (headers, static libraries) + +Package: libsqlite3-tcl +Suggests: sqlite3-doc +Section: interpreters +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: SQLite 3 Tcl bindings + SQLite is a C library that implements an SQL database engine. + Programs that link with the SQLite library can have SQL database + access without running a separate RDBMS process. + . + This package contains the Tcl bindings. --- sqlite3-3.6.16.orig/debian/lemon.manpages +++ sqlite3-3.6.16/debian/lemon.manpages @@ -0,0 +1 @@ +debian/lemon.1 --- sqlite3-3.6.16.orig/debian/changelog +++ sqlite3-3.6.16/debian/changelog @@ -0,0 +1,406 @@ +sqlite3 (3.6.16-1~hardy~pgquiles1) hardy; urgency=low + + * Backport to Hardy + + -- Pau Garcia i Quiles Wed, 19 Aug 2009 23:43:02 +0200 + +sqlite3 (3.6.16-1) unstable; urgency=low + + * New upstream release (closes: #536661). + + -- Laszlo Boszormenyi (GCS) Fri, 10 Jul 2009 22:44:19 +0000 + +sqlite3 (3.6.14.2-1) unstable; urgency=low + + * New upstream release. Disable ICU support, it causes more trouble than + good. + * Add 20-hurd-locking-style.patch for proper locking on Hurd + (closes: #529734). + + -- Laszlo Boszormenyi (GCS) Sun, 31 May 2009 16:28:06 +0000 + +sqlite3 (3.6.13-1) unstable; urgency=low + + * New upstream release (closes: #524617), fixing segfault when table + contains default value (closes: 524166). + + -- Laszlo Boszormenyi (GCS) Sun, 19 Apr 2009 07:18:50 +0000 + +sqlite3 (3.6.12-1) unstable; urgency=low + + * New upstream release, remove 10-install-libsqlite3-first.patch as fixed + upstream in a different way. + * Remove generated files in clean target. + + -- Laszlo Boszormenyi (GCS) Tue, 31 Mar 2009 18:33:15 +0000 + +sqlite3 (3.6.11-4) unstable; urgency=low + + * Fix that .la file (closes: #520478) (really). + + -- Laszlo Boszormenyi (GCS) Sun, 29 Mar 2009 23:53:53 +0000 + +sqlite3 (3.6.11-3) unstable; urgency=low + + * Really remove transitive dependencies from .la files (closes: #520478). + * Set section and priority fields matching override. + + -- Laszlo Boszormenyi (GCS) Fri, 27 Mar 2009 20:11:06 +0000 + +sqlite3 (3.6.11-2) unstable; urgency=low + + [ Zack Weinberg ] + * Fix ordering in "make install" (closes: #520153). + * Link libsqlite3.so with libdl (closes: #520466). + * Prune transitive dependencies from .la files (closes: #520478). + * Tweak ICU linkage to eliminate dpkg-shlibdeps complaints (closes: #521082). + + -- Laszlo Boszormenyi (GCS) Thu, 26 Mar 2009 20:12:02 +0000 + +sqlite3 (3.6.11-1) unstable; urgency=low + + * New upstream release, upload to unstable. + * Enable ICU support (closes: #494987). + * Update debhelper compatibility level to 5 as 4 is deprecated now. + + -- Laszlo Boszormenyi (GCS) Sat, 14 Mar 2009 21:18:18 +0000 + +sqlite3 (3.6.10-1) experimental; urgency=low + + * New upstream release, enable the R*Tree module (closes: #501099). + * Remove 01-sqlite3.pc-version-to-release.patch , applied upstream. + * Rework 02-lemon-snprintf.patch to match this release. + * Remove 03-restore-documentation.patch as documentation can not be built + anymore, but merged into .orig.tar.gz . + * Rework 04-loadextension-links-dl.patch to still link with libdl if load + extension is enabled. + * Remove 05-improve-nan-testing-on-x86.patch and + 06-fix-distinct-on-indexes.patch, this release contains these fixes. + * Remove own pkgIndex.tcl , use the original after correcting its path. + * Add ${misc:Depends} to packages. + + -- Laszlo Boszormenyi (GCS) Sat, 17 Jan 2009 08:06:05 +0000 + +sqlite3 (3.5.9-6) unstable; urgency=low + + * Make sqlite3 depends on the exact Debian version of libsqlite3-0 + (closes: #502370). + + -- Laszlo Boszormenyi (GCS) Thu, 16 Oct 2008 15:44:09 +0000 + +sqlite3 (3.5.9-5) unstable; urgency=low + + * Backport fix for distinct on indexes (closes: #500792). + + -- Laszlo Boszormenyi (GCS) Wed, 01 Oct 2008 20:16:18 +0000 + +sqlite3 (3.5.9-4) unstable; urgency=low + + * Backport improved NaN testing for highly optimized GCC on x86 + (closes: #488864). + * Remove rpath from sqlite3 binary. + + -- Laszlo Boszormenyi (GCS) Sun, 24 Aug 2008 11:03:56 +0000 + +sqlite3 (3.5.9-3) unstable; urgency=low + + * Enable full text search (closes: #487914). + * Update Standards-Version to 3.8.0 , no changes needed. + + -- Laszlo Boszormenyi (GCS) Wed, 25 Jun 2008 11:41:54 +0200 + +sqlite3 (3.5.9-2) unstable; urgency=low + + * Set correct version for TCL (closes: #483990). + + -- Laszlo Boszormenyi (GCS) Mon, 02 Jun 2008 16:33:24 +0000 + +sqlite3 (3.5.9-1) unstable; urgency=medium + + * New upstream release, contains the backported fix for 3.5.8-4 thus + drop 05-busy-handler-update-retry-fix.patch . + * Urgency set to medium due to fixing a buffer-overrun problem in + sqlite3_mprintf() and fixing a big performance regression on LEFT JOIN + (closes: #479184). + + -- Laszlo Boszormenyi (GCS) Sat, 17 May 2008 16:42:51 +0000 + +sqlite3 (3.5.8-4) unstable; urgency=low + + * Backport busy handler fix from upstream CVS (closes: #480007). + + -- Laszlo Boszormenyi (GCS) Thu, 08 May 2008 20:36:40 +0200 + +sqlite3 (3.5.8-3) unstable; urgency=low + + * Add 04-loadextension-links-dl.patch to link against dl when + loadextension enabled (closes: #478980). + + -- Laszlo Boszormenyi (GCS) Sat, 03 May 2008 09:19:31 +0200 + +sqlite3 (3.5.8-2) unstable; urgency=low + + * Re-enable extension mechanism (closes: #478337, #475084). + * Create and install a more complete documentation (closes: #478492). + + -- Laszlo Boszormenyi (GCS) Tue, 29 Apr 2008 01:12:34 +0200 + +sqlite3 (3.5.8-1) unstable; urgency=low + + * New upstream release, re-merge source and documentation. + * Remove 04-fix-tcl-interface.patch , this release contains it. + + -- Laszlo Boszormenyi (GCS) Sun, 27 Apr 2008 21:52:30 +0200 + +sqlite3 (3.5.7-2) unstable; urgency=low + + * Backport TCL interface fix from upstream CVS (closes: #473988). + + -- Laszlo Boszormenyi (GCS) Sun, 06 Apr 2008 20:20:07 +0200 + +sqlite3 (3.5.7-1) unstable; urgency=low + + * New upstream release. + * Redo 03-restore-documentation.patch as upstream Makefile.in changed big. + * Fix Makefile.in for rebuild. + + -- Laszlo Boszormenyi (GCS) Sat, 22 Mar 2008 10:32:05 +0000 + +sqlite3 (3.5.6-3) unstable; urgency=low + + * Add debug library package, thanks to Luis Rodrigo Gallardo Cruz + (closes: #447829). + * Correct snprintf use in 02-lemon-snprintf.patch thanks to Thorsten Glaser. + + -- Laszlo Boszormenyi (GCS) Thu, 28 Feb 2008 18:50:44 +0000 + +sqlite3 (3.5.6-2) unstable; urgency=low + + * Upload to unstable. + * Add Makefile.in snippets to generate C interface documentation again + (closes: #466938). + + -- Laszlo Boszormenyi (GCS) Thu, 28 Feb 2008 14:44:43 +0100 + +sqlite3 (3.5.6-1) experimental; urgency=low + + * New upstream release. + + -- Laszlo Boszormenyi (GCS) Thu, 14 Feb 2008 16:30:39 +0100 + +sqlite3 (3.5.4-1) experimental; urgency=low + + * New upstream release, re-merge source and documentation. + * Register with doc-base (closes: #452391). + + -- Laszlo Boszormenyi (GCS) Fri, 21 Dec 2007 22:40:30 +0200 + +sqlite3 (3.5.1-1) experimental; urgency=low + + * New upstream release. + + -- Laszlo Boszormenyi (GCS) Thu, 4 Oct 2007 09:27:05 +0200 + +sqlite3 (3.4.2-2) unstable; urgency=low + + * Fixed upstream Makefile.in not to lose doc/lemon.html and + doc/report1.txt on rebuilds (closes: #441726). + * Added debian/watch file. + + -- Laszlo Boszormenyi (GCS) Thu, 4 Oct 2007 08:54:16 +0200 + +sqlite3 (3.4.2-1) unstable; urgency=low + + * New upstream release. + + -- Laszlo Boszormenyi (GCS) Mon, 20 Aug 2007 16:12:00 +0300 + +sqlite3 (3.4.1-1) unstable; urgency=low + + * New upstream release (closes: #436165). + + -- Laszlo Boszormenyi (GCS) Sat, 28 Jul 2007 08:51:35 +0300 + +sqlite3 (3.3.17-1) unstable; urgency=low + + * New upstream release. + * Use minor version as well in sqlite3.pc (closes: #424235). + + -- Laszlo Boszormenyi (GCS) Thu, 17 May 2007 02:01:42 +0300 + +sqlite3 (3.3.16-1) unstable; urgency=medium + + * New upstream release with important bugfixes. + + -- Laszlo Boszormenyi (GCS) Thu, 19 Apr 2007 09:13:29 +0000 + +sqlite3 (3.3.15-1) unstable; urgency=low + + * New upstream release (closes: #419534). + * Force enable extensions; not supposed to work on *BSD, but well... + + -- Laszlo Boszormenyi (GCS) Tue, 17 Apr 2007 15:56:30 +0000 + +sqlite3 (3.3.14-1) unstable; urgency=low + + * New upstream release (closes: #406436). Accept Otavio's upload + (closes: #397531). + * Include all header files in -dev (closes: #404242), add missing image to + -doc (closes: #368211). + + -- Laszlo Boszormenyi (GCS) Wed, 04 Apr 2007 17:57:08 +0000 + +sqlite3 (3.3.8-1.1) unstable; urgency=low + + * NMU + * Revert PRAGMA table_info format change on a minor version release + (closes: #397531) + + -- Otavio Salvador Tue, 6 Mar 2007 08:53:43 -0300 + +sqlite3 (3.3.8-1) unstable; urgency=low + + * New upstream version. + * Create lang_* files for documentation (closes: #310603). + * Enable column metadata functions (closes: #375352). + + -- Laszlo Boszormenyi (GCS) Thu, 12 Oct 2006 21:55:37 +0000 + +sqlite3 (3.3.7-1) unstable; urgency=low + + * New upstream release (closes: #378247). + * New maintainer with ACK from Tomas, close my own NMU fixes + (closes: #339369, #364196, #361412, #352317). + + -- Laszlo Boszormenyi (GCS) Tue, 8 Aug 2006 04:51:14 +0200 + +sqlite3 (3.3.5-0.2) unstable; urgency=medium + + * NMU to fix package problems: + - correct Tcl provides (closes: #361412); + - compile correctly on 64 bit archs, thanks to Matthias Klose + (closes: #364196). + + -- Laszlo Boszormenyi (GCS) Mon, 1 May 2006 10:47:59 +0000 + +sqlite3 (3.3.5-0.1) unstable; urgency=medium + + * NMU for new upstream release; fixes thread segfault (in tests) on hppa + (closes: #339369). + + -- Laszlo Boszormenyi (GCS) Thu, 6 Apr 2006 17:16:42 +0000 + +sqlite3 (3.3.4-0.1) unstable; urgency=low + + * NMU for new upstream release (closes: #352317). + + -- Laszlo Boszormenyi (GCS) Wed, 5 Apr 2006 01:46:45 +0200 + +sqlite3 (3.2.8-1) unstable; urgency=low + + * New upstream release. + + -- Tomas Fasth Thu, 29 Dec 2005 03:09:18 +0000 + +sqlite3 (3.2.7-1) unstable; urgency=low + + * New upstream release. + + -- Tomas Fasth Sun, 25 Sep 2005 12:08:21 +0000 + +sqlite3 (3.2.5-1) unstable; urgency=low + + * New upstream release. + * Removed debian/patches/10-main-timeout.patch, fixed upstream. + * Removed debian/patches/01-configure.ac-version_number.patch, fixed + upstream. + + -- Tomas Fasth Sun, 28 Aug 2005 21:23:03 +0000 + +sqlite3 (3.2.2-3) unstable; urgency=low + + * Closes: #321487: missing dependency on debconf + The file debian/libsqlite3-0.preinst has been removed. It was + originally part of the ancestor sqlite 2.x source package, which + still exist in parallel with sqlite3. It has now been removed + together with debian/libsqlite3-0.postinst that was created in a + first missguided attempt by me to correct this policy violation. + + -- Tomas Fasth Sat, 6 Aug 2005 22:16:33 +0000 + +sqlite3 (3.2.2-2) unstable; urgency=low + + * Closes: #314856: Missing pre-dependency on debconf. + * Closes: #319897: /usr/include/sqlite3.h: SQLITE_VERSION_NUMBER is + 3000000 + + -- Tomas Fasth Tue, 2 Aug 2005 00:48:25 +0000 + +sqlite3 (3.2.2-1) unstable; urgency=low + + * New upstream release. + * New maintainer. + * Closes: #314856: Missing pre-dependency on debconf. + Moving upgrade notification from debian/libsqlite3-0.preinst to + debian/libsqlite3-0.postinst. + * Closes: #316348: Timeout does not expire on SQLLITE_BUSY. + Adding patch with correct type cast for timeout in src/main.c[283]. + * Closes: #317594: sqlite3-3.2.1-1 SIGBUS on 64-bit machines (fixed + upstream) + * Closes: #318341: New upstream version 3.2.2 + + -- Tomas Fasth Mon, 1 Aug 2005 20:03:20 +0000 + +sqlite3 (3.2.1-1) unstable; urgency=low + + * New upstream release. + + -- Andreas Rottmann Sat, 2 Apr 2005 02:41:15 +0200 + +sqlite3 (3.1.6-1) unstable; urgency=high + + * New upstream release. + * Fixes two database corruption bugs (in 3.1.4 and 3.1.6), hence urgency + high. + + -- Andreas Rottmann Thu, 17 Mar 2005 20:00:16 +0100 + +sqlite3 (3.1.3-1) unstable; urgency=low + + * New upstream release. + * Now building with automake1.9 and against libreadline5-dev. + + -- Andreas Rottmann Wed, 16 Feb 2005 17:04:19 +0100 + +sqlite3 (3.0.8-3) unstable; urgency=medium + + * Fix threadsafe enabling, now works through configure option (closes: + #285913). + * Medium urgency to get this fix into sarge. + + -- Andreas Rottmann Sat, 1 Jan 2005 13:12:10 +0100 + +sqlite3 (3.0.8-2) unstable; urgency=low + + * libsqlite3-dev: Suggest sqlite3-doc instead of sqlite-doc (closes: + #285771). + * libsqlite3-0: Don't Pre-Depend on debconf (closes: #284976). + * sqlite3-doc: Now comes with sqlite.gif and links to + http://sqlite.org/contrib instead of locally (closes: #285769). + + -- Andreas Rottmann Thu, 16 Dec 2004 12:24:02 +0100 + +sqlite3 (3.0.8-1) unstable; urgency=low + + * Initial release of SQLite3 (closes: #272271, #282351). + - Now packaged as a new source package, since SQLite 3 + is incompatible (database- and API-wise) with SQLite 2. + - Remove debian/lemon.html, this is now shipped by upstream in doc/. + - Adapted manpage for 3.0 (thanks to Laszlo 'GCS' Boszormeny). + + -- Andreas Rottmann Sun, 7 Nov 2004 13:49:52 +0100 +sqlite3 (3.5.8-3) unstable; urgency=low + + * Link. + + -- root Sat, 03 May 2008 09:33:37 +0200 --- sqlite3-3.6.16.orig/debian/libsqlite3-0.docs +++ sqlite3-3.6.16/debian/libsqlite3-0.docs @@ -0,0 +1 @@ +debian/README.Debian --- sqlite3-3.6.16.orig/debian/copyright +++ sqlite3-3.6.16/debian/copyright @@ -0,0 +1,13 @@ +This package was adopted by Tomas Fasth on +Mon, 01 Aug 2005 14:48:55 +0000 + +This package was debianized by Andreas Rottmann on +Wed, 26 Sep 2001 17:00:18 +0200. + +It was downloaded from http://www.sqlite.org. + +Upstream Author: D. Richard Hipp + +Copyright: + +The author disclaims all copyright. The library is in the public domain. --- sqlite3-3.6.16.orig/debian/libsqlite3-dev.dirs +++ sqlite3-3.6.16/debian/libsqlite3-dev.dirs @@ -0,0 +1,2 @@ +usr/include +usr/lib --- sqlite3-3.6.16.orig/debian/lemon.1 +++ sqlite3-3.6.16/debian/lemon.1 @@ -0,0 +1,63 @@ +.Dd 2002-10-04 +.Dt LEMON 1 +.Os "Debian GNU/Linux" +.\" Manual page created by Guus Sliepen +.Sh NAME +.Nm lemon +.Nd The Lemon Parser Generator +.Sh SYNOPSIS +.Nm +.Op Fl bcgmqsx +.Ar input +.Sh DESCRIPTION +.Nm +is an LALR(1) parser generator for C or C++. +It does the same job as bison and yacc. +But +.Nm +is not another bison or yacc clone. +It uses a different grammar syntax which is designed to reduce the number of coding errors. +.Nm +also uses a more sophisticated parsing engine that is faster than yacc and bison +and which is both reentrant and thread-safe. +Furthermore, +.Nm +implements features that can be used to eliminate resource leaks, +making is suitable for use in long-running programs such as graphical user interfaces or embedded controllers. +.Pp +.Nm +will read the grammer from +.Ar input +and write out a parser for that grammar in the C language. +.Sh OPTIONS +.Bl -tag -width indent +.It Fl b +Print only the basis in report. +.It Fl c +Don't compress the action table. +.It Fl g +Print grammar without actions. +.It Fl m +Output a makeheaders compatible file. +.It Fl q +(Quiet) Don't print the report file. +.It Fl s +Print parser stats to standard output. +.It Fl x +Print the version number. +.El +.Sh FILES +.Bl -tag -width indent +.It Pa /usr/share/lemon/lempar.c +Driver template for the +.Nm +parser generator. +.El +.Sh AUTHOR +.Nm +has been written by +.An D. Richard Hipp Aq drh@hwaci.com . +.Pp +This manual page was written by +.An Guus Sliepen Aq guus@debian.org +for the Debian GNU/Linux system. --- sqlite3-3.6.16.orig/debian/sqlite3.install +++ sqlite3-3.6.16/debian/sqlite3.install @@ -0,0 +1,2 @@ +usr/bin/sqlite3 +usr/share/man/man1/sqlite3.1 --- sqlite3-3.6.16.orig/debian/libsqlite3-dev.install +++ sqlite3-3.6.16/debian/libsqlite3-dev.install @@ -0,0 +1,5 @@ +usr/include/*.h +usr/lib/libsqlite3.a +usr/lib/libsqlite3.so +usr/lib/libsqlite3.la +usr/lib/pkgconfig/sqlite3.pc --- sqlite3-3.6.16.orig/debian/libsqlite3-0.dirs +++ sqlite3-3.6.16/debian/libsqlite3-0.dirs @@ -0,0 +1 @@ +usr/lib --- sqlite3-3.6.16.orig/debian/libsqlite3-0-dbg.dirs +++ sqlite3-3.6.16/debian/libsqlite3-0-dbg.dirs @@ -0,0 +1 @@ +usr/lib/debug --- sqlite3-3.6.16.orig/debian/lemon.install +++ sqlite3-3.6.16/debian/lemon.install @@ -0,0 +1,2 @@ +usr/share/lemon/lempar.c +usr/bin/lemon --- sqlite3-3.6.16.orig/debian/compat +++ sqlite3-3.6.16/debian/compat @@ -0,0 +1 @@ +5 --- sqlite3-3.6.16.orig/debian/lemon.dirs +++ sqlite3-3.6.16/debian/lemon.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/lemon --- sqlite3-3.6.16.orig/debian/libsqlite3-tcl.install +++ sqlite3-3.6.16/debian/libsqlite3-tcl.install @@ -0,0 +1 @@ +usr/share/tcltk/tcl8.4/sqlite3/libtclsqlite3.so usr/lib/sqlite3/ --- sqlite3-3.6.16.orig/debian/README.Debian +++ sqlite3-3.6.16/debian/README.Debian @@ -0,0 +1,21 @@ +SQLite for Debian +----------------- + +SQLite 3 for Debian is split up in four packages: + +libsqlite0-dev: Development files (headers, static library) +libsqlite0: The database engine library itself +sqlite3: The text-mode user interface +sqlite3-doc: Documentation + +About lemon +----------- + +Additionally, since 2.8.12-2, a lemon package is generated by the +sqlite source package. The lemon parser generator was previously +maintained in a separate source package, but since upstream maintains +it as part of SQLite, Debian switched to doing it this way, too. The +maintainer of the now-obsolete separate lemon package was Guus +Sliepen . + + -- Andreas Rottmann , Sun Nov 7 13:58:10 2004 --- sqlite3-3.6.16.orig/debian/sqlite3-doc.docs +++ sqlite3-3.6.16/debian/sqlite3-doc.docs @@ -0,0 +1 @@ +www/* --- sqlite3-3.6.16.orig/debian/libsqlite3-0.install +++ sqlite3-3.6.16/debian/libsqlite3-0.install @@ -0,0 +1 @@ +usr/lib/libsqlite3.so.* --- sqlite3-3.6.16.orig/debian/sqlite3.dirs +++ sqlite3-3.6.16/debian/sqlite3.dirs @@ -0,0 +1 @@ +usr/bin --- sqlite3-3.6.16.orig/debian/rules +++ sqlite3-3.6.16/debian/rules @@ -0,0 +1,61 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/buildcore.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +so_version := 0 + +# Make sure libsqlite0 is built before packages depending on it +binary/sqlite3 binary/libsqlite3-dev binary/libsqlite3-tcl:: binary/libsqlite3-$(so_version) + +clean:: + rm -f config.status config.log libtool .target_source \ + Makefile config.h sqlite3.c \ + sqlite3.pc pkgIndex.tcl +common-install-arch:: + install -d debian/tmp/usr/lib/sqlite3/ + install -m 0664 libtclsqlite3.la `pwd`/debian/tmp/usr/lib/sqlite3 + chrpath -d debian/tmp/usr/bin/sqlite3 + chrpath -d ./debian/tmp/usr/share/tcltk/tcl8.4/sqlite3/libtclsqlite3.so + install -d debian/tmp/usr/share/lemon + install -m 0664 tool/lempar.c debian/tmp/usr/share/lemon + install -m 0775 lemon debian/tmp/usr/bin + install -d debian/tmp/usr/share/man/man1/ + install -m 0644 sqlite3.1 debian/tmp/usr/share/man/man1 +#install/libsqlite3-dev:: +# sed -e 's/-licui18n -licuuc //' \ + ./debian/tmp/usr/lib/libsqlite3.la \ + >./debian/tmp/usr/lib/libsqlite3.la.tmp +# mv ./debian/tmp/usr/lib/libsqlite3.la.tmp \ + ./debian/tmp/usr/lib/libsqlite3.la \ + +install/libsqlite3-tcl:: + sed -e 's/share/lib/' -e 's/tcl[^/]*\///g' \ + ./debian/tmp/usr/share/tcltk/tcl8.4/sqlite3/pkgIndex.tcl \ + >./debian/libsqlite3-tcl/usr/lib/sqlite3/pkgIndex.tcl + +DEB_AUTO_UPDATE_LIBTOOL = pre +DEB_AUTO_UPDATE_AUTOCONF = 2.50 +DEB_AUTO_UPDATE_AUTOMAKE = 1.10 # We don't use automake, but aclocal + +#DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-licui18n -licuuc" +DEB_CONFIGURE_EXTRA_FLAGS = --with-tcl=/usr/lib/tcl8.4 --enable-threadsafe --enable-load-extension + +DEB_MAKE_BUILD_TARGET = all libtclsqlite3.la doc +#DEB_MAKE_CHECK_TARGET = test + +DEB_DH_INSTALL_ARGS := --sourcedir=debian/tmp + +DEB_ALL_CHANGELOG = doc/changes.html + +DEB_DH_MAKESHLIBS_ARGS := -V -X"libtclsqlite3.so*" + +DEB_SHLIBDEPS_LIBRARY_sqlite := libsqlite3-$(so_version) +DEB_SHLIBDEPS_INCLUDE_sqlite := debian/libsqlite3-$(so_version)/usr/lib/ + +#DEB_OPT_FLAG := -O2 -fno-strict-aliasing -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_ENABLE_ICU=1 +DEB_OPT_FLAG := -O2 -fno-strict-aliasing -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE=1 + +DEB_DH_STRIP_ARGS := --dbg-package=libsqlite3-$(so_version)-dbg --- sqlite3-3.6.16.orig/debian/watch +++ sqlite3-3.6.16/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://www.sqlite.org/download.html sqlite-(3.[\d\.]*).tar.gz --- sqlite3-3.6.16.orig/debian/patches/02-lemon-snprintf.patch +++ sqlite3-3.6.16/debian/patches/02-lemon-snprintf.patch @@ -0,0 +1,128 @@ +--- sqlite3-3.6.10.orig/tool/lemon.c 2009-01-15 14:01:58.000000000 +0000 ++++ sqlite3-3.6.10/tool/lemon.c 2009-01-18 18:21:18.319124796 +0000 +@@ -1325,15 +1325,15 @@ + va_start(ap, format); + /* Prepare a prefix to be prepended to every output line */ + if( lineno>0 ){ +- sprintf(prefix,"%.*s:%d: ",PREFIXLIMIT-10,filename,lineno); ++ snprintf(prefix,sizeof prefix,"%.*s:%d: ",PREFIXLIMIT-10,filename,lineno); + }else{ +- sprintf(prefix,"%.*s: ",PREFIXLIMIT-10,filename); ++ snprintf(prefix,sizeof prefix,"%.*s: ",PREFIXLIMIT-10,filename); + } + prefixsize = lemonStrlen(prefix); + availablewidth = LINEWIDTH - prefixsize; + + /* Generate the error message */ +- vsprintf(errmsg,format,ap); ++ vsnprintf(errmsg,sizeof errmsg,format,ap); + va_end(ap); + errmsgsize = lemonStrlen(errmsg); + /* Remove trailing '\n's from the error message. */ +@@ -2350,7 +2350,7 @@ + for(z=psp->filename, nBack=0; *z; z++){ + if( *z=='\\' ) nBack++; + } +- sprintf(zLine, "#line %d ", psp->tokenlineno); ++ snprintf(zLine,sizeof zLine, "#line %d ", psp->tokenlineno); + nLine = lemonStrlen(zLine); + n += nLine + lemonStrlen(psp->filename) + nBack; + } +@@ -2915,7 +2915,7 @@ + while( cfp ){ + char buf[20]; + if( cfp->dot==cfp->rp->nrhs ){ +- sprintf(buf,"(%d)",cfp->rp->index); ++ snprintf(buf,sizeof buf,"(%d)",cfp->rp->index); + fprintf(fp," %5s ",buf); + }else{ + fprintf(fp," "); +@@ -2970,6 +2970,7 @@ + { + char *pathlist; + char *path,*cp; ++ size_t pathsz; + char c; + + #ifdef __WIN32__ +@@ -2980,21 +2981,21 @@ + if( cp ){ + c = *cp; + *cp = 0; +- path = (char *)malloc( lemonStrlen(argv0) + lemonStrlen(name) + 2 ); +- if( path ) sprintf(path,"%s/%s",argv0,name); ++ path = (char *)malloc( (pathsz = lemonStrlen(argv0) + lemonStrlen(name) + 2) ); ++ if( path ) snprintf(path,pathsz,"%s/%s",argv0,name); + *cp = c; + }else{ + extern char *getenv(); + pathlist = getenv("PATH"); + if( pathlist==0 ) pathlist = ".:/bin:/usr/bin"; +- path = (char *)malloc( lemonStrlen(pathlist)+lemonStrlen(name)+2 ); ++ path = (char *)malloc( (pathsz = lemonStrlen(pathlist)+lemonStrlen(name)+2) ); + if( path!=0 ){ + while( *pathlist ){ + cp = strchr(pathlist,':'); + if( cp==0 ) cp = &pathlist[lemonStrlen(pathlist)]; + c = *cp; + *cp = 0; +- sprintf(path,"%s/%s",pathlist,name); ++ snprintf(path,pathsz,"%s/%s",pathlist,name); + *cp = c; + if( c==0 ) pathlist = ""; + else pathlist = &cp[1]; +@@ -3074,14 +3075,16 @@ + + cp = strrchr(lemp->filename,'.'); + if( cp ){ +- sprintf(buf,"%.*s.lt",(int)(cp-lemp->filename),lemp->filename); ++ snprintf(buf,sizeof buf,"%.*s.lt",(int)(cp-lemp->filename),lemp->filename); + }else{ +- sprintf(buf,"%s.lt",lemp->filename); ++ snprintf(buf,sizeof buf,"%s.lt",lemp->filename); + } + if( access(buf,004)==0 ){ + tpltname = buf; + }else if( access(templatename,004)==0 ){ + tpltname = templatename; ++ }else if( access("/usr/share/lemon/lempar.c",004)==0 ){ ++ tpltname = "/usr/share/lemon/lempar.c"; + }else{ + tpltname = pathsearch(lemp->argv0,templatename,0); + } +@@ -3093,7 +3096,7 @@ + } + in = fopen(tpltname,"rb"); + if( in==0 ){ +- fprintf(stderr,"Can't open the template file \"%s\".\n",templatename); ++ fprintf(stderr,"Can't open the template file \"%s\".\n",tpltname); + lemp->errorcnt++; + return 0; + } +@@ -3236,7 +3239,7 @@ + while( n-- > 0 ){ + c = *(zText++); + if( c=='%' && n>0 && zText[0]=='d' ){ +- sprintf(zInt, "%d", p1); ++ snprintf(zInt,sizeof zInt, "%d", p1); + p1 = p2; + strcpy(&z[used], zInt); + used += lemonStrlen(&z[used]); +@@ -3830,7 +3833,7 @@ + /* Generate a table containing the symbolic name of every symbol + */ + for(i=0; insymbol; i++){ +- sprintf(line,"\"%s\",",lemp->symbols[i]->name); ++ snprintf(line,sizeof line,"\"%s\",",lemp->symbols[i]->name); + fprintf(out," %-15s",line); + if( (i&3)==3 ){ fprintf(out,"\n"); lineno++; } + } +@@ -3986,7 +3989,7 @@ + in = file_open(lemp,".h","rb"); + if( in ){ + for(i=1; interminal && fgets(line,LINESIZE,in); i++){ +- sprintf(pattern,"#define %s%-30s %2d\n",prefix,lemp->symbols[i]->name,i); ++ snprintf(pattern,sizeof pattern,"#define %s%-30s %2d\n",prefix,lemp->symbols[i]->name,i); + if( strcmp(line,pattern) ) break; + } + fclose(in); --- sqlite3-3.6.16.orig/debian/patches/10-520466-libsqlite3-depends-on-libdl.patch +++ sqlite3-3.6.16/debian/patches/10-520466-libsqlite3-depends-on-libdl.patch @@ -0,0 +1,41 @@ +--- sqlite3-3.6.11.orig/configure.ac 2009-03-20 16:15:10.000000000 -0700 ++++ sqlite3-3.6.11/configure.ac 2009-03-20 16:37:59.000000000 -0700 +@@ -233,6 +233,38 @@ + AC_SUBST(BUILD_CC) + + ########## ++# Do we want to support load_extension()? ++# ++AC_ARG_ENABLE(load-extension, ++AC_HELP_STRING([--enable-load-extension], ++ [Include SQL functions for loading extension libraries]),, ++ enable_load_extension=auto) ++ ++if test "x$enable_load_extension" = xyes || ++ test "x$enable_load_extension" = xauto; then ++ ++ can_load_extension=yes ++ # libtool will already have looked for ++ if test $ac_cv_header_dlfcn_h = no; then ++ can_load_extension=no ++ else ++ AC_SEARCH_LIBS(dlopen, dl, , [can_load_extension=no]) ++ fi ++elif test "x$enable_load_extension" = xno; then ++ can_load_extension=no ++else ++ AC_MSG_ERROR([invalid argument to --enable-load-extension]) ++fi ++ ++if test $can_load_extension = no; then ++ if test "x$enable_load_extension" = xyes; then ++ AC_MSG_ERROR([ routines missing, load_extension() not supported]) ++ fi ++ AC_DEFINE(SQLITE_OMIT_LOAD_EXTENSION, 1, ++ [Define if the load_extension() sql function should be omitted.]) ++fi ++ ++########## + # Do we want to support multithreaded use of sqlite + # + AC_ARG_ENABLE(threadsafe, --- sqlite3-3.6.16.orig/debian/patches/10-520478-squash-bad-deps.patch +++ sqlite3-3.6.16/debian/patches/10-520478-squash-bad-deps.patch @@ -0,0 +1,25 @@ +--- sqlite3-3.6.11.orig/Makefile.in 2009-03-24 11:40:55.000000000 -0700 ++++ sqlite3-3.6.11/Makefile.in 2009-03-24 11:42:36.000000000 -0700 +@@ -464,18 +464,20 @@ + libsqlite3.la: $(LIBOBJ) + $(LTLINK) -o $@ $(LIBOBJ) $(TLIBS) \ + ${ALLOWRELEASE} -rpath "$(libdir)" -version-info "8:6:8" ++ sed -i "/dependency_libs/s/'.*'/''/" $@ + + libtclsqlite3.la: tclsqlite.lo libsqlite3.la + $(LTLINK) -o $@ tclsqlite.lo \ +- libsqlite3.la @TCL_STUB_LIB_SPEC@ $(TLIBS) \ ++ libsqlite3.la @TCL_STUB_LIB_SPEC@ \ + -rpath "$(TCLLIBDIR)" \ + -version-info "8:6:8" \ + -avoid-version ++ sed -i "/dependency_libs/s/'.*'/''/" $@ + + sqlite3$(TEXE): $(TOP)/src/shell.c libsqlite3.la sqlite3.h + $(LTLINK) $(READLINE_FLAGS) \ + -o $@ $(TOP)/src/shell.c libsqlite3.la \ +- $(LIBREADLINE) $(TLIBS) -rpath "$(libdir)" ++ $(LIBREADLINE) -rpath "$(libdir)" + + # This target creates a directory named "tsrc" and fills it with + # copies of all of the C source code and header files needed to --- sqlite3-3.6.16.orig/debian/patches/20-hurd-locking-style.patch +++ sqlite3-3.6.16/debian/patches/20-hurd-locking-style.patch @@ -0,0 +1,31 @@ +--- z/src/os_unix.c 2009-04-09 20:41:18.000000000 +0200 ++++ z/src/os_unix.c 2009-05-21 01:24:01.000000000 +0200 +@@ -66,7 +66,7 @@ + ** where the database is located. + */ + #if !defined(SQLITE_ENABLE_LOCKING_STYLE) +-# if defined(__APPLE__) ++# if defined(__APPLE__) || defined(__GNU__) + # define SQLITE_ENABLE_LOCKING_STYLE 1 + # else + # define SQLITE_ENABLE_LOCKING_STYLE 0 +@@ -130,7 +130,9 @@ + # else + # include + # include +-# include ++# if ! defined(__GNU__) ++# include ++# endif + # endif + #endif /* SQLITE_ENABLE_LOCKING_STYLE */ + +@@ -5101,6 +5103,8 @@ + static sqlite3_vfs aVfs[] = { + #if SQLITE_ENABLE_LOCKING_STYLE && (OS_VXWORKS || defined(__APPLE__)) + UNIXVFS("unix", autolockIoFinder ), ++#elif SQLITE_ENABLE_LOCKING_STYLE && defined(__GNU__) ++ UNIXVFS("unix", flockIoFinder ), + #else + UNIXVFS("unix", posixIoFinder ), + #endif