openbsd-ports/sysutils/system-tools-backends/patches/patch-Init_ServicesList_pm
2011-04-03 17:25:33 +00:00

71 lines
2.2 KiB
Plaintext

$OpenBSD: patch-Init_ServicesList_pm,v 1.3 2011/04/03 17:25:33 ajacoutot Exp $
--- Init/ServicesList.pm.orig Mon Dec 6 13:27:38 2010
+++ Init/ServicesList.pm Sun Apr 3 19:23:22 2011
@@ -177,6 +177,18 @@ sub is_forbidden
"ureadahead",
"wpa-ifupdown",
"x11-common",
+ # This was found in OpenBSD. Some scripts are blacklisted because
+ # they're supposed to be started by a master script,
+ # e.g. samba -> smbd+nmbd.
+ "rc.subr",
+ "nmbd",
+ "smbd",
+ "zarafa_gateway",
+ "zarafa_ical",
+ "zarafa_indexer",
+ "zarafa_monitor",
+ "zarafa_server",
+ "zarafa_spooler",
];
foreach $i (@$service_forbidden_list)
@@ -225,6 +237,7 @@ sub get_role
"am-utils" => "AUTOMOUNTER",
"amavis" => "ANTIVIRUS",
"amavis-ng" => "ANTIVIRUS",
+ "amavisd" => "ANTIVIRUS",
"apache" => "WEB_SERVER",
"apache-perl" => "WEB_SERVER",
"apache-ssl" => "WEB_SERVER",
@@ -242,6 +255,7 @@ sub get_role
"chargen-udp" => "NETWORK",
"cherokee" => "WEB_SERVER",
"clamav-daemon" => "ANTIVIRUS",
+ "clamd" => "ANTIVIRUS",
"courier" => "MTA",
"courier-mta" => "MTA",
"cpufreqd" => "SYSTEM",
@@ -252,6 +266,7 @@ sub get_role
"daytime" => "NETWORK",
"daytime-udp" => "NETWORK",
"dbus-1" => "SYSTEM",
+ "dbus_daemon" => "SYSTEM",
"ddclient" => "DYNAMIC_DNS",
"dhis-client" => "DYNAMIC_DNS",
"dictd" => "DICT",
@@ -293,6 +308,7 @@ sub get_role
"modules" => "SYSTEM",
"module-init-tools" => "SYSTEM",
"mysql" => "DATABASE_SERVER",
+ "mysqld" => "DATABASE_SERVER",
"muddleftpd" => "FTP_SERVER",
"named" => "NETWORK",
"netfs" => "SYSTEM",
@@ -335,6 +351,7 @@ sub get_role
"services" => "NETWORK",
"setserial" => "SYSTEM",
"sgi_fam" => "SYSTEM",
+ "smartd" => "SYSTEM",
"smartmontools" => "SYSTEM",
"spamassassin" => "SYSTEM",
"snmpd" => "NETWORK",
@@ -352,6 +369,7 @@ sub get_role
"wdm" => "DISPLAY_MANAGER",
"webmin" => "SYSTEM", # FIXME as well
"winbind" => "NETWORK",
+ "winbindd" => "NETWORK",
"wine" => "SYSTEM", # FIXME like vmware
"wu-ftpd" => "FTP_SERVER",
"wzdftpd" => "FTP_SERVER",