CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
signify: initial import
[crossrootfs.git] / sysklogd / Pkgfile
index 96cea88d061b2df0138987131568b3d20d866066..641b5c07600c912f90bb977d63e4d4173b205a02 100644 (file)
@@ -6,20 +6,19 @@
 
 name=sysklogd
 version=1.5.1
-release=3
+release=6
 source=(http://www.infodrom.org/projects/$name/download/$name-$version.tar.gz \
-        rotatelog syslog syslog.conf sysklogd)
+        rotatelog syslog syslog.conf sysklogd sysklogd.diff)
 
 build() {
   cd $name-$version
 
-  # don't try to fclose(NULL)
-  sed -i -e '192d' ksym_mod.c
+  patch -p1 -i $SRC/sysklogd.diff
 
-  mkdir -p $PKG/usr/sbin \
-           $PKG/etc/{cron/weekly,rc.d} \
-           $PKG/var/log \
-           $PKG/usr/share/man/{man5,man8}
+  install -d $PKG/usr/sbin \
+             $PKG/etc/{cron/weekly,rc.d} \
+             $PKG/var/log \
+             $PKG/usr/share/man/{man5,man8}
 
   # no strip sysklogd and klogd binaries
   sed -e 's|${INSTALL} -m 500 -s|${INSTALL} -m 500|' -i Makefile