Commit graph

71 commits

Author SHA1 Message Date
jlam
c866049339 Update net/openslp to 1.0.11. Changes from version 1.0.10 include:
* Fixed socket file descriptor leak.
* Fixed segv when processing unicast request (SrvTypeRqst or AttrRqst)
    with mismatched scopes causes error in SLPD.
* Allow strict aliasing.
2003-05-27 22:52:34 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
jlam
a35d99ac4c Update net/openslp to 1.0.10. Changes from version 1.0.9a include:
* Fixed SA->DA registration logic that excluded some mortal registrations.
* Fixed aging problem that aged out static registrations.
* Fixed SLPDeReg().
* Fixed a segfault generated by a freed but unlinked SLPDSocket.
* Made net.slp.multicastIF actually work.
2002-12-19 20:33:21 +00:00
jlam
fc81ba995d It's "cp -R", not "cp -r". 2002-11-26 09:27:14 +00:00
jlam
38a950e8f7 Honor PKG_SYSCONFDIR. 2002-10-20 07:57:57 +00:00
jlam
18878853e9 Don't default to slpd=NO anymore, as rc.d scripts aren't copied into
/etc/rc.d by default any longer.  This causes the usual warning to be
emitted when the script is executed.
2002-10-20 07:56:29 +00:00
wiz
69bed16c18 Unused. 2002-10-05 03:20:54 +00:00
grant
0c5bb6abcc Make these scripts more portable by taking advantage of automatic rc.d
script handling and using @RCD_SCRIPTS_SHELL@.

as discussed with jlam.
2002-09-20 02:01:54 +00:00
grant
751debc16c add missing RCS Id. 2002-09-20 01:43:22 +00:00
jlam
5c053dd06a Take advantage of the auto-generation and installation of rc.d scripts. 2002-09-19 09:04:02 +00:00
jlam
678a95a783 Update net/openslp to 1.0.9a. Changes from version 1.0.7 include:
* Added version and length sanity checks for incoming messages
* Fixed possible SEGV when logging DA traffic
* Added patch from Arun Barboza that makes attribute compares case insensitive
  as per RFC 2608
* Added patch from Garth Bushell that fixes an SLP url parsing problem.
* Added patch from Arun Barboza to handle '==' SLPv1 predicates.  This patch
  allows better interoperability with Novell SLP networks.
* Added fix from Arun Barboza to make V1 DAAdverts use the same encoding as
  the request
* Fixed a problem in SLPProcessMessage where errorcodes were not being returned
  resulting in attempts to send non-allocated sendbufs (i.e. SEGV).
* Fixed a problem where SLPReg() would hang if used against a DA or SA that
  prematurely dropped connections
* Force use of numeric IP addresses in all DAAdvert and SAAdvert messages.
* Fixed bug where idle connections to DAs were not being aged.
* Added code so that 'slptool -v' will return the path of the slp.conf file
  libslp.so is configured to use.
2002-09-16 21:00:56 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
markd
a8545ea051 Do the INSTALL_DATA_DIR's one dir at a time to keep Solaris happy. 2002-03-15 04:12:19 +00:00
jlam
e0d358778b Solaris' test binary (test/[) doesn't grok "-e". Replace with "-f".
Noted by Stoned Elipot <seb@netbsd.org> in private email.
2002-02-05 06:04:36 +00:00
jlam
4eb73f83cc Update net/openslp to 1.0.7. Relevant changes from version 1.0.6 include:
* Applied patch from Juergen Kreileder that provides the net.slp.multicastIF
  slp.conf setting. net.slp.multicastIF is useful in setting up OpenSLP on
  multi-homed machines where it is desireable to configure which interface
  should send multicast traffic.

* Applied patch from Garth Bushell that fixes a problem where not enough
  memory was being allocated to hold an escaped string in SLPEscape().

* Changed slpd "daemonize" code to chdir() to "/" so that the PWD is not
  left unmountable.
2002-01-31 17:00:50 +00:00
jlam
11e44565d5 Update net/openslp to 1.0.6. This package now uses the general INSTALL
scripts and honors ${PKG_SYSCONFDIR}.  Changes from version 1.0.2 include:

* bug fixes
* set FRESH flag for registrations; OpenSLP ignores this flag, but other DA
  implementations like K&A SLP do not.
* Minor changes to the way that settings from /etc/slp.conf affect active and
  passive discovery.
* Changed declaration and definition for strncasecmp and strcasecmp so that
  there is only one place for them in slp_compare.c and slp_compare.h
* Honor scopes in SrvRqsts for the special "service:directory-agent" type
* Added code to use IP address in agent url for those operating systems where
  gethostname() does not return a fully qualified domain name (FQDN).
* Added code to log parse errors and dump bad messages to the log
* Fixed reconnect code to be able to interoperate with inefficient DAs that
  close the stream after each srvreg/srvack exchange.  The Mac OS/X DA is
  reported to have this problem
* Removed calls that (sort of) enforce service-url checking.  This is for the
  benefit of AFP's usage of SRVLOC.  Developers are now trusted not to
  register ambiguous service-urls.
2001-12-14 22:30:07 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
jlam
2168996ed4 Update openslp to 1.0.2. Relevant changes from version 1.0.1 include:
* Fixed minor name resolution problem so that reverse lookups are not
  performed on hostnames supplied as are dotted IP addresses
* Fixed minor problem where DAs listed in net.slp.DAaddresses could not be
  found if multicast was not enabled.
* Fixed minor bugs in DA discovery code so that SLPFindScopes() returns more
  consistant results.
* Applied patch from Jim Meyer that fixes several predicate parsing
  irregularities
* Fixed minor KnownDAEcho problem that resulted in some DAs not getting
  registrations.
2001-09-14 02:56:25 +00:00
jlam
7789cee24b Substitute for @ECHO@, too. 2001-08-18 03:34:39 +00:00
jlam
e5963765af Use ${name} instead of "slpd". 2001-08-18 03:30:20 +00:00
jlam
6c90001be1 Service Location Protocol is an IETF standards track protocol that provides
a framework to allow networking applications to discover the existence,
location, and configuration of networked services in enterprise networks.
The OpenSLP project is an effort to develop an open-source implementation of
Service Location Protocol suitable for commercial and non-commercial
application.
2001-08-18 03:18:43 +00:00