Commit graph

337 commits

Author SHA1 Message Date
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
Xin LI
9b725e6dab Remove ftp.dti.ad.jp from MASTER_SITES. It is unavailable for a log time.
PR:		ports/222405
Submitted by:	Yasuhiro KIMURA
2017-09-27 05:56:07 +00:00
Xin LI
1e2714bfea Use @preunexec in favor of the deprecated @unexec.
PR:		ports/222405
Submitted by:	Yasuhiro KIMURA <yasu utahime org>
2017-09-27 05:52:54 +00:00
Xin LI
8ab29fbe35 Add LASTBIND option.
PR:		ports/222623
Submitted by:	Trix Farrar <trix basement.net>
2017-09-27 05:40:09 +00:00
Xin LI
9cab58e7db Fix build with LibreSSL.
PR:		219781
Submitted by:	pawel
2017-06-05 04:20:53 +00:00
Xin LI
a71d9b8160 Update to 2.4.45. 2017-06-04 08:10:49 +00:00
Mathieu Arnold
703ff6d361 Mark some ports as not openssl-devel ready.
Sponsored by:	Absolight
2016-11-29 18:46:21 +00:00
Alexey Dokuchaev
50c7b417e3 Do not terminate BROKEN messages with period, it is added by the framework. 2016-11-14 11:26:59 +00:00
Mathieu Arnold
f037e39601 USE_BDB cleanup.
- USE_BDB=4x+ -> USES=bdb.
- USE_BDB=yes -> USES=bdb.
- USE_BDB=xx  -> USES=bdb:xx.

Other modernisations when I see them.

PR:		209183
Sponsored by:	Absolight
2016-08-08 13:46:50 +00:00
Mathieu Arnold
5b55a8a53e Fix usage of WITH_OPENSSL_BASE, WITH_OPENSSL_PORT and OPENSSL_PORT.
WITH_OPENSSL_* can't be set after bsd.port.pre.mk.
Fold all other usage into using SSL_DEFAULT == foo

PR:		210149
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
Differential Revision:	https://reviews.freebsd.org/D6577
2016-06-16 13:23:13 +00:00
Dmitry Marakasov
e87a8bd319 - Fix trailing whitespace in pkg-messages
Approved by:	portmgr blanket
2016-05-19 11:09:14 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Xin LI
70832e093c Update OpenLDAP to 2.4.44.
MFH:	2016Q1
2016-02-07 09:04:43 +00:00
Olli Hauer
3aed1539fb - mark broken if build with FETCH=on agains OpenSSL from ports
PR:		201372
Submitted by:	Michelle Sullivan
Reviewed by:	delphij@
2016-01-10 20:46:36 +00:00
Xin LI
65ae0f2ee7 Update OpenLDAP to 2.4.43.
While there, revert previous NDEBUG behavior for non-debug builds.

MFH: 2015Q4
2015-12-02 05:35:50 +00:00
Xin LI
bd45f4729e Use pipe sign (|) instead of comma (,) when doing sed. This fixes a
problem when the variable portion of sed command contains comma, for
instance, when USE_GCC=4.9.

PR:		192297
Submitted by:	marino
2015-10-14 01:07:02 +00:00
Xin LI
5a26b9c434 Define NDEBUG and disable debugging when DEBUG is disabled, and do so for
both client and server.
2015-09-13 07:55:25 +00:00
Xin LI
b3538f944a Apply upstream fix for CVE-2015-6908.
Obtained from:	OpenLDAP git 6fe51a9ab04fd28bbc171da3cf12f1c1040d6629
Security:	CVE-2015-6908
MFH:		2015Q3
2015-09-12 04:59:03 +00:00
Xin LI
d37ac8846f Update to 2.4.42.
MFH:		2015Q3
2015-09-08 05:38:52 +00:00
Xin LI
1f5426c53e Use sa_len instead of sizeof(struct sockaddr_storage) to work around a
FreeBSD kernel check, which would return EINVAL when the passed length
is larger than desired.

PR:		ports/202819
Submitted by:	brd
2015-09-02 01:46:15 +00:00
Mathieu Arnold
21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00
Xin LI
637c66da78 Update to 2.4.41. 2015-07-01 20:53:34 +00:00
Xin LI
078b145883 Add a patch to resolve symbol conflict between SHA2 module with OpenSSL's
SHA2 implementation.

Without this, e.g. SSHA512 scheme would result in a crash due to stack
corruption, which is a result of different SHA512 context size in the
contributed SHA2 implementation and the OpenSSL one, plus the allocation
is on stack.

PR:		197004
MFH:		2015Q2
2015-05-27 22:08:40 +00:00
Xin LI
7c59a19689 Don't hardcode STRIP unconditionally [1]. Instead, respect the build
environment's settings.

Add a DEBUG option.

Based on patch from:	tobik [1]
Requested by:	Leander Schäfer <info netocean de>
2015-04-27 19:23:14 +00:00
Xin LI
a34d674a65 Add a patch to improve Outlook interoperability at expense of possible
RFC violation.  This patch is optional and not enabled by default.

For detailed discussion please follow:

	http://www.openldap.org/lists/openldap-technical/201211/msg00175.html

Requested by:	Tim Gustafson <tjg ucsc edu>
2015-04-01 01:02:17 +00:00
Xin LI
4dc2b8b88e Fix build when ODBC is enabled.
Submitted by:	madpilot
2015-03-12 17:35:52 +00:00
Xin LI
bb1d1b480c Add CPE information.
Submitted by:	shun
PR:		ports/197468
2015-02-09 06:44:46 +00:00
Xin LI
169ea456f7 Apply two upstream patches to address two remote DoS issues:
- ITS8027: crash when a search includes the Deref control with an
   empty attribute list.
 - ITS8046: double free and crash by certain search queries using
   the Matched Values control.

MFH:	2015Q1
2015-02-06 22:18:15 +00:00