CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
file: updated to 5.29
[crossrootfs.git] / sysklogd / Pkgfile
index fe8b04adb4e340e51002e7b39a40ae437d1dbbe3..96cea88d061b2df0138987131568b3d20d866066 100644 (file)
@@ -5,9 +5,9 @@
 # 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}
 }