Commit Graph

215 Commits

Author SHA1 Message Date
sthen
94e9fea08c fix openldap-server @ask-update line; it used <2.5 not <2.5v0 (needed for EPOCH)
prompted by a mail from Eric Lenio
2022-11-20 12:40:10 +00:00
sthen
1cb523b773 fixup some of portbump's stupid ideas 2022-11-08 11:26:53 +00:00
ajacoutot
f50fdd748e Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:14:43 +00:00
sthen
6c41f375a3 update to openldap-2.6.3 2022-07-17 09:02:41 +00:00
sthen
b317d7b1c1 committed upstream 2022-05-14 18:03:15 +00:00
sthen
629118de95 update to OpenLDAP 2.6.2
- BDB/HDB are no longer supported in 2.5+, if you're using these you
need to move to MDB (MDB is supported in the 2.4.x version already in
ports).

*Before* upgrading use slapcat to dump your database to an ldif file.
(You should be doing this regularly anyway)

Update your database configuration to use mdb instead of bdb.
Note that if you are using the on-line configuration database (cn=config)
rather than slapd.conf it can be fiddly to change in an existing
configuration; you may prefer to regenerate the configuration too.

Reload your database from the ldif file using slapadd (or if you are
updating a read-only replica you can let syncrepl pick it up).

- The port has switched to a modular build. The most important backends
and overlays (in particular mdb and syncrepl) are still compiled into
slapd so in those cases you don't need to make any changes to adapt to
this. If using more exotic configuration then you may need to load
the relevant modules (for OLC see "olcModuleLoad", for slapd.conf see
"moduleload").

- Switch from BUILD_DEPENDS on groff (only soelim is used) to an awk
script.

