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

menuconfig FAM
	tristate
	depends on BROKEN
	prompt "fam                           "
	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.

if FAM

config FAM_LIBRARY
	bool
	default n
	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
		  This installs a startup configuration for famd from inetd. It adds to
		  the /etc/inetd.conf a line like this:
		   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_INETD_STRING
	string
	depends on FAM_INETD_SERVER
	prompt "inetd service entry"
	default "sgi_fam/1-2 stream  rpc/tcp wait root /usr/sbin/famd famd -c /etc/fam.conf"
	help
	  This string is added to inetd's configuration /etc/inetd.conf.

choice
	prompt "Kind of startup script"
	default ROOTFS_ETC_INITD_FAM_DEFAULT
	depends on FAM_STARTUP_TYPE_STANDALONE

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

	config ROOTFS_ETC_INITD_FAM_USER
		bool
		prompt "User defined"
		help
		  This uses a user defined fam startup script. PTXdist
		  uses files projectroot/etc/init.d/famd in your local
		  project

endchoice
endif