summaryrefslogtreecommitdiffstats
path: root/rules/syslogng.in
blob: ca42c117a786e3edd12136f56e5be9f3cff60da3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# syslog-ng configuration

menuconfig SYSLOGNG
	bool
	prompt "syslog-ng           "
	select EVENTLOG
	select GLIB
	help
	  The next generation syslog daemon.

# disabled. Feature implementations are broken
#config SYSLOGNG_SUPPORT_IPV6
#	bool
#	depends on SYSLOGNG
#	prompt "Support ipv6"
#	help
#	  Enable ipv6 support, otherwise ipv4 is supported only
#
#config SYSLOGNG_SUNSTREAMS
#	bool
#	depends on SYSLOGNG
#	prompt "sun streams support"
#	help
#	  Support for Sun STREAMS.
#
#config SYSLOGNG_SUNDOOR
#	bool
#	depends on SYSLOGNG
#	prompt "sun door support"
#	help
#	  Support for Sun door

config SYSLOGNG_TCPWRAPPER
	bool
	depends on SYSLOGNG
	prompt "tcpwrapper support"
	help
	  Support /etc/hosts.deny and /etc/hosts.allow.

config SYSLOGNG_SPOOF_SOURCE
	bool
	depends on SYSLOGNG
	prompt "spoof_source feature"
	help
	  FIXME: missing

comment "runtime options   ---"
	depends on SYSLOGNG

config ROOTFS_ETC_SYSLOGNG_CONFIG
	depends on SYSLOGNG
	bool
	default y
	prompt "Install configuration file"
	help
	  Installs a /etc/syslog-ng.conf from a selectable source.

	choice
		prompt "Kind of configuration file"
		depends on ROOTFS_ETC_SYSLOGNG_CONFIG
		default ROOTFS_ETC_SYSLOGNG_CONFIG_DEFAULT

		config ROOTFS_ETC_SYSLOGNG_CONFIG_DEFAULT
			bool
			prompt "Use generic"
			help
			  Installs a generic /etc/syslog-ng.conf.
			  See <ptxdist-install>/generic/etc/syslog-ng.conf

		config ROOTFS_ETC_SYSLOGNG_CONFIG_USER
			bool
			prompt "User defined"
			help
			  This uses a user defined syslog-ng.conf file. PTXdist
			  uses file projectroot/etc/syslog-ng.conf in your local
			  project

	endchoice

config ROOTFS_ETC_INITD_SYSLOGNG_STARTSCRIPT
	depends on SYSLOGNG
	bool
	default y
	prompt "Install startup script"
	help
	  The /etc/init.d/syslog-ng script lets you control the syslog-ng daemon.

	choice
		prompt "Kind of startup script"
		depends on ROOTFS_ETC_INITD_SYSLOGNG_STARTSCRIPT
		default ROOTFS_ETC_INITD_SYSLOGNG_DEFAULT

		config ROOTFS_ETC_INITD_SYSLOGNG_DEFAULT
			bool
			prompt "Use generic"
			help
			  Installs a generic /etc/init.d/syslog-ng startup script.
			  See <ptxdist-install>/generic/etc/init.d/syslog-ng

		config ROOTFS_ETC_INITD_SYSLOGNG_USER
			bool
			prompt "User defined"
			help
			  This uses a user defined syslog-ng startup script. PTXdist
			  uses file projectroot/etc/init.d/syslog-ng in your local
			  project

	endchoice