Up to [cvs.NetBSD.org] / pkgsrc / databases / openldap
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Split the databases/openldap package in -client and -server component packages (and add a -doc component), which I'll import in a minute. This package is now nothing but a meta-package, depending on those three. Take over MAINTAINERship (ok with joerg). Add an inet6 option to -client and -server (PR pkg/33524). Bump PKGREVISION.
Update path from cyrus-sasl2 to cyrus-sasl.
Over 1200 files touched but no revisions bumped :) RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
Add (conflicting) "iodbc" and "unixodbc" options to openldap for ODBC support, from PR#31960. Ok by jlam and wiz.
Fixed pkglint warnings. The warnings are mostly quoting issues, for example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
Update databases/openldap to 2.3.11, which is the first "stable" release in the 2.3.x series. This is a major update over version 2.2.x, and changes include: * Slapd(8) enhancements - Updated slapd "overlay" interface, and several example (and mostly experimental) overlays. - Updated LDAP "sync" Engine with replication support, provider now an "overlay" - Numerous access control enhancements, including experimental "don't disclose on error" capability - Configuration backend * LDAPv3 extensions, including: - LDAP Password Policy - LDAP Component Matching (requires OpenLDAP snacc) - LDAP Modify Increment
Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a user settable variable. Set PKG_SUGGESTED_OPTIONS instead. Also, make use of PKG_OPTIONS_LEGACY_VARS. Reviewed by wiz.
Explicitely disable sasl support when the option is not selected, in case there is a sasl library somewhere in the system, as the configure script would try using it.
Be a bit more descriptive about why the bdb option is enabled by default, suggested by jlam@.
If dynamic and bdb options are used, the hdb module is built, but not if bdb is disabled, so only build it when the bdb option has been enabled.
In case db4 is disallowed by bdb.buildlink3.mk, causing BDB_TYPE to be set to "none", skip bdb altogether.
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.
USE_DB185=no; should fix build failure reported on tech-pkg by <mlh@goathill.org>.
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.
Update linkage to libltdl, now in its own package.
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.
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.
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>.