summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2006-10-19 11:46:33 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2006-10-19 11:46:33 +0000
commite5afbe5af5add553c7f5ad2aca980fcee2c2e218 (patch)
tree51816501d055aac84cd3ad1efebf657f8ecc8650 /net-www/vdradmin-am
parentmedia-plugins/vdr-vdricq: initial ebuild, moved from gentoo.de overlay (diff)
downloadtesting-e5afbe5af5add553c7f5ad2aca980fcee2c2e218.tar.gz
testing-e5afbe5af5add553c7f5ad2aca980fcee2c2e218.tar.bz2
testing-e5afbe5af5add553c7f5ad2aca980fcee2c2e218.zip
Added vdradmin-version which can disable utf8 if vdr-cannot handle it.
svn path=/testing/; revision=28
Diffstat (limited to 'net-www/vdradmin-am')
-rw-r--r--net-www/vdradmin-am/ChangeLog8
-rw-r--r--net-www/vdradmin-am/Manifest20
-rw-r--r--net-www/vdradmin-am/files/confd6
-rw-r--r--net-www/vdradmin-am/files/digest-vdradmin-am-3.4.7-r13
-rw-r--r--net-www/vdradmin-am/files/vdradmin33
-rw-r--r--net-www/vdradmin-am/metadata.xml10
-rw-r--r--net-www/vdradmin-am/vdradmin-am-3.4.7-r1.ebuild84
7 files changed, 164 insertions, 0 deletions
diff --git a/net-www/vdradmin-am/ChangeLog b/net-www/vdradmin-am/ChangeLog
new file mode 100644
index 0000000..a08624c
--- /dev/null
+++ b/net-www/vdradmin-am/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-www/vdradmin-am
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 19 Oct 2006; Matthias Schwarzott <zzam@gentoo.org>
+ +vdradmin-am-3.4.7-r1.ebuild, +files/confd, +files/vdradmin:
+ Added vdradmin-version which can disable utf8 if vdr-cannot handle it.
+
diff --git a/net-www/vdradmin-am/Manifest b/net-www/vdradmin-am/Manifest
new file mode 100644
index 0000000..ba57d80
--- /dev/null
+++ b/net-www/vdradmin-am/Manifest
@@ -0,0 +1,20 @@
+AUX confd 124 RMD160 5393ebcb835947a17532c39bfe095e1e7620801c SHA1 dd21c3a35b614284852e880d724ba0a4f841c7e4 SHA256 bc75df6fde5d56286fd3c9adc9c11a6ab1a16fa907704e0af9f6c3ac20344f6c
+MD5 f72c61ca0252435ad6117943702a0060 files/confd 124
+RMD160 5393ebcb835947a17532c39bfe095e1e7620801c files/confd 124
+SHA256 bc75df6fde5d56286fd3c9adc9c11a6ab1a16fa907704e0af9f6c3ac20344f6c files/confd 124
+AUX vdradmin 834 RMD160 2d3815b75b357ac51ee98866e595fca553c67d98 SHA1 01c3d93451ee317312840d57a981a34e5f813ec5 SHA256 6c69d7840ed6726507ba89e4f57e5df027f524f82b4bb19026ee3e6ed8628e9a
+MD5 65d5c285d7b45989dead5ab96daa9ff1 files/vdradmin 834
+RMD160 2d3815b75b357ac51ee98866e595fca553c67d98 files/vdradmin 834
+SHA256 6c69d7840ed6726507ba89e4f57e5df027f524f82b4bb19026ee3e6ed8628e9a files/vdradmin 834
+DIST vdradmin-am-3.4.7.tar.bz2 506628 RMD160 04413c1a767c668f0bb8d68dfe016fa449d06be6 SHA1 616b1e6d977fdcc20157030ab317e470cc5b2655 SHA256 46a07e9aed77d533a0e4045a733962db36beab025c7eb297eda0c0ec41d6f1c9
+EBUILD vdradmin-am-3.4.7-r1.ebuild 1636 RMD160 9b64bcb6f01ec4f740c200b2ca36a6ad00e326c4 SHA1 f67397dc81083026399e468e76c9bc6b587bf805 SHA256 749e60a23aa94a1ba922febf4138669e24f7e2af3a63fa5474e9c24200ad115c
+MD5 8328f079bb8f3bb4098125e30162e26b vdradmin-am-3.4.7-r1.ebuild 1636
+RMD160 9b64bcb6f01ec4f740c200b2ca36a6ad00e326c4 vdradmin-am-3.4.7-r1.ebuild 1636
+SHA256 749e60a23aa94a1ba922febf4138669e24f7e2af3a63fa5474e9c24200ad115c vdradmin-am-3.4.7-r1.ebuild 1636
+MISC ChangeLog 310 RMD160 9f667be8d217bdf3eee5d407d709aad3414dcf8a SHA1 bb4b19b9d431f0fcd02ce141104af683e388fbc3 SHA256 121b982abe459f37e1e672d7c193dd3744edaf0c7fb1b206123bc70af48204a3
+MD5 020800d2b5747e602e58832abd28d71f ChangeLog 310
+RMD160 9f667be8d217bdf3eee5d407d709aad3414dcf8a ChangeLog 310
+SHA256 121b982abe459f37e1e672d7c193dd3744edaf0c7fb1b206123bc70af48204a3 ChangeLog 310
+MD5 45cf1c2faf63e70d5bc0267ded5784af files/digest-vdradmin-am-3.4.7-r1 256
+RMD160 4470aa33d90fd5351062e42eff7e83830eb507ae files/digest-vdradmin-am-3.4.7-r1 256
+SHA256 6ebb2dc5335b44c8c533e8015d138f5670b480fd230f3cf22b20ce3cc6147436 files/digest-vdradmin-am-3.4.7-r1 256
diff --git a/net-www/vdradmin-am/files/confd b/net-www/vdradmin-am/files/confd
new file mode 100644
index 0000000..68d07b5
--- /dev/null
+++ b/net-www/vdradmin-am/files/confd
@@ -0,0 +1,6 @@
+# Settings for vdradmin-am
+
+# Enable this when you know that your
+# vdr-binary does support utf8
+#
+#VDR_CAN_HANDLE_UTF8=yes
diff --git a/net-www/vdradmin-am/files/digest-vdradmin-am-3.4.7-r1 b/net-www/vdradmin-am/files/digest-vdradmin-am-3.4.7-r1
new file mode 100644
index 0000000..9e6e1ae
--- /dev/null
+++ b/net-www/vdradmin-am/files/digest-vdradmin-am-3.4.7-r1
@@ -0,0 +1,3 @@
+MD5 b3f862dfa078bdef05b52a841850c65a vdradmin-am-3.4.7.tar.bz2 506628
+RMD160 04413c1a767c668f0bb8d68dfe016fa449d06be6 vdradmin-am-3.4.7.tar.bz2 506628
+SHA256 46a07e9aed77d533a0e4045a733962db36beab025c7eb297eda0c0ec41d6f1c9 vdradmin-am-3.4.7.tar.bz2 506628
diff --git a/net-www/vdradmin-am/files/vdradmin b/net-www/vdradmin-am/files/vdradmin
new file mode 100644
index 0000000..3dac795
--- /dev/null
+++ b/net-www/vdradmin-am/files/vdradmin
@@ -0,0 +1,33 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/files/vdradmin,v 1.1 2006/07/14 15:16:36 hd_brummy Exp $
+
+depend() {
+ need vdr
+}
+
+set_charset() {
+ local capfile=/usr/share/vdr/capabilities.sh
+ [[ -e ${capfile} ]] && source ${capfile}
+ if [[ "${CAP_UTF8}" == "1" || "${VDR_CAN_HANDLE_UTF8}" == "yes" ]]; then
+ # do not clean out utf8
+ :
+ else
+ l=$(locale | sed -e 's/\.[uU][tT][fF]\(-\)\?8//' -e 's/^/export /')
+ eval $l
+ fi
+}
+
+start() {
+ ebegin "Starting vdradmin-am"
+ set_charset
+ start-stop-daemon --start --background --exec /usr/bin/vdradmind.pl
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping vdradmin-am"
+ start-stop-daemon --stop --quiet --pidfile /var/run/vdradmind.pid
+ eend $?
+}
diff --git a/net-www/vdradmin-am/metadata.xml b/net-www/vdradmin-am/metadata.xml
new file mode 100644
index 0000000..5f9f146
--- /dev/null
+++ b/net-www/vdradmin-am/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>media-tv</herd>
+<maintainer>
+<email>vdr@gentoo.org</email>
+<name>Gentoo VDR Project</name>
+</maintainer>
+</pkgmetadata>
+
diff --git a/net-www/vdradmin-am/vdradmin-am-3.4.7-r1.ebuild b/net-www/vdradmin-am/vdradmin-am-3.4.7-r1.ebuild
new file mode 100644
index 0000000..0a87750
--- /dev/null
+++ b/net-www/vdradmin-am/vdradmin-am-3.4.7-r1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/vdradmin-am-3.4.7.ebuild,v 1.2 2006/10/15 12:44:52 hd_brummy Exp $
+
+inherit eutils
+
+RESTRICT="nostrip"
+
+DESCRIPTION="WWW Admin for the Video Disk Recorder"
+HOMEPAGE="http://andreas.vdr-developer.org/"
+SRC_URI="http://andreas.vdr-developer.org/download/${P}.tar.bz2"
+
+KEYWORDS="~x86 ~amd64"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="unicode"
+
+RDEPEND="dev-lang/perl
+ dev-perl/Template-Toolkit
+ >=dev-perl/Compress-Zlib-1.2.2
+ media-video/vdr
+ dev-perl/Compress-Zlib
+ dev-perl/Locale-gettext
+ dev-perl/Authen-SASL
+ dev-perl/Digest-HMAC
+ unicode? ( sys-devel/gettext )"
+
+ETCDIR="/etc/vdradmin"
+LIBDIR="/usr/share/vdradmin"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+}
+
+
+src_compile() {
+
+ if ! use unicode; then
+ einfo "no need to compile"
+ else
+ einfo "additionally generating utf8 locales"
+ ${S}/make.sh utf8add || die
+ ${S}/make.sh po || die
+ fi
+}
+
+src_install() {
+
+ doinitd ${FILESDIR}/vdradmin
+ newconfd ${FILESDIR}/confd vdradmin
+
+ dobin vdradmind.pl
+
+ insinto ${LIBDIR}/template
+ doins -r ${S}/template/*
+
+ insinto ${LIBDIR}/lib
+ doins -r ${S}/lib/*
+
+ insinto /usr/share/locale/
+ doins -r ${S}/locale/*
+
+ dodoc COPYING HISTORY INSTALL CREDITS README* REQUIREMENTS FAQ
+ docinto contrib
+ dodoc ${S}/contrib/*
+
+ keepdir /etc/vdradmin
+
+ dosed "s:FILES_IN_SYSTEM = 0;:FILES_IN_SYSTEM = 1;:g" /usr/bin/vdradmind.pl
+}
+
+pkg_postinst() {
+ echo
+ einfo "run \"emerge --config vdradmin-am\" to setup"
+ einfo "if this is a new install"
+ echo
+}
+
+pkg_config() {
+ /usr/bin/vdradmind.pl -c
+}
+