Alien::Package::Slp(3pm) User Contributed Perl Documentation Alien::Package::Slp(3pm)NAME
Alien::Package::Slp - an object that represents a slp package
DESCRIPTION
This is an object class that represents a slp package. It is derived from Alien::Package.
CLASS DATA
The following data is global to the class, and is used to describe the slp package format, which this class processes directly.
footer_size
Complete sizeof(slpformat) from slp.h in the stampede package manager source.
footer_packstring
This is the pack format string for the footer. (A=space terminated character, I=unsigned integer.)
footer_version
What package format are we up to now? (Lowest one this is still compatable with.)
archtrans
This is a translation table between architectures and the number that represents them in a slp package.
fieldlist
This is a list of all the fields in the order they appear in the footer.
FIELDS
compresstype
Holds the compression type used in the slp file.
slpkgversion
Holds the slp package format version of the slp file.
METHODS
checkfile
Detect slp files by their extention.
install
Install a slp. Pass in the filename of the slp to install.
getfooter
Pulls the footer out of the slp file and returns it.
scan
Implement the scan method to read a slp file.
unpack
Unpack a slp file. They can be compressed in various ways, depending on what is in the compresstype field.
build
Build a slp.
conffiles
Set/get conffiles.
When the conffiles are set, the format used by slp (a colon-delimited list) is turned into the real list that is used internally. The
list is changed back into slp's internal format when it is retreived.
copyright
Set/get copyright.
When the copyright is set, the number used by slp is changed into a textual description. This is changed back into a number when the
value is retreived.
arch
Set/get arch.
When the arch is set, the number used by slp is changed into a textual description. This is changed back into a number when the value
is retreived.
release
Set/get release version.
When the release version is retreived, it is converted to an unsigned integer, as is required by the slp package format.
AUTHOR
Joey Hess <joey@kitenet.net>
perl v5.14.2 2011-07-07 Alien::Package::Slp(3pm)
Check Out this Related Man Page
slpd(1M) System Administration Commands slpd(1M)NAME
slpd - Service Location Protocol Daemon
SYNOPSIS
/usr/lib/inet/slpd [-f configuration-file]
DESCRIPTION
The slpd daemon provides common server functionality for the Service Location Protocol ("SLP") versions 1 and 2, as defined by IETF in RFC
2165 and RFC 2608. SLP provides a scalable framework for the discovery and selection of network services.
slpd provides the following framework services:
Directory Agent
This service automatically caches service advertisements from service agents to provide them to user agents, and makes directory agent
advertisements of its services. This service is optional. slpd does not provide directory agent service by default. Directory agents
are not databases, and they do not need to be maintained.
Service Agent Server
All service agents on the local host register and deregister with this server. This service responds to all requests for services, and
forwards registrations to directory agents. By default, slpd is a service agent server.
Passive Directory Agent Discovery
This service listens for directory agent advertisements and maintains a table of active directory agents. When a user agent wishes to
discover a directory agent, it can simply query slpd, obviating the need to perform discovery by means of multicast. By default, slpd
performs this service.
Proxy Registration
This service can act as a proxy service agent for services that cannot register themselves. slpd reads the proxy registration file for
information on services it is to proxy. By default, no services are registered by proxy.
All configuration options are available from the configuration file. slpd reads its configuration file upon startup.
Stop and start the slpd daemon using svcadm(1M). Use the command svcadm enable network/slp to start the slpd daemon. Use the command
svcadm disable network/slp to stop it.
The file /etc/inet/slp.conf must exist before the slp service can start the daemon. Only the example file /etc/inet/slp.conf.example is
present by default. To enable SLP, copy /etc/inet/slp.conf.example to /etc/inet/slp.conf.
OPTIONS
The following options are supported:
-f configuration-file Specify an alternate configuration file
EXAMPLES
Example 1 Stopping the slpd daemon
The following command stops the slpd daemon:
example# svcadm disable network/slp
Example 2 Restarting the slpd daemon
The following command restarts the slpd daemon:
example# svcadm restart network/slp
FILES
/etc/inet/slp.conf The default configuration file
slpd.reg The proxy registration file
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWslpu, SUNWslpr |
+-----------------------------+-----------------------------+
|CSI |Enabled |
+-----------------------------+-----------------------------+
|Interface Stability | Evolving |
+-----------------------------+-----------------------------+
SEE ALSO svcs(1), svcadm(1M), slp_api(3SLP), slp.conf(4), slpd.reg(4), attributes(5), smf(5), slp(7P)
Guttman, E., Perkins, C., Veizades, J., and Day, M., RFC 2608, Service Location Protocol, Version 2, The Internet Society, June 1999.
NOTES
The slpd service is managed by the service management facility, smf(5), under the service identifier:
svc:/network/slp
Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser-
vice's status can be queried using the svcs(1) command.
SunOS 5.11 23 Aug 2004 slpd(1M)