2018-06-26 23:37:30 +03:00
|
|
|
name: lnav
|
2020-09-24 00:47:44 +03:00
|
|
|
adopt-info: lnav
|
2020-09-24 00:15:48 +03:00
|
|
|
summary: Log File Navigator
|
2018-06-26 23:37:30 +03:00
|
|
|
description: |
|
2020-09-24 00:15:48 +03:00
|
|
|
The Log File Navigator, **lnav** for short, is an advanced log file viewer
|
|
|
|
for the small-scale.
|
2022-09-02 10:13:43 +03:00
|
|
|
icon: docs/assets/images/favicon.png
|
2018-06-26 23:37:30 +03:00
|
|
|
|
2022-07-17 07:56:20 +03:00
|
|
|
base: core20
|
2020-09-24 09:35:13 +03:00
|
|
|
grade: stable
|
2018-06-26 23:37:30 +03:00
|
|
|
confinement: strict
|
|
|
|
|
2021-09-16 16:47:55 +03:00
|
|
|
environment:
|
|
|
|
LOCPATH: $SNAP/usr/lib/locale
|
2021-09-27 07:14:54 +03:00
|
|
|
GIT_TEMPLATE_DIR: $SNAP/usr/share/git-core/templates
|
|
|
|
GIT_EXEC_PATH: $SNAP/usr/lib/git-core
|
2021-09-16 16:47:55 +03:00
|
|
|
|
2023-06-21 23:10:01 +03:00
|
|
|
plugs:
|
|
|
|
etc-lnav:
|
|
|
|
interface: system-files
|
|
|
|
read:
|
|
|
|
- /etc/lnav
|
|
|
|
|
2018-06-26 23:37:30 +03:00
|
|
|
apps:
|
2018-07-11 08:39:05 +03:00
|
|
|
lnav:
|
2021-10-02 04:43:14 +03:00
|
|
|
command: usr/bin/lnav
|
2021-08-25 14:21:07 +03:00
|
|
|
plugs:
|
2023-06-21 23:10:01 +03: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-09 05:27:44 +03:00
|
|
|
- network # required, lnav uses sendto() with UNIX domain socket
|
2021-09-26 12:15:58 +03:00
|
|
|
- removable-media
|
2021-06-09 05:27:44 +03:00
|
|
|
- ssh-keys
|
2021-09-15 08:31:07 +03:00
|
|
|
- x11
|
2018-06-26 23:37:30 +03:00
|
|
|
|
|
|
|
parts:
|
2020-09-24 00:47:44 +03:00
|
|
|
selective-checkout:
|
|
|
|
source: https://github.com/Lin-Buo-Ren/selective-checkout.git
|
2021-09-09 19:17:52 +03:00
|
|
|
source-tag: v2.0.2
|
2020-09-24 00:47:44 +03:00
|
|
|
plugin: dump
|
|
|
|
build-packages:
|
|
|
|
# Uncomment the VCS your main part is using
|
|
|
|
- git
|
2021-09-15 08:58:48 +03:00
|
|
|
- curl
|
|
|
|
- jq
|
|
|
|
- sed
|
|
|
|
|
2020-09-24 00:47:44 +03:00
|
|
|
#- mercurial
|
|
|
|
#- subversion
|
|
|
|
stage:
|
|
|
|
- scriptlets/selective-checkout
|
|
|
|
prime:
|
|
|
|
- -*
|
2018-06-26 23:37:30 +03:00
|
|
|
lnav:
|
2020-09-24 00:47:44 +03:00
|
|
|
after:
|
|
|
|
- selective-checkout
|
2018-06-26 23:37:30 +03:00
|
|
|
plugin: autotools
|
2022-09-02 07:25:17 +03:00
|
|
|
autotools-configure-parameters:
|
2022-09-02 07:16:28 +03:00
|
|
|
- CFLAGS="-O2"
|
|
|
|
- CXXFLAGS="-O2"
|
2018-06-26 23:37:30 +03:00
|
|
|
source: https://github.com/tstack/lnav.git
|
2020-09-24 00:47:44 +03:00
|
|
|
source-depth: 500
|
|
|
|
override-pull: |
|
|
|
|
snapcraftctl pull
|
|
|
|
|
2020-09-24 05:29:02 +03:00
|
|
|
"$SNAPCRAFT_STAGE"/scriptlets/selective-checkout --debug --force-snapshot
|
2021-08-25 14:21:07 +03:00
|
|
|
build-packages:
|
2018-06-26 23:37:30 +03:00
|
|
|
- build-essential
|
2024-03-28 07:27:03 +03:00
|
|
|
- cargo
|
2021-06-09 01:35:25 +03:00
|
|
|
- libarchive-dev
|
2022-06-13 21:46:14 +03:00
|
|
|
- libcurl4-gnutls-dev
|
2022-09-12 23:52:34 +03:00
|
|
|
- libpcre2-dev
|
2018-06-26 23:37:30 +03:00
|
|
|
- libsqlite3-dev
|
2021-10-02 02:19:35 +03:00
|
|
|
- libncursesw6
|
2018-06-26 23:37:30 +03:00
|
|
|
- libreadline-dev
|
|
|
|
- zlib1g-dev
|
|
|
|
- libbz2-dev
|
|
|
|
- libgpm-dev
|
2024-03-28 07:27:03 +03:00
|
|
|
- rustc
|
2020-09-24 01:05:43 +03:00
|
|
|
stage-packages:
|
2018-06-26 23:37:30 +03:00
|
|
|
- zlib1g
|
2021-09-27 07:14:54 +03:00
|
|
|
- git-core
|
2022-06-13 21:46:14 +03:00
|
|
|
- libcurl4
|
2021-10-02 02:19:35 +03:00
|
|
|
- libncursesw6
|
2022-09-13 00:36:33 +03:00
|
|
|
- libpcre2-8-0
|
2018-06-26 23:37:30 +03:00
|
|
|
- libgpm2
|
2021-06-09 01:50:36 +03:00
|
|
|
- libarchive13
|
2022-07-17 07:56:20 +03:00
|
|
|
- libicu66
|
2021-06-09 01:50:36 +03:00
|
|
|
- libxml2
|
2021-09-16 08:40:32 +03:00
|
|
|
- locales-all
|
2021-09-26 11:54:06 +03:00
|
|
|
- ssh
|
2021-11-06 01:13:16 +03:00
|
|
|
- tshark
|
2021-09-15 09:15:52 +03:00
|
|
|
- xclip
|