summaryrefslogtreecommitdiffstats
path: root/rules/fam.in
blob: 72e5c581e32f749b42b725f343610eebccbfad5c (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
## SECTION=staging
## old section:
### SECTION=disk_and_file
# fam File Alteration Monitor

menuconfig FAM
	tristate
	prompt "fam                           "
	select LIBC_M
	select PORTMAP
	select GCCLIBS_CXX
	select GCCLIBS_GCC_S
	help
	  FAM (File Alteration Monitor) is a server which tracks changes to the
	  filesystem and relays these changes to interested applications. Its
	  efficiency comes from consolidating the polling for all applications
	  or, with kernel support, from obtaining kernel notifications of file
	  system changes. This also works for network filesystems, if the remote
	  host also runs a fam daemon.

	  This version is patched so it uses the kernel's DNOTIFY feature. Ensure this
	  feature is enabled in the kernel (search for symbol CONFIG_DNOTIFY)

	  This daemon requires portmap to spread its service.

	  STAGING: remove in ptxdist-2019.05.0
	  Old, obsolete and upstream seems to be gone.

if FAM

config FAM_LIBRARY
	bool
	prompt "Install libfam"
	help
	  If there is an application that is linked against libfam check this
	  entry to install this library also on the target

comment "runtime options   ---"

config FAM_DEFAULT_CONF
	bool
	default y
	prompt "Use default config file"
	help
	  This installs fam distribution's fam.conf file. Its almost generic and
	  usable.

choice
	prompt "Kind of startup"
	default FAM_STARTUP_TYPE_STANDALONE

	config FAM_INETD_SERVER
		bool
		prompt "inetd driven"
		help
		  Install a inetd rule for famd. This option adds the following line
		  to /etc/inetd.conf.d/fam:

		  sgi_fam/1-2 stream  rpc/tcp wait root /usr/sbin/famd famd -c /etc/fam.conf

		  Note: You must enable one of the two possible inet daemons: There is
		  one embedded in busybox and one in packet inetutils.

	config FAM_STARTUP_TYPE_STANDALONE
		bool
		prompt "standalone"
		help
		  This installs a startup script into /etc/init.d/portmapd. With
		  this script portmap will be started at system startup and waits
		  for connections

endchoice

config FAM_STARTSCRIPT
	bool
	default y
	prompt "install /etc/init.d/famd"

endif