From 2054a36866bd3995f7018bfd78e7d9d7a849b6fc Mon Sep 17 00:00:00 2001 From: Jan Christian Gr??nhage Date: Mon, 6 Apr 2020 22:56:18 +0200 Subject: [PATCH] New package: peshming-0.2.2 --- srcpkgs/peshming/INSTALL | 5 +++++ srcpkgs/peshming/template | 19 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 srcpkgs/peshming/INSTALL create mode 100644 srcpkgs/peshming/template 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..c0dc9cf2707 --- /dev/null +++ b/srcpkgs/peshming/template @@ -0,0 +1,19 @@ +# Template file for 'peshming' +pkgname=peshming +version=0.2.2 +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=22c01403e826901cc787edd0b20652357266fa151bbcb7f055cf427bcb4d0733 + +post_install() { + vlicense LICENSE + vdoc README.md + vsconf config.toml.sample +}