From 06546852a0d981fda8611eb3adf48e0afeac3947 Mon Sep 17 00:00:00 2001 From: Cecil Hugh Watson Date: Thu, 30 Apr 2009 17:03:30 -0700 Subject: Latest -fixes and logrotation configuration for frontend and backend logs. --- abs/core-testing/mythtv/stable/mythtv/PKGBUILD | 6 ++++-- abs/core-testing/mythtv/stable/mythtv/mythbackend.lr | 9 +++++++++ abs/core-testing/mythtv/stable/mythtv/mythfrontend.lr | 9 +++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 abs/core-testing/mythtv/stable/mythtv/mythbackend.lr create mode 100644 abs/core-testing/mythtv/stable/mythtv/mythfrontend.lr diff --git a/abs/core-testing/mythtv/stable/mythtv/PKGBUILD b/abs/core-testing/mythtv/stable/mythtv/PKGBUILD index 5897647..f534120 100644 --- a/abs/core-testing/mythtv/stable/mythtv/PKGBUILD +++ b/abs/core-testing/mythtv/stable/mythtv/PKGBUILD @@ -1,13 +1,13 @@ pkgname=mythtv pkgver=0.21 -pkgrel=65 +pkgrel=66 pkgdesc="A Homebrew PVR project" arch=('i686' 'x86_64') depends=('bash' 'mysql-clients>=5.0' 'qt3' 'lame' 'lirc-utils' 'ffmpeg' \ 'libxvmc' 'libavc1394' 'libdc1394' 'libiec61883') backup=(etc/mythtv/mythbackend.conf etc/mythtv/mysql.txt usr/share/mythtv/is.xmlusr/share/mythtv/media_settings.xml ) source=(ftp://ftp.knoppmyth.net/R6/sources/${pkgname}-${pkgver}-fixes.tar.bz2 \ - mythbackend myththemedmenu.cpp.patch myththemedmenu.h.patch smolt_jump.patch pretty gnome_screensaver.patch mpegpspatch) + mythbackend myththemedmenu.cpp.patch myththemedmenu.h.patch smolt_jump.patch pretty gnome_screensaver.patch mpegpspatch mythbackend.lr mythfrontend.lr) #md5sums=('e316ed18d7ac837cf8c4af54b1478793' '7ef6de58240e7aad389a0b13d91b1cf6'\ # 'a0ecb7f476cb71c0c1ac90d349fc7695') @@ -90,4 +90,6 @@ build() { chown 1000.1000 $startdir/pkg/var/log/mythtv mkdir -p $startdir/pkg/etc/cron.hourly install -m0755 $startdir/src/pretty $startdir/pkg/etc/cron.hourly/ + mkdir -p $startdir/pkg/etc/logrotate.d/ + cp $startdir/src/*.lr $startdir/pkg/etc/logrotate.d } diff --git a/abs/core-testing/mythtv/stable/mythtv/mythbackend.lr b/abs/core-testing/mythtv/stable/mythtv/mythbackend.lr new file mode 100644 index 0000000..4f218bc --- /dev/null +++ b/abs/core-testing/mythtv/stable/mythtv/mythbackend.lr @@ -0,0 +1,9 @@ +/var/log/mythtv/mythbackend.log { + copytruncate + daily + size 10M + missingok + rotate 7 + compress + notifempty +} diff --git a/abs/core-testing/mythtv/stable/mythtv/mythfrontend.lr b/abs/core-testing/mythtv/stable/mythtv/mythfrontend.lr new file mode 100644 index 0000000..1580533 --- /dev/null +++ b/abs/core-testing/mythtv/stable/mythtv/mythfrontend.lr @@ -0,0 +1,9 @@ +/var/log/mythtv/mythfrontend.log { + copytruncate + daily + size 10M + missingok + rotate 7 + compress + notifempty +} -- cgit v0.12