summaryrefslogtreecommitdiffstats
path: root/sysklogd/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 19:15:23 +0100
committerLukc <lukc@upyum.com>2010-12-11 19:15:35 +0100
commit6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch)
treeb5e6da6d95b9a1235d82032b509b80483a886ff5 /sysklogd/Pkgfile
downloadbase-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip
Engagement initial.
Diffstat (limited to 'sysklogd/Pkgfile')
-rw-r--r--sysklogd/Pkgfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/sysklogd/Pkgfile b/sysklogd/Pkgfile
new file mode 100644
index 0000000..67fe33e
--- /dev/null
+++ b/sysklogd/Pkgfile
@@ -0,0 +1,25 @@
+description="Kernel and system logging daemons"
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
+url="http://www.infodrom.org/projects/sysklogd/"
+depends=()
+
+name=sysklogd
+version=1.5
+release=4
+source=(http://www.ibiblio.org/pub/Linux/system/daemons/sysklogd-1.5.tar.gz rotatelog syslog syslog.conf sysklogd)
+build ()
+{
+ cd $name-$version;
+ sed -i -e '192d' ksym_mod.c;
+ mkdir -p $PKG/usr/sbin $PKG/etc/{cron/weekly,rc.d} $PKG/var/log $PKG/usr/man/{man5,man8};
+ make RPM_OPT_FLAGS="$CFLAGS" all;
+ make BINDIR=$PKG/usr/sbin MANDIR=$PKG/usr/man install;
+ install -m 755 $SRC/rotatelog $PKG/usr/sbin;
+ install -m 755 $SRC/syslog $PKG/etc/cron/weekly;
+ install -m 644 $SRC/syslog.conf $PKG/etc;
+ install -m 755 $SRC/sysklogd $PKG/etc/rc.d;
+ chmod -R +w $PKG;
+ touch $PKG/var/log/{messages,auth,mail,cron,kernel,debug};
+ chmod 640 $PKG/var/log/{messages,auth,mail,cron,kernel,debug}
+}