Commit graph

364 commits

Author SHA1 Message Date
Charlie Li
77073df27b net/openldap24-server: fix build with LibreSSL
Modify the OpenSSL 1.1.1 preprocessor guards to also account for
LibreSSL missing certain functions, particularly
SSL_CTX_set_ciphersuites(3) and SSL_set_ciphersuites(3). While here,
un-IGNORE for ${SSL_DEFAULT:Mlibressl*}.

PORTREVISION intentionally not bumped as this is a build fix.

PR: 256433
2021-06-06 23:26:04 -07:00
Xin LI
960d4878c5 net/openldap24-server: Mark IGNORE when libressl is chosen for now.
The current release of libressl does not yet provide OpenSSL style
TLSv1.3 API which is required by OpenLDAP cd3567d75 (ITS#9521).

PR:		256433
2021-06-06 15:17:11 -07:00
Xin LI
42cf9fac0b net/openldap24-server: upgrade to 2.4.59. 2021-06-05 16:17:52 -07:00
Xin LI
d4a6b63b1c net/openldap24-server: Use local libraries paths for libltdl is used.
Reported by:	O. Hartmann
PR:		255795
2021-05-11 09:43:39 -07:00
Xin LI
131fd94817 Update MASTER_SITES with official mirrors.
Submitted by:	jharris widomaker com (earlier version)
PR:		ports/240001
2021-05-10 23:10:22 -07:00
Balazs Toth
96ce7b169c Modularize OpenLDAP server.
For default installation, build and install most of backends and
overlays as modules.

PR:		213435
2021-05-10 22:52:18 -07:00
Jan Beich
69d24a727d devel/icu: update to 69.1
Changes:	https://github.com/unicode-org/icu/releases/tag/release-69-1
Reported by:	GitHub (watch releases)
2021-04-08 23:33:31 +00:00
Mathieu Arnold
135fdeebb9
all: Remove all other $FreeBSD keywords. 2021-04-06 16:31:13 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Xin LI
785a1db894 net/openldap24-server: update to 2.4.58. 2021-03-20 22:30:44 +00:00
Xin LI
440b2dbe84 net/openldap24-server: update to 2.4.57.
MFH:		2021Q1
2021-01-20 17:04:23 +00:00
Bernard Spil
7f469d6521 net/openldap24-server: Remove LibreSSL patch
PR:		252002
Approved by:	delphij (maintainer)
2020-12-21 13:03:11 +00:00
Xin LI
033530c59f net/openldap24-server: update to 2.4.55.
MFH:		2020Q4
2020-11-14 17:33:17 +00:00
Jan Beich
6d5d6429d5 devel/icu: update to 68.1
Changes:	http://site.icu-project.org/download/68
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
Reported by:	GitHub (watch releases)
2020-11-03 00:56:26 +00:00
Xin LI
48bcc18931 net/openldap4-server: update to 2.4.51. 2020-08-14 00:39:38 +00:00
Dmitry Marakasov
a31b4fc438 - Update WWW
Approved by:	portmgr blanket
2020-04-29 09:32:34 +00:00
Xin LI
aaec22bace net/openldap24-server: update to 2.4.50.
PR:		246010
MFH:		2020Q2
Security:	CVE-2020-12243
2020-04-29 01:31:04 +00:00
Jan Beich
ffb8eb82e5 devel/icu: update to 67.1
Changes:	http://site.icu-project.org/download/67
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
Reported by:	GitHub (watch releases)
2020-04-23 20:14:49 +00:00
Jan Beich
f821cdc347 devel/icu: update to 66.1
Changes:	http://site.icu-project.org/download/66
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
2020-03-13 09:47:16 +00:00
Xin LI
ece56d89fc net/openldap24-server: skip database existence check.
PR:		243591
Submitted by:	Goran Mekić <meka tilda center>
2020-02-09 04:02:00 +00:00
Xin LI
c9a7d352c8 Update to 2.4.49. 2020-02-03 07:17:23 +00:00
Xin LI
dc66ec8d4c net/openldap24-server: back_mdb: use robust mutexes.
PR:		197514
2019-12-07 23:31:47 +00:00
Xin LI
ad96a38362 Perform sanity check of configuration at start.
Submitted by:	Michael Butler <imb protected-networks net>
2019-12-07 19:19:37 +00:00
Xin LI
7e94da2701 Unbreak KQUEUE
Reported by:	tobik
2019-12-01 03:32:07 +00:00
Xin LI
db3ed360e4 net/openldap24-server: add support for pbkdf2 password hash
PR:		241471
Submitted by:	Joris Dedieu <joris dedieu gmail com>
2019-11-30 06:19:51 +00:00
Jan Beich
4bbb4133b2 devel/icu: update to 65.1
Changes:	http://site.icu-project.org/download/65
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
2019-10-03 20:35:29 +00:00
Mathieu Arnold
2614c95748 Convert to UCL & cleanup pkg-message (categories n)
(and missed 3 missed files from previous categories.)
2019-08-14 08:48:50 +00:00
Xin LI
f72dee952b Update to 2.4.48.
MFH:		2019Q3
2019-08-06 14:23:39 +00:00
Jan Beich
480c577baa devel/icu: update to 64.1
Changes:	http://site.icu-project.org/download/64
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		236325
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D19479
2019-03-27 21:11:08 +00:00
Xin LI
5f5f2f496b Update to 2.4.47. 2018-12-21 06:40:37 +00:00
Rene Ladan
8a502cb2d4 Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision:	https://reviews.freebsd.org/D17724
2018-11-02 13:32:34 +00:00
Jan Beich
91f9922c6f devel/icu: update to 63.1
Changes:	http://site.icu-project.org/download/63
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		232300
Exp-run by:	antoine
2018-10-23 11:35:03 +00:00
Mathieu Arnold
e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00
Cy Schubert
4c2c02bc06 Ensure that slapd starts before kdc, as the kdc may be configured to
require LDAP services. If it is configured to require LDAP and the
slapd server is not yet started, the kdc will fail to start.

PR:		229939
Approved by:	delphij@ (maintainer)
MFH:		2018Q3
Differential Revision:	https://reviews.freebsd.org/D16602
2018-08-10 02:57:05 +00:00
Jan Beich
3beb732dad devel/icu: update to 62.1
Changes:	http://site.icu-project.org/download/62
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		229359
Exp-run by:	antoine (only 10.4)
2018-06-29 14:22:11 +00:00
Bernard Spil
40ad94c187 net/openldap24-server: Fix regression with LibreSSL 2.6
PR:		227734
Reported by:	dewayne heuristicsystems com.au
Approved by:	maintainer (delphij)
2018-04-24 17:10:05 +00:00
Bernard Spil
ccea5fde63 security/openldap-server: Fix build with LibreSSL 2.7
- LibreSSL 2.7 implements OpenSSL 1.1 API

PR:		227192
Approved by:	delphij (maintainer)
2018-04-17 13:47:03 +00:00
Xin LI
7501f8f143 Require netif be run before starting slapd.
PR:		213671
Submitted by:	arkadiusz.majewski at iptrace.pl
2018-04-11 09:29:25 +00:00
Jan Beich
ae60358af5 devel/icu: update to 61.1
Changes:	http://site.icu-project.org/download/61
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		227042
Exp-run by:	antoine
MFH:		2018Q2 (required by Firefox 61)
2018-04-06 15:53:16 +00:00
Xin LI
d5d70b47ad Update to 2.4.46. 2018-03-30 04:06:05 +00:00
Bernard Spil
5ac32ca52d net/openldap-server: Not broken with OpenSSL 1.1
Fixed with version 2.4.45 as per changelog

PR:		225878
2018-02-15 09:50:07 +00:00
Tijl Coosemans
c4a89e3c29 Replace USE_AUTOTOOLS=autoconf with a BUILD_DEPENDS on autoconf and run
autoconf from pre-configure.  USES=autoreconf cannot be used because of
upstream modifications (e.g. custom ltmain.sh).
2018-01-14 21:37:08 +00:00
Jan Beich
99b0558e42 devel/icu: update to 60.1
Changes:	http://site.icu-project.org/download/60
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		223373
Exp-run by:	antoine
2017-11-09 02:31:47 +00:00
Xin LI
f17a3a0f23 Workaround an issue with kqueue support.
OpenLDAP does slapd_daemon_init() which will initialize kqueue(), but then
calls lutil_detach() which will fork(), and the fork() would invalidate the
kqueue descriptor in the child process.

Completely solving this would require some intrusive changes so workaround
this for now by calling rfork() without RFFDG and reorder file descriptor
closure order.

While I'm there also refrain from stopping slapd when deinstalling.
2017-10-30 05:53:38 +00:00
Xin LI
a5c7dbd934 Add experimental kqueue support [1]:
===
Added support for using kqueue in slapd (for systems that support kqueue(2).

Patch obtained from:
        http://public.me.com/bryan.duncan/bryan-duncan.kqueue.090922.patch

 # This patch file is derived from OpenLDAP Software. All of the
 # modifications to OpenLDAP Software represented in the following
 # patch(es) were developed by Apple.  I, Bryan Duncan, am authorized by
 # Apple, my employer, to release this work under the following terms.
 #
 # Copyright 2009 Apple Inc. All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted only as authorized by the OpenLDAP
 # Public License.
 #
 # A copy of this license is available in file LICENSE in the
 # top-level directory of the distribution or, alternatively, at
 # http://www.OpenLDAP.org/license.html.
 #
===

While I'm there, make icu a dependency and conditionally make use
of fdatasync for FreeBSD versions where it is available.

Obtained from:	https://github.com/quanah/openldap-scratch/commits/its6300 [1]
2017-10-07 04:52:53 +00:00
Xin LI
d4da9b7abe Reorder several variable definitions in Makefile.
PR:		ports/222405
Submitted by:	Yasuhiro KIMURA <yasu utahime org>
2017-09-27 06:57:59 +00:00
Xin LI
3a69d61f89 Remove unnecessary '@exec mkdir -p %D/libexec/openldap' line from pkg-plist.
PR:		ports/222405
Submitted by:	Yasuhiro KIMURA <yasu utahime org>
2017-09-27 06:40:50 +00:00
Xin LI
88d565f5a2 Unmute all commands at install stage.
PR:		ports/222405
Submitted by:	Yasuhiro KIMURA <yasu utahime org>
2017-09-27 06:31:14 +00:00
Xin LI
11e1db417b There is no MODULES options, remove it.
PR:		ports/222405
Submitted by:	Yasuhiro KIMURA <yasu utahime org>
2017-09-27 06:15:07 +00:00
Xin LI
8ccd0119e3 Replace 'EXTRACT_SUFX=.tgz' with 'USES=tar.tgz'.
PR:		ports/222405
Submitted by:	Yasuhiro KIMURA <yasu utahime org>
2017-09-27 06:01:23 +00:00