New package: mtail-3.0.5

This commit is contained in:
Leah Neukirchen 2024-07-13 15:44:29 +02:00
parent 559a5f4975
commit 361f77845e
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,4 @@
#!/bin/sh
exec 2>&1
[ -r conf ] && . ./conf
exec mtail -logtostderr ${OPTS}

24
srcpkgs/mtail/template Normal file
View File

@ -0,0 +1,24 @@
# Template file for 'mtail'
pkgname=mtail
version=3.0.5
revision=1
build_style=go
go_import_path="github.com/google/mtail"
go_package="${go_import_path}/cmd/..."
go_ldflags="-X main.Branch=main -X main.Version=${version} -X main.Revision=v${version}"
short_desc="Extract monitoring data from logs for metrics collection"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="https://github.com/google/mtail"
distfiles="https://github.com/google/mtail/archive/refs/tags/v${version}.tar.gz"
checksum=5fb6e8e7a68ca9cf6061b305a6db93f9ea660ecc7df254e121084a9f380e0348
post_install() {
vsv mtail
for f in examples/*.mtail; do
vsconf $f
done
vinstall mtail-mode.el 644 usr/share/emacs/site-lisp
}