debian/0000755000000000000000000000000011735144500007166 5ustar debian/source/0000755000000000000000000000000011715551364010476 5ustar debian/source/format0000644000000000000000000000001411715551364011704 0ustar 3.0 (quilt) debian/doc-base0000644000000000000000000000065511715743667010615 0ustar Document: python-logsparser Title: python-logsparser library manual Author: Wallix Inc Abstract: This manual describes the python-logsparser API. The pylogsparser library provides mechanims to help you parsing log files. This manual describes the library API. Section: Programming Format: HTML Index: /usr/share/doc/python-logsparser/html/index.html Files: /usr/share/doc/python-logsparser/html/*.html debian/copyright0000644000000000000000000000254711731342702011131 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: pylogsparser Upstream-Contact: Wallix.org Source: http://www.wallix.org/pylogsparser-project/ Files: logsparser/* Copyright: 2011, 2012 Wallix Inc License: LGPL-2.1+ On Debian systems the full text of the GNU Lesser General Public Licence can be found in the '/usr/share/common-licenses/LGPL-2.1' file. Files: normalizers/* Copyright: 2011, 2012 Wallix Inc License: LGPL-2.1+ On Debian systems the full text of the GNU Lesser General Public Licence can be found in the '/usr/share/common-licenses/LGPL-2.1' file. Files: normalizers/s3.xml Copyright: 2011, 2012 Olivier hervieu 2011, 2012 Jean François Taltavull License: LGPL-2.1+ On Debian systems the full text of the GNU Lesser General Public Licence can be found in the '/usr/share/common-licenses/LGPL-2.1' file. Files: normalizers/wabauth.xml Copyright: 2012 Nassim Babaci License: LGPL-2.1+ On Debian systems the full text of the GNU Lesser General Public Licence can be found in the '/usr/share/common-licenses/LGPL-2.1' file. Files: debian/* Copyright: 2012 Fabien Boucher License: GPL-2+ On Debian systems the full text of the GNU General Public Licence can be found in the '/usr/share/common-licenses/GPL-2' file. debian/rules0000755000000000000000000000057411731417462010262 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 override_dh_clean: rm -rf html dh_clean override_dh_installdocs: epydoc --no-private -n pylogsparser -o html -q logsparser > /dev/null 2>&1 dh_installdocs ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) override_dh_auto_install: dh_auto_install python debian/runtests.py debian/python-logsparser endif %: dh $@ --with=python2 debian/compat0000644000000000000000000000000211715551364010374 0ustar 8 debian/runtests.py0000644000000000000000000000163111731342742011434 0ustar import sys import os import unittest from os.path import join from distutils.sysconfig import get_python_lib from site import addsitedir root = sys.argv.pop(1) site_packages = get_python_lib() _path = sys.path[:] sys.path[:] = [] addsitedir(join(root, site_packages[1:])) addsitedir(join(root, site_packages[1:].replace('dist-packages', 'site-packages'))) sys.path.extend(_path) os.environ['NORMALIZERS_PATH'] = os.path.join(root, 'usr/share/logsparser/normalizers') from logsparser.tests import test_normalizer from logsparser.tests import test_lognormalizer from logsparser.tests import test_log_samples from logsparser.tests import test_commonElements tests = (test_commonElements, test_normalizer, test_lognormalizer, test_log_samples, ) load = unittest.defaultTestLoader.loadTestsFromModule suite = unittest.TestSuite(map(load, tests)) unittest.TextTestRunner().run(suite) debian/watch0000644000000000000000000000010611715722044010217 0ustar version=3 https://github.com/wallix/pylogsparser/tags .*/tarball/(.*) debian/changelog0000644000000000000000000000024611715750437011054 0ustar pylogsparser (0.4-1) unstable; urgency=low * Initial release (Closes: #659610) -- Fabien Boucher Sat, 11 Feb 2012 20:43:31 +0000 debian/control0000644000000000000000000000164711735144356010612 0ustar Source: pylogsparser Section: python Priority: optional Maintainer: Fabien Boucher Build-Depends: debhelper (>= 8.0.0), python-epydoc, python, python-lxml, python-tz, python-geoip Standards-Version: 3.9.2 Homepage: http://www.wallix.org/pylogsparser-project/ Package: python-logsparser Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-lxml, python-tz, python-geoip Provides: ${python:Provides} Description: Python library for log parsing, tagging and analysis. Pylogsparser is a library that can be used to parse log lines and extract various metadata out of them according to known log formats. The library is shipped with several default log formats, such as Syslog, Apache, sshd and many others. It is also possible to define and use your own log formats with the library, as XML definition files. debian/docs0000644000000000000000000000002011715723656010046 0ustar README.rst html