[arch-commits] CVS update of extra/x11/slim (PKGBUILD slim.logrotate)

Aaron Griffin aaron at archlinux.org
Thu Sep 27 23:06:24 UTC 2007


    Date: Thursday, September 27, 2007 @ 19:06:24
  Author: aaron
    Path: /home/cvs-extra/extra/x11/slim

   Added: slim.logrotate (1.1)
Modified: PKGBUILD (1.5 -> 1.6)

upgpkg: slim 1.3.0-2
Fix FS#8015


----------------+
 PKGBUILD       |   14 +++++++-------
 slim.logrotate |    9 +++++++++
 2 files changed, 16 insertions(+), 7 deletions(-)


Index: extra/x11/slim/PKGBUILD
diff -u extra/x11/slim/PKGBUILD:1.5 extra/x11/slim/PKGBUILD:1.6
--- extra/x11/slim/PKGBUILD:1.5	Sun Aug 12 03:10:40 2007
+++ extra/x11/slim/PKGBUILD	Thu Sep 27 19:06:24 2007
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD,v 1.5 2007/08/12 07:10:40 aaron Exp $
+# $Id: PKGBUILD,v 1.6 2007/09/27 23:06:24 aaron Exp $
 # Maintainer : Aaron Griffin <aaron at archlinux.org>
 # Contributor: Hugo Ideler <hugoideler at dse.nl>
 
 pkgname=slim
 pkgver=1.3.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Simple Login Manager for X11"
 arch=(i686 x86_64)
 url="http://slim.berlios.de"
@@ -12,8 +12,8 @@
 depends=(gcc libxmu libxft libjpeg libpng bash)
 install=slim.install
 license=('GPL')
-source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz slim)
-md5sums=('1c1a87f3cbd3c334c874585e42701961' '07431fcbd753d3abbcfedaa76401e212')
+source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz
+        slim slim.logrotate)
 
 build() {
   cd $startdir/src/$pkgname-$pkgver
@@ -27,12 +27,12 @@
   sed -i "s|/usr/X11R6/|/usr/|g" slim.conf
   make DESTDIR=$startdir/pkg install
 
-  mkdir -p $startdir/pkg/etc/rc.d/
-  install -m755 -o root -g root $startdir/src/slim $startdir/pkg/etc/rc.d/
+  install -D -m755 -o root -g root $startdir/src/slim $startdir/pkg/etc/rc.d/slim
+  install -D -m644 -o root -g root $startdir/src/slim.logrotate $startdir/pkg/etc/logrotate.d/slim
 
   # let's make this a tad safer... "sane defaults" and all
   sed -i "s@#xserver_arguments.*@xserver_arguments   -nolisten tcp vt07@"\
-  $startdir/pkg/etc/slim.conf
+    $startdir/pkg/etc/slim.conf
 
   # lockfile is defaulted in /var/run, which is not cleared at boot
   # (causes problems) - thanks bogomipz
Index: extra/x11/slim/slim.logrotate
diff -u /dev/null extra/x11/slim/slim.logrotate:1.1
--- /dev/null	Thu Sep 27 19:06:23 2007
+++ extra/x11/slim/slim.logrotate	Thu Sep 27 19:06:24 2007
@@ -0,0 +1,9 @@
+/var/log/slim.log {
+    compress
+    rotate 1
+    size=+1024k
+    notifempty
+    missingok
+    copytruncate
+    noolddir
+}




More information about the arch-commits mailing list