summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv/trunk
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/mythtv/trunk')
-rwxr-xr-xabs/core-testing/mythtv/trunk/mythtv/PKGBUILD6
-rw-r--r--abs/core-testing/mythtv/trunk/mythtv/mythbackend.lr9
-rw-r--r--abs/core-testing/mythtv/trunk/mythtv/mythfrontend.lr9
3 files changed, 22 insertions, 2 deletions
diff --git a/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD b/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD
index 21fd554..ec1e9cb 100755
--- a/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD
+++ b/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=mythtv-svn
pkgver=20414
-pkgrel=1
+pkgrel=2
pkgdesc="A personal video recorder for Linux"
url="http://www.mythtv.org"
license="GPL"
@@ -17,7 +17,7 @@ install='mythtv.install'
patchs=('smolt_jump.patch' 'myththemedmenu.h.patch' 'myththemedmenu.cpp.patch' 'DeviceReadBuffer-polltimeout.2.patch')
#patchs=('svn_main_menu_popup.patch' 'smolt_jump.patch' 'DeviceReadBuffer-polltimeout.2.patch')
-source=('mythbackend' 'myth.sh' `echo ${patchs[@]:0}` )
+source=('mythbackend' 'myth.sh' `echo ${patchs[@]:0}` 'mythbackend.lr' 'mythfrontend.lr')
arch=('i686' 'x86_64')
#md5sums=()
@@ -77,6 +77,8 @@ build() {
# make log dir
mkdir -p $startdir/pkg/var/log/mythtv
chown 1000.1000 $startdir/pkg/var/log/mythtv
+ mkdir -p $startdir/pkg/etc/logrotate.d
+ cp $startdir/src/*.lr $startdir/pkg/etc/logrotate.d
}
diff --git a/abs/core-testing/mythtv/trunk/mythtv/mythbackend.lr b/abs/core-testing/mythtv/trunk/mythtv/mythbackend.lr
new file mode 100644
index 0000000..4f218bc
--- /dev/null
+++ b/abs/core-testing/mythtv/trunk/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/trunk/mythtv/mythfrontend.lr b/abs/core-testing/mythtv/trunk/mythtv/mythfrontend.lr
new file mode 100644
index 0000000..1580533
--- /dev/null
+++ b/abs/core-testing/mythtv/trunk/mythtv/mythfrontend.lr
@@ -0,0 +1,9 @@
+/var/log/mythtv/mythfrontend.log {
+ copytruncate
+ daily
+ size 10M
+ missingok
+ rotate 7
+ compress
+ notifempty
+}