Register rc.d scripts which names are different than the ones provided

here so that we can have their description.

ok jasper@
This commit is contained in:
ajacoutot 2011-01-17 22:55:26 +00:00
parent de6f7e4573
commit fdd3a3f909
2 changed files with 63 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.12 2011/01/17 17:51:25 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.13 2011/01/17 22:55:26 ajacoutot Exp $
SHARED_ONLY= Yes
@ -7,7 +7,7 @@ COMMENT= sytem configuration GUI for desktops
GNOME_PROJECT= gnome-system-tools
GNOME_VERSION= 2.32.0
REVISION= 5
REVISION= 6
CATEGORIES= sysutils

View File

@ -0,0 +1,61 @@
$OpenBSD: patch-src_common_gst-service-role_c,v 1.1 2011/01/17 22:55:26 ajacoutot Exp $
--- src/common/gst-service-role.c.orig Sun Mar 14 15:18:24 2010
+++ src/common/gst-service-role.c Mon Jan 17 23:42:37 2011
@@ -42,6 +42,7 @@ static ServiceRole services[] = {
{ "am-utils", GST_ROLE_AUTOMOUNTER },
{ "amavis", GST_ROLE_ANTIVIRUS },
{ "amavis-ng", GST_ROLE_ANTIVIRUS },
+ { "amavisd", GST_ROLE_ANTIVIRUS },
{ "anacron", GST_ROLE_COMMAND_SCHEDULER },
{ "apache", GST_ROLE_WEB_SERVER },
{ "apache-perl", GST_ROLE_WEB_SERVER },
@@ -56,7 +57,9 @@ static ServiceRole services[] = {
{ "aumix", GST_ROLE_AUDIO_MANAGEMENT },
{ "autofs", GST_ROLE_AUTOMOUNTER },
{ "avahi-daemon", GST_ROLE_RENDEZVOUS },
+ { "avahi_daemon", GST_ROLE_RENDEZVOUS },
{ "avahi-dnsconfd", GST_ROLE_RENDEZVOUS },
+ { "avahi_dnsconfd", GST_ROLE_RENDEZVOUS },
{ "backuppc", GST_ROLE_REMOTE_BACKUP },
{ "bind", GST_ROLE_DNS },
{ "bind9", GST_ROLE_DNS },
@@ -72,6 +75,7 @@ static ServiceRole services[] = {
{ "cman", GST_ROLE_CLUSTER_MANAGEMENT },
{ "courier", GST_ROLE_MTA },
{ "courier-authdaemon", GST_ROLE_MTA_AUTH },
+ { "courier_authdaemon", GST_ROLE_MTA_AUTH },
{ "courier-mta", GST_ROLE_MTA },
{ "cron", GST_ROLE_COMMAND_SCHEDULER },
{ "crond", GST_ROLE_COMMAND_SCHEDULER },
@@ -79,6 +83,7 @@ static ServiceRole services[] = {
{ "cupsd", GST_ROLE_PRINTER_SERVICE },
{ "cupsys", GST_ROLE_PRINTER_SERVICE },
{ "dbus", GST_ROLE_DBUS },
+ { "dbus_daemon", GST_ROLE_DBUS },
{ "ddclient", GST_ROLE_DYNAMIC_DNS_SERVICE },
{ "dhcdbd", GST_ROLE_NETWORK },
{ "dhcp3-server", GST_ROLE_DHCP_SERVER },
@@ -139,6 +144,7 @@ static ServiceRole services[] = {
{ "muddleftpd", GST_ROLE_FILE_SERVER_FTP },
{ "multipath-tools", GST_ROLE_LVM_MANAGEMENT },
{ "mysql", GST_ROLE_DATABASE_SERVER },
+ { "mysqld", GST_ROLE_DATABASE_SERVER },
{ "mysql-ndb", GST_ROLE_DATABASE_SERVER },
{ "mysql-ndb-mgm", GST_ROLE_DATABASE_SERVER },
{ "nagios", GST_ROLE_SECURITY_AUDITING },
@@ -203,6 +209,7 @@ static ServiceRole services[] = {
{ "shorewall", GST_ROLE_FIREWALL_MANAGEMENT },
{ "slapd", GST_ROLE_LDAP_SERVER },
{ "slim", GST_ROLE_DISPLAY_MANAGER },
+ { "smartd", GST_ROLE_HARDWARE_MONITORING },
{ "smartmontools", GST_ROLE_HARDWARE_MONITORING },
{ "smb", GST_ROLE_FILE_SERVER_SMB },
{ "snmpd", GST_ROLE_SNMP_SERVER },
@@ -225,6 +232,7 @@ static ServiceRole services[] = {
{ "wacom-tools", GST_ROLE_GRAPHIC_TABLETS_MANAGEMENT },
{ "wdm", GST_ROLE_DISPLAY_MANAGER },
{ "winbind", GST_ROLE_NSS },
+ { "winbindd", GST_ROLE_NSS },
{ "wu-ftpd", GST_ROLE_FILE_SERVER_FTP },
{ "wzdftpd", GST_ROLE_FILE_SERVER_FTP },
{ "xdm", GST_ROLE_DISPLAY_MANAGER },