--- /dev/null
+#!/usr/bin/python
+
+# $Id$
+
+# This file is part of avahi.
+#
+# avahi is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# avahi is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+# License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with avahi; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+# USA.
+
+import dbm, sys
+
+if len(sys.argv) > 1:
+ fn = sys.argv[1]
+else:
+ fn = "service-types"
+
+db = dbm.open(fn, "n")
+
+for ln in file(fn, "r"):
+ ln = ln.strip(" \r\n\t")
+
+ if ln == "" or ln.startswith("#"):
+ continue
+
+ t, n = ln.split(":", 1)
+
+ db[t.strip()] = n.strip()
+
+db.close()
--- /dev/null
+# $Id$
+
+# This file is part of avahi.
+#
+# avahi is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# avahi is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+# License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with avahi; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+# USA.
+
+# Feel free to add more service types or translatons to this database.
+# Please refrain from copying bulk service type data from any publicly
+# available database unless its license is known and compatible with
+# our project! The database available on
+#
+# http://www.dns-sd.org/ServiceTypes.html
+#
+# is not a source that complies with the criterion!
+
+_http._tcp:Web Service
+_http._tcp[de]:Web Dienst
+
+_https._tcp:Secure Web Service
+_https._tcpi[de]:Sicherer Web Dienst
+
+_ftp._tcp:FTP File Transfer
+_ftp._tcp[de]:FTP Dateifreigabe
+
+# UDP?
+_h323._tcp:H.323 Telephony
+_h323._tcp[de]:H.323 Telefonie
+
+# UDP?
+_sip._tcp:SIP Telephony
+_sip._tcp[de]:SIP Telefonie
+
+_ssh._tcp:SSH Remote Terminal
+_ssh._tcp[de]:SSH Fernzugriff
+
+_distcc._tcp:Distributed Compiler
+_distcc._tcp[de]:Verteilter Compiler
+
+_daap._tcp:iTunes Audio Access
+_daap._tcp[de]:iTunes Audio-Zugriff
+
+_domain._udp:DNS Server
+_domain._udp[de]: DNS Dienst
+
+_imap._tcp:IMAP Mail Access
+
+_pop3._tcp:POP3 Mail Access
+
+_rfb._tcp:VNC Remote Frambuffer
+
+_sftp-ssh._tcp:SFTP File Transfer
+
+_telnet._tcp:Telnet Remote Terminal
+
+_presence._tcp:iChat Presence