SIGN IN SIGN UP
2018-06-26 23:37:30 +03:00
name: lnav
2020-09-23 14:47:44 -07:00
adopt-info: lnav
2020-09-23 14:15:48 -07:00
summary: Log File Navigator
2018-06-26 23:37:30 +03:00
description: |
2026-01-29 11:41:16 -08:00
The Log File Navigator is a log file viewer for the terminal.
2022-09-02 00:13:43 -07:00
icon: docs/assets/images/favicon.png
2026-03-25 10:36:10 -07:00
contact: support@lnav.org
website: https://lnav.org
issues: https://github.com/tstack/lnav/issues
source-code: https://github.com/tstack/lnav
donation: https://github.com/sponsors/tstack
2018-06-26 23:37:30 +03:00
2025-11-19 10:07:51 -08:00
base: core22
2020-09-23 23:35:13 -07:00
grade: stable
2018-06-26 23:37:30 +03:00
confinement: strict
2021-09-16 06:47:55 -07:00
environment:
LOCPATH: $SNAP/usr/lib/locale
2021-09-26 21:14:54 -07:00
GIT_TEMPLATE_DIR: $SNAP/usr/share/git-core/templates
GIT_EXEC_PATH: $SNAP/usr/lib/git-core
2021-09-16 06:47:55 -07:00
2023-06-21 13:10:01 -07:00
plugs:
etc-lnav:
interface: system-files
read:
- /etc/lnav
slots:
lnav-bin:
interface: content
content: lnav
source:
read:
- $SNAP/bin
2018-06-26 23:37:30 +03:00
apps:
2018-07-10 22:39:05 -07:00
lnav:
2021-10-01 18:43:14 -07:00
command: usr/bin/lnav
2021-08-25 11:21:07 +00:00
plugs:
2023-06-21 13:10:01 -07:00
- etc-lnav
2018-06-26 23:37:30 +03:00
- home # optional, allows to read log files from home directory
- log-observe # required, provide access to system logs in /var/log
2021-06-08 19:27:44 -07:00
- network # required, lnav uses sendto() with UNIX domain socket
- removable-media
2021-06-08 19:27:44 -07:00
- ssh-keys
- x11
2018-06-26 23:37:30 +03:00
parts:
2025-02-12 12:20:25 -08:00
rustup:
plugin: rust
rust-channel: stable
2025-02-12 12:38:14 -08:00
source: .
override-build: ""
override-prime: ""
2018-06-26 23:37:30 +03:00
lnav:
2020-09-23 14:47:44 -07:00
after:
- rustup
2018-06-26 23:37:30 +03:00
plugin: autotools
2022-09-01 21:25:17 -07:00
autotools-configure-parameters:
- CFLAGS="-O2"
- CXXFLAGS="-O2"
2025-02-12 12:58:34 -08:00
- PATH="${HOME}/.cargo/bin:${PATH}"
2018-06-26 23:37:30 +03:00
source: https://github.com/tstack/lnav.git
2020-09-23 14:47:44 -07:00
source-depth: 500
override-pull: |
2025-11-19 12:38:28 -08:00
craftctl default
${CRAFT_PROJECT_DIR}/snap/local/scriptlets/selective-checkout --force-snapshot
2026-03-13 22:29:22 -07:00
override-build: |
craftctl default
2026-03-17 20:59:50 -07:00
execstack --clear-execstack $SNAPCRAFT_PART_INSTALL/usr/bin/lnav || true
2021-08-25 11:21:07 +00:00
build-packages:
2025-11-19 12:38:28 -08:00
- git
- curl
- jq
- sed
2018-06-26 23:37:30 +03:00
- build-essential
2021-06-08 15:35:25 -07:00
- libarchive-dev
2022-06-13 11:46:14 -07:00
- libcurl4-gnutls-dev
2022-09-12 13:52:34 -07:00
- libpcre2-dev
2018-06-26 23:37:30 +03:00
- libsqlite3-dev
- libunistring-dev
2018-06-26 23:37:30 +03:00
- zlib1g-dev
- libbz2-dev
2026-03-15 07:36:55 -07:00
- execstack
2020-09-23 15:05:43 -07:00
stage-packages:
2018-06-26 23:37:30 +03:00
- zlib1g
2021-09-26 21:14:54 -07:00
- git-core
2022-06-13 11:46:14 -07:00
- libcurl4
2022-09-12 14:36:33 -07:00
- libpcre2-8-0
2021-06-08 15:50:36 -07:00
- libarchive13
2025-11-19 11:48:07 -08:00
- libicu70
2021-06-08 15:50:36 -07:00
- libxml2
- locales-all
2021-09-26 01:54:06 -07:00
- ssh
2021-11-05 15:13:16 -07:00
- tshark
- xclip