summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2015-03-24 17:13:49 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2015-03-24 17:13:49 +0000
commit775d5031fed9184a39046c180a60055986cf7baa (patch)
treee60bfcbc9b5798b6d65457008d87fd0742336038 /media-tv
parentAdd ruby22. (diff)
downloadhistorical-775d5031fed9184a39046c180a60055986cf7baa.tar.gz
historical-775d5031fed9184a39046c180a60055986cf7baa.tar.bz2
historical-775d5031fed9184a39046c180a60055986cf7baa.zip
minor fix, reported by tinitus@ vdr-portal.de
Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0x34C2808A
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/gentoo-vdr-scripts/ChangeLog8
-rw-r--r--media-tv/gentoo-vdr-scripts/Manifest10
-rw-r--r--media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-2.7.2.ebuild136
3 files changed, 149 insertions, 5 deletions
diff --git a/media-tv/gentoo-vdr-scripts/ChangeLog b/media-tv/gentoo-vdr-scripts/ChangeLog
index d95c6ca2f09c..40df0f90d984 100644
--- a/media-tv/gentoo-vdr-scripts/ChangeLog
+++ b/media-tv/gentoo-vdr-scripts/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-tv/gentoo-vdr-scripts
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/ChangeLog,v 1.137 2015/03/02 21:24:12 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/ChangeLog,v 1.138 2015/03/24 17:13:39 hd_brummy Exp $
+
+*gentoo-vdr-scripts-2.7.2 (24 Mar 2015)
+
+ 24 Mar 2015; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +gentoo-vdr-scripts-2.7.2.ebuild:
+ minor fix, reported by tinitus@ vdr-portal.de
*gentoo-vdr-scripts-2.7.1 (02 Mar 2015)
diff --git a/media-tv/gentoo-vdr-scripts/Manifest b/media-tv/gentoo-vdr-scripts/Manifest
index 1e365a056043..c01aa65f5c6e 100644
--- a/media-tv/gentoo-vdr-scripts/Manifest
+++ b/media-tv/gentoo-vdr-scripts/Manifest
@@ -5,19 +5,21 @@ DIST gentoo-vdr-scripts-2.0.0.tar.bz2 37438 SHA256 6c2025714546a25632c5b8103b3fa
DIST gentoo-vdr-scripts-2.5.tar.bz2 39893 SHA256 39a3c5d1cf30f1b07a6218b2154835994bbf9d65358e916260bad970a6ca6432 SHA512 bed3db4e3c4f8195d5715d274a32485d067fa2e539ace417c2d73bac1294d46736754be589d5e18b77e0baa1b4d9cd7df5ff8a13db2850d92d2eb992f9b131a6 WHIRLPOOL 5a7626484784ad49624df92daab0997368f885d4d5f6ad732082c2a77c840f6e23f345cf35816890d43493c57fa70c90eb9a4ab785a8d4ead81f6779714138b9
DIST gentoo-vdr-scripts-2.6.tar.bz2 40483 SHA256 797e7bd055d648d7eeda085aa0be2783e3292369823558f0313a99e96d539a3c SHA512 001c2519e9937b5d34af5a50662186a7914d1c9413e6a37d04df0fb943a920418dfbcd7e721c96e00fb4e236fc484780974d5e46bd1aa104b493a6962c871690 WHIRLPOOL 08a5149049c557fea68fdeca9e6b93e62fe83087e6261b521e7e39fe4151d38a58aa8f7cfd7046e801889770353c85cec299f89ddf9a3517a795188d1d7d376a
DIST gentoo-vdr-scripts-2.7.1.tar.bz2 48644 SHA256 9e88e9702daf7dbffcd77f6c92ae0ee0f318f4dfa40639a34a609fe8500ff475 SHA512 f4c707c59aa819b258f1f14ea5b4afcf0e701fc11fed4eb47b0bee2f26894cf2c81918fbd5784f5d61a8563cf7e2e40e24d57f07efd6d8d0ca388b9575e54ef1 WHIRLPOOL 40211fb9faa46d980b141d14b37058fb26100369cd290d616ea2f481da32553cf88fbd5e7d2c5367a565e141a3f67e28be49d0114286e45a6ef3e63a3c60b096
+DIST gentoo-vdr-scripts-2.7.2.tar.bz2 48584 SHA256 65de19d3738442a08cdb603ab0e0116e96bbcd8d58b9c9b3f2942e0bcb5365cb SHA512 cb0297c7e78e4c110097d1c08a5f6642d8194d01dd47308f7a41c6d76f7b1675cc612d47a7725eb4f47a393086b034ca09703af0867ae02a36af4be12701f861 WHIRLPOOL 7fe4e106512cca4e26a778320cadf93976897622dac2fd2cf7e21e20e44da27caa69da71f7a779747bc05872e6b90ee7440a7c8fbd2165e6c6a2544804c71da1
DIST gentoo-vdr-scripts-2.7.tar.bz2 46618 SHA256 40f6e50e684b4dde9c026887119e80c9680212bfe41854c6526cc1346c0ae2a2 SHA512 95db4d2632d07cc86394fbc2898050d47175f01cc60b61230ba5363c770ba6ad5c5935987ac6a1131bc575887633ed6c8f6242f7de225fc875d0871123665bc5 WHIRLPOOL 889e2379fa9df6ae9992f6569779d4f485488e84c9c1065c43717ae07d15c601ce9a731e612e6bfaaf7df55d5eb4c7901f16bbf0eff680bc5b4ea25662885790
EBUILD gentoo-vdr-scripts-2.0.0.ebuild 3652 SHA256 62b52927e9a537b69e7838569c804f312482959014012dddb0f8b30d9da2cd0f SHA512 9dc070c627fc35e285f753521f2928e2c49f6fa5e6afc8381c51abb62382297eba6379b77f0209fbd9b693954f4001089968b90d06b0695a54ba423233097a9c WHIRLPOOL 03fc204c7c5f70dd33ec4d6e0769b9c0cc98e290a2c2ec1146ee93e8bb497cf31a4b3ff8117355df908b89b4ef1478f6614695a6d8d87149a854b6b14d654ffd
EBUILD gentoo-vdr-scripts-2.5.ebuild 3840 SHA256 80688c8701a9b362c2090770794f77a0d1877e1041d2ab2d204a7236a8f355bb SHA512 1bfcf931861fdf9e815749eaa0958960320ad1fcc4581cd115b7c2dc550992ccac843f1307d02e39c56b738e13fb3c650e212e9af1e721fdca59cbcb1902c267 WHIRLPOOL 76e7225deeb62fd1d104dd8e8e657346e77f367bdbf89dbe22f94ee012cae2be2877bc26c648456a52b8efd4d8002d106e9173ff0add2b751b9991260a837c65
EBUILD gentoo-vdr-scripts-2.6.ebuild 3777 SHA256 7efd4432367c0ed4d5e946cb4578749a45c130d7ace99dc2732f34a429442623 SHA512 cc617be6bd2871ecb045aeae63fd7f9aad44ee82df005d09520d5311ac3631816dd3ac15e52b03e8ab8fef7ab322d066b9c3a1c8edd111b61cd2e8fc6abb279a WHIRLPOOL a796cb40cf7e8624e3aa379873ef98805d24933ab285f697ae733e49f587c7834d89de41730d9be274f14029b06bba31eab048cd9b46dc15ae66efb9e345c24a
EBUILD gentoo-vdr-scripts-2.7.1.ebuild 3779 SHA256 fa61b80498ac3a093441b393be9322545f929911076b7e871e1d26ad2124940d SHA512 7344b3b7d66323c755f7a249526232ab5aa8f4a089f96bef07a7bfe95cf13649bf0fe5d0ffc07e6466dabacf29cb874cc878add9cf327022951faba8f155d7cb WHIRLPOOL e55afef62c9cd6091d1837b0a322511ede2b9ce8453c579c8ddc1166f1bf661baf35bfac7ef3b4cadf1765d2ed0fd9b9fdc85db25e187d56f46b76d1fde9ee94
+EBUILD gentoo-vdr-scripts-2.7.2.ebuild 3779 SHA256 ec5a6db6fb7211593cbd2d6f5efd1802871254c040dbc3020f38f9beba8dcde8 SHA512 38b8283ba64ab451522914b7bf392e0c0c98c51c2b737935e4c5a143de4e8383976b22ebc61dac16442f75965584c4b5cb30bc70431266ec8a51a6e40c6a4c2a WHIRLPOOL 8c1bec4531f5377af5cc95f06bc40b557bb60aee6bce8bd56e6cdfe8a9f366908a130d225ce9701673856a19cf4014a57df1f2e48ba3273b5c9298242199fea7
EBUILD gentoo-vdr-scripts-2.7.ebuild 3777 SHA256 d8cc8ac27e1cb6f7cf17af8b781c7119d0b28b6da715040707441b6799489b7a SHA512 361c9e488899a5423b755a1fb92e1b873cd62bc27179bc03836e24163b2773a18e45071ea11073d257d975a88667edd6d7deb3d24f722827401b2b82165e4c78 WHIRLPOOL ab528d27856222cc034ee91a8b8e305133f90ff767029ffccddde1d2a9cb063d114b8ddbd7a886c676cbfc6e203a4dfc92b07995bdc7d0ed0145c6efb0a5195e
-MISC ChangeLog 27248 SHA256 f15c34647d4aa35cdaa63e18101a946502cf83faeef639b306d33cb63fd52cb1 SHA512 d8e6270bc70313a549d22e28b021832b3adf9a88395e721bd0c17bdf30b05347a36bb83bf355d69fdaf00dd3be7e6581005c6ed823d387a1dbfd1bb7fbfdcec5 WHIRLPOOL 294c59886891342b508227ba4ce91a69209ff383059dfe191fa5f494416e64dfe36d5fe759038b81561718307f0c1d9bca8587b060ab863bddae0b11a3369ecc
+MISC ChangeLog 27429 SHA256 2060578736129c5509d8943afd8b8d69788f2f79743b39a169491683a9ee5090 SHA512 e6b6501e3f8ff15464470b1303c14393a03b57ee120880d880c93a929d1f65b94105bd033f52299627d37a8c39d0ea45d601abee7eab3dffd2fad46d194365de WHIRLPOOL 16e2be80d8ef82fd9a0db3236243b9e1c608c8173ec52d7f0d911d38667b09b3ccc4bbc01174fc22d3246470cbb73d80d51f8e1760f964eea201b2d3d40827c8
MISC metadata.xml 366 SHA256 a92d2326d3f734f176d63173dd3a19fa2cd3b9744ee142cd3e4fb0771d08fd29 SHA512 f292ea44800b14564b12cf4f12be80fb822e69586e6ef6e8d4f57aa9bc52c59b57ec85b1bad329b27ac628c186255aa4121250d0026cecaadf7fb2c726951956 WHIRLPOOL 429e33decc3b1c25dae8ba99449f0b40246780649a53038b363505c7db7db25aa0c646a6d5e785556d977d88591488d1a2aca25fb2f26cdb65ea8d8f3a344340
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: added by hd_brummy@gentoo.org
-iD8DBQFU9NUBdn07HTTCgIoRCKDwAJ0cogn8RsibFmCNLPFUm6SE/wDvVwCfRLbv
-ZUOAyzBmLvgVpjKnUs4p9/w=
-=GrHe
+iD8DBQFVEZtIdn07HTTCgIoRCL9ZAJ41QVh1cUBZMcEkRwezgC78dCBzeACguuiI
+EjmDFuTESQ7uyc27AB6C8CU=
+=eDqD
-----END PGP SIGNATURE-----
diff --git a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-2.7.2.ebuild b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-2.7.2.ebuild
new file mode 100644
index 000000000000..0213ef39b8be
--- /dev/null
+++ b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-2.7.2.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-2.7.2.ebuild,v 1.1 2015/03/24 17:13:39 hd_brummy Exp $
+
+EAPI=5
+
+inherit eutils user
+
+DESCRIPTION="Scripts necessary for use of vdr as a set-top-box"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ http://dev.gentoo.org/~hd_brummy/distfiles/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE="nvram"
+
+RDEPEND="nvram? ( sys-power/nvram-wakeup )
+ app-admin/sudo
+ sys-process/wait_on_pid"
+
+VDR_HOME=/var/vdr
+
+pkg_setup() {
+ enewgroup vdr
+
+ # Add user vdr to these groups:
+ # video - accessing dvb-devices
+ # audio - playing sound when using software-devices
+ # cdrom - playing dvds/audio-cds ...
+ enewuser vdr -1 /bin/bash "${VDR_HOME}" vdr,video,audio,cdrom
+}
+
+src_prepare() {
+ # moved into own package
+ sed -e '/SUBDIRS =/s# bin # #' -i usr/Makefile
+ sed -e '/all:/s#compile##' -i Makefile
+}
+
+src_install() {
+ default
+ nonfatal dodoc README* TODO ChangeLog
+
+ # create necessary directories
+ diropts -ovdr -gvdr
+ keepdir "${VDR_HOME}"
+
+ local kd
+ for kd in shutdown-data merged-config-files dvd-images; do
+ keepdir "${VDR_HOME}/${kd}"
+ done
+}
+
+pkg_preinst() {
+ local PLUGINS_NEW=0
+ if [[ -f "${ROOT}"/etc/conf.d/vdr.plugins ]]; then
+ PLUGINS_NEW=$(grep -v '^#' "${ROOT}"/etc/conf.d/vdr.plugins |grep -v '^$'|wc -l)
+ fi
+ if [[ ${PLUGINS_NEW} > 0 ]]; then
+ cp "${ROOT}"/etc/conf.d/vdr.plugins "${D}"/etc/conf.d/vdr.plugins
+ else
+ einfo "Migrating PLUGINS setting from /etc/conf.d/vdr to /etc/conf.d/vdr.plugins"
+ local PLUGIN
+ for PLUGIN in $(source "${ROOT}"/etc/conf.d/vdr;echo $PLUGINS); do
+ echo ${PLUGIN} >> "${D}"/etc/conf.d/vdr.plugins
+ done
+ fi
+
+ has_version "<${CATEGORY}/${PN}-0.5.4"
+ previous_less_than_0_5_4=$?
+
+ has_version "<${CATEGORY}/${PN}-2.6"
+ previous_less_than_2_6=$?
+}
+
+VDRSUDOENTRY="vdr ALL=NOPASSWD:/usr/share/vdr/bin/vdrshutdown-really.sh"
+
+pkg_postinst() {
+ if [[ $previous_less_than_0_5_4 = 0 ]] ; then
+ elog "\nVDR use now default the --cachedir parameter to store the epg.file"
+ elog "Please do not override this with the EPGFILE variable\n"
+
+ elog "svdrp port 2001 support removed\n"
+
+ elog "--rcu support removed, use media-plugin/vdr-rcu\n"
+ fi
+
+ if [[ $previous_less_than_2_6 = 0 ]]; then
+ elog "${CATEGORY}/${PN} supports now a init script"
+ elog "to start a X server"
+ elog "Please refer for detailed info to"
+ elog "${CATGORY}/${PN} README.x11-setup\n"
+ fi
+
+ if use nvram; then
+ elog "nvram wakeup is optional."
+ elog "To make use of it emerge sys-power/nvram-wakeup.\n"
+ fi
+
+ elog "Plugins which should be used are now set via its"
+ elog "own config-file called /etc/conf.d/vdr.plugins"
+ elog "or enabled via the frontend eselect vdr-plugin.\n"
+
+ if [[ -f "${ROOT}"/etc/conf.d/vdr.dvdswitch ]] &&
+ grep -q ^DVDSWITCH_BURNSPEED= "${ROOT}"/etc/conf.d/vdr.dvdswitch
+ then
+ ewarn "You are setting DVDSWITCH_BURNSPEED in /etc/conf.d/vdr.dvdswitch"
+ ewarn "This no longer has any effect, please use"
+ ewarn "VDR_DVDBURNSPEED in /etc/conf.d/vdr.cd-dvd"
+ fi
+
+ elog "systemd is supported by ${CATEGORY}/${PN}"
+ elog "Please read for detailed info on this"
+ elog "${CATEGORY}/${PN} README.systemd"
+}
+
+pkg_config() {
+ if grep -q /usr/share/vdr/bin/vdrshutdown-really.sh "${ROOT}"/etc/sudoers; then
+
+ einfo "Removing depricated entry from /etc/sudoers:"
+ einfo "- ${VDRSUDOENTRY}"
+
+ cd "${T}"
+ cat >sudoedit-vdr.sh <<-SUDOEDITOR
+ #!/bin/bash
+ sed -i \${1} -e '/\/usr\/share\/vdr\/bin\/vdrshutdown-really.sh *$/d'
+
+ SUDOEDITOR
+ chmod a+x sudoedit-vdr.sh
+
+ VISUAL="${T}"/sudoedit-vdr.sh visudo -f "${ROOT}"/etc/sudoers || die "visudo failed"
+
+ einfo "Edited /etc/sudoers"
+ fi
+}