pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/drraw Initial import of drraw as version 2.1.3 int...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1d9eade5795a
branches: trunk
changeset: 500814:1d9eade5795a
user: kleink <kleink%pkgsrc.org@localhost>
date: Thu Oct 13 11:14:41 2005 +0000
description:
Initial import of drraw as version 2.1.3 into the NetBSD Packages
Collection.
drraw is a simple web based presentation front-end for RRDtool that
allows you to interactively build graphs of your own design.
diffstat:
www/drraw/DESCR | 7 +++++
www/drraw/Makefile | 55 ++++++++++++++++++++++++++++++++++++++++++++++
www/drraw/PLIST | 17 ++++++++++++++
www/drraw/distinfo | 6 +++++
www/drraw/patches/patch-aa | 13 ++++++++++
5 files changed, 98 insertions(+), 0 deletions(-)
diffs (118 lines):
diff -r 659a7f5b1c48 -r 1d9eade5795a www/drraw/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/drraw/DESCR Thu Oct 13 11:14:41 2005 +0000
@@ -0,0 +1,7 @@
+drraw is a simple web based presentation front-end for RRDtool that
+allows you to interactively build graphs of your own design. A
+graph definition can be turned into a template which may be applied
+to many Round Robin Database files. drraw specializes in providing
+an easy mean of displaying data stored with RRDtool and does not
+care about how the data is collected, making it a great complement
+to other RRDtool front-ends.
diff -r 659a7f5b1c48 -r 1d9eade5795a www/drraw/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/drraw/Makefile Thu Oct 13 11:14:41 2005 +0000
@@ -0,0 +1,55 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/13 11:14:41 kleink Exp $
+#
+
+DISTNAME= drraw-2.1.3
+CATEGORIES= databases graphics www
+MASTER_SITES= http://web.taranis.org/drraw/dist/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= kleink%NetBSD.org@localhost
+HOMEPAGE= http://web.taranis.org/drraw/
+COMMENT= Simple web based presentation front-end for RRDtool
+
+NO_BUILD= yes
+USE_TOOLS+= perl:run
+USE_PKGINSTALL= yes
+
+REPLACE_PERL= drraw.cgi
+
+PKG_SYSCONFSUBDIR?= drraw
+EGDIR= ${PREFIX}/share/examples/${PKGBASE}
+DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
+
+DRRAW_CONF_FILES= drraw.conf
+
+DRRAW_ICONS= bomb.gif folder.gif folder.open.gif generic.gif \
+ link.gif text.gif unknown.gif
+
+DRRAW_DOCS= CHANGES INSTALL README.EVENTS WISHLIST
+
+CONF_FILES= ${EGDIR}/drraw.conf ${PKG_SYSCONFDIR}/drraw.conf
+
+do-install:
+ ${INSTALL_SCRIPT_DIR} ${PREFIX}/libexec/cgi-bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/drraw.cgi ${PREFIX}/libexec/cgi-bin
+ ${INSTALL_DATA_DIR} ${EGDIR}
+.for f in ${DRRAW_CONF_FILES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${EGDIR}/${f}
+.endfor
+ ${INSTALL_DATA_DIR} ${EGDIR}/icons
+.for f in ${DRRAW_ICONS}
+ ${INSTALL_DATA} ${WRKSRC}/icons/${f} ${EGDIR}/icons/${f}
+.endfor
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+.for f in ${DRRAW_DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}/${f}
+.endfor
+
+SUBST_CLASSES= prefix
+SUBST_STAGE.prefix= post-patch
+SUBST_FILES.prefix= drraw.cgi
+SUBST_SED.prefix= -e "s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g"
+SUBST_MESSAGE.prefix= "Fixing harcoded paths."
+
+.include "../../databases/rrdtool/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 659a7f5b1c48 -r 1d9eade5795a www/drraw/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/drraw/PLIST Thu Oct 13 11:14:41 2005 +0000
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/13 11:14:41 kleink Exp $
+libexec/cgi-bin/drraw.cgi
+share/doc/drraw/CHANGES
+share/doc/drraw/INSTALL
+share/doc/drraw/README.EVENTS
+share/doc/drraw/WISHLIST
+share/examples/drraw/drraw.conf
+share/examples/drraw/icons/bomb.gif
+share/examples/drraw/icons/folder.gif
+share/examples/drraw/icons/folder.open.gif
+share/examples/drraw/icons/generic.gif
+share/examples/drraw/icons/link.gif
+share/examples/drraw/icons/text.gif
+share/examples/drraw/icons/unknown.gif
+@dirrm share/examples/drraw/icons
+@dirrm share/examples/drraw
+@dirrm share/doc/drraw
diff -r 659a7f5b1c48 -r 1d9eade5795a www/drraw/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/drraw/distinfo Thu Oct 13 11:14:41 2005 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/13 11:14:41 kleink Exp $
+
+SHA1 (drraw-2.1.3.tgz) = e106ccdc416124e4697936e4aeb54935e7a48aa9
+RMD160 (drraw-2.1.3.tgz) = 238d637c6c0ad19b4a8f611db99b0fd3d98bfeb0
+Size (drraw-2.1.3.tgz) = 45970 bytes
+SHA1 (patch-aa) = c0c49f9b819a2c9580b1d37e6a2bdb4efa9a5d70
diff -r 659a7f5b1c48 -r 1d9eade5795a www/drraw/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/drraw/patches/patch-aa Thu Oct 13 11:14:41 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/10/13 11:14:41 kleink Exp $
+
+--- drraw.cgi.orig 2005-06-19 20:20:50.000000000 +0200
++++ drraw.cgi 2005-10-13 12:43:43.000000000 +0200
+@@ -49,7 +49,7 @@
+
+ # The configuration file is expected to be found in the same directory
+ # as drraw itself. You may customize this to be elsewhere.
+-my $config = (dirname($0) =~ /(.*)/)[0] . "/drraw.conf"; # Untaint
++my $config = "@PKG_SYSCONFDIR@/drraw.conf";
+
+ ###############################################################################
+ ## STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP ##
Home |
Main Index |
Thread Index |
Old Index