| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/net-mgmt/ping_exporter/ |
Upload File : |
PORTNAME= ping_exporter
DISTVERSION= 1.0.0
PORTREVISION= 4
CATEGORIES= net-mgmt
MASTER_SITES= https://raw.githubusercontent.com/czerwonk/ping_exporter/${DISTVERSIONFULL}/:gomod
DISTFILES= go.mod:gomod
MAINTAINER= jp+ports@supplntr.io
COMMENT= Prometheus exporter for ICMP echo requests
WWW= https://github.com/czerwonk/ping_exporter
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= czerwonk
USE_RC_SUBR= ping_exporter
GO_MODULE= github.com/czerwonk/ping_exporter
SUB_FILES= pkg-message
post-install:
${INSTALL_DATA} ${PATCHDIR}/ping_exporter.yml.sample \
${STAGEDIR}${PREFIX}/etc/ping_exporter.yml.sample
${MKDIR} ${STAGEDIR}${DATADIR}/syslog.d \
${STAGEDIR}${DATADIR}/newsyslog.conf.d
${INSTALL_DATA} ${PATCHDIR}/ping_exporter.syslog \
${STAGEDIR}${DATADIR}/syslog.d/ping_exporter.conf
${INSTALL_DATA} ${PATCHDIR}/ping_exporter.newsyslog \
${STAGEDIR}${DATADIR}/newsyslog.conf.d/ping_exporter.conf
.include <bsd.port.mk>