1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5CONFDIR= /etc/rc.d 6CONFGROUPS= CONFS 7#PACKAGE=rc 8 9CONFS= DAEMON \ 10 FILESYSTEMS \ 11 LOGIN \ 12 NETWORKING \ 13 SERVERS \ 14 abi \ 15 addswap \ 16 adjkerntz \ 17 archdep \ 18 auditd \ 19 auditdistd \ 20 bgfsck \ 21 ${_blacklistd} \ 22 ${_bluetooth} \ 23 bridge \ 24 ${_bthidd} \ 25 cfumass \ 26 cleanvar \ 27 cleartmp \ 28 cron \ 29 ctld \ 30 ddb \ 31 defaultroute \ 32 devd \ 33 devfs \ 34 devmatch \ 35 dhclient \ 36 dmesg \ 37 dumpon \ 38 fsck \ 39 gbde \ 40 geli \ 41 geli2 \ 42 gptboot \ 43 growfs \ 44 gssd \ 45 ${_hcsecd} \ 46 hostid \ 47 hostid_save \ 48 hostname \ 49 iovctl \ 50 ip6addrctl \ 51 ipfilter \ 52 ipfs \ 53 ipmon \ 54 ipnat \ 55 ipsec \ 56 ${_kadmind} \ 57 ${_kdc} \ 58 ${_kfd} \ 59 kld \ 60 kldxref \ 61 ${_kpasswdd} \ 62 ldconfig \ 63 local \ 64 localpkg \ 65 lockd \ 66 mixer \ 67 motd \ 68 mountcritlocal \ 69 mountcritremote \ 70 mountlate \ 71 mdconfig \ 72 mdconfig2 \ 73 mountd \ 74 msgs \ 75 natd \ 76 netif \ 77 netoptions \ 78 netwait \ 79 newsyslog \ 80 nfsclient \ 81 nfscbd \ 82 nfsd \ 83 nfsuserd \ 84 nisdomain \ 85 ${_nscd} \ 86 nsswitch \ 87 ntpdate \ 88 ${_opensm} \ 89 pf \ 90 pflog \ 91 pfsync \ 92 ppp \ 93 pppoed \ 94 pwcheck \ 95 quota \ 96 random \ 97 rarpd \ 98 rctl \ 99 resolv \ 100 root \ 101 route6d \ 102 routing \ 103 rpcbind \ 104 rtadvd \ 105 rtsold \ 106 rwho \ 107 savecore \ 108 securelevel \ 109 serial \ 110 sppp \ 111 statd \ 112 static_arp \ 113 static_ndp \ 114 stf \ 115 swap \ 116 swaplate \ 117 sysctl \ 118 syslogd \ 119 tmp \ 120 ${_ubthidhci} \ 121 ugidfw \ 122 ${_utx} \ 123 var \ 124 watchdogd 125 126.if ${MK_NIS} != "no" 127CONFS+= ypbind \ 128 ypldap \ 129 yppasswdd \ 130 ypserv \ 131 ypset \ 132 ypupdated \ 133 ypxfrd 134.endif 135 136.if ${MK_ACCT} != "no" 137CONFGROUPS+= ACCT 138ACCT+= accounting 139ACCTPACKAGE= acct 140.endif 141 142.if ${MK_ACPI} != "no" 143CONFGROUPS+= ACPI 144ACPI= power_profile 145ACPIPACKAGE= acpi 146.endif 147 148.if ${MK_ACPI} != "no" || ${MK_APM} != "no" 149CONFS+= powerd 150.endif 151 152.if ${MK_AMD} != "no" 153CONFGROUPS+= AMD 154AMD+= amd 155AMDPACKAGE= amd 156.endif 157 158.if ${MK_APM} != "no" 159CONFGROUPS+= APM 160APM+= apm 161.if ${MACHINE} == "i386" 162APM+= apmd 163.endif 164APMPACKAGE= apm 165.endif 166 167.if ${MK_AUTOFS} != "no" 168CONFS+= automount 169CONFS+= automountd 170CONFS+= autounmountd 171.endif 172 173.if ${MK_BLACKLIST} != "no" 174_blacklistd+= blacklistd 175.endif 176 177.if ${MK_BLUETOOTH} != "no" 178_bluetooth= bluetooth 179_bthidd= bthidd 180_hcsecd= hcsecd 181CONFS+= rfcomm_pppd_server 182CONFS+= sdpd 183_ubthidhci= ubthidhci 184.endif 185 186.if ${MK_BOOTPARAMD} != "no" 187CONFS+= bootparams 188.endif 189 190.if ${MK_BSNMP} != "no" 191CONFGROUPS+= BSNMP 192BSNMP+= bsnmpd 193BSNMPPACKAGE= bsnmp 194.endif 195 196.if ${MK_CCD} != "no" 197CONFS+= ccd 198.endif 199 200.if ${MK_FTP} != "no" 201CONFS+= ftpd 202.endif 203 204.if ${MK_HAST} != "no" 205CONFGROUPS+= HAST 206HAST= hastd 207HASTPACKAGE= hast 208.endif 209 210.if ${MK_INETD} != "no" 211CONFS+= inetd 212.endif 213 214.if ${MK_IPFW} != "no" 215CONFS+= ipfw 216.if ${MK_NETGRAPH} != "no" 217CONFS+= ipfw_netflow 218.endif 219.endif 220 221.if ${MK_ISCSI} != "no" 222CONFS+= iscsictl 223CONFS+= iscsid 224.endif 225 226.if ${MK_JAIL} != "no" 227CONFGROUPS+= JAIL 228JAIL+= jail 229JAILPACKAGE= jail 230.endif 231 232.if ${MK_LEGACY_CONSOLE} != "no" 233CONFS+= moused 234CONFS+= syscons 235.endif 236 237.if ${MK_LPR} != "no" 238CONFS+= lpd 239.endif 240 241.if ${MK_KERBEROS} != "no" 242CONFS+= ipropd_master 243CONFS+= ipropd_slave 244_kadmind= kadmind 245_kdc= kdc 246_kfd= kfd 247_kpasswdd= kpasswdd 248 249DIRS+= VAR_HEMIDAL 250VAR_HEMIDAL= /var/heimdal 251VAR_HEMIDAL_MODE= 700 252.endif 253 254.if ${MK_MAIL} != "no" 255CONFS+= othermta 256.endif 257 258.if ${MK_NS_CACHING} != "no" 259_nscd= nscd 260.endif 261 262.if ${MK_NTP} != "no" 263CONFS+= ntpd 264.endif 265 266.if ${MK_OFED} != "no" 267_opensm= opensm 268.endif 269 270.if ${MK_OPENSSL} != "no" 271CONFS+= keyserv 272.endif 273 274.if ${MK_OPENSSH} != "no" 275CONFGROUPS+= SSH 276SSH= sshd 277SSHPACKAGE= ssh 278.endif 279 280.if ${MK_PF} != "no" 281CONFS+= ftp-proxy 282.endif 283 284.if ${MK_ROUTED} != "no" 285CONFS+= routed 286.endif 287 288.if ${MK_SENDMAIL} != "no" 289CONFGROUPS+= SMRCD 290SMRCD= sendmail 291SMRCDPACKAGE= sendmail 292.endif 293 294.if ${MK_TIMED} != "no" 295CONFS+= timed 296.endif 297 298.if ${MK_UNBOUND} != "no" 299CONFGROUPS+= UNBOUND 300UNBOUND+= local_unbound 301UNBOUNDPACKAGE= unbound 302.endif 303 304.if ${MK_UTMPX} != "no" 305_utx= utx 306.endif 307 308.if ${MK_VI} != "no" 309CONFGROUPS+= VI 310VI+= virecover 311VIPACKAGE= vi 312.endif 313 314.if ${MK_WIRELESS} != "no" 315CONFS+= hostapd 316CONFS+= wpa_supplicant 317.endif 318 319.if ${MK_ZFS} != "no" 320CONFGROUPS+= ZFS 321ZFS+= zfs 322ZFS+= zfsbe 323ZFS+= zfsd 324ZFS+= zvol 325ZFSPACKAGE= zfs 326DIRS+= ETC_ZFS 327ETC_ZFS= /etc/zfs 328ETC_ZFSPACKAGE= zfs 329.endif 330 331.for fg in ${CONFGROUPS} 332${fg}MODE?= ${BINMODE} 333.endfor 334 335.include <bsd.prog.mk> 336