Commit graph

232 commits

Author SHA1 Message Date
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
Xin LI
44414fa4a6 Use same logic when creating the name for client package, as what we have
used in building 'em.

PR:		ports/135622
Submitted by:	Christian Ullrich <chris+freebsd chrullrich net>
2009-10-01 00:08:02 +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
Jeremy Messenger
789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +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
371354522f Disable the detection of uuid/uuid.h, which brings an unwanted dependency
which is not always being installed.

Reported by:	Panagiotis Christias <p.christias noc.ntua.gr>
2009-04-30 18:48:04 +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
cdeda2a7b9 Update to 2.4.15 2009-02-24 23:47:47 +00:00
Xin LI
515e0da150 - Expose DYNACL and ACI options as configuration menu.
- Add knobs to build COLLECT, DEREF[1] overlaies.
 - Remove knob for DENYOP.
 - Add pmi schema.

Reported by:	Piotr Buliński <piotr bulinski pl> [1]
2009-02-17 23:02:15 +00:00
Xin LI
dfab15e826 Update OpenLDAP to 2.4.14. 2009-02-17 02:54:37 +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