Commit graph

226 commits

Author SHA1 Message Date
wiz
751d30d637 DEPENDS and PKGREVISION bumps because db4's library name changed. 2006-01-06 15:10:01 +00:00
ghen
0500f7f0af Add (conflicting) "iodbc" and "unixodbc" options to openldap for ODBC support,
from PR#31960.  Ok by jlam and wiz.
2005-12-29 20:10:23 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
jlam
0b66c94fae Fix PR pkg/32069 by limiting the FD_SETSIZE used by OpenLDAP to the
maximum value supported by GNU Pth when building against GNU Pth.
2005-12-21 03:54:23 +00:00
jlam
2558c0291d Change my MAINTAINER email address to the one I've been using for
pkgsrc work.
2005-12-17 05:20:21 +00:00
rillig
b71a1d488b 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
2005-12-05 20:49:47 +00:00
joerg
3e2814ff4e Checking for attribute support with _POSIX_THREAD_ATTR_STACKSIZE is
good, not including unistd.h (which defines the macro) is bad.
Correct this mistake to get a working thread stack on DragonFly and
other systems which have less than 2 MB by default. Bump revision.
2005-11-19 18:41:15 +00:00
jlam
f75e213cd7 Remove non-existent directory. 2005-10-26 15:11:10 +00:00
jlam
26440c7c8b 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
2005-10-26 15:08:13 +00:00
reed
34db6fe9d7 Use -f to force removal of the default files.
My error was:

/bin/rm /home/reed/pkg/share/examples/openldap/schema/corba.schema.default
override r--r--r--  reed/2022 for /home/reed/pkg/share/examples/openldap/schema/corba.schema.default?

(For several files it was interactive to remove.)

This is when doing non-privileged builds.

