summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-05-01 00:03:30 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-05-01 00:03:30 (GMT)
commit06546852a0d981fda8611eb3adf48e0afeac3947 (patch)
treed9b5f50d19834788f22d968aa99db26e0d982e8b /abs
parente4afdb47407c28eb3616cd8878cf0955431a2bf4 (diff)
downloadlinhes_pkgbuild-06546852a0d981fda8611eb3adf48e0afeac3947.zip
linhes_pkgbuild-06546852a0d981fda8611eb3adf48e0afeac3947.tar.gz
linhes_pkgbuild-06546852a0d981fda8611eb3adf48e0afeac3947.tar.bz2
Latest -fixes and logrotation configuration for frontend and backend logs.
Diffstat (limited to 'abs')
-rw-r--r--abs/core-testing/mythtv/stable/mythtv/PKGBUILD6
-rw-r--r--abs/core-testing/mythtv/stable/mythtv/mythbackend.lr9
-rw-r--r--abs/core-testing/mythtv/stable/mythtv/mythfrontend.lr9
3 files changed, 22 insertions, 2 deletions
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
+}