summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog451
-rw-r--r--debian/control37
-rw-r--r--debian/copyright297
-rw-r--r--debian/lnav.docs1
-rw-r--r--debian/patches/default-to-var-log-syslog-on-Debian.patch25
-rw-r--r--debian/patches/disable-broken-test_listview.patch26
-rw-r--r--debian/patches/disable-broken-test_logfile-test.patch23
-rw-r--r--debian/patches/disable-test_mvwattrline.patch23
-rw-r--r--debian/patches/disable-test_sql.patch30
-rw-r--r--debian/patches/disable-test_vt52_curses.patch27
-rw-r--r--debian/patches/series6
-rwxr-xr-xdebian/rules20
-rw-r--r--debian/salsa-ci.yml3
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/metadata4
-rw-r--r--debian/watch4
16 files changed, 978 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4b8088d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,451 @@
+lnav (0.11.2-1) unstable; urgency=medium
+
+ * Upload to unstable
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Sat, 05 Aug 2023 07:45:53 +0200
+
+lnav (0.11.2-1~exp1) experimental; urgency=medium
+
+ * New upstream version 0.11.2
+ - Fixes FTBFS with gcc-13 (Closes: #1037761)
+ * Drop "test_sql_str_func.sh: Correct expected output on bad IPv6 address"
+ * debian/copyright: Add new stanza for freshly included file upstream
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Fri, 04 Aug 2023 08:52:25 +0200
+
+lnav (0.11.1-3) unstable; urgency=medium
+
+ * Upload to unstable
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Fri, 31 Mar 2023 20:40:20 +0200
+
+lnav (0.11.1-3~exp1) experimental; urgency=medium
+
+ * test_sql_str_func.sh: Correct expected output on bad IPv6 address
+ (Closes: #1032539)
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Fri, 31 Mar 2023 17:52:44 +0200
+
+lnav (0.11.1-2) unstable; urgency=medium
+
+ * Add Build-Depends on tzdata.
+ Thanks to Santiago Vila (Closes: #1029426)
+ * Update copyright years for debian/* packaging files
+ * Declare compliance with Debian policy 4.6.2
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Sun, 22 Jan 2023 20:41:56 +0100
+
+lnav (0.11.1-1) unstable; urgency=medium
+
+ * Upload to unstable
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Wed, 16 Nov 2022 09:09:42 +0100
+
+lnav (0.11.1-1~exp2) experimental; urgency=medium
+
+ * Produce no debug information for mipsel builds (Closes: #1021665)
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Tue, 15 Nov 2022 16:39:16 +0100
+
+lnav (0.11.1-1~exp1) experimental; urgency=medium
+
+ * New upstream version 0.11.1
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Thu, 20 Oct 2022 23:21:15 +0200
+
+lnav (0.11.1~rc1-1~exp1) experimental; urgency=medium
+
+ * New upstream version 0.11.1~rc1
+ * Update copyright stanzas for upstream included files
+ * debian/watch: Add uversionmangle to be able to import rc versions as well
+ * Drop "remove unnecessary include that is triggering a compile error on
+ some archs"
+ * Drop "Disable the 'truncate_to' test (causes FTBFS on s390x)"
+ * d/control: Switch Build-Depends to libpcre2-dev (Closes: #1000078)
+ * d/rules: Install NEWS.md as upstream changelog (renamed from NEWS
+ upstream)
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Sat, 08 Oct 2022 19:11:40 +0200
+
+lnav (0.11.0-1~exp2) experimental; urgency=medium
+
+ * remove unnecessary include that is triggering a compile error on some
+ archs
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Fri, 30 Sep 2022 15:01:26 +0200
+
+lnav (0.11.0-1~exp1) experimental; urgency=medium
+
+ * New upstream version 0.11.0
+ * Refresh "Prefer /var/log/syslog over /var/log/messages"
+ * debian/watch: Switch to watch tagged versions on github releases page
+ * Refresh "Disable test_mvwattrline test"
+ * Refresh "Disable failing test_vt52_curses test"
+ * Refresh "Disable broken test_logfile.sh test"
+ * Refresh "Disable test_sql completely as contains time dependent tests"
+ * Refresh "Disable broken test_listview.sh test"
+ * Drop patches applied upstream
+ * Refresh "Disable the 'truncate_to' test (causes FTBFS on s390x)"
+ * Update copyright years for upstream files
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Fri, 30 Sep 2022 09:17:31 +0200
+
+lnav (0.10.1-6) unstable; urgency=medium
+
+ * Upload to unstable
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Wed, 17 Aug 2022 23:22:28 +0200
+
+lnav (0.10.1-5) experimental; urgency=medium
+
+ * Disable the 'truncate_to' test (causes FTBFS on s390x)
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Wed, 17 Aug 2022 22:55:11 +0200
+
+lnav (0.10.1-4) experimental; urgency=medium
+
+ * [time_util] cap large year in tm2sec() instead of returning BAD_DATE
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Fri, 05 Aug 2022 07:30:35 +0200
+
+lnav (0.10.1-3) experimental; urgency=medium
+
+ * Revert "Drop patches to disble some broken tests"
+ * Declare compliance with Debian policy 4.6.1
+ * update json sql test for sqlite bugfix (Closes: 1014335)
+ * Add `#include <iterator>` to `string_util.cc` (fixes FTBFS)
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Wed, 03 Aug 2022 14:13:13 +0200
+
+lnav (0.10.1-2) experimental; urgency=medium
+
+ * debian/control: Add Build-Depends on libarchive-dev
+ * debian/control: Add xz-utils to Build-Depends
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Sat, 23 Apr 2022 22:09:25 +0200
+
+lnav (0.10.1-1) experimental; urgency=medium
+
+ * New upstream version 0.10.1
+ - Fixes FTBFS with glibc 2.34 (Closes: #1009631)
+ * Update copyright years for upstream files
+ * Update copyright years for debian/* packaging files
+ * Refresh "Prefer /var/log/syslog over /var/log/messages"
+ * Drop "[logfile] add notes for automatic decisions and fix compile errors"
+ * debian/control: Add openssh-client to Build-Depends
+ * Drop patches to disble some broken tests
+ * Disable failing test_mvwattrline test
+ * Disable failing test_vt52_curses test
+ * debian/copyright: Drop uneeded stanzas for files dropped upstream
+ * Rename Salsa CI configuration file to debian/salsa-ci.yml
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Sat, 23 Apr 2022 21:38:22 +0200
+
+lnav (0.9.0-2) unstable; urgency=medium
+
+ * add notes for automatic decisions and fix compile errors.
+ Fixes FTBFS with GCC-11. (Closes: #984220)
+ * Declare compliance with Debian policy 4.6.0
+ * Update copyright years for debian/* packaging files
+ * Update versioned Build-Depends on libsqlite3-dev to be unversioned
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Tue, 12 Oct 2021 14:07:52 +0200
+
+lnav (0.9.0-1) unstable; urgency=medium
+
+ * New upstream version 0.9.0
+ * debian/copyright: Add copyright information for new files
+ * debian/copyright: Update copyright years for upstream files
+ * Declare compliance with Debian policy 4.5.1
+ * Refresh "Prefer /var/log/syslog over /var/log/messages"
+ * Refresh "Disable broken test_logfile.sh test"
+ * Refresh "Disable test_sql completely as contains time dependent tests"
+ * debian/watch: Bump format to version 4.
+ Use @PACKAGE@ and @ARCHIVE_EXT@ substitutions.
+ * Disable broken test_listview.sh test in testsuite (Closes: #975803)
+ * debian/copyright: Remove stanza for dropped files upstream
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Wed, 30 Dec 2020 10:01:56 +0100
+
+lnav (0.8.5-3) unstable; urgency=medium
+
+ [ Debian Janitor ]
+ * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+ Repository-Browse.
+ * Update standards version to 4.4.1, no changes needed.
+ * Update standards version to 4.5.0, no changes needed.
+
+ [ Salvatore Bonaccorso ]
+ * Update copyright years for debian/* packaging files
+ * Bump Debhelper compat level to 13
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Thu, 27 Aug 2020 15:47:39 +0200
+
+lnav (0.8.5-2) unstable; urgency=medium
+
+ * Upload to unstable
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Tue, 03 Sep 2019 10:44:41 +0200
+
+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..e002c45
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,37 @@
+Source: lnav
+Section: admin
+Priority: optional
+Maintainer: Salvatore Bonaccorso <carnil@debian.org>
+Build-Depends:
+ debhelper-compat (= 13),
+ libarchive-dev,
+ libbz2-dev,
+ libcurl4-gnutls-dev,
+ libncurses5-dev,
+ libncursesw5-dev,
+ libpcre2-dev,
+ libreadline-dev,
+ libsqlite3-dev,
+ openssh-client,
+ re2c,
+ tzdata,
+ zlib1g-dev,
+ xz-utils
+Standards-Version: 4.6.2
+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..97c54eb
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,297 @@
+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-2022, Timothy Stack <timothyshanestack@gmail.com>
+License: BSD-3-clause
+
+Files: release/lnav.spec.in
+Copyright: 2023, SUSE LLC
+ 2010-2013, Pascal Bleser <pascal.bleser@opensuse.org>
+License: BSD-3-clause
+
+Files: src/base/is_utf8.cc
+ src/base/is_utf8.hh
+Copyright: 2013, Palard Julien.
+License: BSD-2-clause
+
+Files: src/base/strnatcmp.c
+ src/base/strnatcmp.h
+Copyright: 2000, 2004, Martin Pool <mbp sourcefrog net>
+License: Zlib
+
+Files: src/fmtlib/fmt/*
+Copyright: 2012-present, Victor Zverovich
+License: BSD-2-clause
+
+Files: src/ghc/*
+Copyright: 2018, Steffen Schümann <s.schuemann@pobox.com>
+License: Expat
+
+Files: src/mapbox/*
+Copyright: 2002-2003, Itay Maman
+ 2002-2003, Eric Friedman
+License: BSL-1.0
+
+Files: src/optional.hpp
+Copyright: 2014-2018, Martin Moene
+License: BSL-1.0
+
+Files: src/pugixml/*
+Copyright: 2006-2022, Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
+License: Expat
+
+Files: src/ring_span.hh
+Copyright: 2017, 2018, Martin Moene
+ 2015, Arthur ODwyer
+License: BSL-1.0
+
+Files: src/spookyhash/*
+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/third-party/CLI/*
+Copyright: 2017-2022, University of Cincinnati, developedHenry Schreiner
+License: BSD-3-clause
+
+Files: src/third-party/backward-cpp/*
+Copyright: 2013, Google Inc.
+License: Expat
+
+Files: src/third-party/doctest-root/*
+Copyright: 2016-2021, Viktor Kirilov
+License: Expat
+
+Files: src/third-party/md4c/*
+Copyright: 2016-2020, Martin Mitas
+License: Expat
+
+Files: src/third-party/rapidyaml/*
+Copyright: 2018, Joao Paulo Magalhaes <dev@jpmag.me>
+License: Expat
+
+Files: src/third-party/robin_hood/*
+Copyright: 2018-2021, Martin Ankerl <http://martin.ankerl.com>
+License: Expat
+
+Files: src/third-party/scnlib/*
+Copyright: 2017, Elias Kosunen
+License: Apache-2.0
+
+Files: src/third-party/scnlib/include/scn/ranges/custom_impl.h
+ src/third-party/scnlib/include/scn/ranges/util.h
+Copyright: 2017, Elias Kosunen
+License: Apache-2.0 and BSL-1.0
+
+Files: src/third-party/scnlib/include/scn/unicode/*
+Copyright: 2017, Elias Kosunen
+License: Apache-2.0 and BSL-1.0
+
+Files: src/third-party/xxHash/*
+Copyright: 2012-2021, Yann Collet
+License: BSD-2-clause
+
+Files: src/timer.cc
+ src/timer.hh
+Copyright: 2015, Suresh Sundriyal
+License: BSD-3-clause
+
+Files: src/ww898/*
+Copyright: 2017-2019, Mikhail Pilin
+License: Expat
+
+Files: src/yajl/*
+Copyright: 2007-2014, Lloyd Hilaiel <me@lloyd.io>
+License: ISC
+
+Files: src/yajl/api/yajl_tree.h
+Copyright: 2010, 2011, Florian Forster <ff at octo.it>
+License: ISC
+
+Files: src/yajl/yajl_common.h
+Copyright: 2007-2011, Lloyd Hilaiel <lloyd@hilaiel.com>
+License: ISC
+
+Files: src/yajl/yajl_tree.c
+Copyright: 2010, 2011, Florian Forster <ff at octo.it>
+License: ISC
+
+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-2023, Salvatore Bonaccorso <carnil@debian.org>
+License: BSD-3-clause
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS"BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache License,
+ Version 2.0 can be found in '/usr/share/common-licenses/Apache-2.0'.
+
+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: 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.
+
+License: Zlib
+ The zlib License
+ .
+ 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.
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..c2a5511
--- /dev/null
+++ b/debian/patches/default-to-var-log-syslog-on-Debian.patch
@@ -0,0 +1,25 @@
+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
+@@ -2623,10 +2623,10 @@ SELECT tbl_name FROM sqlite_master WHERE
+ }
+
+ if (!mode_flags.mf_check_configs && !lnav_data.ld_show_help_view) {
+- DEFAULT_FILES.emplace_back("var/log/messages");
+- DEFAULT_FILES.emplace_back("var/log/system.log");
+ DEFAULT_FILES.emplace_back("var/log/syslog");
+ DEFAULT_FILES.emplace_back("var/log/syslog.log");
++ DEFAULT_FILES.emplace_back("var/log/messages");
++ DEFAULT_FILES.emplace_back("var/log/system.log");
+ }
+
+ init_lnav_commands(lnav_commands);
diff --git a/debian/patches/disable-broken-test_listview.patch b/debian/patches/disable-broken-test_listview.patch
new file mode 100644
index 0000000..cf8e0fe
--- /dev/null
+++ b/debian/patches/disable-broken-test_listview.patch
@@ -0,0 +1,26 @@
+Description: Disable broken test_listview.sh test
+Origin: vendor
+Bug: https://github.com/tstack/lnav/issues/797
+Bug-Debian: https://bugs.debian.org/975803
+Author: Salvatore Bonaccorso <carnil@debian.org>
+Last-Update: 2020-12-30
+Applied-Upstream: no
+
+--- a/test/Makefile.am
++++ b/test/Makefile.am
+@@ -391,7 +391,6 @@ TESTS = \
+ test_cmds.sh \
+ test_config.sh \
+ test_events.sh \
+- test_listview.sh \
+ test_meta.sh \
+ test_grep_proc.sh \
+ test_grep_proc2 \
+@@ -425,6 +424,7 @@ DISABLED_TESTS = \
+ test_remote.sh \
+ test_top_status \
+ test_line_buffer2 \
++ test_listview.sh \
+ test_logfile.sh \
+ test_line_buffer.sh \
+ test_sql.sh \
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..c707fe0
--- /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
+@@ -397,7 +397,6 @@ TESTS = \
+ test_grep_proc2 \
+ test_json_format.sh \
+ test_log_accel \
+- test_logfile.sh \
+ test_reltime \
+ test_scripts.sh \
+ test_sessions.sh \
+@@ -427,6 +426,7 @@ DISABLED_TESTS = \
+ test_remote.sh \
+ test_top_status \
+ test_line_buffer2 \
++ test_logfile.sh \
+ test_line_buffer.sh \
+ test_vt52_curses.sh
+
diff --git a/debian/patches/disable-test_mvwattrline.patch b/debian/patches/disable-test_mvwattrline.patch
new file mode 100644
index 0000000..1f1dbd1
--- /dev/null
+++ b/debian/patches/disable-test_mvwattrline.patch
@@ -0,0 +1,23 @@
+Description: Disable test_mvwattrline test
+Origin: vendor
+Forwarded: no
+Author: Salvatore Bonaccorso <carnil@debian.org>
+
+--- a/test/Makefile.am
++++ b/test/Makefile.am
+@@ -393,7 +393,6 @@ TESTS = \
+ test_events.sh \
+ test_listview.sh \
+ test_meta.sh \
+- test_mvwattrline.sh \
+ test_grep_proc.sh \
+ test_grep_proc2 \
+ test_json_format.sh \
+@@ -424,6 +423,7 @@ TESTS = \
+ test_vt52_curses.sh
+
+ DISABLED_TESTS = \
++ test_mvwattrline \
+ test_regex101.sh \
+ test_remote.sh \
+ test_top_status \
diff --git a/debian/patches/disable-test_sql.patch b/debian/patches/disable-test_sql.patch
new file mode 100644
index 0000000..26270a9
--- /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
+@@ -401,7 +401,6 @@ TESTS = \
+ test_scripts.sh \
+ test_sessions.sh \
+ test_shlexer.sh \
+- test_sql.sh \
+ test_sql_anno.sh \
+ test_sql_coll_func.sh \
+ test_sql_fs_func.sh \
+@@ -428,6 +427,7 @@ DISABLED_TESTS = \
+ test_line_buffer2 \
+ test_logfile.sh \
+ test_line_buffer.sh \
++ test_sql.sh \
+ test_vt52_curses.sh
+
+ if HAVE_LIBCURL
diff --git a/debian/patches/disable-test_vt52_curses.patch b/debian/patches/disable-test_vt52_curses.patch
new file mode 100644
index 0000000..dc2c9ca
--- /dev/null
+++ b/debian/patches/disable-test_vt52_curses.patch
@@ -0,0 +1,27 @@
+Description: Disable failing test_vt52_curses test
+Origin: vendor
+Forwarded: no
+Author: Salvatore Bonaccorso <carnil@debian.org>
+
+--- a/test/Makefile.am
++++ b/test/Makefile.am
+@@ -419,8 +419,7 @@ TESTS = \
+ test_tui.sh \
+ test_data_parser.sh \
+ test_pretty_print.sh \
+- test_view_colors.sh \
+- test_vt52_curses.sh
++ test_view_colors.sh
+
+ DISABLED_TESTS = \
+ test_mvwattrline \
+@@ -428,7 +427,8 @@ DISABLED_TESTS = \
+ test_remote.sh \
+ test_top_status \
+ test_line_buffer2 \
+- test_line_buffer.sh
++ test_line_buffer.sh \
++ test_vt52_curses.sh
+
+ if HAVE_LIBCURL
+ TESTS += \
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1376de8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,6 @@
+default-to-var-log-syslog-on-Debian.patch
+disable-test_mvwattrline.patch
+disable-test_vt52_curses.patch
+disable-broken-test_logfile-test.patch
+disable-test_sql.patch
+disable-broken-test_listview.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4e2e2d1
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# Produce no debug information for mipsel builds
+# to avoid FTBFS due to running out of memory,
+# cf. #1021665
+ifneq (,$(filter $(DEB_HOST_ARCH), mipsel))
+ export DEB_CXXFLAGS_MAINT_APPEND = -g0
+endif
+
+%:
+ dh $@
+
+override_dh_auto_configure:
+ dh_auto_configure -- --disable-static
+
+override_dh_installchangelogs:
+ dh_installchangelogs NEWS.md
diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml
new file mode 100644
index 0000000..892f3cd
--- /dev/null
+++ b/debian/salsa-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/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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..235faff
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+Bug-Database: https://github.com/tstack/lnav/issues
+Bug-Submit: https://github.com/tstack/lnav/issues/new
+Repository: https://github.com/tstack/lnav.git
+Repository-Browse: https://github.com/tstack/lnav
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..3b62344
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*@ARCHIVE_EXT@)%@PACKAGE@-$1%, uversionmangle=s|-rc|~rc|" \
+https://github.com/tstack/@PACKAGE@/tags \
+(?:.*?/)?v?@ANY_VERSION@@ARCHIVE_EXT@