pkgbase: Create a FreeBSD-syslogd package
This allow one to not install syslogd and use syslog-ng or any other syslog daemon. While here put some syslog.d file in their own package. MFC after: 2 weeks Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D33455
This commit is contained in:
parent
b3d14eaccc
commit
25367c806b
@ -110,6 +110,8 @@ svn_COMMENT= Subversion Version Control System
|
||||
svn_DESC= Subversion Version Control System
|
||||
syscons_COMMENT= Syscons Console
|
||||
syscons_DESC= Syscons Console
|
||||
syslogd_COMMENT= Syslog Daemon
|
||||
syslogd_DESC= Syslog Daemon
|
||||
tcpd_COMMENT= TCP Wrapper utilities
|
||||
tcpd_DESC= TCP Wrapper utilities
|
||||
telnet_COMMENT= Telnet and telnetd
|
||||
|
@ -5,11 +5,14 @@
|
||||
|
||||
.PATH: ${SRCTOP}/usr.bin/wall
|
||||
|
||||
PACKAGE= syslogd
|
||||
|
||||
CONFGROUPS= CONFS SYSLOGD_D
|
||||
CONFS= syslog.conf
|
||||
PROG= syslogd
|
||||
MAN= syslog.conf.5 syslogd.8
|
||||
SRCS= syslogd.c ttymsg.c
|
||||
SYSLOGD_DPACAKGE= syslogd
|
||||
|
||||
LIBADD= util
|
||||
|
||||
@ -23,7 +26,10 @@ CFLAGS+= -DINET6
|
||||
SYSLOGD_D=
|
||||
SYSLOGD_DDIR= /etc/syslog.d
|
||||
.if ${MK_FTP} != "no"
|
||||
SYSLOGD_D+= ftp.conf
|
||||
CONFGROUPS+= FTP
|
||||
FTP+= ftp.conf
|
||||
FTPDIR= /etc/syslog.d
|
||||
FTPPACKAGE= ftpd
|
||||
.endif
|
||||
|
||||
.if ${MK_LPR} != "no"
|
||||
@ -31,7 +37,10 @@ SYSLOGD_D+= lpr.conf
|
||||
.endif
|
||||
|
||||
.if ${MK_PPP} != "no"
|
||||
SYSLOGD_D+= ppp.conf
|
||||
CONFGROUPS+= PPP
|
||||
PPP+= ppp.conf
|
||||
PPPDIR= /etc/syslog.d
|
||||
PPPPACKAGE= ppp
|
||||
.endif
|
||||
|
||||
CFLAGS+= -I${SRCTOP}/usr.bin/wall
|
||||
|
Loading…
Reference in New Issue
Block a user