Commit graph

73 commits

Author SHA1 Message Date
Xin LI
46912ba00c Update to 2.4.22 2010-04-27 20:11:03 +00:00
Doug Barton
86922094aa RC_SUBR_SUFFIX has not been needed for a long time now, all supported
versions of FreeBSD now use /etc/rc.subr and rc.d scripts without .sh
appended to the script name.
2010-03-27 06:14:03 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Xin LI
79bd2252a7 Add a missing / or otherwise the generated script would point to wrong
directory.

PR:		ports/138618
Reported by:	Alexander Wittig <alexander wittig name>
2009-09-07 22:27:13 +00:00
Xin LI
b72bc7011a o Update to 2.4.18.
o Add support to slapd_krb5_ktname, which exports an environment variable
   KRB5_KTNAME so that user can specify alternative Kerberos key table. [1]
 o Add support to run slapd with cn=config style configuration. [2]

Reported by:	Matthew Hambley <matthew at aether demon co uk> [1]
		Ulrich Spoerlein <uspoerlein at gmail com> [2]
Submitted by:	Nikolai Nespor <nikolai nespor at basis-wein at> [2]
2009-09-07 09:46:19 +00:00
Xin LI
2f8440aaf9 Update to OpenLDAP 2.4.17. Unfortunately a shared library bump is needed.
UPDATING to follow.
2009-07-20 08:13:12 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Xin LI
c462cd8e1d Update to 2.4.16 2009-04-06 01:59:57 +00:00
Xin LI
e860c694c2 Vendor fix to correct incorrect fix of ITS#5849. 2009-03-02 18:12:33 +00:00
Xin LI
90dceb1ff4 Update to 2.4.13. Note that this requires a full rebuild of all
packages that depends on openldap24-client due to a shared library
version bump.
2009-01-05 05:49:35 +00:00
Sergey Skvortsov
e6a9937c49 Fix support of multiple database backend definitions.
PR:		ports/127245
Submitted by:	Alexander Kriventsov <akriventsov xx masterhost.ru>
Approved by:	maintainer timeout
2008-09-30 15:38:53 +00:00
Sergey Skvortsov
d68f711af0 Add option for smbk5pwd overlay.
PR:		ports/126367
Submitted by:	Alexander Kriventsov <akriventsov xx masterhost.ru>
Approved by:	maintainer timeout
2008-09-04 17:36:25 +00:00
Xin LI
38231e45ad - Overhaul the way we handle with LDAP data directory, populate
the data directory upon start, not upon install. [1]
 - Update to OpenLDAP 2.4.11.
 - Modify bsd.port.mk to fit with the shared libary version bump [2]
   This has no impact to package building yet as 2.4.x is not the
   default version.

Submitted by:	Mikhail Goriachev <mikhailg webanoide org> [1]
Approved by:	portmgr (marcus) [2]
2008-07-20 03:35:42 +00:00
Xin LI
426507053f Detect OpenLDAP data directory from the configuration and use it for
further operation.

Submitted by:	Mikhail Goriachev <mikhailg webanoide org>
2008-07-07 20:54:21 +00:00
Mark Linimon
fede29f849 Fix plist of slave ports.
Hat:		portmgr
2008-02-24 03:11:56 +00:00
Xin LI
5258bd4b71 Update to 2.4.9. While there, remove the spurious icu dependency,
which is not used at the moment, and will appear if user has
installed icu on their system.
2008-02-19 22:15:56 +00:00
Xin LI
0bba516c96 Oops, previous patch was committed from a wrong tree. Here is
the correct fix.
2007-12-11 20:57:22 +00:00
Xin LI
97481b4ced Correct slapd_owner case matching.
PR:		ports/117229
Reported by:	Tetsuya Uemura <t_uemura at macome.co.jp>
2007-12-11 20:56:10 +00:00
Xin LI
5cbdf0fa3f Update to 2.4.5 beta. 2007-09-05 06:37:13 +00:00
Xin LI
2369f3725e - Adjust DATABASEDIR's permission to 700 upon slapd start. 2007-08-21 09:23:42 +00:00
Xin LI
ce3071d823 Use more concise expressions for splitting the user:group string.
Submitted by:	Ulrich Spoerlein <uspoerlein@gmail.com>
PR:		ports/111617
2007-05-28 06:04:24 +00:00
Xin LI
2f2e798f52 Unbreak for kernels without COMPAT_43TTY
Note: the patch was accepted by OpenLDAP, but
not yet integrated into their RELENG_2_4 branch.

Submitted by:	Ed Schouten <ed fxq.nl>
PR:		ports/110386
2007-04-10 16:28:56 +00:00
Xin LI
624cee410a Update to OpenLDAP 2.4.4a.
Approved by:	portmgr (kris, bsd.port.mk part)
2007-02-21 05:40:11 +00:00
Xin LI
c95c4c34f7 Update to 2.4.2alpha after repocopy.
Please note that this is not connected to build at this time, as
the port infrastructure lacks some necessary support for this
OpenLDAP release which will be tested on pointyhat soon.

