aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2013-08-15 09:59:51 +0800
committersobomax <sobomax@FreeBSD.org>2013-08-15 09:59:51 +0800
commit1745f95d34c431bbcd556292a3d794ea9a7082ba (patch)
tree579137c7180edd6cd906a3ee01cfaa83f3732176
parente3ddded066b6ae51c988f9a2cd5f3c3cc07c2014 (diff)
downloadfreebsd-ports-gnome-1745f95d34c431bbcd556292a3d794ea9a7082ba.tar.gz
freebsd-ports-gnome-1745f95d34c431bbcd556292a3d794ea9a7082ba.tar.zst
freebsd-ports-gnome-1745f95d34c431bbcd556292a3d794ea9a7082ba.zip
Add rrdmerge - a simple script to merge two RRD files together. But quite
useful at that.
-rw-r--r--databases/Makefile1
-rw-r--r--databases/rrdmerge/Makefile28
-rw-r--r--databases/rrdmerge/distinfo2
-rw-r--r--databases/rrdmerge/pkg-descr5
-rw-r--r--databases/rrdmerge/pkg-plist3
5 files changed, 39 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 958ac7bfaebf..9678eab4b252 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -795,6 +795,7 @@
SUBDIR += redis
SUBDIR += redis-devel
SUBDIR += rrdman
+ SUBDIR += rrdmerge
SUBDIR += rrdtool
SUBDIR += rrdtool10
SUBDIR += rrdtool12
diff --git a/databases/rrdmerge/Makefile b/databases/rrdmerge/Makefile
new file mode 100644
index 000000000000..3ea5e18c8071
--- /dev/null
+++ b/databases/rrdmerge/Makefile
@@ -0,0 +1,28 @@
+# Created by: sobomax
+# $FreeBSD$
+
+PORTNAME= rrdmerge
+PORTVERSION= 0.0
+PORTREVISION= ${GITREVISION}
+CATEGORIES= databases
+MASTER_SITES= http://download.sippysoft.com/thirdparty/
+DISTNAME= ${PORTNAME}-${GITREVISION}
+EXTRACT_SUFX= .tbz2
+
+MAINTAINER= sobomax@FreeBSD.org
+COMMENT= An utility to merge existing RRD data from backups into new RRD files
+
+RUN_DEPENDS= rrdtool:${PORTSDIR}/databases/rrdtool
+
+GITREVISION= b05d69bfac64
+USE_BZIP2= yes
+USE_PYTHON= yes
+NO_BUILD= yes
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/rrdmerge ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/rrdmergetree ${PREFIX}/bin
+ ${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+ ${INSTALL_MAN} ${WRKSRC}/README.rst ${PREFIX}/share/doc/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/databases/rrdmerge/distinfo b/databases/rrdmerge/distinfo
new file mode 100644
index 000000000000..a2aba7a9bcfd
--- /dev/null
+++ b/databases/rrdmerge/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rrdmerge-b05d69bfac64.tbz2) = 1703a8131376c3dd92df816c57ec92d5753634d26bb602836f44474fdfb16285
+SIZE (rrdmerge-b05d69bfac64.tbz2) = 4307
diff --git a/databases/rrdmerge/pkg-descr b/databases/rrdmerge/pkg-descr
new file mode 100644
index 000000000000..7e411e8626fb
--- /dev/null
+++ b/databases/rrdmerge/pkg-descr
@@ -0,0 +1,5 @@
+A simple utility to merge existing RRD data from backups into new RRD files
+that have started gathering data already. Useful for getting historical data
+back while performing disaster recovery.
+
+WWW: https://bitbucket.org/ctheune/rrdmerge/
diff --git a/databases/rrdmerge/pkg-plist b/databases/rrdmerge/pkg-plist
new file mode 100644
index 000000000000..f10057f76000
--- /dev/null
+++ b/databases/rrdmerge/pkg-plist
@@ -0,0 +1,3 @@
+bin/rrdmerge
+bin/rrdmergetree
+share/doc/rrdmerge/README.rst