CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
openssl: adapted to 64b
[crossrootfs.git] / sysklogd / Pkgfile
index 16f98da13266dd1f8d56d2f788db8a88da23df2d..96cea88d061b2df0138987131568b3d20d866066 100644 (file)
@@ -1,13 +1,13 @@
 # Description: Kernel and system logging daemons
 # URL: http://www.infodrom.org/projects/sysklogd/
 # Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
 # Depends on:
 
 name=sysklogd
-version=1.5
-release=4
-source=(http://www.ibiblio.org/pub/Linux/system/daemons/$name-$version.tar.gz \
+version=1.5.1
+release=3
+source=(http://www.infodrom.org/projects/$name/download/$name-$version.tar.gz \
         rotatelog syslog syslog.conf sysklogd)
 
 build() {
@@ -19,13 +19,13 @@ build() {
   mkdir -p $PKG/usr/sbin \
            $PKG/etc/{cron/weekly,rc.d} \
            $PKG/var/log \
-           $PKG/usr/man/{man5,man8}
+           $PKG/usr/share/man/{man5,man8}
 
   # no strip sysklogd and klogd binaries
   sed -e 's|${INSTALL} -m 500 -s|${INSTALL} -m 500|' -i Makefile
 
   make RPM_OPT_FLAGS="$CFLAGS" CC="$CC" all
-  make BINDIR=$PKG/usr/sbin MANDIR=$PKG/usr/man install
+  make BINDIR=$PKG/usr/sbin MANDIR=$PKG/usr/share/man install
 
   install -m 755 $SRC/rotatelog $PKG/usr/sbin
   install -m 755 $SRC/syslog $PKG/etc/cron/weekly
@@ -33,6 +33,6 @@ build() {
   install -m 755 $SRC/sysklogd $PKG/etc/rc.d
 
   chmod -R +w $PKG
-  touch $PKG/var/log/{messages,auth,mail}
-  chmod 640 $PKG/var/log/{messages,auth,mail}
+  touch $PKG/var/log/{messages,auth,mail,cron,kernel,debug}
+  chmod 640 $PKG/var/log/{messages,auth,mail,cron,kernel,debug}
 }