(An alternative to this is to make it install the *default files with
NONBINMODE in the first place.)
2005-08-19 19:59:59 +00:00
jlam
9eb8221b78 Use the correct LDAP type instead of the SASL type, which is only
available if building with SASL support.  Noted in private mail by
Joerg Sonnenberger.  Bump PKGREVISION to 1.
2005-08-03 21:01:40 +00:00
jlam
21ffccc8f2 Note that the sparc64 patch is actually a hack for gcc<3.3. 2005-08-01 19:27:39 +00:00
jlam
4c3bbb7eed Update databases/openldap to version 2.2.27. From now on, we'll be
tracking the latest release on the 2.2.x branch, which is generally
the stable branch of OpenLDAP.  Changes from version 2.2.20 include:

    Fixed bugs in slapd behavior.
    Fixed bugs in various backends (bdb, hdb, ldbm, ldap) for slapd
    Fixed pcache all-attrs bug (ITS#3741)
    Fixed syncrepl runqueue (ITS#3542)
    Fixed ACL dn=* <what> clause
    Fixed ACL val default style parsing crasher (ITS#3700)
    Fixed slapcat unclean exits (ITS#3764)
    Fixed libldap sasl connection assert (ITS#3278)
    Removed broken libldap fast synchronous search result processing (ITS#3612)
    Fixed slap tool log initialization (ITS#3579)
    Fixed slapi modify/increment support (ITS#3522)
    Fixed slapi plugins called multiple times with glue (ITS#3529)
    Fixed slapi 64-bit portability (ITS#3556)
    Fixed libldap fdset re-init for restart (ITS#3524)
    Fixed libldap ldap_extended_operation_s (ITS#3552)
    Added libldap fast synchronous search result processing
    Fixed slurpd replog locking (ITS#3421)
    Fixed slaptest failure if databases cannot be started (ITS#3461)
    Fixed slaptest with dynamically loaded password mechs (ITS#3495)
    Fixed libldap timeout option cleanup (ITS#3487)
2005-08-01 09:49:37 +00:00
dillo
f81ae835ad 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.
2005-05-31 10:01:36 +00:00
jlam
0dbd0c0762 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.
2005-05-11 22:08:18 +00:00
jlam
4fd08abc6e I mixed up MAKE_FLAGS with MAKEFLAGS. The latter is what we actually use
to pass make flags to bmake.
2005-05-11 22:03:52 +00:00
jlam
67ca8c8715 Don't assign to PKG_OPTIONS.<pkg> which has special meaning to the
options framework.  Rename PKG_OPTIONS.* to PKG_BUILD_OPTIONS.*.
2005-05-09 05:14:08 +00:00
jlam
03e9337879 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.
2005-05-09 05:06:55 +00:00
jlam
949a7c95f1 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.
2005-05-08 12:03:56 +00:00
wiz
6663019096 Remove duplicate share/examples/rc.d/slurpd entry. 2005-05-03 15:16:54 +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
agc
671d62d2e2 Add RMD160 digests in addition to SHA1 ones. 2005-02-23 16:33:05 +00:00
cube
89e63392b0 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.
2005-02-09 15:38:03 +00:00
seb
14a1f6e7fc Fix alignment/LP64 issue on NetBSD/sparc64 encountered while trying the
syncrepl engine with SASL.

Bump PKGREVISION.

Approved by jlam@.
2005-01-24 12:46:25 +00:00
jlam
2102fd7f04 Change a = to a += so that all of the necessary OWN_DIRS_PERMS are
created.  This is needed for slapd to start properly with a default
install.  Bump the PKGREVISION to 1.
2005-01-12 04:04:36 +00:00
xtraeme
16510f0337 Be a bit more descriptive about why the bdb option is enabled by
default, suggested by jlam@.
2005-01-12 03:37:54 +00:00
xtraeme
2eb2f69a3c 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.
2005-01-12 01:50:15 +00:00
adam
3452b0b372 Changes 2.2.20:
Fixed slapd sanity check on protocol in authz-regexp URI (ITS#3411)
Fixed slapd ID to DN mapping when values need DN escaping (ITS#3419)
Fixed slapd sl_realloc memory overrun (ITS#3420, #3404, #3296)
Fixed slapd syncrepl bugs (ITS#3423, #3425, #3443, #3448)
Fixed slapd bad tag handling
Fixed slapd error return for modrdn invalid access (ITS#3450)
Fixed back-bdb locks in backend_group (ITS#3263, #3365)
Fixed back-bdb/back-hdb listing of permissive control (ITS#3453)
Fixed back-ldap failed connection retry (ITS#3217)
Fixed back-ldap/back-meta memory handling in attr mapping
Fixed back-meta modrdn newSuperior target selection
Fixed back-sql segfault when logging and delete_rule is NULL (ITS#3407)
Build Environment
Fixed slurpd build on Windows
2005-01-06 11:10:55 +00:00
minskim
f136a1f947 Use LIBMODE instead of 444. 2004-12-28 10:12:27 +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
5f27eed40f Update databases/openldap to 2.2.19. Changes from version 2.2.18 include:
* Fixed slapd check for mandatory filter in authz-regexp URI
* Fixed slapd bad descriptor check
* Fixed slapd ACI when the subject contains '#'
* Fixed back-ldap malformed URI check for multiple URIs
* Fixed back-ldap/back-meta static definition of be_open()
* Fixed back-bdb cache bugs, ctxcsn memory leak
2004-12-22 06:22:48 +00:00
wiz
eea0c8d35f Revert previous -- -current's sched_yield has been fixed.
adam says ok.
2004-12-14 12:13:43 +00:00
adam
484e7843e7 Fixed building on NetBSD 2.0 and -current 2004-12-14 09:08:37 +00:00
tv
b23b15cc96 In case db4 is disallowed by bdb.buildlink3.mk, causing BDB_TYPE to be
set to "none", skip bdb altogether.
2004-11-29 01:10:04 +00:00
jlam
a27bbe878a The OpenLDAP libraries do NOT include any SLP code, so don't include
openslp/buildlink3.mk.  Also, simplify the kerberos/sasl checks.
2004-11-27 05:32:35 +00:00
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