diff --git a/srcpkgs/peshming/INSTALL b/srcpkgs/peshming/INSTALL new file mode 100644 index 00000000000..9bd34cacb70 --- /dev/null +++ b/srcpkgs/peshming/INSTALL @@ -0,0 +1,5 @@ +case "${ACTION}" in +post) + setcap cap_net_raw+ep /usr/bin/peshming + ;; +esac diff --git a/srcpkgs/peshming/template b/srcpkgs/peshming/template new file mode 100644 index 00000000000..bf30e75a014 --- /dev/null +++ b/srcpkgs/peshming/template @@ -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 " +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 +}