403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
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/www/nginx-vts-exporter/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/www/nginx-vts-exporter/Makefile
PORTNAME=			nginx-vts-exporter
DISTVERSIONPREFIX=	v
DISTVERSION=		0.10.7
PORTREVISION=	6
CATEGORIES=			www

MAINTAINER=			joneum@FreeBSD.org
COMMENT=			Server that scraps NGINX vts stats and export them via HTTP
WWW=		https://github.com/hnlq715/nginx-vts-exporter

LICENSE=			MIT
LICENSE_FILE=		${WRKSRC}/LICENSE

USES=				gmake go
USE_RC_SUBR=		nginx_vts_exporter
USE_GITHUB=			yes
GH_ACCOUNT=			hnlq715

GO_BUILDFLAGS=		-v -ldflags "${LD_FLAG_STRING}"

SUB_FILES=			newsyslog.conf nginx_vts_exporter syslog.d.conf

SUB_LIST=			NGINX_VTS_EXPORTER_LOG_FILE=/var/log/nginx_vts_exporter \
					NGINX_VTS_EXPORTER_LOG_TAG=nginx_vts_exporter

BUILD_USER?=		${USER}
LD_FLAG_X_PREFIX=	-X ${GO_PKGNAME}/vendor/github.com/prometheus/common/version
LD_FLAG_STRING=		-s \
					${LD_FLAG_X_PREFIX}.Branch=release-${PORTVERSION:R} \
					${LD_FLAG_X_PREFIX}.BuildUser=${BUILD_USER} \
					${LD_FLAG_X_PREFIX}.Revision=${PORTREVISION} \
					${LD_FLAG_X_PREFIX}.Version=${PORTVERSION}

PLIST_FILES=	bin/nginx_vts_exporter \
			etc/newsyslog.conf.d/nginx-vts-exporter.conf \
			etc/syslog.d/nginx-vts-exporter.conf

do-install:
	${INSTALL_PROGRAM} \
		${GO_WRKDIR_BIN}/${PORTNAME} \
		${STAGEDIR}${PREFIX}/bin/nginx_vts_exporter

	${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/syslog.d

	${INSTALL_DATA} \
		${WRKDIR}/newsyslog.conf \
		${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/${PORTNAME}.conf

	${INSTALL_DATA} \
		${WRKDIR}/syslog.d.conf \
		${STAGEDIR}${PREFIX}/etc/syslog.d/${PORTNAME}.conf

.include <bsd.port.mk>

Youez - 2016 - github.com/yon3zu
LinuXploit