summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2004-08-29 10:59:53 +0000
committerRenat Lumpau <rl03@gentoo.org>2004-08-29 10:59:53 +0000
commit645b76bfa37fe69c423adcc2b3688a25aac2a212 (patch)
tree70aa15c822699bd755cde4a9a2ac369c8d0112cf /www-apps/drraw
parentVersion bumped. (Manifest recommit) (diff)
downloadgentoo-2-645b76bfa37fe69c423adcc2b3688a25aac2a212.tar.gz
gentoo-2-645b76bfa37fe69c423adcc2b3688a25aac2a212.tar.bz2
gentoo-2-645b76bfa37fe69c423adcc2b3688a25aac2a212.zip
Inital ebuild, requested in #60998.
Diffstat (limited to 'www-apps/drraw')
-rw-r--r--www-apps/drraw/ChangeLog10
-rw-r--r--www-apps/drraw/Manifest5
-rw-r--r--www-apps/drraw/drraw-2.0.1.ebuild40
-rw-r--r--www-apps/drraw/files/digest-drraw-2.0.11
-rw-r--r--www-apps/drraw/files/postinstall-en.txt1
-rw-r--r--www-apps/drraw/metadata.xml5
6 files changed, 62 insertions, 0 deletions
diff --git a/www-apps/drraw/ChangeLog b/www-apps/drraw/ChangeLog
new file mode 100644
index 000000000000..1f0963594947
--- /dev/null
+++ b/www-apps/drraw/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-apps/drraw
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/drraw/ChangeLog,v 1.1 2004/08/29 10:59:53 rl03 Exp $
+
+*drraw-2.0.1 (29 Aug 2004)
+
+ 29 Aug 2004; Renat Lumpau <rl03@gentoo.org> +metadata.xml,
+ +files/postinstall-en.txt, +drraw-2.0.1.ebuild:
+ Inital ebuild, requested in #60998.
+
diff --git a/www-apps/drraw/Manifest b/www-apps/drraw/Manifest
new file mode 100644
index 000000000000..dc1b8acd2409
--- /dev/null
+++ b/www-apps/drraw/Manifest
@@ -0,0 +1,5 @@
+MD5 813ca00059a5c325c09c061dd0f118bf drraw-2.0.1.ebuild 1003
+MD5 03adbbd918aebb62574fe70db67174b2 ChangeLog 293
+MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161
+MD5 9a8ac5bac3a337a6f32ce1ebdeade4b7 files/postinstall-en.txt 34
+MD5 be199e53ff4d84bf38e361364b1a6ffe files/digest-drraw-2.0.1 59
diff --git a/www-apps/drraw/drraw-2.0.1.ebuild b/www-apps/drraw/drraw-2.0.1.ebuild
new file mode 100644
index 000000000000..ea56fc2442cf
--- /dev/null
+++ b/www-apps/drraw/drraw-2.0.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/drraw/drraw-2.0.1.ebuild,v 1.1 2004/08/29 10:59:53 rl03 Exp $
+
+inherit webapp
+
+IUSE=""
+
+DESCRIPTION="drraw is a simple web based presentation front-end for RRDtool that allows you to interactively build graphs of your own design"
+HOMEPAGE="http://web.taranis.org/drraw"
+SRC_URI="http://web.taranis.org/${PN}/dist/${P}.tgz"
+
+KEYWORDS="~x86"
+
+DEPEND="$DEPEND"
+RDEPEND="
+ ${DEPEND}
+ >=dev-lang/perl-5.6
+ >=net-analyzer/rrdtool-1.0.47
+"
+
+LICENSE="GPL-2"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -e "s|/usr/local/bin/perl|/usr/bin/perl|
+ s|/drraw.conf|/../drraw.conf|" -i drraw.cgi
+ sed -e "s|/somewhere/drraw/saved|/tmp|
+ s|/somewhere/drraw/tmp|/tmp|" -i drraw.conf
+}
+
+src_install() {
+ webapp_src_preinst
+ dodoc CHANGES INSTALL README.EVENTS WISHLIST
+ cp drraw.cgi ${D}/${MY_CGIBINDIR} && chmod +x ${D}/${MY_CGIBINDIR}/drraw.cgi
+ cp drraw.conf ${D}/${MY_HOSTROOTDIR}
+ webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/drraw/files/digest-drraw-2.0.1 b/www-apps/drraw/files/digest-drraw-2.0.1
new file mode 100644
index 000000000000..a4d64ada2d8d
--- /dev/null
+++ b/www-apps/drraw/files/digest-drraw-2.0.1
@@ -0,0 +1 @@
+MD5 8d93bb70d5b12cd8d0ef5e6aba96c269 drraw-2.0.1.tgz 40970
diff --git a/www-apps/drraw/files/postinstall-en.txt b/www-apps/drraw/files/postinstall-en.txt
new file mode 100644
index 000000000000..0d4502023744
--- /dev/null
+++ b/www-apps/drraw/files/postinstall-en.txt
@@ -0,0 +1 @@
+Now edit ${VHOST_ROOT}/drraw.conf
diff --git a/www-apps/drraw/metadata.xml b/www-apps/drraw/metadata.xml
new file mode 100644
index 000000000000..95c06f0095bb
--- /dev/null
+++ b/www-apps/drraw/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+</pkgmetadata>