OBS User unknown 2006-12-19 00:35:00 +00:00 committed by Git OBS Bridge
parent a9e01b3bd6
commit 10b394c622
3 changed files with 103 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 18 18:43:07 CET 2006 - ro@suse.de
- added slpd.xml to /etc/omc/srvinfo.d (fate#301831)
-------------------------------------------------------------------
Thu Nov 16 17:13:01 CET 2006 - mls@suse.de

View File

@ -14,7 +14,7 @@ Name: openslp
BuildRequires: openssl-devel
Summary: An OpenSLP Implementation of Service Location Protocol V2
Version: 1.2.0
Release: 43
Release: 49
License: BSD License and BSD-like, Other License(s), see package
Group: System/Daemons
URL: http://www.openslp.org/
@ -26,6 +26,7 @@ Source2: README.SuSE
Source3: openslp.desktop
Source4: openslp-devel.desktop
Source5: openslp.logrotate
Source6: slpd.xml
Patch1: openslp.diff
Patch2: openslp.audit.diff
Patch3: extensions.diff
@ -172,6 +173,8 @@ install -m 0644 %SOURCE3 \
mkdir -p $RPM_BUILD_ROOT/usr/share/susehelp/meta/Development/Libraries/
install -m 0644 %SOURCE4 \
$RPM_BUILD_ROOT/usr/share/susehelp/meta/Development/Libraries/
install -d -m 755 $RPM_BUILD_ROOT/etc/omc/srvinfo.d
install -m 0644 %SOURCE6 $RPM_BUILD_ROOT/etc/omc/srvinfo.d
%if 0
# actually, these files should get translated, but do we really want to
# add update-desktop-files to needed_for_build ?
@ -233,6 +236,9 @@ rm -rf $RPM_BUILD_ROOT
/etc/init.d/slpd
%config(noreplace) /etc/slp.reg
%config(noreplace) /etc/logrotate.d/openslp-server
%dir /etc/omc
%dir /etc/omc/srvinfo.d
%config /etc/omc/srvinfo.d/slpd.xml
%files devel
%defattr(-,root,root)
@ -248,6 +254,8 @@ rm -rf $RPM_BUILD_ROOT
%_libdir/libslp.so
%changelog -n openslp
* Mon Dec 18 2006 - ro@suse.de
- added slpd.xml to /etc/omc/srvinfo.d (fate#301831)
* Thu Nov 16 2006 - mls@suse.de
- truncate oversized udp messages, finally fixes [#185483]
(can be turned of with "net.slp.oversizedUDP" option)

89
slpd.xml Normal file
View File

@ -0,0 +1,89 @@
<?xml version="1.0"?>
<!--
Copyright (c) 2006 Novell, Inc. All rights reserved.
Service Description XML Document for slpd.
This file should be placed in /etc/omc/svcinfo.d
Note: The name of the service is the name of this file without the .xml
file extension.
-->
<serviceDescription version="1.0">
<!-- Caption for display purposes -->
<caption>SLP Server</caption>
<!-- Description of this service -->
<description>
SLP Server Provides slpd and Openslp
</description>
<!--
The startCommand tag specifies the command line that will be
invoked to start the service. The return code from this command
must be as follows:
0 - success
1 - generic or unspecified error
2 - invalid or excess argument(s)
3 - unimplemented feature (e.g. "reload")
4 - user had insufficient privileges
5 - program is not installed
6 - program is not configured
7 - program is not running
-->
<startCommand>/usr/sbin/rcslpd start</startCommand>
<!--
The reStartCommand tag specifies the command line that will be
invoked to restart the service. The return code from this command
must be as specified in the startCommand tag.
-->
<reStartCommand>/usr/sbin/rcslpd restart</reStartCommand>
<!--
The stopCommand tag specifies the command line that will be
invoked to stop the service. The return code from this command
must be as specified in the startCommand tag.
-->
<stopCommand>/usr/sbin/rcslpd stop</stopCommand>
<!--
The statusCommand specifies the command line that can be run
that will report on the status of the service. The return code
from this command line should be as follows:
0 - service up and running
1 - service dead, but /var/run/ pid file exists
2 - service dead, but /var/lock/ lock file exists
3 - service not running (unused)
4 - service status unknown :-(
-->
<statusCommand>/usr/sbin/rcslpd status</statusCommand>
<!--
The processInformation tag allows the XML Service provider to
identify the processes that belong to the service. This allows
the ServiceProcess associations to be instrumented.
If the process_information tag is not specifed, the will be no
ServiceProcess association for the service.
-->
<processInformation>
<name>slpd</name>
<modulePath>/usr/sbin/slpd</modulePath>
</processInformation>
<!--
Define the services that this service has a dependency on.
There must be a corresponding Service Description XML file
for the antecedent service in the /etc/omc/svcinfo.d directory.
-->
<dependsOn>
<serviceName>network</serviceName>
<serviceName>named</serviceName>
</dependsOn>
</serviceDescription>