summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Allanos <dju@gentoo.org>2005-07-15 19:07:00 +0000
committerJulien Allanos <dju@gentoo.org>2005-07-15 19:07:00 +0000
commit3717f20f0a15a2c78dea0e68f6d9cc4b0b359a57 (patch)
tree07ce512019a66f160e5ae3bf5fe0d7726b02ebef /www-apps/disc-cover
parentPrepare for mysql-4.0.25 commit (diff)
downloadgentoo-2-3717f20f0a15a2c78dea0e68f6d9cc4b0b359a57.tar.gz
gentoo-2-3717f20f0a15a2c78dea0e68f6d9cc4b0b359a57.tar.bz2
gentoo-2-3717f20f0a15a2c78dea0e68f6d9cc4b0b359a57.zip
Added new ebuild due to bug #61374.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'www-apps/disc-cover')
-rw-r--r--www-apps/disc-cover/ChangeLog11
-rw-r--r--www-apps/disc-cover/Manifest3
-rw-r--r--www-apps/disc-cover/disc-cover-1.5.4-r1.ebuild47
-rw-r--r--www-apps/disc-cover/files/digest-disc-cover-1.5.4-r11
-rw-r--r--www-apps/disc-cover/files/postinst-en.txt7
-rw-r--r--www-apps/disc-cover/metadata.xml14
6 files changed, 83 insertions, 0 deletions
diff --git a/www-apps/disc-cover/ChangeLog b/www-apps/disc-cover/ChangeLog
new file mode 100644
index 000000000000..5dbfa40eeb26
--- /dev/null
+++ b/www-apps/disc-cover/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for www-apps/disc-cover
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/disc-cover/ChangeLog,v 1.1 2005/07/15 19:07:00 dju Exp $
+
+*disc-cover-1.5.4-r1 (15 Jul 2005)
+
+ 15 Jul 2005; Julien Allanos <dju@gentoo.org> +files/postinst-en.txt,
+ +metadata.xml, +disc-cover-1.5.4-r1.ebuild:
+ New ebuild due to bug #61374. This ebuild only provides the web interface
+ to app-cdr/disc-cover.
+
diff --git a/www-apps/disc-cover/Manifest b/www-apps/disc-cover/Manifest
new file mode 100644
index 000000000000..8a1181dc3d2c
--- /dev/null
+++ b/www-apps/disc-cover/Manifest
@@ -0,0 +1,3 @@
+MD5 37944074ba41d7025dd71bad73ae6257 disc-cover-1.5.4-r1.ebuild 1125
+MD5 bdfcca30685c062b3dcd80a4e96fd263 files/digest-disc-cover-1.5.4-r1 67
+MD5 31d8b199f55b164cc94fae78b8a338ae files/postinst-en.txt 265
diff --git a/www-apps/disc-cover/disc-cover-1.5.4-r1.ebuild b/www-apps/disc-cover/disc-cover-1.5.4-r1.ebuild
new file mode 100644
index 000000000000..1fffc5d383cc
--- /dev/null
+++ b/www-apps/disc-cover/disc-cover-1.5.4-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/disc-cover/disc-cover-1.5.4-r1.ebuild,v 1.1 2005/07/15 19:07:00 dju Exp $
+
+inherit webapp
+
+DESCRIPTION="A web frontend to disc-cover."
+HOMEPAGE="http://homepages.inf.ed.ac.uk/jvanheme/disc-cover.html"
+SRC_URI="http://homepages.inf.ed.ac.uk/jvanheme/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE=""
+
+SLOT="0"
+WEBAPP_MANUAL_SLOT="yes"
+
+DEPEND="=app-cdr/disc-cover-${PVR}"
+
+src_unpack() {
+ unpack ${A}
+
+ sed -e "s,\\./disc-cover,disc-cover,g
+ s,\"disc-cover\",\"/usr/bin/disc-cover\",
+ s,\"templates\",\"/usr/share/disc-cover/templates\",
+ s,templates/\$template,/usr/share/disc-cover/templates/\$template," -i ${S}/index.cgi || die
+
+ sed -e "s|\\./disc-cover|disc-cover|
+ s|\!\ -f\ \"disc-cover\"\ or\ ||
+ s|\"\$picture\"|\"/usr/share/disc-cover/\"\.\"\$picture\"|" -i ${S}/online.cgi || die
+}
+
+src_install() {
+ webapp_src_preinst
+
+ exeinto ${MY_CGIBINDIR}
+ doexe index.cgi online.cgi
+
+ insinto /usr/share/${PN}/
+ doins busy.png offline.png online.png
+
+ for lang in en; do
+ webapp_postinst_txt ${lang} ${FILESDIR}/postinst-${lang}.txt
+ done
+
+ webapp_src_install
+}
diff --git a/www-apps/disc-cover/files/digest-disc-cover-1.5.4-r1 b/www-apps/disc-cover/files/digest-disc-cover-1.5.4-r1
new file mode 100644
index 000000000000..980bc5d2ed26
--- /dev/null
+++ b/www-apps/disc-cover/files/digest-disc-cover-1.5.4-r1
@@ -0,0 +1 @@
+MD5 a7614dfaadf960f349c970ab8a3bed43 disc-cover-1.5.4.tar.gz 45630
diff --git a/www-apps/disc-cover/files/postinst-en.txt b/www-apps/disc-cover/files/postinst-en.txt
new file mode 100644
index 000000000000..afcf1e8f8a2c
--- /dev/null
+++ b/www-apps/disc-cover/files/postinst-en.txt
@@ -0,0 +1,7 @@
+To use disc-cover on an Apache server, you can use the following
+for your vhost configuration:
+
+ ScriptAlias /disc-cover/online.cgi ${VHOST_ROOT}/cgi-bin/online.cgi
+ ScriptAlias /disc-cover/ ${VHOST_ROOT}/cgi-bin/index.cgi
+
+Adjust for the webserver of your choice.
diff --git a/www-apps/disc-cover/metadata.xml b/www-apps/disc-cover/metadata.xml
new file mode 100644
index 000000000000..0a254b83e3f7
--- /dev/null
+++ b/www-apps/disc-cover/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+</maintainer>
+<longdescription>
+ This is the disc-cover web interface. This package is tightly
+ bound to app-cdr/disc-cover by the fact that they come from the
+ same source package. That's why the web application ebuild is
+ /manually slotted to 0.
+</longdescription>
+</pkgmetadata>