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:
Emmanuel Vadot 2021-12-15 10:34:00 +01:00
parent b3d14eaccc
commit 25367c806b
2 changed files with 13 additions and 2 deletions

View File

@ -110,6 +110,8 @@ svn_COMMENT= Subversion Version Control System
svn_DESC= Subversion Version Control System svn_DESC= Subversion Version Control System
syscons_COMMENT= Syscons Console syscons_COMMENT= Syscons Console
syscons_DESC= Syscons Console syscons_DESC= Syscons Console
syslogd_COMMENT= Syslog Daemon
syslogd_DESC= Syslog Daemon
tcpd_COMMENT= TCP Wrapper utilities tcpd_COMMENT= TCP Wrapper utilities
tcpd_DESC= TCP Wrapper utilities tcpd_DESC= TCP Wrapper utilities
telnet_COMMENT= Telnet and telnetd telnet_COMMENT= Telnet and telnetd

View File

@ -5,11 +5,14 @@
.PATH: ${SRCTOP}/usr.bin/wall .PATH: ${SRCTOP}/usr.bin/wall
PACKAGE= syslogd
CONFGROUPS= CONFS SYSLOGD_D CONFGROUPS= CONFS SYSLOGD_D
CONFS= syslog.conf CONFS= syslog.conf
PROG= syslogd PROG= syslogd
MAN= syslog.conf.5 syslogd.8 MAN= syslog.conf.5 syslogd.8
SRCS= syslogd.c ttymsg.c SRCS= syslogd.c ttymsg.c
SYSLOGD_DPACAKGE= syslogd
LIBADD= util LIBADD= util
@ -23,7 +26,10 @@ CFLAGS+= -DINET6
SYSLOGD_D= SYSLOGD_D=
SYSLOGD_DDIR= /etc/syslog.d SYSLOGD_DDIR= /etc/syslog.d
.if ${MK_FTP} != "no" .if ${MK_FTP} != "no"
SYSLOGD_D+= ftp.conf CONFGROUPS+= FTP
FTP+= ftp.conf
FTPDIR= /etc/syslog.d
FTPPACKAGE= ftpd
.endif .endif
.if ${MK_LPR} != "no" .if ${MK_LPR} != "no"
@ -31,7 +37,10 @@ SYSLOGD_D+= lpr.conf
.endif .endif
.if ${MK_PPP} != "no" .if ${MK_PPP} != "no"
SYSLOGD_D+= ppp.conf CONFGROUPS+= PPP
PPP+= ppp.conf
PPPDIR= /etc/syslog.d
PPPPACKAGE= ppp
.endif .endif
CFLAGS+= -I${SRCTOP}/usr.bin/wall CFLAGS+= -I${SRCTOP}/usr.bin/wall