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: |
|
2020-09-23 14:15:48 -07:00
|
|
|
The Log File Navigator, **lnav** for short, is an advanced log file viewer
|
|
|
|
|
for the small-scale.
|
2018-06-26 23:37:30 +03:00
|
|
|
|
2020-09-23 23:35:13 -07:00
|
|
|
base: core18
|
|
|
|
|
grade: stable
|
2018-06-26 23:37:30 +03:00
|
|
|
confinement: strict
|
|
|
|
|
|
|
|
|
|
apps:
|
2018-07-10 22:39:05 -07:00
|
|
|
lnav:
|
2018-06-26 23:37:30 +03:00
|
|
|
command: lnav
|
2021-08-25 11:21:07 +00:00
|
|
|
plugs:
|
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
|
|
|
|
|
- ssh-keys
|
2021-09-14 22:31:07 -07:00
|
|
|
- x11
|
2018-06-26 23:37:30 +03:00
|
|
|
|
|
|
|
|
parts:
|
2020-09-23 14:47:44 -07:00
|
|
|
selective-checkout:
|
|
|
|
|
source: https://github.com/Lin-Buo-Ren/selective-checkout.git
|
2021-09-09 09:17:52 -07:00
|
|
|
source-tag: v2.0.2
|
2020-09-23 14:47:44 -07:00
|
|
|
plugin: dump
|
|
|
|
|
build-packages:
|
|
|
|
|
# Uncomment the VCS your main part is using
|
|
|
|
|
- git
|
|
|
|
|
#- mercurial
|
|
|
|
|
#- subversion
|
|
|
|
|
stage:
|
|
|
|
|
- scriptlets/selective-checkout
|
|
|
|
|
prime:
|
|
|
|
|
- -*
|
2018-06-26 23:37:30 +03:00
|
|
|
lnav:
|
2020-09-23 14:47:44 -07:00
|
|
|
after:
|
|
|
|
|
- selective-checkout
|
2018-06-26 23:37:30 +03:00
|
|
|
plugin: autotools
|
|
|
|
|
source: https://github.com/tstack/lnav.git
|
2020-09-23 14:47:44 -07:00
|
|
|
source-depth: 500
|
|
|
|
|
override-pull: |
|
|
|
|
|
snapcraftctl pull
|
|
|
|
|
|
2020-09-23 19:29:02 -07:00
|
|
|
"$SNAPCRAFT_STAGE"/scriptlets/selective-checkout --debug --force-snapshot
|
2021-08-25 11:21:07 +00:00
|
|
|
build-packages:
|
2018-06-26 23:37:30 +03:00
|
|
|
- build-essential
|
2021-06-08 15:35:25 -07:00
|
|
|
- libarchive-dev
|
2018-06-26 23:37:30 +03:00
|
|
|
- libpcre3-dev
|
|
|
|
|
- libsqlite3-dev
|
|
|
|
|
- libncursesw5-dev
|
|
|
|
|
- libreadline-dev
|
|
|
|
|
- zlib1g-dev
|
|
|
|
|
- libbz2-dev
|
|
|
|
|
- libgpm-dev
|
2020-09-23 15:05:43 -07:00
|
|
|
stage-packages:
|
2018-06-26 23:37:30 +03:00
|
|
|
- zlib1g
|
|
|
|
|
- libncursesw5
|
|
|
|
|
- libpcre3
|
|
|
|
|
- libgpm2
|
2021-06-08 15:50:36 -07:00
|
|
|
- libarchive13
|
|
|
|
|
- libicu60
|
|
|
|
|
- libxml2
|