diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2006-07-06 13:02:57 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2006-07-06 13:02:57 +0000 |
commit | 67961a6772fb0e262659cf2489692af7d9461abc (patch) | |
tree | 3cb77644499b32c9818dcf1f011f4f75ab3fdc79 /media-tv/gentoo-vdr-scripts | |
parent | Added patch to solve problems with restrictive umask, reported by timonator o... (diff) | |
download | historical-67961a6772fb0e262659cf2489692af7d9461abc.tar.gz historical-67961a6772fb0e262659cf2489692af7d9461abc.tar.bz2 historical-67961a6772fb0e262659cf2489692af7d9461abc.zip |
Added patch to solve problems with restrictive umask, reported by timonator on #gentoo-vdr.
Package-Manager: portage-2.1.1_pre2-r4
Diffstat (limited to 'media-tv/gentoo-vdr-scripts')
3 files changed, 19 insertions, 135 deletions
diff --git a/media-tv/gentoo-vdr-scripts/Manifest b/media-tv/gentoo-vdr-scripts/Manifest index 4d6a67d9f526..ee132b386c64 100644 --- a/media-tv/gentoo-vdr-scripts/Manifest +++ b/media-tv/gentoo-vdr-scripts/Manifest @@ -1,6 +1,10 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX gentoo-vdr-scripts-0.3.5-merged-file-permissions.diff 286 RMD160 30d147bba9c706aae99c9a3fd9b567bf1b0b32a7 SHA1 c96ca9b9a52599d9ae12bc81d23bcdaea78a3bf2 SHA256 744a2761b1b816c38a8b71827c7aea4b86974ad744e80aead75b3d3f052b755f +MD5 caaceba95ef8d2cad8be52f72fa87dec files/gentoo-vdr-scripts-0.3.5-merged-file-permissions.diff 286 +RMD160 30d147bba9c706aae99c9a3fd9b567bf1b0b32a7 files/gentoo-vdr-scripts-0.3.5-merged-file-permissions.diff 286 +SHA256 744a2761b1b816c38a8b71827c7aea4b86974ad744e80aead75b3d3f052b755f files/gentoo-vdr-scripts-0.3.5-merged-file-permissions.diff 286 AUX gentoo-vdr-scripts-0.3.5-skip-plugin.diff 758 RMD160 7d887d26d27064db44ca03dfe589a8364c406eb9 SHA1 1f7858caf67a3a83b12ac4e8c69b72a1225d454e SHA256 d61f177162708398802eb644090f74f351e0595d60093f0d19272c6c09498af0 MD5 ee33557bed3731d8baf7689e38025f1a files/gentoo-vdr-scripts-0.3.5-skip-plugin.diff 758 RMD160 7d887d26d27064db44ca03dfe589a8364c406eb9 files/gentoo-vdr-scripts-0.3.5-skip-plugin.diff 758 @@ -25,14 +29,14 @@ EBUILD gentoo-vdr-scripts-0.3.4-r1.ebuild 2728 RMD160 51790a6a6da97b565d7fe1e2c0 MD5 376e51a0be2a7b2677a956514e78f5d0 gentoo-vdr-scripts-0.3.4-r1.ebuild 2728 RMD160 51790a6a6da97b565d7fe1e2c0140faef92840e5 gentoo-vdr-scripts-0.3.4-r1.ebuild 2728 SHA256 0e903d3844c358678bf4b316f750fab76b92d6dd0abebbc3e78de469e9baf513 gentoo-vdr-scripts-0.3.4-r1.ebuild 2728 -EBUILD gentoo-vdr-scripts-0.3.5-r1.ebuild 2712 RMD160 b68d0678f5c993bc825709946eb305cec948c054 SHA1 82ebcbe634413e3411c434b7ff7554209972d2a6 SHA256 33ed7af5f25eeacd02d18061476898555b60c315a9082a813fb0b40304da2f98 -MD5 a3b5f506cc438e7fd04536ee5a5576b2 gentoo-vdr-scripts-0.3.5-r1.ebuild 2712 -RMD160 b68d0678f5c993bc825709946eb305cec948c054 gentoo-vdr-scripts-0.3.5-r1.ebuild 2712 -SHA256 33ed7af5f25eeacd02d18061476898555b60c315a9082a813fb0b40304da2f98 gentoo-vdr-scripts-0.3.5-r1.ebuild 2712 -MISC ChangeLog 11861 RMD160 859353d60e85e9931f7c612cf73911ba8bba963b SHA1 4f986a0e36125455f7f7e5433f3ac963cb73c988 SHA256 4f33b65e943cac9803fb03b1094ee64f364d370e467b0ae989da2d515770049b -MD5 d8b5471e1b728b38a875e69f2be82d53 ChangeLog 11861 -RMD160 859353d60e85e9931f7c612cf73911ba8bba963b ChangeLog 11861 -SHA256 4f33b65e943cac9803fb03b1094ee64f364d370e467b0ae989da2d515770049b ChangeLog 11861 +EBUILD gentoo-vdr-scripts-0.3.5-r2.ebuild 2766 RMD160 ab579360fe5703e646a65b0a7852e78048a207f8 SHA1 536456ec2b2c95e6fb381c5a546fec23c6f9f42d SHA256 e4af36b58f97ad2581415bb2562a7c58bd49556e314b27020385da699b57ead4 +MD5 e4d1bb4a798e5ba588f12dd1e88bda66 gentoo-vdr-scripts-0.3.5-r2.ebuild 2766 +RMD160 ab579360fe5703e646a65b0a7852e78048a207f8 gentoo-vdr-scripts-0.3.5-r2.ebuild 2766 +SHA256 e4af36b58f97ad2581415bb2562a7c58bd49556e314b27020385da699b57ead4 gentoo-vdr-scripts-0.3.5-r2.ebuild 2766 +MISC ChangeLog 12195 RMD160 8e4804ae851d5aff7abe3bf48ce2a930c53b44bd SHA1 07acfadd0fb372e1aaffe274a0d6990d8883cbc9 SHA256 0ef5a020c96ed949e0344e4070f776f8b791a98830577e8a488b615556ec1e48 +MD5 a823450a8713777cbf751c5a2455dae3 ChangeLog 12195 +RMD160 8e4804ae851d5aff7abe3bf48ce2a930c53b44bd ChangeLog 12195 +SHA256 0ef5a020c96ed949e0344e4070f776f8b791a98830577e8a488b615556ec1e48 ChangeLog 12195 MISC metadata.xml 259 RMD160 cc3cadd479ce9fb1e22948ac9f01f5725da33fa6 SHA1 71c8f0604523f99ac8b7849a01d861d721a191fd SHA256 313f79a460281914a7f72cb73e91eec5f5cfec67c79f657743d49036d04951fe MD5 a973dfa1638779880ca99f1c1435cac7 metadata.xml 259 RMD160 cc3cadd479ce9fb1e22948ac9f01f5725da33fa6 metadata.xml 259 @@ -46,13 +50,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-r1 274 -RMD160 7d68fef3d6dfc1690b228ca473cdb759c94ff57f files/digest-gentoo-vdr-scripts-0.3.5-r1 274 -SHA256 bbbc9f334c6a05dd546add518388a36d002f8d014e698484b4933bdabe27a38e files/digest-gentoo-vdr-scripts-0.3.5-r1 274 +MD5 5660c4d171795ffb0118f52dccd536a6 files/digest-gentoo-vdr-scripts-0.3.5-r2 274 +RMD160 7d68fef3d6dfc1690b228ca473cdb759c94ff57f files/digest-gentoo-vdr-scripts-0.3.5-r2 274 +SHA256 bbbc9f334c6a05dd546add518388a36d002f8d014e698484b4933bdabe27a38e files/digest-gentoo-vdr-scripts-0.3.5-r2 274 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.3 (GNU/Linux) +Version: GnuPG v1.4.4 (GNU/Linux) -iD8DBQFEokaYZfSl1Kp5KmoRAkQoAJ41/f5soiiEqhJGoZYJWbEryM232wCePrhZ -S3SXuUuXfHF9OjStlD+424M= -=KfJT +iD8DBQFErQn8ZfSl1Kp5KmoRAn1WAKDanqvAenSzwf3daHpXRpFSnEXhjQCfWvdR +u04sjHOTNMha8xPv3v8w9gc= +=uKlp -----END PGP SIGNATURE----- diff --git a/media-tv/gentoo-vdr-scripts/files/digest-gentoo-vdr-scripts-0.3.5-r1 b/media-tv/gentoo-vdr-scripts/files/digest-gentoo-vdr-scripts-0.3.5-r1 deleted file mode 100644 index 4b4129a8360c..000000000000 --- a/media-tv/gentoo-vdr-scripts/files/digest-gentoo-vdr-scripts-0.3.5-r1 +++ /dev/null @@ -1,3 +0,0 @@ -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-r1.ebuild b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.3.5-r1.ebuild deleted file mode 100644 index 2612a35744fa..000000000000 --- a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.3.5-r1.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# 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-r1.ebuild,v 1.1 2006/06/19 11:18:41 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_unpack() { - unpack ${A} - - epatch ${FILESDIR}/${P}-skip-plugin.diff -} - -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 -} - |