PR: 244199

Submitted by:	Mikael Urankar <mikael@FreeBSD.org>
Approved by:	maintainer
This commit is contained in:
Ryan Steinmetz 2020-03-05 16:17:19 +00:00
parent d1ba2708b2
commit 5a500295fb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=527840
2 changed files with 13 additions and 2 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= ping_exporter
DISTVERSION= 0.44
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net-mgmt
MAINTAINER= jp+ports@supplntr.io
@ -13,12 +13,19 @@ LICENSE= APACHE20
USES= go
USE_GITHUB= yes
GH_ACCOUNT= czerwonk
GH_TUPLE= golang:net:83d349e8ac1a:golang_net/vendor/golang.org/x/net_83d349e8ac1a \
golang:sys:fead79001313:golang_sys/vendor/golang.org/x/sys_fead79001313
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
GO_TARGET= github.com/${GH_ACCOUNT}/${PORTNAME}
USE_RC_SUBR= ping_exporter
pre-build:
${RM} -r ${WRKSRC}/vendor/golang.org/x/net ${WRKSRC}/vendor/golang.org/x/sys
${MV} ${WRKSRC}/vendor/golang.org/x/net_83d349e8ac1a ${WRKSRC}/vendor/golang.org/x/net
${MV} ${WRKSRC}/vendor/golang.org/x/sys_fead79001313 ${WRKSRC}/vendor/golang.org/x/sys
post-install:
${INSTALL_DATA} ${PATCHDIR}/ping_exporter.yml.sample \
${STAGEDIR}${PREFIX}/etc/ping_exporter.yml.sample

View File

@ -1,3 +1,7 @@
TIMESTAMP = 1571270240
TIMESTAMP = 1580722648
SHA256 (czerwonk-ping_exporter-0.44_GH0.tar.gz) = 03d0c825fdb8d3c8701743897726ad7960879211238135363879161bbdcd06a7
SIZE (czerwonk-ping_exporter-0.44_GH0.tar.gz) = 4595291
SHA256 (golang-net-83d349e8ac1a_GH0.tar.gz) = 5752c376bc6383bf2055281336101c062b881f17ded2e960d718c8256023f9c7
SIZE (golang-net-83d349e8ac1a_GH0.tar.gz) = 1103298
SHA256 (golang-sys-fead79001313_GH0.tar.gz) = c8e102db152c51438f426a92b338f924827b960e75bd9d871ae9438135366073
SIZE (golang-sys-fead79001313_GH0.tar.gz) = 1258330