summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-03-19 18:02:39 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-03-19 18:02:39 +0000
commit91529cb40fd8ddcd5e4eeefef07a5419606e555c (patch)
tree4cc645bf19423cbef59d1ab023aed096e9336b72 /media-tv
parentVersion bump. Take maintainership. Various fixes.. (diff)
downloadgentoo-2-91529cb40fd8ddcd5e4eeefef07a5419606e555c.tar.gz
gentoo-2-91529cb40fd8ddcd5e4eeefef07a5419606e555c.tar.bz2
gentoo-2-91529cb40fd8ddcd5e4eeefef07a5419606e555c.zip
Removed old version.
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/gentoo-vdr-scripts/ChangeLog6
-rw-r--r--media-tv/gentoo-vdr-scripts/files/digest-gentoo-vdr-scripts-0.3.73
-rw-r--r--media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.3.7.ebuild141
3 files changed, 5 insertions, 145 deletions
diff --git a/media-tv/gentoo-vdr-scripts/ChangeLog b/media-tv/gentoo-vdr-scripts/ChangeLog
index 1ac7c9734a7f..a6e9c572b839 100644
--- a/media-tv/gentoo-vdr-scripts/ChangeLog
+++ b/media-tv/gentoo-vdr-scripts/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-tv/gentoo-vdr-scripts
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/ChangeLog,v 1.75 2007/03/13 12:05:55 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/ChangeLog,v 1.76 2007/03/19 18:02:39 zzam Exp $
+
+ 19 Mar 2007; Matthias Schwarzott <zzam@gentoo.org>
+ -gentoo-vdr-scripts-0.3.7.ebuild:
+ Removed old version.
13 Mar 2007; Matthias Schwarzott <zzam@gentoo.org>
gentoo-vdr-scripts-0.3.8.ebuild:
diff --git a/media-tv/gentoo-vdr-scripts/files/digest-gentoo-vdr-scripts-0.3.7 b/media-tv/gentoo-vdr-scripts/files/digest-gentoo-vdr-scripts-0.3.7
deleted file mode 100644
index 132a1111d5c2..000000000000
--- a/media-tv/gentoo-vdr-scripts/files/digest-gentoo-vdr-scripts-0.3.7
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 90e68e4b81af1a293037d5d38eb92e76 gentoo-vdr-scripts-0.3.7.tar.bz2 24794
-RMD160 29715b69be2f9f1a22caa79aa54d259c42c4582b gentoo-vdr-scripts-0.3.7.tar.bz2 24794
-SHA256 5f71ee9461b1963e5e88166b636230ed4a00f84fc38c44799477ba811c902ead gentoo-vdr-scripts-0.3.7.tar.bz2 24794
diff --git a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.3.7.ebuild b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.3.7.ebuild
deleted file mode 100644
index a0eb450d05a9..000000000000
--- a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.3.7.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2007 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-0.3.7.ebuild,v 1.6 2007/03/10 14:48:06 vapier Exp $
-
-inherit eutils
-
-DESCRIPTION="Scripts necessary for use of vdr as a set-top-box"
-HOMEPAGE="http://www.gentoo.org/"
-LICENSE="GPL-2"
-SLOT="0"
-SRC_URI="mirror://gentoo/${P}.tar.bz2
- http://dev.gentoo.org/~zzam/distfiles/${P}.tar.bz2"
-
-KEYWORDS="~amd64 ~ppc x86"
-
-RDEPEND="nvram? ( sys-power/nvram-wakeup )
- app-admin/sudo
- !<media-tv/vdr-dvd-scripts-0.0.2"
-
-IUSE="nvram"
-
-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_install() {
- local myopts=""
- if use x86; then
- myopts="${myopts} NVRAM=1"
- fi
-
- emake -s install DESTDIR="${D}" ${myopts} || die "make install failed"
- 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() {
- einfo "Smart updating /etc/conf.d/vdr.plugins"
- 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
- einfo "Using existing /etc/conf.d/vdr.plugins"
- cp ${ROOT}/etc/conf.d/vdr.plugins ${D}/etc/conf.d/vdr.plugins
- else
- einfo "Using PLUGINS from /etc/conf.d/vdr"
- local PLUGIN
- for PLUGIN in $(source ${ROOT}/etc/conf.d/vdr;echo $PLUGINS); do
- echo ${PLUGIN} >> ${D}/etc/conf.d/vdr.plugins
- done
- fi
-}
-
-VDRSUDOENTRY="vdr ALL=NOPASSWD:/usr/share/vdr/bin/vdrshutdown-really.sh"
-
-pkg_postinst() {
- if has_version "<media-tv/gentoo-vdr-scripts-0.3.6"; then
- ewarn
- ewarn "A shutdown-file has been changed."
- ewarn "You really have to execute"
- ewarn "\temerge --config gentoo-vdr-scripts"
- ewarn "to keep shutdown working."
- ewarn
-
- ebeep 5
- else
- elog
- elog "To make shutdown work add this line to /etc/sudoers"
- elog "\t$VDRSUDOENTRY"
- elog
- elog "or execute this command:"
- elog "\temerge --config gentoo-vdr-scripts"
- elog
- fi
-
- if use x86 && use !nvram; then
- elog "nvram wakeup is now optional."
- elog "To make use of it enable the use flag nvram for ${PN}"
- elog "or just emerge nvram-wakeup."
- fi
-
- if has_version "<media-tv/gentoo-vdr-scripts-0.3.7"; then
- einfo
- einfo "Plugins which should be used are now set via its"
- einfo "own config-file called /etc/conf.d/vdr.plugins"
- einfo
- einfo "Smart updating should have moved all your settings"
- einfo
- fi
-
- if [[ -f "${ROOT}/etc/init.d/dvbsplash" ]]; then
- ewarn
- ewarn "You have dvbsplash installed!"
- ewarn "Please delete /etc/init.d/dvbsplash with:"
- ewarn "\trm /etc/init.d/dvbsplash"
- ewarn
- fi
-}
-
-pkg_config() {
- if grep -q /usr/share/vdr/bin/vdrshutdown-really.sh ${ROOT}/etc/sudoers; then
- einfo "sudoers-entry for vdr already in place."
- else
- einfo "Adding this line to /etc/sudoers:"
- einfo "+ ${VDRSUDOENTRY}"
-
- cd ${T}
- cat >sudoedit-vdr.sh <<-SUDOEDITOR
- #!/bin/bash
- echo Commenting out old entry
- sed -i \${1} -e '/\/usr\/lib\/vdr\/bin\/vdrshutdown-really.sh/s/^/#/'
- echo Adding new entry
- echo "" >> \${1}
- echo "${VDRSUDOENTRY}" >> \${1}
- 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
-}
-