summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/mythtv/ChangeLog6
-rw-r--r--media-tv/mythtv/files/mythtv.logrotate.d-r115
-rw-r--r--media-tv/mythtv/mythtv-0.22_p23069.ebuild4
3 files changed, 22 insertions, 3 deletions
diff --git a/media-tv/mythtv/ChangeLog b/media-tv/mythtv/ChangeLog
index a418a205166a..7e1ec8c7f3b8 100644
--- a/media-tv/mythtv/ChangeLog
+++ b/media-tv/mythtv/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-tv/mythtv
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.308 2010/01/04 05:24:30 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.309 2010/01/04 05:40:46 cardoe Exp $
+
+ 04 Jan 2010; Doug Goldstein <cardoe@gentoo.org> mythtv-0.22_p23069.ebuild,
+ +files/mythtv.logrotate.d-r1:
+ fix logrotate file for MythTV when the backend isn't running. bug #293464
*mythtv-0.22_p23069 (04 Jan 2010)
diff --git a/media-tv/mythtv/files/mythtv.logrotate.d-r1 b/media-tv/mythtv/files/mythtv.logrotate.d-r1
new file mode 100644
index 000000000000..896587c8c47f
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv.logrotate.d-r1
@@ -0,0 +1,15 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/mythtv.logrotate.d-r1,v 1.1 2010/01/04 05:40:45 cardoe Exp $
+
+/var/log/mythtv/mythbackend.log /var/log/mythtv/mythfrontend.log {
+rotate 5
+weekly
+create 660 mythtv video
+notifempty
+sharedscripts
+missingok
+postrotate
+[ -f "/var/run/mythbackend.pid"] && /bin/kill -HUP `cat /var/run/mythbackend.pid`
+endscript
+}
diff --git a/media-tv/mythtv/mythtv-0.22_p23069.ebuild b/media-tv/mythtv/mythtv-0.22_p23069.ebuild
index f060344800f6..8c353c711872 100644
--- a/media-tv/mythtv/mythtv-0.22_p23069.ebuild
+++ b/media-tv/mythtv/mythtv-0.22_p23069.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.22_p23069.ebuild,v 1.1 2010/01/04 05:24:30 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.22_p23069.ebuild,v 1.2 2010/01/04 05:40:46 cardoe Exp $
EAPI=2
inherit flag-o-matic multilib eutils qt4 mythtv toolchain-funcs python
@@ -230,7 +230,7 @@ src_install() {
fowners -R mythtv "${D}"/var/log/mythtv
insinto /etc/logrotate.d
- newins "${FILESDIR}"/mythtv.logrotate.d mythtv
+ newins "${FILESDIR}"/mythtv.logrotate.d-r1 mythtv
insinto /usr/share/mythtv/contrib
doins -r contrib/*