summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2012-06-24 20:06:50 +0000
committerDoug Goldstein <cardoe@gentoo.org>2012-06-24 20:06:50 +0000
commita322f625f8defaae302d7754d333138ec96132a3 (patch)
tree254742314655335e8fcba473b93e2c241048c2a3 /media-tv
parentFix patch to always include unistd.h without conditions for now. Thanks Xavier. (diff)
downloadgentoo-2-a322f625f8defaae302d7754d333138ec96132a3.tar.gz
gentoo-2-a322f625f8defaae302d7754d333138ec96132a3.tar.bz2
gentoo-2-a322f625f8defaae302d7754d333138ec96132a3.zip
Specify the PID file that SSD should look at since MythBackend makes the PID file. Remove the user perm drop since SSD does that for us.
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/mythtv/ChangeLog7
-rw-r--r--media-tv/mythtv/files/mythbackend.init7
-rw-r--r--media-tv/mythtv/mythtv-0.25.1.ebuild8
3 files changed, 13 insertions, 9 deletions
diff --git a/media-tv/mythtv/ChangeLog b/media-tv/mythtv/ChangeLog
index bb4f62ac89d1..a67e2bc0a1ec 100644
--- a/media-tv/mythtv/ChangeLog
+++ b/media-tv/mythtv/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-tv/mythtv
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.349 2012/06/23 22:26:31 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.350 2012/06/24 20:06:49 cardoe Exp $
+
+ 24 Jun 2012; Doug Goldstein <cardoe@gentoo.org> mythtv-0.25.1.ebuild,
+ files/mythbackend.init:
+ Specify the PID file that SSD should look at since MythBackend makes the PID
+ file. Remove the user perm drop since SSD does that for us.
23 Jun 2012; Doug Goldstein <cardoe@gentoo.org> mythtv-0.25.1.ebuild:
Approach the sandbox violation / ${ED}/${ED} install issue from another
diff --git a/media-tv/mythtv/files/mythbackend.init b/media-tv/mythtv/files/mythbackend.init
index c83851e6b1a8..4b3d69fe3b01 100644
--- a/media-tv/mythtv/files/mythbackend.init
+++ b/media-tv/mythtv/files/mythbackend.init
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/mythbackend.init,v 1.1 2012/06/22 03:30:50 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/mythbackend.init,v 1.2 2012/06/24 20:06:50 cardoe Exp $
description="MythTV backend recording daemon"
extra_commands="resched upnprebuild"
@@ -29,11 +29,12 @@ start() {
ebegin "Starting MythTV Backend"
start-stop-daemon --start --quiet -u mythtv:video \
- --exec /usr/bin/mythbackend --
+ --exec /usr/bin/mythbackend \
+ --pidfile /var/run/mythbackend.pid -- \
--daemon --pidfile /var/run/mythbackend.pid \
--verbose ${MYTHBACKEND_VERBOSE} \
--logfile /var/log/mythtv/mythbackend.log \
- --user mythtv ${MYTHBACKEND_OPTS}
+ ${MYTHBACKEND_OPTS}
eend $?
}
diff --git a/media-tv/mythtv/mythtv-0.25.1.ebuild b/media-tv/mythtv/mythtv-0.25.1.ebuild
index 54d5eff5ea53..1b4ed0b64ae4 100644
--- a/media-tv/mythtv/mythtv-0.25.1.ebuild
+++ b/media-tv/mythtv/mythtv-0.25.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.25.1.ebuild,v 1.8 2012/06/23 22:26:31 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.25.1.ebuild,v 1.9 2012/06/24 20:06:49 cardoe Exp $
EAPI=4
@@ -189,17 +189,15 @@ src_compile() {
src_install() {
emake INSTALL_ROOT="${D}" install || die "install failed"
- dodoc AUTHORS FAQ UPGRADING README
+ dodoc AUTHORS UPGRADING README
insinto /usr/share/mythtv/database
doins database/*
- exeinto /usr/share/mythtv
-
newinitd "${FILESDIR}"/mythbackend.init mythbackend
newconfd "${FILESDIR}"/mythbackend.conf mythbackend
- dodoc keys.txt
+ dodoc keys.txt
keepdir /etc/mythtv
chown -R mythtv "${ED}"/etc/mythtv