Skip to content

Commit

Permalink
net/openldap26-server: upgrade to 2.6.7
Browse files Browse the repository at this point in the history
  • Loading branch information
delphij committed Jan 30, 2024
1 parent 1b62e1b commit 6ad6c5c
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 70 deletions.
6 changes: 3 additions & 3 deletions net/openldap26-server/Makefile
@@ -1,5 +1,5 @@
PORTNAME= openldap
DISTVERSION= 2.6.6
DISTVERSION= 2.6.7
PORTREVISION= ${OPENLDAP_PORTREVISION}
CATEGORIES= net databases
MASTER_SITES= https://www.openldap.org/software/download/OpenLDAP/%SUBDIR%/ \
Expand Down Expand Up @@ -46,8 +46,8 @@ CONFLICTS_INSTALL= ${PORTNAME}2[0-57-9]-server ${PORTNAME}-server
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share

PORTREVISION_CLIENT= 1
PORTREVISION_SERVER= 2
PORTREVISION_CLIENT= 0
PORTREVISION_SERVER= 0
OPENLDAP_SHLIB_MAJOR= 2
OPENLDAP_SHLIB_MINOR= 0.200

Expand Down
6 changes: 3 additions & 3 deletions net/openldap26-server/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1691645624
SHA256 (openldap-2.6.6.tgz) = 082e998cf542984d43634442dbe11da860759e510907152ea579bdc42fe39ea0
SIZE (openldap-2.6.6.tgz) = 6475109
TIMESTAMP = 1706593904
SHA256 (openldap-2.6.7.tgz) = cd775f625c944ed78a3da18a03b03b08eea73c8aabc97b41bb336e9a10954930
SIZE (openldap-2.6.7.tgz) = 6484944
7 changes: 4 additions & 3 deletions net/openldap26-server/files/patch-configure.ac
@@ -1,6 +1,6 @@
--- configure.ac 2023-07-31 14:09:15.000000000 -0400
+++ configure.ac 2024-01-16 15:17:17.855596000 -0500
@@ -1225,11 +1225,11 @@
--- configure.ac.orig 2024-01-29 18:52:23 UTC
+++ configure.ac
@@ -1225,12 +1225,12 @@ if test $ol_with_tls = openssl || test $ol_with_tls =
if test $ac_cv_header_openssl_ssl_h = yes ; then
AC_PREPROC_IFELSE([AC_LANG_SOURCE(
[[#include <openssl/opensslv.h>]
Expand All @@ -14,3 +14,4 @@
+ AC_CHECK_LIB(ssl, SSL_CTX_new,
[have_openssl=yes], [have_openssl=no],
[-lcrypto])

@@ -1,6 +1,6 @@
--- contrib/slapd-modules/smbk5pwd/Makefile.orig 2021-06-03 18:40:31 UTC
--- contrib/slapd-modules/smbk5pwd/Makefile.orig 2024-01-29 18:52:23 UTC
+++ contrib/slapd-modules/smbk5pwd/Makefile
@@ -21,8 +21,8 @@ LDAP_LIB = $(LDAP_BUILD)/libraries/libldap_r/libldap_r
@@ -21,8 +21,8 @@ SSL_LIB = -lcrypto
SSL_INC =
SSL_LIB = -lcrypto

Expand All @@ -9,5 +9,5 @@
+HEIMDAL_INC = -I/usr/include
+HEIMDAL_LIB = -L/usr/lib -lkrb5 -lkadm5srv

LIBTOOL = $(LDAP_BUILD)/libtool
CC = gcc
PLAT = UNIX
NT_LIB = -L$(LDAP_BUILD)/servers/slapd -lslapd
@@ -1,6 +1,6 @@
--- libraries/libldap/Makefile.in.orig 2021-07-27 17:44:47 UTC
--- libraries/libldap/Makefile.in.orig 2024-01-29 18:52:23 UTC
+++ libraries/libldap/Makefile.in
@@ -86,13 +86,6 @@ install-local: $(CFFILES) FORCE
@@ -84,13 +84,6 @@ install-local: $(CFFILES) FORCE
$(LTFINISH) $(DESTDIR)$(libdir)
-$(MKDIR) $(DESTDIR)$(sysconfdir)
@for i in $(CFFILES); do \
Expand Down
10 changes: 5 additions & 5 deletions net/openldap26-server/files/patch-libraries_libldap_tls__o.c
@@ -1,4 +1,4 @@
--- libraries/libldap/tls_o.c.orig 2022-05-04 14:55:23 UTC
--- libraries/libldap/tls_o.c.orig 2024-01-29 18:52:23 UTC
+++ libraries/libldap/tls_o.c
@@ -281,7 +281,7 @@ tlso_ctx_free ( tls_ctx *ctx )
SSL_CTX_free( c );
Expand All @@ -9,12 +9,12 @@
static char *
tlso_stecpy( char *dst, const char *src, const char *end )
{
@@ -417,7 +417,7 @@ tlso_ctx_init( struct ldapoptions *lo, struct ldaptls
}
@@ -427,7 +427,7 @@ tlso_ctx_init( struct ldapoptions *lo, struct ldaptls

if ( lo->ldo_tls_ciphersuite ) {
char *oldsuites = lt->lt_ciphersuite;
-#if OPENSSL_VERSION_NUMBER >= 0x10101000
+#if OPENSSL_VERSION_NUMBER >= 0x10101000 && !defined(OPENSSL_NO_TLS1_3)
tlso_ctx_cipher13( ctx, lt->lt_ciphersuite );
tlso_ctx_cipher13( ctx, lt->lt_ciphersuite, &oldsuites );
#endif
if ( !SSL_CTX_set_cipher_list( ctx, lt->lt_ciphersuite ) )
if ( oldsuites && !SSL_CTX_set_cipher_list( ctx, oldsuites ) )

This file was deleted.

18 changes: 0 additions & 18 deletions net/openldap26-server/files/patch-servers_lloadd_module__init.c

This file was deleted.

0 comments on commit 6ad6c5c

Please sign in to comment.