If you really want to try this out please apply the patch found
in ports/97515 or
  http://www.delphij.net/patch-bsd.port.mk
in order to get infrastructure support for it.

This work is heavily based on ports/96165 submitted by
Joerg Pulz <Joerg Pulz frm2 tum de>.

Approved by:	sem (mentor, implicit)
2006-05-26 02:44:25 +00:00
Sergey Matveychuk
87cf5c6943 - Update to 2.3.21 (a bugfix release)
PR:		ports/95570
Submitted by:	delphij
2006-04-15 20:34:28 +00:00
Sergey Matveychuk
6e8e0d7441 - Update to 2.3.20 (including a client library mutex leak fix,
as described in ITS #4441) [1]
- Use --enable-ldbm-api, instead of --with-ldbm-api for configure script. [2]
- Make a note it's not an alpha anymore. [2]

PR:		ports/94728 [1], ports/93711 [2]
Submitted by:	delphij [1], Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> [2]
Approved by:	maintainer timeout
2006-04-05 08:15:07 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Vsevolod Stakhov
f74bc7baeb Update to 2.3.9 2005-10-12 12:43:57 +00:00
Vsevolod Stakhov
fb8e66e8ac Update to 2.3.7 [1]
Add RWM overlay support [2]
Convert to OPTIONS
Remove openldap23-sasl-server as it is no longer required as separated port.

PR:		85709 [1], 84966 [2]
Submitted by:	Dmitry A Grigorovich <odip@bionet.nsc.ru> [1]
		Pawel Wieleba <P.Wieleba@iem.pw.edu.pl> [2]
2005-09-15 11:47:24 +00:00
Sergey Matveychuk
da881d738f - Update to 2.3.4
PR:		ports/82238
Submitted by:	maintainer
2005-06-15 06:45:54 +00:00
Jean-Yves Lefort
04e22e2705 Fix the client's packing list.
Reported by:	pointyhat
2005-05-19 18:28:45 +00:00
Jean-Yves Lefort
9370ea1a1b - Update to 2.3.3beta [1]
- Quote BROKEN messages

PR:		ports/80982 [1]
Submitted by:	maintainer [1]
2005-05-15 20:58:06 +00:00
Edwin Groothuis
ae6c57cbe7 Fix leftover files noticed by the pointyhat run.
Learned something about the MLINKS command.
2005-05-06 04:41:31 +00:00
Edwin Groothuis
e8643086f5 New ports: net/openldap23[-server, -client, -sasl-server, -sasl-server]
There is development version of openldap named 2.3.2beta2.
	These ports are based on http://people.freebsd.org/~eik/ports/openldap23.shar.
	The repocopy has been already made in ports/77170.

PR:		ports/80618
Submitted by:	Vsevolod Stakhov <vsevolod@highsecure.ru>
2005-05-05 00:53:44 +00:00
Kris Kennaway
bd84b198de Remove repo-copies requested and performed 5 weeks ago but never
completed by the submitter.  They can be added back later if/when the
submitter is ready to proceed.

Approved by:    portmgr (self)
2005-03-27 03:19:52 +00:00
Oliver Eikemeier
d6b4e48968 Update to OpenLDAP 2.2.23:
- various fixes (see /usr/local/share/doc/openldap/CHANGES) [1]
- fixed libldap fdset re-init for restart (ITS#3524) [3]
- added ACI support [2]
- added SLPv2 support

PR:		76192 [1], 74906 [2]
Submitted by:	Alex Deiter <tiamat@komi.mts.ru> [1], Rainer Duffner <rainer@ultra-secure.de> [2]
Obtained from:	OpenLDAP CVS [3]
2005-02-03 03:42:06 +00:00
Oliver Eikemeier
6f76c925ac update to OpenLDAP 2.2.19:
- Fixed back-bdb cache bugs (OpenLDAP ITS#3356, #3358), ctxcsn memory leak
- Added support for BDB 4.3 (depends on PR 73790)
  NOTE: Don't use BDB 4.3 in production environments yet:
  <http://www.openldap.org/lists/openldap-software/200411/msg00700.html>

For a complete change log see:
  /usr/local/share/doc/openldap/CHANGES
2004-11-30 14:27:00 +00:00
Oliver Eikemeier
971d272523 - update to version 2.2.18
<http://www.openldap.org/lists/openldap-announce/200410/msg00001.html>
2004-10-25 11:51:16 +00:00
Oliver Eikemeier
f46f0c2d7c - update to version 2.2.17
+ http://www.openldap.org/lists/openldap-announce/200409/msg00001.html
  + Fixed slapd syncrepl memory leak bugs
- change default ldapi:// socket
- use IGNORE instead of .error
2004-10-11 23:22:33 +00:00
Oliver Eikemeier
47acbb6df7 update to 2.2.15
- new switch WITH_DYNAMIC_BACKENDS
- WITH_ODBC has to be specified, even when WITH_ODBC_TYPE is set
- 5.x users: when you need to start the daemon early, build with
  WITH_RCORDER=yes to put the start script into /etc/rc.d
2004-08-15 18:18:46 +00:00
Oliver Eikemeier
a51cdd3ebe Update net/openldap22-* to 2.2.11 and follow the OpenLDAP soname change:
<http://www.openldap.org/lists/openldap-devel/200403/msg00101.html>

While I'm not totally happy with their choice, I believe it is better to
be in sync with the upstream library naming scheme.

No objection from:	portmgr
2004-05-27 11:29:07 +00:00
Oliver Eikemeier
630d04fd83 Fix iODBC detection on 4.x
Prompted by:	Viktor Steinmann <viktor.steinmann@ch.easynet.net>,
		Marc Rassbach <marc@milestonerdl.com>
2004-05-07 18:19:29 +00:00
Oliver Eikemeier
98684fd5b7 Update to OpenLDAP 2.2.10
- fixed slapd syncrepl replication bugs (ITS#3055,3056,3069)
 - fixed slapd slurpd update bugs
 - fixed slapd inappropriate bind error disclosure bugs
 - fixed slapd sun_path portability bug
 - fixed slapd passwd referral memory leak
 - fixed slapd sasl userdb checkpass bug (ITS#3048)
 - fixed slapd duplicate value detection (ITS#3066)
 - fixed slapd permissive modify control (ITS#3068)
 - fixed slapd updateref handling
 - fixed slapd saslauthz subtree scope bug (ITS#3077)
 - fixed back-bdb paged results bug (ITS#3076)
 - fixed back-bdb "" suffix bug (ITS#3063)
 - fixed back-bdb/hdb/ldbm approx w/o index bug (ITS#3062)
 - fixed back-meta compare return code (ITS#3042)
 - fixed back-ldbm IDL delete bug (ITS#3046)
 - fixed back-ldbm modrdn indexing bug (ITS#3059)
 - fixed libldap parse_oid core dump bug (ITS#3065)
 - fixed ldapmodify missing error information bug (ITS#3057)
 - fixed ldapsearch paged results error handling
 - updated slapd limits
 - updated slapd overlay framework
 - added slapd Delivery Method syntax validation (ITS#3052)
 - added libldap ditContentRule oidMacro support (ITS#2920)
2004-04-20 01:01:23 +00:00
Oliver Eikemeier
0ef511cb2c - update to OpenLDAP 2.2.8:
- fixed slapd/slapadd syncrepl bugs (ITS#2948,2995)
  - fixed slapd sasl-regexp multiple entry bug (ITS#3033)
  - fixed slapd bind method portability bug (ITS#3038)
  - fixed libldap try_read1msg bug (ITS#2982)
  - added slapd numericStringOrderingMatch rule support (ITS#2988)
  - added slurpd replication interval config option (ITS#2768)

  - shared library soname change (ITS#3035) postponed until bsd.port.mk is patched

- enabled hdb backend

- prefer autodetection over PTHREAD_LIBS from bsd.port.mk, to avoid problems
  of clients which crash on -CURRENT while loading/unloading threading libraries

- added -sasl as a build option to the package name
- made the server requiring the matching client library
2004-03-31 22:33:09 +00:00
Oliver Eikemeier
f9aa7ea35b Fix libtool patch that somehow got garbled
Noticed by:	Alex Deiter <tiamat@komi.mts.ru>
2004-03-25 11:06:44 +00:00
Oliver Eikemeier
219b30185a use included libtool 2004-03-25 01:46:54 +00:00
Oliver Eikemeier
72fe32ad01 Correct MAN8
Reminded by:	Alex Deiter <tiamat@komi.mts.ru>
2004-03-24 11:50:50 +00:00
Oliver Eikemeier
8f6700f686 workaround for changed soname versioning (OpenLDAP ITS#3016)
Spotted by:	Andrzej Tobola <A.Tobola@wilk.2a.pl>
2004-03-24 02:53:30 +00:00
Oliver Eikemeier
17ce9f5aea - update to 2.2.4-release
- default to BerkelyDB 4.2

CAUTION: The OpenLDAP library name changed from libldap.2 to libldap.202
         You might want to do:
portupgrade -rf 'openldap-client-2.2.*'

Approved by:	marcus (mentor)
2004-01-20 19:25:13 +00:00
Oliver Eikemeier
147bc5cff8 - fix make configure WITH_PERL=yes (OpenLDAP ITS#2764)
Submitted by:	Matthew Seaman <m.seaman@infracaninophile.co.uk>
Approved by:	marcus (mentor)
Obtained from:	OpenLDAP CVS
2003-11-14 17:12:05 +00:00