Commit graph

47 commits

Author SHA1 Message Date
jlam
fcb7da800b Remove mk/autoconf.mk and mk/automake.mk and replace their usage with
USE_TOOLS and any of "autoconf", "autoconf213", "automake" or
"automake14".  Also, we don't need to call the auto* tools via
${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care
to symlink the correct tool to the correct name, so we can just use
aclocal, autoconf, etc.
2005-06-01 20:07:59 +00:00
adrianp
28583edea3 - Update to 1.2.1 - ok'ed jlam@
- This incorporates security fixes from SuSE to address the issues they found
From the ChangeLog:
> 02/04/2005 jcalcote@novell.com
> Incorporated various bug fixes from SuSE and others.
> Updated Autotools files for version 1.5+
2005-05-26 20:14:21 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
reed
ee8be9d0c1 RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.
And always is defined as share/examples/rc.d
which was the default before.

This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.

This was discussed on tech-pkg in late January and late April.

Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-05-02 20:33:57 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
dmcmahill
657b8ba056 add lex to the list of gnu tools. Needed for solaris 2005-03-17 22:49:12 +00:00
minskim
397c36f75a Disable pkgviews installation until devel/automake is converted.
Closes PR pkg/29602.
2005-03-06 04:28:55 +00:00
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +00:00
reed
2cd76ef931 This uses yacc. 2005-02-17 19:13:53 +00:00
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +00:00
jlam
da6af1cc4c Fix on NetBSD by adding some SLP* functions used by the shared lib that
weren't being added to the shared lib.  I just updated this package, so
ride the update and avoid the PKGREVISION bump.
2004-11-27 05:08:35 +00:00
jlam
6a8eb1ea55 Update net/openslp to 1.2.0. Changes from version 1.0.11 include:
* Support for SLP queries on multiple network interfaces
* Support for SLP query through a unicast
* DHCP code
* Added support for the net.slp.DAHeartBeat setting
* Make attribute compares case insensitive as per RFC 2608
* Added PID monitoring.  Now when the process that called SLPReg()
  (with SLP_REG_FLAG_WATCH_PID) dies the registration will automatically
  be deregistered.

patch-a[cdefg] fix compilation warnings and errors (all the world is not
Linux/i386).
2004-11-27 04:41:12 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
jlam
c95ff9bcd6 LTCONFIG_OVERRIDE is deprecated. 2004-07-24 13:47:04 +00:00
minskim
73fc487940 Use INSTALL_* instead of CP to set permission correctly. 2004-05-10 22:18:58 +00:00
adam
4b9c82ecaa Do not force -O3 optimisation any more 2004-04-28 11:48:54 +00:00
wiz
1e9adb17f7 Unused. 2004-04-25 23:34:07 +00:00
reed
9c790735db mk/bsd.pkg.install.mk now automatically registers
the RCD_SCRIPTS rc.d script(s) to the PLIST.

This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.

This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)

These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)

I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.

Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
  hard-coded etc/rc.d. These need to be fixed.
- maybe  remove from mk/${OPSYS}.pkg.dist mtree specifications too.
2004-04-23 22:07:52 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
jlam
a7d877ca6a Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files.  In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
2004-01-24 03:26:45 +00:00
jlam
457d023fac bl3ify 2004-01-06 07:05:24 +00:00
jlam
d279e6f535 Use S/+$// instead of C/\+$// to save a backslash. Very highly
recommended by seb :)
2004-01-05 11:05:44 +00:00
jlam
47bb2aae5f Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. 2004-01-04 23:34:04 +00:00
jlam
339cd13cb2 Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
2004-01-03 23:06:43 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
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