Next commit will adjust other ports to cope.
2022-05-14 15:33:58 +00:00
sthen
d2fdbde7c8 a bit of port tidying for databases/openldap, and disable some of the
not-so-useful modules that aren't available in newer versions
2022-03-25 22:06:12 +00:00
sthen
a98e0e6666 remove rcs IDs in ports that I maintain 2022-03-07 21:36:41 +00:00
sthen
bc24aaca1c openldap: bump REVISION, there is a tight version check against libsasl
621cb2c7 slap_sasl_init: SASL library version mismatch: expected 2.1.28, got 2.1.27
2022-02-28 11:33:39 +00:00
espie
737fb8bb76 zap a few PKGNAME-sub which are now default
(and also duplicated EPOCH-sub which make little sense in db/{v3,v4}
2021-11-22 13:55:54 +00:00
sthen
a4a666f9b4 oops, previous commit which was supposed to just add an @pkgpath marker
was from a tree with a WIP openldap 2.5.x diff that's not yet ready.
reinstate 2.4.x.
2021-09-10 20:44:27 +00:00
sthen
b05cd25e7b remove the old openldap-2.3 server-only package, merge into 2.4.
if you were using the old one to avoid bdb, note that lmdb is now supported
in 2.4.x.
2021-09-10 18:20:30 +00:00
landry
9e1a0c69de databases/openldap: fix -server installs
@sample /var/openldap-data/ earlier (before /var/openldap-data/DB_CONFIG)
otherwise pkg_add complains that the file could not be installed.

ok sthen@ (MAINTAINER)
2021-07-28 07:23:34 +00:00
sthen
1658161d0c update to openldap-2.4.59
- libressl build patch: this release added support for setting TLS 1.3
ciphers using SSL_CTX_set_ciphersuites/SSL_set_ciphersuites; though
they're present in src/lib/libssl and headers they're not actually
exported to libssl.so yet (figured out after some head-scratching)

- squelch some noisy warnings, fix a 64-bit time_t issue in debug
2021-06-09 22:31:27 +00:00
sthen
1393d069bc add a portroach marker, we can't use openldap 2.5 (requires openssl 1.1.1) 2021-05-24 17:05:15 +00:00
sthen
6eaf30816f update to openldap-2.4.58 2021-03-17 08:49:13 +00:00
sthen
a23ed2f920 update to openldap-2.4.57 2021-01-19 17:54:47 +00:00
sthen
f0bc6feb66 update to openldap-2.4.56 2020-11-12 17:00:46 +00:00
sthen
ba7c8e9759 update to OpenLDAP 2.4.55 2020-11-06 14:36:11 +00:00
sthen
80827ca057 update to OpenLDAP 2.4.54 2020-10-13 13:50:15 +00:00
sthen
db0366e616 update to openldap-2.4.53 2020-09-08 15:22:31 +00:00
sthen
af9a6c6402 update to openldap-2.4.52 2020-09-01 13:23:10 +00:00
sthen
da8df0e55b update to OpenLDAP 2.4.51 2020-08-17 19:58:02 +00:00
sthen
6cc9779250 switch my maintainer email addresses to my own domain 2020-07-11 22:54:35 +00:00
sthen
f1877139c6 OpenLDAP nearly has support for the DCE 1.1 RPC UUID functions that we
have in libc but not quite - it looks for a uuid_to_str with same api
as uuid_to_string(3) (unsure where this would come from, searches don't
reveal any other software using it).

Patch to allow it to use the libc functions instead of Linux libuuid
(which in our case comes from the e2fstools package).
2020-06-18 21:36:10 +00:00
sthen
3305e40a1d openldap: dynamically link libs to tools/server 2020-06-18 20:38:41 +00:00
sthen
effb28f590 openldap: drop icu4c dependency. autoconf used to look for it and it was
linked, but nothing ever actually used it. detection was removed
upstream, https://www.openldap.org/lists/openldap-bugs/201912/msg00036.html
2020-06-18 19:25:54 +00:00
sthen
2d27c66046 openldap; replace most of the custom post-install target (which moved
config files from PREFIX/etc to PREFIX/share/examples) with overriding
sysconfdir in FAKE_FLAGS. Simpler, and installs the sample ldif files
to share/examples which should help new users. Req by Stefan Kapfhammer.
2020-06-18 17:42:56 +00:00
sthen
7e304e6fb8 update to openldap-2.4.50 2020-05-14 11:49:51 +00:00
sthen
c91ab9054f update to openldap-2.4.49 2020-01-31 21:15:27 +00:00
sthen
3d9308e89b update to OpenLDAP 2.4.48. while there, patch away -release in libtool args to
stop using SONAME of libldap-2.4.so.XXX (but maintain symlinks for now as other
ports are using these names).
2019-07-25 22:07:47 +00:00
sthen
9c6e9626b9 s/PERMIT_PACKAGE_CDROM/PERMIT_PACKAGE/ and some light whitespace tidying
in ports which I maintain
2019-06-03 16:06:50 +00:00
sthen
9f6afabf9b revise MASTER_SITES list 2019-02-05 20:35:57 +00:00
bentley
9df392a138 Add https mirror. Move homepage to https. 2019-02-05 11:54:55 +00:00
sthen
c27718f7d9 update to openldap-2.4.47
- adjust the MDB writemap patch, inspired by databases/mdb, to force
writemap to be enabled (as required on OpenBSD) if not already set.
simpler to use and this allows the patches for the test suite to be removed.
2019-01-07 23:10:13 +00:00
sthen
25f0e460f2 Add COMPILER lines to c++ ports which currently use the default. Adjust
some existing COMPILER lines with arch restrictions etc. In the usual
case this is now using "COMPILER = base-clang ports-gcc base-gcc" on
ports with c++ libraries in WANTLIB.

This is basically intended to be a noop on architectures using clang
as the system compiler, but help with other architectures where we
currently have many ports knocked out due to building with an unsuitable
compiler -

- some ports require c++11/newer so the GCC version in base that is used
on these archirtectures is too old.

- some ports have conflicts where an executable is built with one compiler
(e.g. gcc from base) but a library dependency is built with a different
one (e.g. gcc from ports), resulted in mixing incompatible libraries in the
same address space.

devel/gmp is intentionally skipped as it's on the path to building gcc -
the c++ library there is unused in ports (and not built by default upstream)
so intending to disable building gmpcxx in a future commit.
2018-10-24 14:27:57 +00:00
jca
c6268faeb4 Fix @extraunexec
from Raf Czlonka, ok sthen@ (maintainer)
2018-08-25 18:22:51 +00:00
landry
176eab4f30 Remove gd.tuwien.ac.at from MASTER_SITES, seems it doesnt exist anymore.
I checked that the distfiles still fetched from their alternative
source.
There still remains two issues with converters/xlhtml (no other source
for the oooooold version we have in tree) and the gentoo patch in
x11/qt3.
2018-06-30 11:41:36 +00:00
sthen
33ed5f6623 update to openldap 2.4.46 2018-03-29 19:32:12 +00:00
kili
4dec311a1c Revisions can't go backwards. 2018-01-12 00:36:28 +00:00
rpe
9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00
sthen
04bf98420e - Enable the MDB backend now that the writemap-enforcing patch has been
fixed. Document the writemap requirement in DESCR-server. Add a patchset
from Paul B. Henson to use writemap in the test suite.

- Don't @sample slapd.conf. This config backend has been deprecated for
some time and will be removed in a future OpenLDAP release. Their
recommended configuration engine is slapd-config(5), see
http://www.openldap.org/doc/admin24/slapdconf2.html

- Do @sample /etc/openldap/slapd.d, the default location for slapd-config(5)
storage. Also add accompanying @extraunexec.

- @sample some schema files that were missed in the update to 2.4.23
several years ago. Better late than never :-)
2017-08-26 12:10:55 +00:00
sthen
1dd1aed429 bump; textproc/icu4c now uses multi-packages for -wwwdata 2017-08-24 09:45:23 +00:00
sthen
5ed33d829b set rc before calling Debug, from Paul B. Henson 2017-08-06 10:50:05 +00:00
sthen
7c62b209b6 fix regression tests, one of them uses /bin/bash 2017-08-04 16:36:35 +00:00
sthen
bdd1d7c629 Update the MDB "enforce writemap" patch following debug/feedback from
Paul B. Henson.

MDB is still disabled for now pending further testing.
2017-08-04 12:34:56 +00:00
sthen
5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00
espie
8ac47fd9c6 use COMPILER_LIBCXX where applicable 2017-07-16 19:18:47 +00:00
sthen
45533ce218 Some manpages were in the wrong subpackage; move to the correct one
and update @conflict.

This is an old bug, but only noticed after the switch to mandoc which
means that rather than rendering the manuals with groff (dereferencing
symlinks *before* packaging, so all files were present), the files
were installed directly, resulting in symlinks in the package. This
resulted in -client having symlinks to files which are in -main,
causing problems with pkg_add -u as reported by aja@.
2017-06-19 09:12:04 +00:00
schwarze
e6f174f769 No relevant formatting differences, drop USE_GROFF and bump.
But keep textproc/groff in BUILD_DEPENDS because soelim(1)
is used at "make build" time.
2017-06-17 00:42:37 +00:00