Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2018 11:46:07 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r477497 - head/net-mgmt/statsite
Message-ID:  <201808181146.w7IBk7Bj020736@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sat Aug 18 11:46:07 2018
New Revision: 477497
URL: https://svnweb.freebsd.org/changeset/ports/477497

Log:
  net-mgmt/statsite: Update to 0.8.0
  
  - While here install example config file and some actual documentation
  
  Changes:	https://github.com/statsite/statsite/blob/master/CHANGELOG.md
  PR:		230365
  Submitted by:	Nathan <ndowens@yahoo.com> (based on)
  Approved by:	maintainer timeout (2 weeks)

Added:
  head/net-mgmt/statsite/pkg-plist   (contents, props changed)
Modified:
  head/net-mgmt/statsite/Makefile
  head/net-mgmt/statsite/distinfo

Modified: head/net-mgmt/statsite/Makefile
==============================================================================
--- head/net-mgmt/statsite/Makefile	Sat Aug 18 11:37:33 2018	(r477496)
+++ head/net-mgmt/statsite/Makefile	Sat Aug 18 11:46:07 2018	(r477497)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	statsite
-PORTVERSION=	0.7.1
+PORTVERSION=	0.8.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	net-mgmt
 
@@ -11,16 +11,26 @@ COMMENT=	C implementation of statsd
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		scons
+USES=		autoreconf
+GNU_CONFIGURE=	yes
 USE_GITHUB=	yes
 GH_ACCOUNT=	armon
 
+MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+
 USERS=		statsd
 GROUPS=		statsd
 
-PLIST_FILES=	bin/statsite
+OPTIONS_DEFINE=	DOCS
 
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/statsite ${STAGEDIR}/${PREFIX}/bin/
+PORTDOCS=	README.md
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/rpm/statsite.conf.example \
+		${STAGEDIR}${PREFIX}/etc/statsite.conf.sample
+
+post-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/net-mgmt/statsite/distinfo
==============================================================================
--- head/net-mgmt/statsite/distinfo	Sat Aug 18 11:37:33 2018	(r477496)
+++ head/net-mgmt/statsite/distinfo	Sat Aug 18 11:46:07 2018	(r477497)
@@ -1,2 +1,3 @@
-SHA256 (armon-statsite-v0.7.1_GH0.tar.gz) = ee0f1e889305950e2bb9714cc885c4e58b5d71fc20a653f155d03b10e63b7191
-SIZE (armon-statsite-v0.7.1_GH0.tar.gz) = 1177462
+TIMESTAMP = 1533418630
+SHA256 (armon-statsite-v0.8.0_GH0.tar.gz) = 79d30a68e395b23e736eb2856ce35055aedb9662e4a00c2492b43b975b4ea24a
+SIZE (armon-statsite-v0.8.0_GH0.tar.gz) = 962923

Added: head/net-mgmt/statsite/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/statsite/pkg-plist	Sat Aug 18 11:46:07 2018	(r477497)
@@ -0,0 +1,11 @@
+bin/statsite
+@sample etc/statsite.conf.sample
+%%DATADIR%%/sinks/__init__.py
+%%DATADIR%%/sinks/binary_sink.py
+%%DATADIR%%/sinks/cloudwatch.sh
+%%DATADIR%%/sinks/gmetric.py
+%%DATADIR%%/sinks/graphite.py
+%%DATADIR%%/sinks/influxdb.py
+%%DATADIR%%/sinks/librato.py
+%%DATADIR%%/sinks/opentsdb.js
+%%DATADIR%%/sinks/statsite_json_sink.rb



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808181146.w7IBk7Bj020736>