summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-09-03 17:43:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-09-03 17:43:49 +0000
commite89d4d6a2014d23df4152ab7bb2468fdc608c6a0 (patch)
treea36fcc34ffb4f7401bbe6bb99c3ee93cfa47cecd
parentAdding upstream version 0.8.5. (diff)
downloadlnav-e89d4d6a2014d23df4152ab7bb2468fdc608c6a0.tar.xz
lnav-e89d4d6a2014d23df4152ab7bb2468fdc608c6a0.zip
Adding debian version 0.8.5-1.debian/0.8.5-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/.gitlab-ci.yml3
-rw-r--r--debian/changelog262
-rw-r--r--debian/control33
-rw-r--r--debian/copyright269
-rw-r--r--debian/lnav.docs1
-rw-r--r--debian/patches/default-to-var-log-syslog-on-Debian.patch28
-rw-r--r--debian/patches/disable-broken-test_logfile-test.patch23
-rw-r--r--debian/patches/disable-test_sql.patch30
-rw-r--r--debian/patches/series3
-rwxr-xr-xdebian/rules13
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch2
12 files changed, 668 insertions, 0 deletions
diff --git a/debian/.gitlab-ci.yml b/debian/.gitlab-ci.yml
new file mode 100644
index 0000000..892f3cd
--- /dev/null
+++ b/debian/.gitlab-ci.yml
@@ -0,0 +1,3 @@
+include:
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..26b4e61
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,262 @@
+lnav (0.8.5-1) experimental; urgency=medium
+
+ * Update to current salsa CI pipeline
+ * New upstream version 0.8.5
+ * Update copyright years for upstream files
+ * debian/copyright: Add copyright stanza new src/is_utf8.* files
+ * debian/copyright: Add copyright stanza for new src/ring_span.hh file
+ * Update copyright years for debian/* packaging files
+ * Drop lnav_commands-fix-attempt-to-convert-uninitialized-m.patch
+ * Drop try-make-locale-test-optional.patch
+ * Refresh disable-broken-test_logfile-test.patch
+ * Drop sql-timeslice-fails-on-32-bit.patch
+ * Refresh disable-test_sql.patch
+ * Declare compliance with Debian policy 4.4.0
+ * Drop Build-Depends on python-all.
+ The build dependency on a python 2 version is actually not needed.
+ (Closes: #936961)
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Mon, 02 Sep 2019 23:55:09 +0200
+
+lnav (0.8.4-5) unstable; urgency=medium
+
+ * Disable test_sql completely as contains time dependent tests.
+ Fixes "FTBFS (failing test)"
+ Thanks to Santiago Vila and Adrian Bunk (Closes: #918153)
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Fri, 04 Jan 2019 09:33:07 +0100
+
+lnav (0.8.4-4) unstable; urgency=medium
+
+ * Replace home-made GitLab CI with the standard Salsa pipeline
+ * Bump Debhelper compat level to 12
+ * Declare compliance with Debian policy 4.3.0
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Fri, 28 Dec 2018 17:47:04 +0100
+
+lnav (0.8.4-3) unstable; urgency=medium
+
+ * [sql] timeslice() fails on 32-bit.
+ Fixes "lnav FTBFS on 32bit: FAIL: test_sql_time_func.sh".
+ (Closes: #913526)
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Sat, 01 Dec 2018 18:05:09 +0100
+
+lnav (0.8.4-2) unstable; urgency=medium
+
+ * lnav_commands: fix attempt to convert uninitialized max_time
+ * try make locale test optional
+ * Drop disable-locale-dependent-tests.patch
+ * Add patch to disable broken test_logfile test
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Sat, 17 Nov 2018 13:46:39 +0100
+
+lnav (0.8.4-1) unstable; urgency=medium
+
+ * Add an initial Gitlab CI config file
+ * debian/.gitlab-ci.yml: Update image used for Gitlab CI
+ * Update .gitlab-ci.yml based on Salsa CI Team's template
+ * GitLab CI/Lintian: install dpkg-dev, that ships dpkg-architecture, needed
+ to run some Lintian checks
+ * New upstream version 0.8.4
+ * Update copyright years for upstream files
+ * Declare compliance with Debian policy 4.2.1
+ * Disable locale dependent test in upstream testsuite
+ * debian/rules: Reenable upstream testsuite
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Sat, 03 Nov 2018 16:00:06 +0100
+
+lnav (0.8.3-1) unstable; urgency=medium
+
+ * New upstream version 0.8.3
+ * Declare compliance with Debian policy 4.1.4
+ * Set Rules-Requires-Root to no
+ * Drop Fix-FTBFS-on-32bit-architectures.patch patch
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Mon, 16 Apr 2018 14:55:40 +0200
+
+lnav (0.8.2-4) unstable; urgency=medium
+
+ * Update Vcs-* fields for switch to salsa.debian.org
+ * debian/control: Use HTTPS transport in Homepage field
+ * Drop use of --with autotools-dev addon
+ * Drop Build-Depends on autotools-dev
+ * Update copyright years for debian/* packaging files
+ * Bump Debhelper compat level to 11
+ * Declare compliance with Debian policy 4.1.3
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Mon, 19 Mar 2018 15:31:30 +0100
+
+lnav (0.8.2-3) unstable; urgency=medium
+
+ * Upload to unstable
+ * Update copyright years for debian/* packaging files
+ * Bump Debhelper compat level to 10
+ * Declare compliance with Debian policy 4.0.0
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Fri, 23 Jun 2017 13:03:38 +0200
+
+lnav (0.8.2-2) experimental; urgency=medium
+
+ * Add upstream patch to fix FTBFS on 32bit architectures
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Tue, 25 Apr 2017 09:45:42 +0200
+
+lnav (0.8.2-1) experimental; urgency=medium
+
+ * New upstream version 0.8.2
+ * debian/control: Bump required libsqlite3-dev version to (>= 3.9.0)
+ * debian/control: Drop unneded sqlite3 from Build-Depends
+ * debian/control: Drop unneeded Build-Depends on libssl-dev.
+ Thanks to Moritz Muehlenhoff <jmm@debian.org> (Closes: #855603)
+ * debian/copyright Refresh information for upstream files.
+ Update copyright years for upstream files.
+ Add new copyright stanzas for newly added files in the source tarball.
+ Add license stanzas for BSL-1.0, Expat and GPL-3+.
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Mon, 24 Apr 2017 13:36:30 +0200
+
+lnav (0.8.1-2) unstable; urgency=low
+
+ * Upload to unstable
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Sat, 20 Aug 2016 07:38:23 +0200
+
+lnav (0.8.1-1) experimental; urgency=medium
+
+ * Imported Upstream version 0.8.1
+ * Update copyright years for upstream files
+ * Add copyright stanza for new files under src/filesystem
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Fri, 19 Aug 2016 18:00:53 +0200
+
+lnav (0.8.0-2) unstable; urgency=low
+
+ * Upload to unstable
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Fri, 19 Aug 2016 16:20:13 +0200
+
+lnav (0.8.0-1) experimental; urgency=medium
+
+ * Imported Upstream version 0.8.0
+ * Refresh default-to-var-log-syslog-on-Debian.patch patch
+ * Drop disable-network-accessing-tests.patch patch
+ * Add copyright and license information for m4/libcurl.m4
+ * Add re2c to Build-Depends
+ * Add libcurl4-gnutls-dev to Build-Depends
+ * Use HTTPS transport in Bug-Debian URL for patches
+ * Update copyright years for debian/* packaging files
+ * Declare compliance with Debian policy 3.9.8
+ * Do not run test suite in build.
+ The tests are failing unreliably, cf. #783141, #826834.
+ * debian/control: Use HTTPS transport URL for Vcs-Git field
+ * debian/rules: Build enabling all hardening flags
+ * debian/copyright Use HTTPS transport in Format specification URL
+ * debian/copyright: Separate vebatim BSD-3-clause license text.
+ Use the sort name in the various stanzas and replicate the text for the
+ BSD-3-clause license in a own License stanza.
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Fri, 19 Aug 2016 13:19:45 +0200
+
+lnav (0.7.3-1) experimental; urgency=medium
+
+ * Imported Upstream version 0.7.3
+ - Fixes FTBFS on big-endian architectures (Closes: #771203)
+ * Update copyright years for upstream files
+ * Add copyright stanzas for new files in source.
+ Add copyright stanzas in debian/copyright for three new files in the
+ sources: m4/lnav_with_readline.m4, m4/lnav_with_sqlite3.m4 and
+ m4/lnav_with_yajl.m4.
+ * debian/copyright: cleanup trailing whitespaces
+ * Fix typo in override target for dh_clean in debian/rules
+ * Referesh default-to-var-log-syslog-on-Debian.patch patch (offset)
+ * Add disable-network-accessing-tests.patch patch.
+ Disable tests which will try to access network.
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Wed, 22 Apr 2015 19:36:20 +0200
+
+lnav (0.7.2-1) experimental; urgency=medium
+
+ * Imported Upstream version 0.7.2
+ * Refresh default-to-var-log-syslog-on-Debian.patch patch
+ * Update copyright years for debian/* packaging files
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Tue, 03 Mar 2015 06:46:58 +0100
+
+lnav (0.7.1-1) experimental; urgency=medium
+
+ * Imported Upstream version 0.7.1
+ * Update copyright years for yajl embedded copy
+ * Update Vcs-Browser field
+ * Refresh default-to-var-log-syslog-on-Debian.patch patch (offset)
+ * Drop 743503.patch patch
+ * Declare compliance with Debian Policy 3.9.6
+ * Add abbreviated name for the licenses in debian/copyright
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Thu, 27 Nov 2014 11:10:57 +0100
+
+lnav (0.7.0-3) unstable; urgency=low
+
+ * Add 743503.patch patch.
+ Correctly convert byte encoding for 32bit value from little-endian order
+ to host byte order. Fixes FTBFS on big-endian architectures.
+ Thanks to Jurica Stanojkovic and Patrick Baggett (Closes: #743503)
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Thu, 03 Apr 2014 16:59:44 +0200
+
+lnav (0.7.0-2) unstable; urgency=low
+
+ * Use a temporary writable home during build.
+ Fixes "lnav: FTBFS on all architectures" if $HOME of building user is
+ not writable. (Closes: #743370)
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Wed, 02 Apr 2014 13:11:47 +0200
+
+lnav (0.7.0-1) unstable; urgency=low
+
+ * Imported Upstream version 0.7.0
+ * Update copyright years for upstream files
+ * Update copyright years for debian/* packaging
+ * Add new copyright stanza for SpookyV2.* files
+ * Refresh default-to-var-log-syslog-on-Debian.patch patch (offset)
+ * Drop installation of debian/lnav.1.
+ The manpage is now included upstream with lnav.
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Sun, 30 Mar 2014 19:21:49 +0200
+
+lnav (0.6.2-1) unstable; urgency=low
+
+ * Imported Upstream version 0.6.2
+ * Refresh default-to-var-log-syslog-on-Debian.patch (offset)
+ * Bump Standards-Version to 3.9.5
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Mon, 11 Nov 2013 08:54:33 +0100
+
+lnav (0.6.1-1) unstable; urgency=low
+
+ * Imported Upstream version 0.6.1
+ * Rewrite watch file for github releases location
+ * Update copyright years for upstream files
+ * Add copyright stanzas for new files in source
+ * Refresh default-to-var-log-syslog-on-Debian.patch patch
+ * Add Build-Depends on python-all
+ * Add Build-Depends on sqlite3
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Thu, 26 Sep 2013 19:47:03 +0200
+
+lnav (0.5.1-2) unstable; urgency=low
+
+ * Install src/help.txt additionally into /usr/share/doc/lnav docs
+ (Closes: #721817)
+ * Add default-to-var-log-syslog-on-Debian.patch patch.
+ On Debian the default /etc/rsyslog.conf shipped with rsyslog prefers
+ logs *.* to /var/log/syslog. Thus prefer this logfile in list of default
+ logfiles. (Closes: #721700)
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Thu, 05 Sep 2013 19:23:43 +0200
+
+lnav (0.5.1-1) unstable; urgency=low
+
+ * Initial release (Closes: #719211)
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Sat, 17 Aug 2013 13:48:24 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..282cc6d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: lnav
+Section: admin
+Priority: optional
+Maintainer: Salvatore Bonaccorso <carnil@debian.org>
+Build-Depends:
+ debhelper-compat (= 12),
+ libbz2-dev,
+ libcurl4-gnutls-dev,
+ libncurses5-dev,
+ libncursesw5-dev,
+ libpcre3-dev,
+ libreadline-dev,
+ libsqlite3-dev (>= 3.9.0),
+ re2c,
+ zlib1g-dev
+Standards-Version: 4.4.0
+Homepage: https://lnav.org
+Vcs-Browser: https://salsa.debian.org/carnil/lnav
+Vcs-Git: https://salsa.debian.org/carnil/lnav.git
+Rules-Requires-Root: no
+
+Package: lnav
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: ncurses-based log file viewer
+ The log file navigator, lnav, is an enhanced log file viewer that
+ takes advantage of any semantic information that can be gleaned from
+ the files being viewed, such as timestamps and log levels. Using this
+ extra semantic information, lnav can do things like interleaving
+ messages from different files, generate histograms of messages over
+ time, and providing hotkeys for navigating through the file. It is
+ hoped that these features will allow the user to quickly and
+ efficiently zero in on problems.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c4f8a27
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,269 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: lnav
+Upstream-Contact: Timothy Stack <timothyshanestack@gmail.com>
+Source: http://lnav.org/
+
+Files: *
+Copyright: 2007-2019, Timothy Stack <timothyshanestack@gmail.com>
+License: BSD-3-clause
+
+Files: src/bin2c.c
+Copyright: none
+License: BEER-WARE
+ THE "BEER-WARE LICENSE" (Revision 3.1415):
+ sandro AT sigala DOT it wrote this file. As long as you retain this
+ notice you can do whatever you want with this stuff. If we meet some
+ day, and you think this stuff is worth it, you can buy me a beer in
+ return. Sandro Sigala
+
+Files: src/is_utf8.cc
+ src/is_utf8.hh
+Copyright: 2013, Palard Julien
+License: BSD-2-clause
+
+Files: src/filesystem/*
+Copyright: 2015, Wenzel Jakob <wenzel@inf.ethz.ch>
+License: BSD-3-clause
+
+Files: src/ring_span.hh
+Copyright: 2015, Arthur O'Dwyer
+ 2017-2018 by, Martin Moene
+License: BSL-1.0
+
+Files: src/mapbox/*
+Copyright: 2002-2003, Eric Friedman
+ 2002-2003, Itay Maman
+License: BSL-1.0
+
+Files: src/optional.hpp
+Copyright: 2016, Martin Moene
+License: Expat
+
+Files: src/spookyhash/SpookyV2.h
+ src/spookyhash/SpookyV2.cpp
+Copyright: none
+License: public-domain
+ By Bob Jenkins, public domain
+
+Files: src/string-extension-functions.cc
+Copyright: none
+License: public-domain
+ Written by Alexey Tourbin <at@altlinux.org>.
+ .
+ The author has dedicated the code to the public domain. Anyone is free
+ to copy, modify, publish, use, compile, sell, or distribute the
+ original code, either in source code form or as a compiled binary, for
+ any purpose, commercial or non-commercial, and by any means.
+
+Files: src/strnatcmp.c
+ src/strnatcmp.h
+Copyright: 2000, 2004, Martin Pool <mbp sourcefrog net>
+License: Zlib
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any damages
+ arising from the use of this software.
+ .
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+ .
+ 1. The origin of this software must not be misrepresented; you must
+ not claim that you wrote the original software. If you use this
+ software in a product, an acknowledgment in the product
+ documentation would be appreciated but is not required.
+ 2. Altered source versions must be plainly marked as such, and must
+ not be misrepresented as being the original software.
+ 3. This notice may not be removed or altered from any source
+ distribution.
+
+Files: src/yajl/api/yajl_common.h
+ src/yajl/api/yajl_gen.h
+ src/yajl/api/yajl_parse.h
+ src/yajl/yajl.c
+ src/yajl/yajl_alloc.c
+ src/yajl/yajl_alloc.h
+ src/yajl/yajl_buf.c
+ src/yajl/yajl_buf.h
+ src/yajl/yajl_bytestack.h
+ src/yajl/yajl_common.h
+ src/yajl/yajl_encode.c
+ src/yajl/yajl_encode.h
+ src/yajl/yajl_gen.c
+ src/yajl/yajl_lex.c
+ src/yajl/yajl_lex.h
+ src/yajl/yajl_parser.c
+ src/yajl/yajl_parser.h
+Copyright: 2007-2014, Lloyd Hilaiel <lloyd@hilaiel.com>
+License: ISC
+
+Files: src/yajl/api/yajl_tree.h
+ src/yajl/yajl_tree.c
+Copyright: 2010-2011, Florian Forster <ff at octo.it>
+License: ISC
+
+Files: m4/ax_check_link_flag.m4
+Copyright: 2008, Guido U. Draheim <guidod@gmx.de>,
+ 2011, Maarten Bosmans <mkbosmans@gmail.com>
+License: GPL-3+
+
+Files: m4/lnav_with_readline.m4
+Copyright: 2007-2015, Timothy Stack
+ 2015, Suresh Sundriyal
+License: BSD-3-clause
+
+Files: m4/lnav_with_sqlite3.m4
+Copyright: 2015, Suresh Sundriyal
+License: all-permissive
+ Copying and distribution of this file, with or without modification,
+ are permitted in any medium without royalty provided the copyright
+ notice and this notice are preserved. This file is offered as-is,
+ without any warranty.
+Comment: The file m4/lnav_with_sqlite3.m4 in the source mentions only
+ "@license AllPermissive" without replacing this with the actual license
+ text.
+
+Files: m4/lnav_with_yajl.m4
+Copyright: 2015, Suresh Sundriyal
+License: BSD-3-clause
+
+Files: m4/libcurl.m4
+Copyright: 2006, David Shaw <dshaw@jabberwocky.com>
+License: curl
+ All rights reserved.
+ .
+ Permission to use, copy, modify, and distribute this software for any purpose
+ with or without fee is hereby granted, provided that the above copyright
+ notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
+ OR OTHER DEALINGS IN THE SOFTWARE.
+ .
+ Except as contained in this notice, the name of a copyright holder shall not
+ be used in advertising or otherwise to promote the sale, use or other dealings
+ in this Software without prior written authorization of the copyright holder.
+
+Files: debian/*
+Copyright: 2013-2019 Salvatore Bonaccorso <carnil@debian.org>
+License: BSD-3-clause
+
+License: BSD-2-clause
+ 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.
+ .
+ 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 COPYRIGHT
+ HOLDER 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.
+
+License: BSD-3-clause
+ 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. The name of the authors may not 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 HOLDERS 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.
+
+License: BSL-1.0
+ Boost Software License - Version 1.0 - August 17th, 2003
+ .
+ Permission is hereby granted, free of charge, to any person or organization
+ obtaining a copy of the software and accompanying documentation covered by
+ this license (the "Software") to use, reproduce, display, distribute,
+ execute, and transmit the Software, and to prepare derivative works of the
+ Software, and to permit third-parties to whom the Software is furnished to
+ do so, all subject to the following:
+ .
+ The copyright notices in the Software and this entire statement, including
+ the above license grant, this restriction and the following disclaimer,
+ must be included in all copies of the Software, in whole or in part, and
+ all derivative works of the Software, unless such copies or derivative
+ works are solely in the form of machine-executable object code generated by
+ a source language processor.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to
+ deal in the Software without restriction, including without limitation the
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+ sell copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ IN THE SOFTWARE.
+
+License: GPL-3+
+ This program is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free Software
+ Foundation, either version 3 of the License, or (at your option) any later
+ version.
+ .
+ This program is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ .
+ On Debian systems the full text of the GNU General Public License can be found
+ in the `/usr/share/common-licenses/GPL-3' file.
+
+License: ISC
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/debian/lnav.docs b/debian/lnav.docs
new file mode 100644
index 0000000..1fd3afe
--- /dev/null
+++ b/debian/lnav.docs
@@ -0,0 +1 @@
+src/help.txt
diff --git a/debian/patches/default-to-var-log-syslog-on-Debian.patch b/debian/patches/default-to-var-log-syslog-on-Debian.patch
new file mode 100644
index 0000000..86c4169
--- /dev/null
+++ b/debian/patches/default-to-var-log-syslog-on-Debian.patch
@@ -0,0 +1,28 @@
+Description: Prefer /var/log/syslog over /var/log/messages
+ On Debian the default /etc/rsyslog.conf shipped with rsyslog
+ prefers logs *.* to /var/log/syslog. Thus prefer this logfile
+ in list of default logfiles.
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/721700
+Forwarded: not-needed
+Author: Salvatore Bonaccorso <carnil@debian.org>
+Last-Update: 2015-11-16
+
+--- a/src/lnav.cc
++++ b/src/lnav.cc
+@@ -2511,12 +2511,12 @@ int main(int argc, char *argv[])
+ }
+
+ if (!(lnav_data.ld_flags & LNF_CHECK_CONFIG)) {
+- DEFAULT_FILES.insert(make_pair(LNF_SYSLOG, string("var/log/messages")));
+- DEFAULT_FILES.insert(
+- make_pair(LNF_SYSLOG, string("var/log/system.log")));
+ DEFAULT_FILES.insert(make_pair(LNF_SYSLOG, string("var/log/syslog")));
+ DEFAULT_FILES.insert(
+ make_pair(LNF_SYSLOG, string("var/log/syslog.log")));
++ DEFAULT_FILES.insert(make_pair(LNF_SYSLOG, string("var/log/messages")));
++ DEFAULT_FILES.insert(
++ make_pair(LNF_SYSLOG, string("var/log/system.log")));
+ }
+
+ init_lnav_commands(lnav_commands);
diff --git a/debian/patches/disable-broken-test_logfile-test.patch b/debian/patches/disable-broken-test_logfile-test.patch
new file mode 100644
index 0000000..8f4d900
--- /dev/null
+++ b/debian/patches/disable-broken-test_logfile-test.patch
@@ -0,0 +1,23 @@
+Description: Disable broken test_logfile.sh test
+Origin: vendor
+Author: Salvatore Bonaccorso <carnil@debian.org>
+Last-Update: 2019-09-02
+
+--- a/test/Makefile.am
++++ b/test/Makefile.am
+@@ -382,7 +382,6 @@ TESTS = \
+ test_json_op.sh \
+ test_json_ptr_walk.sh \
+ test_log_accel \
+- test_logfile.sh \
+ test_pcrepp \
+ test_reltime \
+ test_scripts.sh \
+@@ -400,6 +399,7 @@ TESTS = \
+
+ DISABLED_TESTS = \
+ test_top_status \
++ test_logfile.sh \
+ test_view_colors.sh \
+ test_vt52_curses.sh
+
diff --git a/debian/patches/disable-test_sql.patch b/debian/patches/disable-test_sql.patch
new file mode 100644
index 0000000..c5afeca
--- /dev/null
+++ b/debian/patches/disable-test_sql.patch
@@ -0,0 +1,30 @@
+Description: Disable test_sql completely as contains time dependent tests
+ Disable test_sql tests as they contain a time dependent component
+ which caused a FTBFS starting in 2019-01-01.
+ .
+ Although this was addressed upstream in the concrete case it will
+ not suffice for the complete lifetime of buster.
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/918153
+Forwarded: no
+Author: Salvatore Bonaccorso <carnil@debian.org>
+Last-Update: 2019-09-02
+
+--- a/test/Makefile.am
++++ b/test/Makefile.am
+@@ -387,7 +387,6 @@ TESTS = \
+ test_scripts.sh \
+ test_sessions.sh \
+ test_shlexer.sh \
+- test_sql.sh \
+ test_sql_coll_func.sh \
+ test_sql_json_func.sh \
+ test_sql_fs_func.sh \
+@@ -400,6 +399,7 @@ TESTS = \
+ DISABLED_TESTS = \
+ test_top_status \
+ test_logfile.sh \
++ test_sql.sh \
+ test_view_colors.sh \
+ test_vt52_curses.sh
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d276d0c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+default-to-var-log-syslog-on-Debian.patch
+disable-broken-test_logfile-test.patch
+disable-test_sql.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..95c4c26
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+%:
+ dh $@
+
+override_dh_auto_configure:
+ dh_auto_configure -- --disable-static
+
+override_dh_installchangelogs:
+ dh_installchangelogs NEWS
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..c8c1ee7
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/tstack/lnav/releases /tstack/lnav/releases/download/(?:.*)/lnav-(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$