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.
Aligned the last line of the buildlink3.mk files with the first line, so that they look nicer.
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).
DEPENDS and PKGREVISION bumps because db4's library name changed.
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
Rename MAKE_VARS to MAKEVARS so that it more closely resembles "MAKEFLAGS". Both "MAKEVARS" and "MAKEFLAGS" affect the package-level make process, not the software's own make process.
I mixed up MAKE_FLAGS with MAKEFLAGS. The latter is what we actually use to pass make flags to bmake.
Don't assign to PKG_OPTIONS.<pkg> which has special meaning to the options framework. Rename PKG_OPTIONS.* to PKG_BUILD_OPTIONS.*.
Teach bsd.pkg.mk to create a phase-specific "makevars.mk" file that caches variable definitions that were computed by make. These variables are specified by listing them in MAKE_VARS, e.g., .if !defined(FOO) FOO!= very_time_consuming_command .endif MAKE_VARS+= FOO bsd.pkg.mk will include only the one generated during the most recent phase. A particular phase's makevars.mk file consists of variable definitions that are a superset of all of the ones produced in previous phases of the build. The caching is useful because bsd.pkg.mk invokes make recursively, which in the example above has the potential to run the very time-consuming command each time unless we cause FOO to be defined for the sub-make processes. We don't cache via MAKE_FLAGS because MAKE_FLAGS isn't consistently applied to every invocation of make, and also because MAKE_FLAGS can overflow the maximum length of a make variable very quickly if we add many values to it. One important and desirable property of variables cached via MAKE_VARS is that they only apply to the current package, and not to any dependencies whose builds may have been triggered by the current package. The makevars.mk files are generated by new targets fetch-vars, extract-vars, patch-vars, etc., and these targets are built during the corresponding real-* target to ensure that they are being invoked with PKG_PHASE set to the proper value. Also, remove the variables cache file that bsd.wrapper.mk was generating since the new makevars.mk files provide the same functionality at a higher level. Change all WRAPPER_VARS definitions that were used by the old wrapper-phase cache file into MAKE_VARS definitions.
PKG_OPTIONS.<pkg> isn't a good approximation to PKG_OPTIONS for the package because PKG_OPTION.<pkg> could contain negative options, which are never part of PKG_OPTIONS. Instead, use the show-var target to display the value. We cache it in WRAPPER_VARS and in MAKE_FLAGS to prevent reinvoking the show-var target recursively.
The OpenLDAP libraries do NOT include any SLP code, so don't include openslp/buildlink3.mk. Also, simplify the kerberos/sasl checks.
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.
Bring options handling in buildlink3.mk into sync with current options.mk.
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.
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).
Need to bump the version in buildlink3.mk since the shlib major was bumped.
PKGREVISION bump after openssl-security-fix-update to 0.9.6m. Buildlink files: RECOMMENDED version changed to current version.
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.
Reorder location and setting of BUILDLINK_PACKAGES to match template buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
The OpenLDAP libraries don't need the Kerberos libraries.
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.
Convert to use krb5.buildlink3.mk to get Kerberos 5 support. Tested to build and install properly using Heimdal.
Use S/+$// instead of C/\+$// to save a backslash. Very highly recommended by seb :)
Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk.
Initial sprinkling of work-in-progress buildlink3.mk files for using the buildlink3 framework.