[proaudio] [1655] Fixed some permissions issues. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 1655
Author: emery
Date: 2010-04-25 02:47:48 +0200 (Sun, 25 Apr 2010)
Log Message:
-----------
Fixed some permissions issues.
(Portage version: 2.1.7.16/svn/Linux i686, RepoMan options: --force)
Modified Paths:
--------------
trunk/overlays/proaudio/media-radio/rivendell/ChangeLog
trunk/overlays/proaudio/media-radio/rivendell/Manifest
Added Paths:
-----------
trunk/overlays/proaudio/media-radio/rivendell/rivendell-1.7.0-r1.ebuild
Modified: trunk/overlays/proaudio/media-radio/rivendell/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-radio/rivendell/ChangeLog 2010-04-23 09:10:04 UTC (rev 1654)
+++ trunk/overlays/proaudio/media-radio/rivendell/ChangeLog 2010-04-25 00:47:48 UTC (rev 1655)
@@ -1,7 +1,14 @@
# ChangeLog for media-radio/rivendell
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*rivendell-1.7.0-r1 (25 Apr 2010)
+
+ 25 Apr 2010; Emery Hemingway <emery@xxxxxxxxx +rivendell-1.7.0-r1.ebuild:
+ Set rivendell user and group UID to 585 to reduce permissions errors in
+ networked systems. Changed /var/snd intial permissions. Moved rivendell
+ CGI stuff to /usr/libexec/rd-bin.
+
*rivendell-1.6.0 (18 Dec 2009)
18 Dec 2009; Emery Hemingway <emery@xxxxxxxxx>
Modified: trunk/overlays/proaudio/media-radio/rivendell/Manifest
===================================================================
--- trunk/overlays/proaudio/media-radio/rivendell/Manifest 2010-04-23 09:10:04 UTC (rev 1654)
+++ trunk/overlays/proaudio/media-radio/rivendell/Manifest 2010-04-25 00:47:48 UTC (rev 1655)
@@ -3,6 +3,7 @@
DIST rivendell-1.6.0.tar.gz 2188854 RMD160 139ce32407cc92ac9591b0f4e067c510b2f9a869 SHA1 b8ac5d16fd524ba3d7e2aa3d36b81aa23cad4ec4 SHA256 6b182ed4992c72b8740f33183f331063416bfe939d58dbf5a2b51d97203eb909
DIST rivendell-1.7.0.tar.gz 2293098 RMD160 2b8644cebcfacdd96333846edddee1e9da16a864 SHA1 e91732419cd3ab77daed0ed2fa26120eb42bcbb7 SHA256 83f53adfcb348dfd8a9121fa8b9bd10a58e669edc2fdac4278e962049ac20083
EBUILD rivendell-1.6.0.ebuild 2208 RMD160 f78de8d2ebdd84a7c8740fbe4eb6009a61f31422 SHA1 4ebdf67cd2732f902bbe2ea18a72482394480ade SHA256 cda2e2f84879189db3c18cce1b447a127ecf84affafdcbe4b7543309da3c5f38
+EBUILD rivendell-1.7.0-r1.ebuild 2043 RMD160 2b82927ed65811c316f351e82f8f67d8839eea5b SHA1 61958ff91e14f56fe53f971072c595f14fdd09bc SHA256 1b9a54b15083eb40af53cd8a1143f62912c55a261da760219553790082a2e367
EBUILD rivendell-1.7.0.ebuild 2208 RMD160 f78de8d2ebdd84a7c8740fbe4eb6009a61f31422 SHA1 4ebdf67cd2732f902bbe2ea18a72482394480ade SHA256 cda2e2f84879189db3c18cce1b447a127ecf84affafdcbe4b7543309da3c5f38
-MISC ChangeLog 651 RMD160 413c73b667aef384172df3a47d436941d4f88af0 SHA1 4b9b84a68b9f70817256472c75475367deaa04e7 SHA256 ab719cc9b70cdf4ce789461e939560f9f9009e160ad503a9fab9b380dd4d2e63
+MISC ChangeLog 947 RMD160 8972ac4f094946e4ccc82f5874ad73ec621942f5 SHA1 d8e23a172ac06fdf8a2b974a52927350ad63ce2a SHA256 2abc3a35639011da867677edf68cc5e8822127de9f005f02359e7b5bec73176e
MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89
Added: trunk/overlays/proaudio/media-radio/rivendell/rivendell-1.7.0-r1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-radio/rivendell/rivendell-1.7.0-r1.ebuild (rev 0)
+++ trunk/overlays/proaudio/media-radio/rivendell/rivendell-1.7.0-r1.ebuild 2010-04-25 00:47:48 UTC (rev 1655)
@@ -0,0 +1,87 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+inherit base eutils
+
+DESCRIPTION="An automated system for acquisition, management, scheduling and playout of audio content."
+HOMEPAGE="http://rivendellaudio.org/"
+SRC_URI="http://rivendellaudio.org/ftpdocs/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa jack pam"
+
+RESTRICT="nomirror"
+
+DEPEND="alsa? ( media-libs/alsa-lib )
+ alsa? ( media-libs/libsamplerate )
+ jack? ( media-sound/jack-audio-connection-kit )
+ jack? ( media-libs/libsamplerate )
+ media-libs/flac
+ media-libs/id3lib
+ media-libs/libogg
+ media-libs/libvorbis
+ virtual/mysql
+ x11-libs/qt:3[mysql]"
+RDEPEND="${DEPEND}
+ pam? ( sys-libs/pam )
+ app-cdr/cdrkit
+ media-sound/cdparanoia
+ media-sound/lame
+ media-sound/mpg321
+ media-sound/vorbis-tools
+ net-ftp/lftp
+ net-misc/wget"
+
+pkg_setup() {
+ enewgroup ${PN} 585
+ enewuser ${PN} 585 -1 /var/lib/${PN} "${PN},audio"
+}
+
+src_prepare() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-init.patch"
+ epatch "${FILESDIR}/${PN}-sandbox.patch"
+}
+
+src_configure() {
+ local myconf="--libexecdir=/usr/libexec/rd-bin"
+
+ use alsa || myconf="${myconf} --disable-alsa"
+ use jack || myconf="${myconf} --disable-jack"
+ use pam || myconf="${myconf} --disable-pam"
+
+ econf ${myconf}
+}
+
+src_compile () {
+ emake || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+
+ insinto /etc
+ doins conf/rd.conf-sample
+
+ keepdir /var/snd
+ fowners ${PN}:${PN} /var/snd
+ fperms 775 /var/snd
+
+ dodoc AUTHORS ChangeLog INSTALL NEWS README SupportedCards docs/*.txt
+ prepalldocs
+}
+
+pkg_postinst() {
+ elog "If you would like ASI or GPIO hardware support,"
+ elog "install their drivers and re-emerge this package."
+ einfo
+ einfo "See http://rivendell.tryphon.org/wiki/index.php/Install_under_Gentoo"
+ einfo "for Gentoo specific instructions."
+ einfo
+ ewarn "If ${P} comes as an update, it may use a new database schema, run rdadmin to ensure your schema is current."
+}