Commit graph

190 commits

Author SHA1 Message Date
jlam
ce3f97b96c Bump the PKGREVISION after changes in patch-ag to honor DL_*. 2004-11-26 03:00:24 +00:00
jlam
c5bb5f7cb2 Teach openldap to use DL_{CFLAGS,LDFLAGS,LIBS} when linking slapd when
building dynamic backends or when using Cyrus SASL.
2004-11-26 02:52:14 +00:00
jlam
3bbe73c68a Default PTHREAD_AUTO_VARS to the safer value of "no". Most packages
that use pthreads already implement their own probes for pthreads, so
we don't need to auto-add the compiler/linker flags.
2004-11-25 19:34:03 +00:00
jlam
2f762bac63 The man pages should refer to the real location of the config files, not
where they were installed (in the example location) during the "install"
step.  Bump PKGREVISION.
2004-11-19 16:35:26 +00:00
jlam
6b7a749803 We don't actually want everything to be built with pthreads -- only
libldap_r and slurpd.  Patch those Makefiles (patch-aj, patch-ak) to
pass $(PTHREAD_CFLAGS) and $(PTHREAD_LDFLAGS) to the build.  The
configure process correctly adds any necessary libraries, so adding
$(PTHREAD_LIBS) isn't needed.  Bump the PKGREVISION since the LDAP
libraries are no longer linked against libpthread.

This fixes PR pkg/28259.
2004-11-18 19:07:04 +00:00
jlam
3e6d63de4b Update databases/openldap to the latest release, version 2.2.18.
Changes from version 2.2.13 include numerous fixes for locking in the
Berkeley DB backend, SASL-encoding fixes in libldap, and many bug
fixes in slapd.
2004-11-17 07:23:41 +00:00
jlam
b67b0725c4 Rework the Berkeley DB detection in buildlink3:
* Add a db1.builtin.mk file that detects whether DB-1.85 functionality
    exists in the base system, and remove the distinction between
    "native" and the other Berkeley DB packages -- we now refer to
    db[1234].  This paves the way for any future databases/db1 package.

  * USE_DB185 shouldn't need to be set by any packages -- its correct
    value is now automatically determined by bdb.buildlink3.mk depending
    on whether we explicitly request db1 or not.  By default, if you
    include bdb.buildlink3.mk, you want DB-1.85 functionality and
    USE_DB185 defaults to "yes", but if you explicitly remove db1 from
    the list of acceptable DBs, then USE_DB185 defaults to "no".

  * Set BDB_LIBS to the library options needed to link against the DB
    library when bdb.buildlink3.mk is included.

  * We only add the DB library to the linker command automatically if
    we want DB-1.85 functionality; otherwise assume that the package
    configure process can figure out how to probe for the correct
    headers and libraries.

Edit package Makefiles to nuke redundant settings of USE_DB185.
2004-11-15 17:54:49 +00:00
tv
202a410fee USE_DB185=no; should fix build failure reported on tech-pkg by
<mlh@goathill.org>.
2004-11-15 00:55:25 +00:00
tv
ecb9bd7425 Allow bdb backend support to be optional via PKG_OPTIONS.openldap. For now,
it is still on by default to preserve compatibility (use option "-bdb" to
disable).

