sysklogd: remove, it's obsolete and you probably don't need it.

This commit is contained in:
Juan RP 2011-06-03 08:15:52 +02:00
parent d83a90a26b
commit 3e9db50555
5 changed files with 0 additions and 107 deletions

View File

@ -1,15 +0,0 @@
#!/bin/sh
#
# PROVIDE: klogd
# REQUIRE: NETWORKING
# BEFORE: syslogd
$_rc_subr_loaded . /etc/rc.subr
name="klogd"
rcvar=$name
command="/sbin/klogd"
command_args="-c4"
load_rc_config $name
run_rc_command "$1"

View File

@ -1,4 +0,0 @@
auth,authpriv.* -/var/log/authlog
*.*;daemon.*,kern.*,user.*;auth,authpriv.none -/var/log/messages
mail.* -/var/log/maillog
*.emerg *

View File

@ -1,14 +0,0 @@
#!/bin/sh
#
# PROVIDE: syslogd
# REQUIRE: NETWORKING
$_rc_subr_loaded . /etc/rc.subr
name="syslogd"
rcvar=$name
command="/sbin/syslogd"
command_args="-m0"
load_rc_config $name
run_rc_command "$1"

View File

@ -1,39 +0,0 @@
--- Makefile.orig 2008-12-15 02:35:56.000000000 +0100
+++ Makefile 2008-12-15 02:38:10.000000000 +0100
@@ -27,10 +27,10 @@ SKFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fo
LDFLAGS= -s
# Look where your install program is.
-INSTALL = /usr/bin/install
+INSTALL = install
# Destination paths, set prefix=/opt if required
-BINDIR = $(prefix)/usr/sbin
+BINDIR = $(prefix)/sbin
MANDIR = $(prefix)/usr/share/man
# There is one report that under an all ELF system there may be a need to
@@ -127,14 +127,17 @@ clobber: clean
rm -f syslogd klogd ksym syslog_tst oops_test TAGS tsyslogd tklogd
install_exec: syslogd klogd
- ${INSTALL} -m 500 -s syslogd ${BINDIR}/syslogd
- ${INSTALL} -m 500 -s klogd ${BINDIR}/klogd
+ ${INSTALL} -d ${BINDIR}
+ ${INSTALL} -s syslogd ${BINDIR}/syslogd
+ ${INSTALL} -s klogd ${BINDIR}/klogd
install_man:
- ${INSTALL} -o ${MAN_USER} -g ${MAN_GROUP} -m ${MAN_PERMS} sysklogd.8 ${MANDIR}/man8/sysklogd.8
- ${INSTALL} -o ${MAN_USER} -g ${MAN_GROUP} -m ${MAN_PERMS} syslogd.8 ${MANDIR}/man8/syslogd.8
- ${INSTALL} -o ${MAN_USER} -g ${MAN_GROUP} -m ${MAN_PERMS} syslog.conf.5 ${MANDIR}/man5/syslog.conf.5
- ${INSTALL} -o ${MAN_USER} -g ${MAN_GROUP} -m ${MAN_PERMS} klogd.8 ${MANDIR}/man8/klogd.8
+ ${INSTALL} -d ${MANDIR}/man5
+ ${INSTALL} -d ${MANDIR}/man8
+ ${INSTALL} -m ${MAN_PERMS} sysklogd.8 ${MANDIR}/man8/sysklogd.8
+ ${INSTALL} -m ${MAN_PERMS} syslogd.8 ${MANDIR}/man8/syslogd.8
+ ${INSTALL} -m ${MAN_PERMS} syslog.conf.5 ${MANDIR}/man5/syslog.conf.5
+ ${INSTALL} -m ${MAN_PERMS} klogd.8 ${MANDIR}/man8/klogd.8
obj-m += oops.o

View File

@ -1,35 +0,0 @@
# Template file for 'sysklogd'
pkgname=sysklogd
version=1.5
revision=1
distfiles="
http://www.infodrom.org/projects/sysklogd/download/$pkgname-$version.tar.gz"
build_style=gnu_makefile
make_install_target="prefix=$XBPS_DESTDIR/$pkgname-$version install"
short_desc="Kernel and system logging daemons"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=6169b8e91d29288e90404f01462b69e7f2afb1161aa419826fe4736c7f9eb773
long_desc="
This package implements two system log daemons. The syslogd daemon is an
enhanced version of the standard Berkeley utility program. This daemon is
responsible for providing logging of messages received from programs and
facilities on the local host as well as from remote hosts.
The klogd daemon listens to kernel message sources and is responsible for
prioritizing and processing operating system messages. The klogd daemon can
run as a client of syslogd or optionally as a standalone program.
Klogd can now be used to decode EIP addresses if it can determine a
System.map file."
conf_files="/etc/syslog.conf"
Add_dependency full glibc
post_install()
{
# Install the rc.d scripts and conf file.
install -d ${DESTDIR}/etc/rc.d
install -m755 ${FILESDIR}/klogd ${DESTDIR}/etc/rc.d
install -m755 ${FILESDIR}/syslogd ${DESTDIR}/etc/rc.d
install -m644 ${FILESDIR}/syslog.conf ${DESTDIR}/etc
}