Commit graph

245 commits

Author SHA1 Message Date
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
fa718d5cc3 Fix version range representation. 2013-03-12 00:41:57 +00:00
Xin LI
bb3a86240f Update OpenLDAP to 2.4.34. 2013-03-11 23:54:38 +00:00
Eitan Adler
b7b9ec7a12 Variable that start with _ are considered private to the defining
makefile and may not be used by ports makefiles.
In addition, avoid problems should the defaults ever change.

Approved by:	portmgr (tabthorpe)
2013-03-02 03:55:25 +00:00
Xin LI
17e053f069 The port only installs certain documentation file with the client slave
port, so cover these to CLIENT case.

Noticed by:	remko (via pkgng)
2012-12-17 08:16:44 +00:00
Xin LI
a571c07ffb Avoid setting PKGNAMESUFFIX late, which in turn changes UNIQUENAME and
causes OPTIONS menu to be shown up multiple times.

As a side effect we have to make openldap24-client and
openldap24-sasl-client which we do not have a better solution at this
time.

Submitted by:	bapt (mostly)
2012-12-12 20:09:55 +00:00
Hajimu UMEMOTO
dda3fab6a5 Update cyrus-sasl2 to 2.1.26.
This bumps shlib version of libsasl2.
2012-12-10 15:10:02 +00:00
Xin LI
040008d3ab o Correct typo.
PR:		ports/173663
Submitted by:	Chris Mikkelson <cmikk uerige.oss.uswest.net>
Feature safe:	yes
2012-11-30 04:25:23 +00:00
Xin LI
d33306f1f6 Update to 2.4.33.
Feature safe:	yes
2012-10-13 00:57:04 +00:00
Xin LI
dedf5b52d6 fix plist for use with pkg.
PR:		ports/172387
Submitted by:	kwm
2012-10-09 18:33:17 +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
854e82e6ea DYNAMIC_BACKEND should be in the default.
Submitted by:	sunpoet
2012-08-01 04:19:42 +00:00
Xin LI
815b779da7 Don't remove schema if they are modified.
PR:		ports/170300
Submitted by:	ohauer
2012-07-31 22:47:42 +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
43c27903b2 Don't override UNIQUENAME. Without this, -client slave will overwrite
-server configurations.

Reported by:	crees
2012-06-14 17:42:36 +00:00
Xin LI
2f54dcfb6d Wrap USERS and GROUPS within !CLIENT_ONLY, the user credential
is only required for server.
2012-05-01 02:01:40 +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
Xin LI
fe22c3acd8 Allow building with Berkeley DB 5.x based on popular demands.
Feature safe:	yes
2012-03-13 04:06:15 +00:00
Xin LI
03541d040b Remove a duplicate @dirrmtry, as spotted by pkg2ng.
Note that this does not actually affect packaging (by
accident) so no PORTREVISION bump is done.

Noticed by:	Anton Shterenlikht <mexas@bristol.ac.uk>
Feature safe:	yes
2012-03-12 18:01:05 +00:00
Martin Wilke
93cfaf9ad9 - Chase unixODBC shlib bump 2012-02-06 12:25:50 +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
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Xin LI
f49a3fad02 Pet portlint(1). 2011-07-20 19:02:02 +00:00
Xin LI
56c5ebfc9d Add license. 2011-07-20 18:58:10 +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
42187a24f9 Disable FETCH support by default, as it adds a new requirement to fetch(3)
library which is unexpected by most applications.
2011-03-28 20:45:41 +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
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Xin LI
16a7ce183e WITH_SMBPWD should apply only when building servers.
PR:		ports/148936
2010-08-02 19:25:26 +00:00
Xin LI
58a443aa82 Update to 2.4.23. This is a pure bugfix release that addresses several
reliability issues.

Feature safe:	yes
2010-07-01 19:04:42 +00:00
Xin LI
561386e500 - SASL is not default since 2007 so remove an unneeded test about WITHOUT_SASL
which causes confusion that defining WITHOUT_SASL as building
   openldap24-sasl-client would get you openldap24-client.
 - Add an option to build without fetch(3) library, which in turn depends on
   base OpenSSL. [1]
 - Promote SASL and FETCH options to be on both client and library ports.
 - Both SASL and FETCH remains their defaults (no and yes) so no PORTREVISION
   bump.

PR:		ports/145337 [1]
Feature safe:	yes
2010-06-30 07:20:39 +00:00
Xin LI
8d4d806278 Mark Berkeley DB 5.0 as invalid combination for now. OpenLDAP does not
officially supports this (yet).

Note that BDB 5.0 do work with OpenLDAP with some trivial tweaks to the
configure scripts.
2010-05-15 00:27:20 +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
d45eb42f86 Update to 2.4.21.
Sponsored by:	iXsystems, Inc.
2009-12-23 23:40:46 +00:00
Xin LI
c54c0d5140 Update to 2.4.20.
Sponsored by:	iXsystems, Inc.
2009-11-30 19:12:42 +00:00
Xin LI
14e531e2d0 Update to 2.4.19. 2009-10-06 18:19:18 +00:00