freebsd-ports/net-mgmt/unbound_exporter/Makefile
Dmitri Goutnik 5f0f6ced3c net-mgmt/unbound_exporter: Unbreak on aarch64
===>  Building unbound_exporter from github.com/kumina/unbound_exporter
# github.com/kumina/unbound_exporter/vendor/golang.org/x/sys/unix
vendor/golang.org/x/sys/unix/cap_freebsd.go:18:23: undefined: CAP_RIGHTS_VERSION_00
vendor/golang.org/x/sys/unix/cap_freebsd.go:19:23: undefined: CAP_RIGHTS_VERSION_00
vendor/golang.org/x/sys/unix/cap_freebsd.go:46:21: undefined: CapRights
vendor/golang.org/x/sys/unix/cap_freebsd.go:50:24: undefined: CapRights
vendor/golang.org/x/sys/unix/cap_freebsd.go:55:27: undefined: CapRights
vendor/golang.org/x/sys/unix/cap_freebsd.go:90:29: undefined: CapRights
vendor/golang.org/x/sys/unix/syscall_unix_gc.go:12:6: missing function body
vendor/golang.org/x/sys/unix/syscall_unix_gc.go:13:6: missing function body
vendor/golang.org/x/sys/unix/syscall_unix_gc.go:14:6: missing function body
vendor/golang.org/x/sys/unix/syscall_unix_gc.go:15:6: missing function body

http://thunderx1.nyi.freebsd.org/data/head-arm64-default/p518178_s355024/logs/errors/unbound_exporter-0.1_3.log

Unbreak by updating golang.org/x/sys to 33540a1f6037 which adds support for
freebsd/arm64.

PR:		242419
Approved by:	Athanasios Douitsis <aduitsis@cpan.org> (maintainer)
2019-12-08 17:25:38 +00:00

39 lines
1.3 KiB
Makefile

# Created by: Athanasios Douitsis <aduitsis@cpan.org>
# $FreeBSD$
PORTNAME= unbound_exporter
PORTVERSION= 0.1
DISTVERSIONPREFIX= v
PORTREVISION= 4
CATEGORIES= net-mgmt
MAINTAINER= aduitsis@cpan.org
COMMENT= Prometheus metrics exporter for the Unbound DNS resolver
LICENSE= APACHE20
USES= go
USE_GITHUB= yes
USE_RC_SUBR= unbound_exporter
GH_ACCOUNT= kumina
GH_TAGNAME= b7e842d893d29200a5108eab717f5ab01d783c0c
GH_TUPLE= prometheus:client_golang:3fb53d:client_golang/vendor/github.com/prometheus/client_golang \
prometheus:client_model:6f38060:client_model/vendor/github.com/prometheus/client_model \
prometheus:common:49fee29:common/vendor/github.com/prometheus/common \
prometheus:procfs:a1dba9c:procfs/vendor/github.com/prometheus/procfs \
beorn7:perks:4c0e845:perks/vendor/github.com/beorn7/perks \
golang:protobuf:2bba060:protobuf/vendor/github.com/golang/protobuf \
matttproud:golang_protobuf_extensions:c12348c:extensions/vendor/github.com/matttproud/golang_protobuf_extensions \
sirupsen:logrus:91da99d:logrus/vendor/github.com/Sirupsen/logrus \
golang:crypto:3d3f9f41:crypto/vendor/golang.org/x/crypto \
golang:sys:33540a1f6037:sys/vendor/golang.org/x/sys
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
USERS= unbound
GROUPS= unbound
PLIST_FILES= bin/unbound_exporter
.include <bsd.port.mk>