initial version
authorJoerg Bornkessel <hd_brummy@gentoo.org>
Wed, 15 Mar 2006 18:13:03 +0000 (18:13 +0000)
committerJoerg Bornkessel <hd_brummy@gentoo.org>
Wed, 15 Mar 2006 18:13:03 +0000 (18:13 +0000)
Package-Manager: portage-2.0.54

media-plugins/vdr-admin/ChangeLog [new file with mode: 0644]
media-plugins/vdr-admin/Manifest [new file with mode: 0644]
media-plugins/vdr-admin/files/digest-vdr-admin-0.4.0 [new file with mode: 0644]
media-plugins/vdr-admin/files/rc-addon.sh [new file with mode: 0644]
media-plugins/vdr-admin/metadata.xml [new file with mode: 0644]
media-plugins/vdr-admin/vdr-admin-0.4.0.ebuild [new file with mode: 0644]

diff --git a/media-plugins/vdr-admin/ChangeLog b/media-plugins/vdr-admin/ChangeLog
new file mode 100644 (file)
index 0000000..6edcbb8
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for media-video/vdr-admin
+# Copyright 2004-2006 Helmut Auer; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-admin/ChangeLog,v 1.1 2006/03/15 18:13:03 hd_brummy Exp $
+
+*vdr-admin-0.4.0 (15 Mar 2006)
+
+  15 Mar 2006; Joerg Bornkessel <hd_brummy@gentoo.org> +files/rc-addon.sh,
+  +metadata.xml, +vdr-admin-0.4.0.ebuild:
+  initial version
+
diff --git a/media-plugins/vdr-admin/Manifest b/media-plugins/vdr-admin/Manifest
new file mode 100644 (file)
index 0000000..8e69697
--- /dev/null
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 5406f268e06198e5d30987b0ee9db7a1 ChangeLog 379
+MD5 4d5150043b4716463095b77064597c5c files/digest-vdr-admin-0.4.0 63
+MD5 a79b0624672330e268c4180873d2d1ad files/rc-addon.sh 888
+MD5 f7765a39be5c98cd2db15e3aa3f483f2 metadata.xml 491
+MD5 9800aa9320667054c6b18482762f842b vdr-admin-0.4.0.ebuild 1073
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2.2 (GNU/Linux)
+Comment: no further Information
+
+iD8DBQFEGFk9dn07HTTCgIoRAmUkAJ9WDcHomD89zCYRxtV9wdEUWrnxeACfekeM
+5gY1IbYQPTBeZTe4bzuXx28=
+=XEPu
+-----END PGP SIGNATURE-----
diff --git a/media-plugins/vdr-admin/files/digest-vdr-admin-0.4.0 b/media-plugins/vdr-admin/files/digest-vdr-admin-0.4.0
new file mode 100644 (file)
index 0000000..c9c816b
--- /dev/null
@@ -0,0 +1 @@
+MD5 682aba49e168607f9aff83e0166a2979 vdr-admin-0.4.0.tgz 27102
diff --git a/media-plugins/vdr-admin/files/rc-addon.sh b/media-plugins/vdr-admin/files/rc-addon.sh
new file mode 100644 (file)
index 0000000..b2d75b9
--- /dev/null
@@ -0,0 +1,37 @@
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-admin/files/rc-addon.sh,v 1.1 2006/03/15 18:13:03 hd_brummy Exp $
+#
+# rc-addon-script for plugin admin
+#
+# Joerg Bornkessel <hd_brummy@gentoo.org>
+#
+
+# Location for all plugin config files
+: ${ADMIN_CONF_DIR:=/etc/vdr/plugins/admin}
+
+# Location of the script files
+: ${ADMIN_SCRIPT_PATH:=/etc/vdr/plugins/admin}
+
+# Location of the config file
+: ${ADMIN_CFG_FILE:=${ADMIN_SCRIPT_PATH}/admin.conf}
+
+# Location of the config file
+: ${ADMIN_EXEC_SCRIPT:=${ADMIN_SCRIPT_PATH}/~admexec}
+
+# Location of the log file
+: ${ADMIN_LOG_FILE:=/var/log/vdradmplg.log}
+
+# GETVAl and SETVAL scripts
+: ${GETVAL:=${ADMIN_SCRIPT_PATH}/getadmval.sh}
+: ${SETVAL=${ADMIN_SCRIPT_PATH}/setadmval.sh}
+
+plugin_pre_vdr_start() {
+
+add_plugin_param "-d ${ADMIN_CONF_DIR}"
+
+}
+
+# for compatibility
+if [[ ${SCRIPT_API:-1} -lt 2 ]]; then
+plugin_pre_vdr_start
+fi
+                                                
\ No newline at end of file
diff --git a/media-plugins/vdr-admin/metadata.xml b/media-plugins/vdr-admin/metadata.xml
new file mode 100644 (file)
index 0000000..9729a54
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>media-tv</herd>
+    <maintainer>
+      <email>hd_brummy@gentoo.org</email>
+      <name>Joerg Bornkessel</name>
+    </maintainer>
+    <maintainer>
+      <email>zzam@gentoo.org</email>
+      <name>Matthias Schwarzott</name>
+    </maintainer>
+<longdescription>This is a VDR plugin for adminstrative tasks( e.g. network settings )</longdescription>
+
+</pkgmetadata>
diff --git a/media-plugins/vdr-admin/vdr-admin-0.4.0.ebuild b/media-plugins/vdr-admin/vdr-admin-0.4.0.ebuild
new file mode 100644 (file)
index 0000000..8de6608
--- /dev/null
@@ -0,0 +1,46 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-admin/vdr-admin-0.4.0.ebuild,v 1.1 2006/03/15 18:13:03 hd_brummy Exp $
+
+inherit vdr-plugin
+
+DESCRIPTION="Video Disk Recorder Admin PlugIn"
+HOMEPAGE="http://htpc-forum.de"
+SRC_URI="mirror://vdrfiles/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.3.37"
+
+S=${WORKDIR}/admin-${PV}
+
+src_unpack() {
+       vdr-plugin_src_unpack
+
+       sed -i "s:/etc/vdr/plugins/admin:/usr/share/vdr/admin/bin:" gentoo/admin.conf
+       sed -i "s:/etc/conf.d/vdr.admin.cfg:/usr/lib/vdr/rcscript/plugin-admin.sh:" gentoo/{runvdr,*.sh}
+}
+
+
+src_install() {
+       vdr-plugin_src_install
+
+       insinto /etc/vdr/plugins/admin
+       doins gentoo/admin.conf
+
+       exeinto /usr/share/vdr/admin/bin
+       doexe gentoo/{runvdr,*.sh}
+
+       dodoc gentoo/vdr
+}
+
+pkg_postinst() {
+       vdr-plugin_pkg_postinst
+
+       echo
+       einfo "There more config Parameter than default are in /etc/conf.d/vdr"
+       einfo "Find examples in /usr/share/doc/${P}/vdr.gz"
+}