While here, fix typo in CONFIGURE_ARGS that had caused the dnssrv backend
not to build; bump PKGREVISION.
2004-11-08 18:42:08 +00:00
markd
bbe48768d2 Bring options handling in buildlink3.mk into sync with current options.mk. 2004-11-08 12:17:50 +00:00
tv
0053da96f2 Update linkage to libltdl, now in its own package. 2004-10-15 11:54:10 +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
rh
5c85b41f4f This version of openldap no longer builds against the old version of sasl,
so don't attempt to depend on it (always use cyrus-sasl2 for SASL support).
OK'ed by jlam.
2004-09-27 04:11:52 +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
9d5426ff76 Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework.  Instead of appending to
${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS.  This causes
the default options to be the union of PKG_DEFAULT_OPTIONS and any
old USE_* and FOO_USE_* settings.

This fixes PR pkg/26590.
2004-08-22 19:32:51 +00:00
jlam
b32800e3ff Rename Makefile.options to options.mk in the packages that I maintain.
This follows the example of the mail/dovecot package, as suggested by
<schmonz>.
2004-08-05 03:04:33 +00:00
jlam
47edab39a4 We only need the full dependency on libtool if we build the dynamic
modules.  Bump the PKGREVISION.
2004-08-04 19:45:02 +00:00
jlam
b460ce1ab5 Convert to use bsd.options.mk. The relevant options variable to set
for each package can be determined by invoking:

	make show-var VARNAME=PKG_OPTIONS_VAR

The old options are still supported unless the variable named in
PKG_OPTIONS_VAR is set within make(1) (usually via /etc/mk.conf).
2004-07-30 21:05:41 +00:00
jlam
c135417273 cyrus-sasl configure option takes no argument. 2004-07-24 18:37:10 +00:00
jlam
e4eb47db4b Need to bump the version in buildlink3.mk since the shlib major was
bumped.
2004-07-24 17:24:29 +00:00
jlam
15dcbb1b12 If neither USE_SASL nor USE_SASL2 are defined, then use cyrus-sasl2 by
default.
2004-07-24 14:21:44 +00:00
jlam
89a26085db Use the correct configure option for cyrus-sasl, and correct the path to
the cyrus-sasl2/buildlink3.mk file.
2004-07-24 14:20:07 +00:00
jlam
dfe438e74b Update databases/openldap to version 2.2.13, the latest stable release.
Major changes from version 2.1.30 include:

  * "LDAP Sync"-based lightweight replication
  * Proxy Cache Support
  * Hierarchical Backend
  * NS-SLAPI Support
  * Backend Layering
  * Access Control extensions including dynamic group support
  * LDAPv3 extensions:
    - ACID extensions
    - Cancel Operation
    - Content Synchronization Operation
    - DIT Content Rules
    - Duplicate Entry Extension
    - Simple Paged Results Extension
    - Proxy Authorization Extension
2004-07-24 03:32:24 +00:00
jlam
acb3730edd Become maintainer since it's a critical component of samba, and I'm still
the maintainer for that package.
2004-07-23 23:51:21 +00:00
danw
7b5422e89b use -DBIND_8_COMPAT on darwin 2004-05-10 19:15:53 +00:00
snj
844b08fcd4 No longer used. 2004-05-09 21:15:16 +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
xtraeme
e8f1fc8256 Update openldap to 2.1.30.
OpenLDAP 2.1.30 Release
        Fixed slapd userdb checkpass bug (ITS#3048)
        Fixed back-ldbm IDL delete bug (ITS#3046)
        Fixed libldap schema parsing bugs (ITS#2920, ITS#3065)
        Fixed liblutil NS MTA MD5 passwd len bug (ITS#2899)
        Removed lint (ITS#3086)
        Documentation
                Updated slapd.conf(5) manpage (ITS#2525)
2004-04-17 10:56:21 +00:00
xtraeme
1d1e6f276e Update openldap to 2.1.29 (latest stable release).
Changes:

OpenLDAP 2.1.29 Release
        Fixed slapd SASL invalid authcID crash (ITS#2961)
        Fixed slapd sasl-regexp debug crash (ITS#3033)
        Fixed back-bdb empty suffix bug (ITS#2970)
        Fixed back-bdb IDL avl_delete failure bug (ITS#3004)
        Fixed libldap assert failure (ITS#2982)

OpenLDAP 2.1.28 Release
        Fixed back-bdb slapadd crash (ITS#2974)
        Fixed typo in ACL STYLE slap_style_e enum (ITS#3001)
        Added ACL set logging (ITS#2949)
        Fixed '=' escape in DN (ITS#3009)
        Documentation
                Fixed ldapmodify(1) manpage (ITS#3002)
                Fixed ldapmodrdn(1) manpage (ITS#3003)

OpenLDAP 2.1.27 Release
        Fixed slapd replog ordering bug (ITS#2512)
        Fixed slapd uninitialized variable bug
        Fixed libldap SASL client callbacks (ITS#2926)
        Build Environment
                Fixed gai_strerr portability problem (ITS#2643)
                Fixed DNS res_query portability problem
2004-03-31 03:52:45 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
jlam
7203e8edd0 OpenLDAP expects to use the BDB-compat headers. 2004-03-12 03:15:18 +00:00
markd
5b59f6c37d NetBSD-current needs -lcrypto when linking in Heimdal. 2004-03-07 12:12:38 +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
3bb41a92a7 The OpenLDAP libraries don't need the Kerberos libraries. 2004-02-21 01:56:42 +00:00
jlam
9a90a5fd3b Refine comment a bit to be more precise. 2004-02-21 01:55:14 +00:00
jlam
df52730681 Enable linking against shared libraries, and correctly enable detection of
the Kerberos libraries.
2004-02-21 01:48:38 +00:00
jlam
dbee72b756 Reenable the use of GNU pth on systems without native pthreads. Bump
the PKGREVISION.  The fix was provided by Nick Hudson and modifies
the libldap initialization routine to call the GNU pth initialization
routine before using it.  The resulting slapd/slurpd passes the test
suite included in the OpenLDAP sources.  This fixes PR 24473.
2004-02-20 13:56:15 +00:00
jlam
6f8b45509c If the threads are non-native, then don't build openldap with threads
support.  The slapd built without threads passes all of its test except
for the replication test, which is because slurpd is not built (slurpd
requires threads).  Bump the PKGREVISION.

This is in response to PR 24473.  As a debugging aid in case someone
attempts to really fix the PR, if _OPENLDAP_REQUIRE_THREADS is "yes",
then openldap will forcibly build using GNU pth if native threads
aren't available.
2004-02-19 14:42:39 +00:00
jlam
b8039c9820 +etc/rc.d/slurpd 2004-02-18 14:00:42 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
jlam
ead8549ddd Update databases/openldap to 2.1.25 (latest stable release as of
20031217.  Changes from version 2.1.22 include many bug fixes including
memory leaks, adding lutil_passwd extensions, and adding config file
keywords to control the replication daemon.
2004-02-14 11:31:50 +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
ef41749876 Convert to use krb5.buildlink3.mk to get Kerberos 5 support. Tested to
build and install properly using Heimdal.
2004-01-21 14:08:24 +00:00
jlam
263e5782b4 Whitespace 2004-01-21 13:11:09 +00:00
jlam
adc4a993da Fix the dynamic PLIST generated when building this package with pkgviews
by delaying installation of config files until INSTALL script time.
2004-01-09 22:48:16 +00:00
jlam
2319155e15 bl3ify 2004-01-09 20:43:02 +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
agc
a2cb5c5b68 Add a patch and bump PKGREVISION for a patch by Christian Limpach for a
problem noted on current-users by Murray Armfield.

The problem was:  "Just try executing slapindex to get quite a verbose
libpthread invalid mutex message.  slapd still core dumps on
shutdown."

Thanks to Christian for fixing this.
2003-12-04 14:48:17 +00:00
jschauma
fe19bb05b5 PKGREVISION++ after openssl update. 2003-11-12 03:39:39 +00:00
salo
6ac92bd84f Delint, style, whitespace. 2003-09-29 17:01:24 +00:00
salo
c807b2af6e PKGREVISION++
Obey PKG_SYSCONFDIR.
2003-09-29 16:56:54 +00:00
reed
fad404246a Just added a comment into Makefile as a reminder why PKG_SYSCONFBASE is
used instead of PKG_SYSCONFDIR. The openldap build defines a
ldap_subdir (as /openldap) which is automatically appended (unless
using --without-subdir which also breaks share and libexec). (Okay'd
by wiz.)
2003-09-27 13:54:51 +00:00
markd
07c95aaf67 Put patch-ad back, probably still needed on sparc64. 2003-09-18 09:52:21 +00:00
markd
9b33c14799 Update openldap to version 2.1.22.
This release contains the following major enhancements:

        * Transactional backend
        * Improved Unicode handling
        * Improved DN handlng
        * Improved Referral handling
        * SASL authentication/authorization mapping
        * SASL in-directory storage of authentication secrets
        * Enhanced administrative limits/access controls
        * Meta backend (experimental)
        * Monitor backend (experimental)
        * Virtual "glue" backend (experimental)
        * LDAP C++ API
        * Updated LDAP C and TCL APIs
        * LDAPv3 extensions, including:
            - Enhanced Language Tag/Range Support
            - 'Who am i?' Extended Operation
            - 'Matched Values' Control
            - 'NOOP' Control

   plus lots of bug fixes.

Update (to 2.1.20) from Juan RP in PR pkg/21682 with some tidy up and
update to 2.1.22 by Marc Recht and me.

Also closes PR pkg/21217 by Jean-Luc Wasmer and PR pkg/20972 by Jeremy
Reed.
2003-09-18 05:37:15 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
wiz
f16927fc96 Pthreads not needed -- only used by executable, not by
any of the openldap libraries.
Closes PR 21490 by Todd Vierling.
2003-05-08 12:30:37 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
dillo
5f4ad95078 convert to use test target from bsd.pkg.mk
addresses PR pkg/19416
2003-02-17 15:27:58 +00:00
kleink
51c13fecd3 As usual, prevent compiling SHA1 from blowing up on sparc64 by moving
each round into a separate function.  Bump to 2.0.27nb2.
2003-01-29 22:05:33 +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
skrll
4d96f87202 Don't use pthread_attr_setstacksize unless _POSIX_THREAD_ATTR_STACKSIZE
is defined. This lets openldap compile on -current.

Fixes PR 19921.

PKGREVISION++
2003-01-19 09:26:33 +00:00
bouyer
479b2b57a4 Solaris's builtin [ and /usr/bin/test don't know -e. Use -r instead. 2002-10-17 10:02:53 +00:00
wiz
851e7fa78b Unused. 2002-10-09 12:03:12 +00:00
kleink
d0c74e1a74 Update to 2.0.27; notable changes include:
OpenLDAP 2.0.27 Release
	Build environment
		Fix getopt(3) detection

OpenLDAP 2.0.26 Release
	Fixed slapd ACL buffer size bug (ITS#1963)
	Fixed slapd ACL filters w/substrings bug (ITS#2023, ITS#2027)
	Fxied slapd directory string space bug (ITS#2072)
	Fixed slurpd reject file handling bugs (ITS#2007, ITS#2009)
	Fixed back-ldbm indirect IDL bug (ITS#2039)
	Fixed libldap buffer size bugs (ITS#1935, ITS#1936)
	Fixed libldap gethostbyname mutex init bug (ITS#2019)
	Fixed liblutil passwd bug (ITS#2055)
	Fixed sasl large reads and writes (ITS#1983, also ITS#910,ITS#1861)
	Updated back-ldbm reindexing - slapindex rebuilds dn2id index
	Build environment
		Require version 1.5 if Cyrus SASL is present
		Remove tempnam checking and replacment implementation
2002-09-23 10:06:58 +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
jlam
5c053dd06a Take advantage of the auto-generation and installation of rc.d scripts. 2002-09-19 09:04:02 +00:00
jlam
63f3771a9c Default to slapd=NO if it's not defined. 2002-09-12 10:19:11 +00:00
jlam
d74686f756 USE_PTHREAD died a long time ago; match pthread handling from buildlink.mk. 2002-09-10 19:46:30 +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
mycroft
8671208f3c Update to 2.0.25. Fixes many random bugs.
OpenLDAP 2.0.25 Release
        Fixed slapd extended op reqdata crash bug (ITS#1721)

OpenLDAP 2.0.24 Release
        Fixed slapd max incoming macro bug (ITS#1828)
        Fixed slapd acl group/dnaddr bug (ITS#1607)
        Fixed slapd connection management bug (ITS#1655)
        Fixed slapd port ntoh / addr init bugs (ITS#1615, ITS#1728)
        Fixed slapd PF_lOCAL typo (ITS#1660)
        Fixed slapd extended ops with NULL reqdata bug (ITS#1721)
        Fixed slapd replog logging without replica (ITS#1335)
        Fixed slapd NULL attrval indexing (ITS#1843)
        Fixed slurpd tls init bug (ITS#1613)
        Fixed back-ldbm dn normalization bug in onelevel searches (ITS#1654)
        Fixed back-ldbm modrdn root dn check (ITS#1761)
        Fixed back-ldbm idl overrun bug (ITS#1570)
        Fixed back-ldbm passwd textlen bug (ITS#1742)
        Fixed ber_bvstrdup() empty string bug (ITS#1662)
        Fixed ldapsearch filter bug (ITS#1649)
        Fixed maildap NULL domain bug (ITS#1022)
        Fixed libldap hostless URL bug (ITS#1697)
        Fixed liblutil /dev/urandom incomplete reads (ITS#1834)
        Fixed libldap_r threadpool free list (ITS#1839)
        Fixed libldap_r NT threads cond_broadcast (ITS#1865)
        Fixed sasl writes > 64K (ITS#1861)
        Fixed sasl session callback corruption (ITS#1799)
        Build environment
                Removed lint (ITS#1744)
        Documentation
                Updated release documents
2002-08-19 19:29:18 +00:00
jlam
96a5379f66 Really remove USE_PTHREAD. 2002-08-01 05:53:28 +00:00
jlam
75e61cb884 Adjust to new pthread.buildlink.mk: remove USE_PTHREAD and replace with
appropriate PTHREAD_OPTS incantation, and move the checks for the value
of PTHREAD_TYPE below the inclusion of pthread.buildlink.mk.
2002-08-01 05:48:00 +00:00
cjep
64c9e8a407 Change USE_KERBEROS to PKG_USE_KERBEROS in pkgsrc. There was a "conflict"
which the basesrc USE_KERBEROS variable. Discussed on packages@

This fixes PR#17182 from Takahiro Kambe. The problem was pointed out by
FUKAUMI Naoki on a Japanese NetBSD mailing list.
2002-06-15 21:19:59 +00:00
jlam
43c1145f91 Remove odd -L${WRKSRC}/libraries junk from openldap libtool archives.
Fixes part of pkg/15794 by Bernd Ernesti <bernd@arresum.inka.de>.  This
wasn't actually a buildlink problem, but buildlink is flexible enough to
provide a solution.
2002-03-07 23:40:56 +00:00
jlam
eb1e93618c If USE_SASL == YES, then the openldap libraries are linked against
libsasl.so, so include cyrus-sasl/buildlink.mk to pull in the SASL
libraries into ${BUILDLINK_DIR}.
2002-03-07 21:50:40 +00:00
martti
83b389a704 Updated openldap to 2.0.23
* Fixed slapd moddn acl bug (ITS#1562) (ITS#1582)
* Fixed slapd acl regex (to dn="") portability bug (ITS#1579)
* Disabled -lldap atexit() handler (ITS#1577)
* Updated config.guess/sub scripts (ITS#1567)
* Fixed a number of typos (ITS#1578)
2002-02-13 12:21:24 +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
kleink
549e7ed4e5 Update openldap to 2.0.22. Notable changes since version 2.0.21(nb1):
Fixed slapd passwd modify referral bug
	Fixed back-ldbm index threading bug
	Fixed back-ldbm ordering presence index bug
	Fixed back-ldap modify bug (ITS#1547)
	Fixed -lldap TLS errno bug
	Fixed ud v2 kind bug
	Updated slapd slurpd friendly code
	Build environment
		Fixed Mach cthreads detection (ITS#1554)
		Updated Berkeley DB 4 detection
2002-02-02 15:00:18 +00:00
jlam
890dfbe9bc Add SASL-based user authentication based on if USE_SASL=YES. 2002-02-01 18:32:34 +00:00
jlam
23f593e42e Update databases/openldap to 2.0.21nb1. Changes from version 2.0.21 are
building this package _without_ threads support if the threads are non-
native.  While the package does build correctly using GNU pth, and the
clients run correctly, the slapd server isn't able to pass "make test".
When built without threads support, only the replication test fails, I
think because slurpd isn't built.
2002-01-31 05:06:54 +00:00
jlam
4d3918b43d Add a rc.d-style control script for slapd. 2002-01-30 07:34:00 +00:00
kleink
e6e6a729fd Update openldap to 2.0.21. Notable changes since version 2.0.20:
Fix slapd empty string indexing/filtering handling (ITS#1507)
	Changed slapd ACL selfwrite replace logic (ITS#1530)
	Build environment
		Updated IPv6 configuration argument handling
		Fix back-shell tools make depend bug (ITS#1518)
		Removed extraneous files
2002-01-15 23:26:31 +00:00
kleink
0d6a154a52 Update openldap to 2.0.20. Notable changes since version 2.0.19(nb1):
Fixed slapd ACL empty replace bug (ITS#1530)
	Fixed slapd ACL peername/sockname exact match bug (ITS#1516)
	Fixed back-passwd db_config bug
	Fixed -lldap cache debug bug (ITS#1501)
	Fixed -lldap dnssrv free bug
	Fixed -lldap Start TLS first op bug
	Fixed slurpd TLS non-critical/critical bug (ITS#1527)
	Fixed slurpd SASL password bug (ITS#1528)
	Build environment
		Fixed repl_user build error (ITS#1503)
		Updated BerkeleyDB 4 support
		Updated schema files
		Updated Windows NT/2000 MSVC5 port
2002-01-14 22:21:03 +00:00
jlam
50eea9f567 PKG_SYSCONFSUBDIR is not changeable for this package as "openldap" is
automatically appended by the build to "sysconfdir", so change setting
from ?= to =.  Also remove the MAKE_FLAGS line that was supposed to do the
same thing as the previous change, but was apparently not working.
2002-01-06 19:33:34 +00:00
skrll
94d4988e24 Pass the base directory for PKG_SYSCONF to the configure script - openldap
is added by the pkg. (Hi Johnny!)

Fixes the install problem noted in the recent bulk build and means that a
build of kdebase2, etc... won't fail.
2002-01-06 11:21:19 +00:00
jlam
cb2703fbd1 Include pthread.buildlink.mk now that OpenLDAP is built with pthreads
support.
2002-01-01 00:00:18 +00:00
jlam
5547d6873d Update databases/openldap to 2.0.19nb1. Changes from version 2.0.19:
* Use pthread.buildlink.mk as OpenLDAP now builds correctly with GNU pth for
  a pthread implementation.  This allows slurpd to be built on all platforms.
* Use tcp_wrapper/buildlink.mk and always enable the use of TCP wrappers.
* Use the general INSTALL scripts to deal with the config files and
  directories needed by this package.  This now works correctly whether we
  build from source or if we install via a binary package.
* Honor PKG_SYSCONFDIR.
2001-12-31 08:36:09 +00:00
kleink
9058149209 Update to OpenLDAP-2.0.19; changes since 2.0.18 include:
Fixed back-ldbm not filter indexing (ITS#1405)
	Fixed back-passwd e_ndn bug (ITS#1467)
	Fixed back-ldap undef ad bug (ITS#1367)
	Fixed slapd suffix "" bugs (ITS#1430)
	Fixed slapd zero length replace bug (ITS#1364)
	Fixed slapd teletex string printables bug (ITS#1419)
	Fixed slapd unallocated sockets bug (ITS#1415)
	Fixed slapd undefined present filter bug (ITS#1439)
	Fixed -lldap cacertfile bug (ITS#1406)
	Fixed -lldap ldap_url_seach_s bug (ITS#1429)
	Fixed -lldap unbind free bug (ITS#1442)
	Fixed -llber realloc bug (ITS#1410)
	Fixed ldappasswd/slappasswd strncmp bug (ITS#1497)
	Fixed various memory leaks
	Updated slapd emfile/enfile handling
	Build environment
		Fixed passwd-search port bug (ITS#1461)
		Fixed Kerberos build bug (ITS#1468)
		Updated CThread detection (ITS#1440)
		Updated MAXPATHLEN handling (ITS#1440)
		Fixed TLS build (ITS#1412)
		Added BerkeleyDB 4 support
		Added GNU ar support (ITS#1460)
2001-12-20 22:16:44 +00:00
zuntum
a437fd43cc Move pkg/ files into package's toplevel directory 2001-11-01 00:20:13 +00:00
zuntum
0ca28723fb Move pkg/ files into package's toplevel directory 2001-11-01 00:11:36 +00:00
kleink
92f6e17557 Be explicit about an OpenSSL dependency. 2001-10-26 13:41:27 +00:00
kleink
a0949d40a7 Update for 2.0.18 as well. 2001-10-26 12:43:20 +00:00
kleink
c5a9cd15b6 Update to OpenLDAP 2.0.18; notable changes:
OpenLDAP 2.0.18 Release
        Fixed -llber ber_bvecadd bug (ITS#1398)
        Fixed slap tools replica config bug (ITS#1385)
        Build environment
                Updated req_query detection
2001-10-26 09:04:49 +00:00
kleink
c1f1fd1134 Update for OpenLDAP-2.0.x. 2001-10-25 18:52:04 +00:00
tron
5eb9a5c340 Update "openldap" package to version 2.0.17. Major changes since version
1.2.13:
- LDAPv3 support
    + RFC 2251-2256
    + Language Tags (RFC 2596)
    + SASL (RFC2829)
    + TLS (RFC2830) and SSL (ldaps://)
    + named references
    + DNS SRV location
- IPv6 support
- LDAP over IPC support
- Updated C API
- LDIFv1 (RFC2849)
- Enhanced Standalone LDAP Server:
    + Updated Access Control System
    + Thread Pooling
    + DNS SRV referral backend (experimental)
    + LDAP backend (experimental)
    + SQL backend (experimental)
    + Better tools

This fixes PR pkg/14339 by Hauke Fath.
2001-10-25 16:15:44 +00:00
veego
63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00