From: Matthias Schwarzott Date: Fri, 16 Jun 2006 13:18:27 +0000 (+0000) Subject: Version bumped. Contains large file-moves. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3763fbb083f81fb136d59c297494d57d1fedf8e1;p=gentoo.git Version bumped. Contains large file-moves. Package-Manager: portage-2.1 --- diff --git a/media-tv/gentoo-vdr-scripts/ChangeLog b/media-tv/gentoo-vdr-scripts/ChangeLog index bfd6fa9e12fe..70ecac008b44 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-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/ChangeLog,v 1.55 2006/06/12 20:08:55 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/ChangeLog,v 1.56 2006/06/16 13:18:27 zzam Exp $ + +*gentoo-vdr-scripts-0.3.5 (16 Jun 2006) + + 16 Jun 2006; Matthias Schwarzott + +gentoo-vdr-scripts-0.3.5.ebuild: + Version bumped. Contains large file-moves. *gentoo-vdr-scripts-0.3.4-r1 (12 Jun 2006) *gentoo-vdr-scripts-0.3.3-r1 (12 Jun 2006) diff --git a/media-tv/gentoo-vdr-scripts/Manifest b/media-tv/gentoo-vdr-scripts/Manifest index 4f7b3b78d432..3517fd277a27 100644 --- a/media-tv/gentoo-vdr-scripts/Manifest +++ b/media-tv/gentoo-vdr-scripts/Manifest @@ -8,6 +8,7 @@ SHA256 ccf3ac1e05ec88795453b532dd6426acf0ba6bcbd36667644a3f3e179ceb7794 files/vd DIST gentoo-vdr-scripts-0.3.0.tar.bz2 20023 RMD160 89509a697d2ad68c2fdcb5fd3ecef5a8884ebcd0 SHA1 34f2cd6d82678f328fe14de5a991ca7d3222adde SHA256 68e7acf476df9b42e398faea2160e5614d8279e586c6b187a740ae6a3dfccff8 DIST gentoo-vdr-scripts-0.3.3.tar.bz2 20730 RMD160 cfcf532fcebe674eaaa115449dd4714462e678db SHA1 31e6adc81daec04bc288cac46183b7505500f373 SHA256 0b1cd10c763eeb97cb21953fb990207ea844a5864c1a4b5000de96e17fdeb964 DIST gentoo-vdr-scripts-0.3.4.tar.bz2 21460 RMD160 0797e337559b081e95ef77b428d808b78245aaac SHA1 ff8ec5b0c20fbd01bd9844644fa2c59ae3679575 SHA256 2086f451d8a274d9bd489c0e9d24a37b07db15e8ebb6ca684ab6a24e807407da +DIST gentoo-vdr-scripts-0.3.5.tar.bz2 22643 RMD160 5782d55d2b62c11cd74193dd09588e4c9ca27b9a SHA1 8939dbcc97ef12118a7def8dffd3c7cd356523c5 SHA256 c099dc98b7979b7dc036268adc8f90082f180d9d7f225bdbdfce35fa8376b83d EBUILD gentoo-vdr-scripts-0.3.0-r1.ebuild 2728 RMD160 6ef0a52f071e8229b86eca727aa672c2a41812f1 SHA1 934f6f9203327338efd3cb3c5b1c09777235e1e0 SHA256 0dbc0ce151aec8a8d2793365c080972a4739000f92789b99a2a651500e3ffcdc MD5 947b759e4080076f1fb3450c700ebf3a gentoo-vdr-scripts-0.3.0-r1.ebuild 2728 RMD160 6ef0a52f071e8229b86eca727aa672c2a41812f1 gentoo-vdr-scripts-0.3.0-r1.ebuild 2728 @@ -20,10 +21,14 @@ EBUILD gentoo-vdr-scripts-0.3.4-r1.ebuild 2729 RMD160 e9ed38e0daf4d5ae115792bbdd MD5 d214028dbecdd166c691098e68182869 gentoo-vdr-scripts-0.3.4-r1.ebuild 2729 RMD160 e9ed38e0daf4d5ae115792bbdd06b2f3de2bc541 gentoo-vdr-scripts-0.3.4-r1.ebuild 2729 SHA256 fb2cdb8ece5d846d6afed6f6e24214a6893ffdafcb21ba67fac3e6a2c80c3a4c gentoo-vdr-scripts-0.3.4-r1.ebuild 2729 -MISC ChangeLog 11269 RMD160 03d828699d86a014ed9709637c63d3c515fda7fc SHA1 51ae5c61769ff9254043a18e1b4c6e69cc4dc9c4 SHA256 0ad14fa41461705792d42d80c3e0a76c246a01e03518799bc4db6e268bebf20a -MD5 c2332f3b13f147cb16cacca19ba709dc ChangeLog 11269 -RMD160 03d828699d86a014ed9709637c63d3c515fda7fc ChangeLog 11269 -SHA256 0ad14fa41461705792d42d80c3e0a76c246a01e03518799bc4db6e268bebf20a ChangeLog 11269 +EBUILD gentoo-vdr-scripts-0.3.5.ebuild 2635 RMD160 284eeeac22b1aa4a79d709e646fcba80f47dd5b4 SHA1 8daede7864f817fc72d30b8ee354126b7b1a6b83 SHA256 bd4d7a8e7afca69a0ddb8af5c4832f0e11e59de8bff72b8bd630165ec5fae6bb +MD5 cbf195c973548d42375225146a8ab045 gentoo-vdr-scripts-0.3.5.ebuild 2635 +RMD160 284eeeac22b1aa4a79d709e646fcba80f47dd5b4 gentoo-vdr-scripts-0.3.5.ebuild 2635 +SHA256 bd4d7a8e7afca69a0ddb8af5c4832f0e11e59de8bff72b8bd630165ec5fae6bb gentoo-vdr-scripts-0.3.5.ebuild 2635 +MISC ChangeLog 11445 RMD160 137b1a92faa0fcbf3dd75457834f3d13bed45afc SHA1 4d57d860c14dd002cc68d2c99d1b84fc09b93087 SHA256 3559475360cd42cab888515b7eb4a701da7d9cdd348c319ddda6d8ade7b95edb +MD5 3eb505dd7ed4291c94eab2b4e9b71c00 ChangeLog 11445 +RMD160 137b1a92faa0fcbf3dd75457834f3d13bed45afc ChangeLog 11445 +SHA256 3559475360cd42cab888515b7eb4a701da7d9cdd348c319ddda6d8ade7b95edb ChangeLog 11445 MISC metadata.xml 259 RMD160 cc3cadd479ce9fb1e22948ac9f01f5725da33fa6 SHA1 71c8f0604523f99ac8b7849a01d861d721a191fd SHA256 313f79a460281914a7f72cb73e91eec5f5cfec67c79f657743d49036d04951fe MD5 a973dfa1638779880ca99f1c1435cac7 metadata.xml 259 RMD160 cc3cadd479ce9fb1e22948ac9f01f5725da33fa6 metadata.xml 259 @@ -37,10 +42,13 @@ SHA256 23f42dc04b7dfa3197038e8164193318f1b432e3c64ef66f91823bc9c16967f2 files/di MD5 be31a32d518744306e311099eaba790a files/digest-gentoo-vdr-scripts-0.3.4-r1 274 RMD160 43a4648e6c8d3d78b03df2fd087812608a7d999a files/digest-gentoo-vdr-scripts-0.3.4-r1 274 SHA256 f60bfc422f8868bc6afb822f1192af2f3738e80e1f078ccbd16dfbdc66113936 files/digest-gentoo-vdr-scripts-0.3.4-r1 274 +MD5 5660c4d171795ffb0118f52dccd536a6 files/digest-gentoo-vdr-scripts-0.3.5 274 +RMD160 7d68fef3d6dfc1690b228ca473cdb759c94ff57f files/digest-gentoo-vdr-scripts-0.3.5 274 +SHA256 bbbc9f334c6a05dd546add518388a36d002f8d014e698484b4933bdabe27a38e files/digest-gentoo-vdr-scripts-0.3.5 274 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) -iD8DBQFEjcnvZfSl1Kp5KmoRAhuaAKCzinfi6PSVSDPksrXkTzzbBdAbvACeJAQD -+Qs19hbRrYqQf4yAHU8aDu0= -=L+y1 +iD8DBQFEkq+sZfSl1Kp5KmoRAmwxAJ0bni8h6qUaZpry0N6yvbNlScn9VACfcscK +OlZxaelZhwRXqZ8Dr50sIuo= +=zAU0 -----END PGP SIGNATURE----- diff --git a/media-tv/gentoo-vdr-scripts/files/digest-gentoo-vdr-scripts-0.3.5 b/media-tv/gentoo-vdr-scripts/files/digest-gentoo-vdr-scripts-0.3.5 new file mode 100644 index 000000000000..4b4129a8360c --- /dev/null +++ b/media-tv/gentoo-vdr-scripts/files/digest-gentoo-vdr-scripts-0.3.5 @@ -0,0 +1,3 @@ +MD5 ab528a3a017c3cdd4ed5cc28b18f5f6b gentoo-vdr-scripts-0.3.5.tar.bz2 22643 +RMD160 5782d55d2b62c11cd74193dd09588e4c9ca27b9a gentoo-vdr-scripts-0.3.5.tar.bz2 22643 +SHA256 c099dc98b7979b7dc036268adc8f90082f180d9d7f225bdbdfce35fa8376b83d gentoo-vdr-scripts-0.3.5.tar.bz2 22643 diff --git a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.3.5.ebuild b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.3.5.ebuild new file mode 100644 index 000000000000..1eecc7a80da1 --- /dev/null +++ b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.3.5.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2006 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.5.ebuild,v 1.1 2006/06/16 13:18:27 zzam Exp $ + +inherit eutils + +IUSE="nvram" + +SRC_URI="mirror://gentoo/${P}.tar.bz2" +DESCRIPTION="scripts necessary for use of vdr as a set-top-box" +HOMEPAGE="http://www.gentoo.org/" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND="nvram? ( x86? ( sys-power/nvram-wakeup ) ) + app-admin/sudo" + +VDR_HOME=/var/vdr + +pkg_setup() { + enewgroup vdr + enewuser vdr -1 /bin/bash ${VDR_HOME} vdr,video,audio,cdrom +} + +src_install() { + local myopts="" + if use nvram; then + if use x86; then + myopts="${myopts} NVRAM=1" + else + ewarn "nvram-wakeup is not available on this architecture." + fi + fi + + make install DESTDIR="${D}" ${myopts} || die "make install failed" + dodoc README TODO ChangeLog + + + keepdir /var/vdr/shutdown-data + keepdir /var/vdr/merged-config-files + keepdir /var/vdr/dvd-images + + local MAKE_VIDEO_DIR=1 + local testd + for testd in video0 video00 video.0 video.00; do + [[ -d ${ROOT}/var/vdr/${testd} ]] && MAKE_VIDEO_DIR=0 + done + if [[ ${MAKE_VIDEO_DIR} == 1 ]]; then + keepdir /var/vdr/video + fi + + chown vdr:vdr -R ${D}/var/vdr +} + +pkg_preinst() { + local owner + local d + for d in /etc/vdr /var/vdr; do + if [[ -d ${d} ]]; then + owner=$(stat ${d} -c "%U") + if [[ ${owner} != vdr ]]; then + einfo "Changing ownership of ${d}" + chown -R vdr:vdr ${d} + fi + fi + done +} + +VDRSUDOENTRY="vdr ALL=NOPASSWD:/usr/lib/vdr/bin/vdrshutdown-really.sh" + +pkg_postinst() { + einfo + einfo "To make shutdown work add this line to /etc/sudoers" + einfo " $VDRSUDOENTRY" + einfo + einfo "or execute this command:" + einfo " emerge --config gentoo-vdr-scripts" + einfo + ewarn "The default video directory was moved to /var/vdr/video" + ewarn "If you have your video directory anywhere else, then" + ewarn "change the setting VIDEO in the file /etc/conf.d/vdr." + ewarn + if use x86 && use !nvram; then + ewarn "nvram wakeup is now optional." + ewarn "To make use of it enable the use flag nvram." + fi +} + +pkg_config() { + if grep -q /usr/lib/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 "" >> \${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 +} +