summaryrefslogtreecommitdiff
path: root/www-apps/drraw
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /www-apps/drraw
reinit the tree, so we can have metadata
Diffstat (limited to 'www-apps/drraw')
-rw-r--r--www-apps/drraw/Manifest8
-rw-r--r--www-apps/drraw/drraw-2.0.1.ebuild49
-rw-r--r--www-apps/drraw/drraw-2.1.3.ebuild49
-rw-r--r--www-apps/drraw/files/postinstall-en.txt3
-rw-r--r--www-apps/drraw/metadata.xml8
5 files changed, 117 insertions, 0 deletions
diff --git a/www-apps/drraw/Manifest b/www-apps/drraw/Manifest
new file mode 100644
index 000000000000..44adc638d6b5
--- /dev/null
+++ b/www-apps/drraw/Manifest
@@ -0,0 +1,8 @@
+AUX postinstall-en.txt 137 SHA256 433a5ba1d31484646faea29ad158ae674c487cff8d867d7818fcc97ca0430041 SHA512 17286b3758a6f2606b80ae493725647128b6f7ebce3318c3ffcf7ce13e4bc14c730013ec4633421630cdfbbd1eaa7310587066fac8063a777221d4b31581bffe WHIRLPOOL 7d7609682d3c22722ba52ec43af83d6831ef920f4b607d500bea200d8181f68163a7fa8d4d9832b112dfd89f854f1e83b39816412eb51c2002fe0e1542c194b5
+DIST drraw-2.0.1.tgz 40970 SHA256 4fb52e116635951a5767be08b589c34633095394f94c7df5cbc2b8b88cc41c69 SHA512 35f03864aae70812a5afd948c0f159f4fb873501117c3f8dfc8a227c2b3067d03e9d3bd524f74277750d0ba4f922770a73d8657548e7ee0eda1281b543202020 WHIRLPOOL 3b69228cdb5a69e01546ce80e84b3cc1b621ce1f0e142654c56f6e6073d4ad1a59bc9aaa542c1212f692a9991585124af438d715dee8ccf6b20671cc161d3953
+DIST drraw-2.1.3.tgz 45970 SHA256 c3290781426f81327632b4b0da80360882438f3d44cca81fdeaa3f9b22c3674e SHA512 2ac1ff34a4744a76aba0e3dfafcd0b6b4139bfaa20942965feef1434e72ddcb2f22f9e68d8f39b8fafe7ca252cbbb22e5ac9eb54ee1380f6aa251d48edded960 WHIRLPOOL 31ed238deacce376bfeed2da27b8ef34563e25aecfd4f794a3f3af2340e327611f03d632f771209bd4d743ba3ff39c5c2f40311a1c7f7ae4be0c4d2e5fa0bf65
+EBUILD drraw-2.0.1.ebuild 1027 SHA256 2d566877dafd19077481fe848a750613c9036eea22ba7a53cf45b47ee2e40097 SHA512 2a6ba1986c312c0601e1f6a907131d1acc89ab50c2a2ff8165d4318a8b358dbce5ebb33476357394d46f4ba190a4882af29fa5ff2ca889321d70dd0f064a3b89 WHIRLPOOL df6ffcd7fc8f6dc401fb62b3c47e92a3769481b576945251f4ed7d4db0a944921b85bd60d8d2dce6bf9578460130d5d59c8edeea7935b6f29977807d1b4562b6
+EBUILD drraw-2.1.3.ebuild 1034 SHA256 4a957a9a36da0fc8d839d1544b44dc910e47ed0204374ecb63027759a3156a07 SHA512 ae8c6048b1ab1c5b071b77195e1a09153b85b7defc97ed6f3f840efb741b4a7b66c2728322ffd0ed452cfab23f8e68c94d22e4529e495773569a01ffdb3a2bbe WHIRLPOOL bcad0ee3399263ce3cf8a9123c413547eeff58e19bb2b22dc76c224537d40e01c4f3c10f414ad4f56c293c6079d21655f935ca809e49ce1ef469075dc23becee
+MISC ChangeLog 2496 SHA256 8729878c353142edcd40b7a4f3d63a68d46ab780716718c291aeec3c3c4c6882 SHA512 060eecbb59f09522527cbd717e39985116a1022009b6ae86ae39112f81666c2e3c90cf06b3ed0ca6cba4ce5a2ad188926fae4d9ef9e9aca128ae11e8572746f8 WHIRLPOOL 829876fad1285dae5ce461accfcc9f9fb7558c893294e4381908481f574ef5bfbfc9291d703bc3a777b21266c14c89b2c7388aef1acd205c5d719353433445c9
+MISC ChangeLog-2015 1425 SHA256 2ba1be1a8475c4ec84a8e5945e6176af71c637366d2b4652377bfbd89c1afcf4 SHA512 41b50320dd8a75fc6f6e525007b34d5ce0348ae56bb9b800e1815cae5a6f5e2591d36a5754c8041f560457441f8c9c3ed57e91aa8a87ed82bcf92f329f551660 WHIRLPOOL 01dd138667ab7110444507cf247f77ce85482bb2e2f2e5aa4dcb19933d6b4a7604d5b80d391e7f8a382f4fda5910b8fe271aa6c1433f6e56325a4cf5a3c722b9
+MISC metadata.xml 246 SHA256 f696b469729aeeb7810f246774e90471415680a9ebd6b55c56c13a5213057508 SHA512 1181711d3b020b2ca7beae0a539a9b7f1abe70962cd8561900e5f06e14c9c871c61ca6088fb674de19ef3b844a1b3c29cf0f84f638b2d0cb7c030f60cd1d42ed WHIRLPOOL fef696fa5b101de1ba4bdc0188a4757648d9eb40d4b01408cf17416d1f39909026a80e4b082d8497801aae1caea588b6d28616cd3853e1b03b94a8fd672f9c85
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..db9c7e1cb1c1
--- /dev/null
+++ b/www-apps/drraw/drraw-2.0.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit webapp
+
+DESCRIPTION="drraw is a simple web based presentation front-end for RRDtool"
+HOMEPAGE="http://web.taranis.org/drraw"
+SRC_URI="http://web.taranis.org/${PN}/dist/${P}.tgz"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ppc"
+IUSE=""
+
+RDEPEND=">=dev-lang/perl-5.6
+ dev-perl/CGI
+ >=net-analyzer/rrdtool-1.0.47"
+
+need_httpd_cgi
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e "s|/usr/local/bin/perl|/usr/bin/perl|" drraw.cgi
+ sed -i \
+ -e "s|/somewhere/drraw/saved|/tmp|" \
+ -e "s|/somewhere/drraw/tmp|/tmp|" \
+ drraw.conf
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc CHANGES INSTALL README.EVENTS WISHLIST
+ rm CHANGES INSTALL README.EVENTS WISHLIST
+
+ insinto "${MY_CGIBINDIR}"
+ doins drraw.conf
+
+ exeinto "${MY_CGIBINDIR}"
+ doexe drraw.cgi
+
+ insinto "${MY_ICONSDIR}"
+ doins icons/*.gif
+
+ webapp_configfile "${MY_CGIBINDIR}"/drraw.conf
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/drraw/drraw-2.1.3.ebuild b/www-apps/drraw/drraw-2.1.3.ebuild
new file mode 100644
index 000000000000..6682f05f4365
--- /dev/null
+++ b/www-apps/drraw/drraw-2.1.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit webapp
+
+DESCRIPTION="drraw is a simple web based presentation front-end for RRDtool"
+HOMEPAGE="http://web.taranis.org/drraw"
+SRC_URI="http://web.taranis.org/${PN}/dist/${P}.tgz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/perl-5.6
+ dev-perl/CGI
+ >=net-analyzer/rrdtool-1.2.1"
+
+need_httpd_cgi
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e "s|/usr/local/bin/perl|/usr/bin/perl|" drraw.cgi
+ sed -i \
+ -e "s|/somewhere/drraw/saved|/tmp|" \
+ -e "s|/somewhere/drraw/tmp|/tmp|" \
+ drraw.conf
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc CHANGES INSTALL README.EVENTS WISHLIST
+ rm CHANGES INSTALL README.EVENTS WISHLIST
+
+ insinto "${MY_CGIBINDIR}"
+ doins drraw.conf
+
+ exeinto "${MY_CGIBINDIR}"
+ doexe drraw.cgi
+
+ insinto "${MY_ICONSDIR}"
+ doins icons/*.gif
+
+ webapp_configfile "${MY_CGIBINDIR}"/drraw.conf
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/drraw/files/postinstall-en.txt b/www-apps/drraw/files/postinstall-en.txt
new file mode 100644
index 000000000000..87ca1040a9d4
--- /dev/null
+++ b/www-apps/drraw/files/postinstall-en.txt
@@ -0,0 +1,3 @@
+Now edit ${VHOST_CGIBINDIR}/drraw.conf
+You may want to edit the CGI executable in ${VHOST_CGIBINDIR}
+to set the path to the config file.
diff --git a/www-apps/drraw/metadata.xml b/www-apps/drraw/metadata.xml
new file mode 100644
index 000000000000..f2f2ba9e2823
--- /dev/null
+++ b/www-apps/drraw/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>web-apps@gentoo.org</email>
+ <name>Gentoo Webapps</name>
+</maintainer>
+</pkgmetadata>