summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-06 06:46:59 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-06 06:46:59 (GMT)
commita570bbef2eb3d159de626060e39531c21d018f29 (patch)
treef19c08846b5aaa32dbf8fe7cd2d85c602eeb18b7 /abs
parentd750af1992378de933ba197a8e757b92d02c21af (diff)
downloadlinhes_pkgbuild-a570bbef2eb3d159de626060e39531c21d018f29.zip
linhes_pkgbuild-a570bbef2eb3d159de626060e39531c21d018f29.tar.gz
linhes_pkgbuild-a570bbef2eb3d159de626060e39531c21d018f29.tar.bz2
fuppes:Added logrotation.
Diffstat (limited to 'abs')
-rw-r--r--abs/extra-testing/fuppes-svn/PKGBUILD9
-rw-r--r--abs/extra-testing/fuppes-svn/fuppes.lr9
2 files changed, 14 insertions, 4 deletions
diff --git a/abs/extra-testing/fuppes-svn/PKGBUILD b/abs/extra-testing/fuppes-svn/PKGBUILD
index d236fa9..79d11e2 100644
--- a/abs/extra-testing/fuppes-svn/PKGBUILD
+++ b/abs/extra-testing/fuppes-svn/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=fuppes-svn
pkgver=636
-pkgrel=8
+pkgrel=9
pkgdesc="A free, multiplatform Universal Plug and Play A/V MediaServer"
arch=('i686' 'x86_64')
url="http://fuppes.ulrich-voelkel.de/"
@@ -11,7 +11,7 @@ license=('GPL2')
depends=('pcre' 'libxml2' 'sqlite3' 'gettext' 'taglib' 'imagemagick' 'ffmpeg' 'libmp4v2' 'lame' 'libvorbis' 'libmpcdec' 'flac' 'faad2' 'libmad')
makdepends=('pkgconfig' 'autoconf' 'subversion')
install=fuppes.install
-source=(fuppes-r634-archlinux.patch fuppes.diff fuppes.cfg run fuppes.ch)
+source=(fuppes-r634-archlinux.patch fuppes.diff fuppes.cfg run fuppes.ch fuppes.lr)
md5sums=('5d9f6331cc91b64aab69449ce327b214' 'c495fa1bd9a870ae36820632434319ee' \
'b0cef07d8e60d01c8146a69870672e1f' '3850001378088e5efac60487e5550d54' \
'3c355b860f1b0d273f5aa8b2bea1bde6')
@@ -44,8 +44,9 @@ build()
mkdir -p $startdir/pkg/etc/fuppes
cp $startdir/src/fuppes.cfg $startdir/pkg/etc/fuppes
mkdir -p $startdir/pkg/etc/cron.hourly
- mkdir -p $startdir/pkg/etc/sve/fuppes/supervise
+ mkdir -p $startdir/pkg/etc/logrotate.d/
+ mkdir -p $startdir/pkg/etc/sv/fuppes/supervise
install -D -m755 $startdir/src/fuppes.ch $startdir/pkg/etc/cron.hourly
install -D -m755 $startdir/src/run $startdir/pkg/etc/sv/fuppes
+ install -D -m755 $startdir/src/fuppes.lr $startdir/pkg/etc/logrotate.d
}
-
diff --git a/abs/extra-testing/fuppes-svn/fuppes.lr b/abs/extra-testing/fuppes-svn/fuppes.lr
new file mode 100644
index 0000000..ec2f88f
--- /dev/null
+++ b/abs/extra-testing/fuppes-svn/fuppes.lr
@@ -0,0 +1,9 @@
+/var/log/fuppes/fuppes.log {
+ copytruncate
+ daily
+ size 10M
+ missingok
+ rotate 7
+ compress
+ notifempty
+}