Commit graph

101 commits

Author SHA1 Message Date
Martin Wilke
e393553b68 - Stage support
Reviewed by:	mat (via a crappy vnc session and it looked nice :-p)
2014-02-02 09:51:17 +00:00
Xin LI
746fea831a Support building against Berkeley DB 6.x.
PR:		ports/185630
Submitted by:	Yasuhiro KIMURA <yasu utahime org>
2014-01-14 01:02:26 +00:00
Xin LI
db39b22313 Add a patch from OpenLDAP ITS 7249 [1] which addresses crash issue
with OpenLDAP 'memberof' overlay.

Pointed out by:	oshogbo

[1] http://www.openldap.org/lists/openldap-bugs/201205/msg00002.html
2013-12-13 00:50:43 +00:00
Xin LI
28f7614e02 Update to 2.4.38. 2013-11-20 20:11:35 +00:00
Xin LI
fd436193f6 Update to 2.4.37 2013-11-02 00:51:49 +00:00
Xin LI
75f104752d Don't overwrite existing schema when they already do.
PR:		ports/177016
Submitted by:	pclin
2013-10-02 19:51:11 +00:00
Xin LI
59dbb4fcee Update to 2.4.36. 2013-08-20 18:24:59 +00:00
Xin LI
dfc9654278 Update to 2.4.35.
Feature safe:	yes
2013-04-16 20:00:27 +00:00
Xin LI
0f873d9113 Fixup for previous commit to fix installation issues reported by several
users.
2013-03-28 07:49:59 +00:00
Xin LI
e3818fa7ee - Split server and client manual pages (OpenLDAP ITS #7548) [1]
- Minor fixup to plist

PR:		ports/176924 [1]
Submitted by:	Андрей Романенко <melanhit gmail com> [1]
2013-03-24 06:42:13 +00:00
Xin LI
626fb02fa0 - Fix build when SMBPASSWD is checked [1];
- Use OPTIONSFILE?= instead of OPTIONSFILE= [2].

PR:		ports/176873 [1]
Submitted by:	"A.J. Kehoe IV (Nanoman)" <nanoman nanoman ca> [2]
2013-03-14 18:00:57 +00:00
Xin LI
bb3a86240f Update OpenLDAP to 2.4.34. 2013-03-11 23:54:38 +00:00
Xin LI
d33306f1f6 Update to 2.4.33.
Feature safe:	yes
2012-10-13 00:57:04 +00:00
Xin LI
e6b0eb3a83 Apply a vendor fix to mdb initialization crash. 2012-09-05 00:17:10 +00:00
Doug Barton
9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00
Xin LI
c3c532b9a2 Update to 2.4.32, while I'm there, convert to OptionsNG 2012-07-31 19:51:32 +00:00
Xin LI
f7b3f9198f - Allow building with MDB option;
- Fixup for plist;
 - Remove sites that no longer carries distfiles;
 - Use USERS/GROUPS to eliminate duplicated code in pkg-install
 - Update to 2.4.31[1]

PR:		ports/167102
Submitted by:	Hirohisa Yamaguchi <umq ueo co jp>, myself [1]
2012-04-23 19:53:29 +00:00
Xin LI
aa0383ff1c Update to 2.4.30. 2012-04-18 17:39:09 +00:00
Xin LI
25b94886b7 Don't list LDAP_RUN_DIR as required_dirs since we will create it.
PR:		ports/166492
Noticed by:	"O. Hartmann" <ohartman mail zedat fu-berlin de>
Feature safe:	yes
2012-03-30 09:33:25 +00:00
Xin LI
ec0bb73fc8 Create LDAPRUNDIR before starting.
Requested by:	Oliver Hartmann <ohartman zedat fu-berlin de>
PR:		ports/166492
Feature safe:	yes
2012-03-29 16:56:08 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Xin LI
6323254646 Update to 2.4.26. 2011-07-05 08:54:05 +00:00
Doug Barton
29813d5397 Remove painful examples of foo="", with particular prejudice against
constructions that parse out to [ -z "$foo" ] && foo=""

These are bad examples that get copied and pasted into new code, so the
hope is that with less bad examples there will be less need for me to
bring this up in review.

In a few of these files all that were changed were comments so that next
time I search for these patterns I won't trip on the file for no reason.

In a few places, add $FreeBSD$

No functional changes, so no PORTREVISION bumps
2011-05-15 02:49:17 +00:00
Xin LI
2c8388d913 inet_ntoa is not thread-safe as it uses a static store, which may
result in a race condition, where for instance an IP based ACL
might result in a denial decision.

Fix this by changing these inet_ntoa's to inet_ntop with on-stack
store.

Reported by:	Damian Hazen <dhazen lbl.gov>
2011-05-02 19:22:41 +00:00
Xin LI
15a52eb805 Make OpenLDAP libraries link against libfetch when requested and not only
binaries linking against liblutil.  This should fix build issue when FETCH
is enabled.

Prompted by:	kib
2011-04-02 23:00:51 +00:00
Xin LI
f2a2258d9d Update to 2.4.25. 2011-03-28 08:34:39 +00:00
Xin LI
a4592da8ce Add a patch from OpenLDAP ITS 6832 to fix build when the user uses a custom
GCC version.

PORTREVISION intentionally not bumped because this does not affect compiled
binary.

PR:		ports/155743
Submitted by:	mm
2011-03-21 12:36:12 +00:00
Xin LI
ca858ffb67 Update OpenLDAP to 2.4.24.
Unfortunately this version requires a shared library version bump again.
2011-02-24 21:50:08 +00:00
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