New package: peshming-0.2.3

Closes: #20699 [via git-merge-pr]
This commit is contained in:
Jan Christian Grünhage 2020-04-08 12:05:39 +02:00 committed by Michael Aldridge
parent 804a05faa2
commit 32bc37d12c
2 changed files with 24 additions and 0 deletions

5
srcpkgs/peshming/INSTALL Normal file
View File

@ -0,0 +1,5 @@
case "${ACTION}" in
post)
setcap cap_net_raw+ep /usr/bin/peshming
;;
esac

19
srcpkgs/peshming/template Normal file
View File

@ -0,0 +1,19 @@
# Template file for 'peshming'
pkgname=peshming
version=0.2.3
revision=1
wrksrc="peshming"
build_style=cargo
depends="libcap-progs"
short_desc="Prometheus exporter for background icmp pings"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="AGPL-3.0-only"
homepage="https://git.jcg.re/jcgruenhage/peshming"
distfiles="https://git.jcg.re/jcgruenhage/peshming/archive/v${version}.tar.gz"
checksum=491f9a626228d5974ed25ca1ab6fb41e4301d3ecfffde86723a5f4bf96a0d1d7
post_install() {
vlicense LICENSE
vdoc README.md
vsconf config.toml.sample
}