From 261abea55db866fabf9e9efaf6c3e6c7d879538a Mon Sep 17 00:00:00 2001 From: Joerg Bornkessel Date: Wed, 15 Mar 2006 18:13:03 +0000 Subject: [PATCH] initial version Package-Manager: portage-2.0.54 --- media-plugins/vdr-admin/ChangeLog | 10 ++++ media-plugins/vdr-admin/Manifest | 16 +++++++ .../vdr-admin/files/digest-vdr-admin-0.4.0 | 1 + media-plugins/vdr-admin/files/rc-addon.sh | 37 +++++++++++++++ media-plugins/vdr-admin/metadata.xml | 15 ++++++ .../vdr-admin/vdr-admin-0.4.0.ebuild | 46 +++++++++++++++++++ 6 files changed, 125 insertions(+) create mode 100644 media-plugins/vdr-admin/ChangeLog create mode 100644 media-plugins/vdr-admin/Manifest create mode 100644 media-plugins/vdr-admin/files/digest-vdr-admin-0.4.0 create mode 100644 media-plugins/vdr-admin/files/rc-addon.sh create mode 100644 media-plugins/vdr-admin/metadata.xml create mode 100644 media-plugins/vdr-admin/vdr-admin-0.4.0.ebuild diff --git a/media-plugins/vdr-admin/ChangeLog b/media-plugins/vdr-admin/ChangeLog new file mode 100644 index 000000000000..6edcbb8656b7 --- /dev/null +++ b/media-plugins/vdr-admin/ChangeLog @@ -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 +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 index 000000000000..8e6969736224 --- /dev/null +++ b/media-plugins/vdr-admin/Manifest @@ -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 index 000000000000..c9c816b3141b --- /dev/null +++ b/media-plugins/vdr-admin/files/digest-vdr-admin-0.4.0 @@ -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 index 000000000000..b2d75b9a1ac8 --- /dev/null +++ b/media-plugins/vdr-admin/files/rc-addon.sh @@ -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 +# + +# 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 index 000000000000..9729a549abf9 --- /dev/null +++ b/media-plugins/vdr-admin/metadata.xml @@ -0,0 +1,15 @@ + + + +media-tv + + hd_brummy@gentoo.org + Joerg Bornkessel + + + zzam@gentoo.org + Matthias Schwarzott + +This is a VDR plugin for adminstrative tasks( e.g. network settings ) + + 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 index 000000000000..8de66080b83e --- /dev/null +++ b/media-plugins/vdr-admin/vdr-admin-0.4.0.ebuild @@ -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" +} -- 2.26.2