diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-plugins/vdr-admin |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-plugins/vdr-admin')
-rw-r--r-- | media-plugins/vdr-admin/Manifest | 6 | ||||
-rw-r--r-- | media-plugins/vdr-admin/files/rc-addon.sh | 30 | ||||
-rw-r--r-- | media-plugins/vdr-admin/metadata.xml | 10 | ||||
-rw-r--r-- | media-plugins/vdr-admin/vdr-admin-0.8.0.ebuild | 50 |
4 files changed, 96 insertions, 0 deletions
diff --git a/media-plugins/vdr-admin/Manifest b/media-plugins/vdr-admin/Manifest new file mode 100644 index 000000000000..286fc6ff10f5 --- /dev/null +++ b/media-plugins/vdr-admin/Manifest @@ -0,0 +1,6 @@ +AUX rc-addon.sh 679 SHA256 4ec097cd6a922fb7fefbb8a8c560f7bd4cf8169098a8aa9af890c0e29a1cf28e SHA512 b22675d929b076003bddde2490ffdfa79d4ce151d1eb407951714363ad088df6132a0ba196a6437c37064539bcdebadc16db613cc6221f95d5451eb641c8b105 WHIRLPOOL a8b157c85740f129fef1668069d2b0e4e2689de683b3a15fee92dad074833b7f9c5f4e73d3cbbced681c1e95f2aaba57ce10b979728af5782fa9363b4f2aaafa +DIST vdr-admin-0.8.0.tgz 38354 SHA256 e330f91c525f560df109c482d7f49525f99a28a5fe8f17194379a25756a4edb3 SHA512 c16d5879fd5d52a3241bf9d78e021eeffd46e13f9fba2cae1e1ec1a39854b144daf62dc9d3c8bced6e662306652c5e68e6ec57fc479ba89f6178c5f21eab6230 WHIRLPOOL d57c8769d89b2ac65637095c2367cd622d01c61358ce1e7191e76c1271ea57d99cb73cbb5d663874d2452e42c61d0230cd948732209e68e7117f1233900c617e +EBUILD vdr-admin-0.8.0.ebuild 1157 SHA256 a9b1ad08236a39877f51fd91bb3fd5e2bc7174bee45b0dc267d59c32e5370299 SHA512 ec704d765ef581db407332dfa1e3716b194b69791acb3bb15814b641d3337034751e70f6d450532775755f1eda12d90e7160c91e311835f4f2906231c6085348 WHIRLPOOL e66b0e5db8a50faf8b5fb407f02e9176b304bb4635560044783ab7a91ad9d8b8858f3ec407ee6607203d9141797e61d070c0a8602aa78195e758d1bea195e249 +MISC ChangeLog 2458 SHA256 7c215f26e8a8cbcc5bba9e8ac9db8de4b40aa4ebdac52f58941ccace2f8eee42 SHA512 8cccfe9613813baab03b754e8f21d5f3ecc9861ed5090b8644f7e5488c1ef82ec97e2ebff56ecd267a7d0785ac90520839b2ece7a7e5adbfc2e74ce957336c7a WHIRLPOOL f67a2e61856164419b33b4b9b0c4287ec170d8b85a23a49c6e3e24b78302cd52327d9120a8ac167a775c8115d865c8edd5c00712666d718cd195d086e1389297 +MISC ChangeLog-2015 1602 SHA256 2a1ab499b7e4edd5984c4b83a52251a2f230d36918b5f379e7774c6ee7115c24 SHA512 2c1f3c5a428803f5a91339d7429ce61b9b5cee4865f864155cc37103f5db29633ca6ac40f09e18790c501b784a2de1153cd8ec11ea47736ec306ec18a5c5068b WHIRLPOOL e049fd87afd3ed82a6a92a40e02bf833a1ef23e8a7029ffd315aa4778aad71386a53e48a4c8edec625fa2365b2aae842a07d2b8625268a6caee9f8bc9ac604f5 +MISC metadata.xml 365 SHA256 2b0a2b8d888996d75408e4cff61b545bd2dae45b9b1caa103c1f36da08776c33 SHA512 6fab7079ff87718c19705579ae57fa6bf8bd18e5b136529a4181d1ff1ef3f607d2f1bdcf23dc2552ab95507bff0347e6f107fa0f5e95191851892e5ec95cfbc5 WHIRLPOOL 7bec539807fe218508e6bf39a84d65ce66a262dbd80e866615950ed22cb9a4d77f990db1e8cb92eb2366be5a36bb9a672b3401063dd4b40f90fbe6ff9c5cb857 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..e70fe555a469 --- /dev/null +++ b/media-plugins/vdr-admin/files/rc-addon.sh @@ -0,0 +1,30 @@ +# +# 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}" + +} diff --git a/media-plugins/vdr-admin/metadata.xml b/media-plugins/vdr-admin/metadata.xml new file mode 100644 index 000000000000..a97363a27daa --- /dev/null +++ b/media-plugins/vdr-admin/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</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.8.0.ebuild b/media-plugins/vdr-admin/vdr-admin-0.8.0.ebuild new file mode 100644 index 000000000000..bd55a77c7543 --- /dev/null +++ b/media-plugins/vdr-admin/vdr-admin-0.8.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Admin OSD - This is not! the webadmin program called vdradmin" +HOMEPAGE="http://htpc-forum.de" +SRC_URI="mirror://vdrfiles/${PN}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.37" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/admin-${PV} + +src_prepare() { + vdr-plugin-2_src_prepare + + 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-2_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-2_pkg_postinst + + ewarn + ewarn "This plugin is not changed to support gentoo-vdr-scripts." + ewarn "So it may not work without large config changes" + ewarn + ewarn "There are more config Parameter than default are in /etc/conf.d/vdr" + ewarn "Find examples in /usr/share/doc/${PF}" +} |