debian/0000755000000000000000000000000011452433273007172 5ustar debian/source/0000755000000000000000000000000011452433273010472 5ustar debian/source/format0000644000000000000000000000001411452433414011675 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000142411452433273011126 0ustar This package was debianized by Steve Kemp on Tuesday, 27th November 2006. It was downloaded from http://xen-tools.org/software/asql/ Copyright 2007-2008 Steve Kemp License: This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself. Perl is distributed under licenses: a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or b) the "Artistic License" which comes with Perl. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL' and the Artistic Licence in /usr/share/common-licenses/Artistic'. debian/changelog0000644000000000000000000001026211452433273011045 0ustar asql (1.6-1) unstable; urgency=low * Applied Patch from Christopher Brannon for two-digit month and days. * Updated the way that Apache logfiles are parsed, such that malformed lines will be safely ignored. (Closes: #597114) -- Steve Kemp Mon, 4 Oct 2010 21:22:23 +0000 asql (1.5-1) unstable; urgency=low * Switch to dpkg-source 3.0 (quilt) format * Updated standards version to 3.4.4 - no changes required. -- Steve Kemp Sat, 20 Feb 2010 15:04:58 +0000 asql (1.4-1) unstable; urgency=low * Re-Enable AutoCommit, but wrap our loading in a transaction which does actually speed things up. -- Steve Kemp Mon, 2 Nov 2009 19:19:19 +0000 asql (1.3-1) unstable; urgency=low * Disable AutoCommit to speedup loading of data. - Thanks to David Wolever for the suggestion. -- Steve Kemp Sun, 25 Oct 2009 18:11:18 +0000 asql (1.2-2) unstable; urgency=low * Rename the name of the table shown in the help text as that was confusing. (Closes: #537500) * Bumped standards version to 3.8.2 - changed spelling of 'apache' to 'Apache' in package description. * Bumped debhelper level to 5, and updated dependency -- Steve Kemp Sun, 19 Jul 2009 11:27:06 +0000 asql (1.2-1) unstable; urgency=low * New upstream release: - Use numeric fields in the database for HTTP code, HTTP size, and HTTP version number. -- Steve Kemp Sun, 11 Jan 2009 17:17:17 +0000 asql (1.1-1) unstable; urgency=low * New upstream release: - Applied patch from Gerrit Renker to allow script to work from cron. -- Steve Kemp Sun, 30 Nov 2008 17:00:17 +0000 asql (1.0-1) unstable; urgency=low * New upstream release: - Correctly identifies December in dates. (Long story.) -- Steve Kemp Tue, 21 Oct 2008 18:55:18 +0000 asql (0.9-1) unstable; urgency=low * New upstream release: - Adds support for the --execute flag. - Updated standards version to 3.8.0. * Updated copyright file to be correct. -- Steve Kemp Fri, 4 Jul 2008 12:55:21 +0000 asql (0.8-1) unstable; urgency=low * New upstream release: - Adds support for both "common" and "combined" format. - Adds support for the "user" field. -- Steve Kemp Tue, 15 Jan 2007 18:43:32 +0000 asql (0.7-1) unstable; urgency=low * New upstream release: - Adds missing 'date' filed to the tables (Closes: #456974) - Adds optional label to imports. - Adds init-file support. -- Steve Kemp Wednesday, 2 Jan 2007 11:22:33 +0000 asql (0.6-1) stable; urgency=low * New upstream release: - Adds new SQL commands: create, drop, delete, update - Adds persistent aliases. - Adds 'save' & 'restore' commands. - Fixes command line completion. -- Steve Kemp Friday, 30 Nov 2007 22:24:21 +0000 asql (0.5-3) stable; urgency=low * Applied patch from Andrew Pollock: - Add support for reading .bz2 compressed logfiles. -- Steve Kemp Wednesday, 28 Nov 2007 09:57:01 +0000 asql (0.5-2) stable; urgency=low * Correctly parse HEAD lines. * Added a new field to the database for the HTTP version. -- Steve Kemp Tuesday, 27 Nov 2007 21:05:10 +0000 asql (0.5-1) stable; urgency=low * Minor pod updates. * Updated version number in the script. -- Steve Kemp Tuesday, 27 Nov 2007 21:02:10 +0000 asql (0.1-4) stable; urgency=low * Added completion on arguments to 'load'. * Understand gzip compressed logfiles. -- Steve Kemp Tuesday, 27 Nov 2007 20:32:33 +0000 asql (0.1-3) stable; urgency=low * Remove the temporary database file upon cleanup/close -- Steve Kemp Tuesday, 27 Nov 2007 20:32:33 +0000 asql (0.1-2) stable; urgency=low * Cleanup of code with drop of Term::Shell since it breaks quotes. * Added more examples. * Added a stub manpage. -- Steve Kemp Tuesday, 27 Nov 2007 20:32:33 +0000 asql (0.1-1) unstable; urgency=low * Initial release -- Steve Kemp Tuesday, 27 Nov 2007 11:35:03 +0000 debian/rules0000755000000000000000000000211511452433273010251 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 build: build-stamp build-stamp: dh_testdir # Add here commands to compile the package. touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs make install PREFIX=`pwd`/debian/asql mkdir -p `pwd`/debian/asql/usr/share/man/man8/ pod2man ./bin/asql --official --section=8 `pwd`/debian/asql/usr/share/man/man8/asql.8 # Build architecture-independent files here. binary-indep: build install dh_testdir dh_testroot dh_installdebconf dh_installdocs dh_installexamples dh_installchangelogs dh_compress dh_fixperms dh_installdeb dh_gencontrol dh_md5sums dh_builddeb # Build architecture-dependent files here. binary-arch: build install # We have nothing to do here binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/control0000644000000000000000000000103211452433273010571 0ustar Source: asql Section: admin Priority: optional Maintainer: Steve Kemp Build-Depends: debhelper (>> 5.0.0) Standards-Version: 3.8.4 Homepage: http://www.steve.org.uk/Software/asql/ Package: asql Architecture: all Depends: ${misc:Depends}, libdbd-sqlite3-perl, libterm-readline-gnu-perl Description: Run SQL queries against apache logs This package contains a simple tool which allows you to easily run SQL queries against Apache common logfiles. . This can be more illuminating than viewing static logfile analysis. debian/docs0000644000000000000000000000002011452433273010035 0ustar COMMANDS README debian/compat0000644000000000000000000000000211452433273010370 0ustar 5