2009-05-26 22:55:06 +00:00
|
|
|
|
2009-12-02 18:17:04 +00:00
|
|
|
%global pkgname dirsrv
|
2017-03-10 16:04:17 +00:00
|
|
|
%global srcname 389-ds-base
|
2018-01-31 19:59:09 +00:00
|
|
|
|
2018-03-06 19:25:46 +00:00
|
|
|
# Exclude i686 bit arches
|
|
|
|
ExcludeArch: i686
|
2018-01-31 19:59:09 +00:00
|
|
|
|
2012-03-27 23:43:26 +00:00
|
|
|
# If perl-Socket-2.000 or newer is available, set 0 to use_Socket6.
|
|
|
|
%global use_Socket6 0
|
2017-03-22 00:49:24 +00:00
|
|
|
|
2017-11-03 18:00:46 +00:00
|
|
|
%global use_asan 0
|
2018-06-08 20:06:51 +00:00
|
|
|
%global bundle_jemalloc 1
|
2017-11-03 18:00:46 +00:00
|
|
|
%if %{use_asan}
|
2018-08-15 11:43:56 +00:00
|
|
|
%global bundle_jemalloc 0
|
2017-03-22 00:49:24 +00:00
|
|
|
%endif
|
2018-06-08 20:06:51 +00:00
|
|
|
|
|
|
|
%if %{bundle_jemalloc}
|
|
|
|
%global jemalloc_name jemalloc
|
2022-06-03 18:06:50 +00:00
|
|
|
%global jemalloc_ver 5.3.0
|
2018-08-10 15:51:14 +00:00
|
|
|
%global __provides_exclude ^libjemalloc\\.so.*$
|
2017-11-03 18:00:46 +00:00
|
|
|
%endif
|
2009-05-26 22:55:06 +00:00
|
|
|
|
2017-10-16 17:49:55 +00:00
|
|
|
# Use Clang instead of GCC
|
|
|
|
%global use_clang 0
|
|
|
|
|
2020-07-08 21:26:26 +00:00
|
|
|
# Build cockpit plugin
|
|
|
|
%global use_cockpit 1
|
|
|
|
|
2011-02-09 16:17:36 +00:00
|
|
|
# fedora 15 and later uses tmpfiles.d
|
|
|
|
# otherwise, comment this out
|
|
|
|
%{!?with_tmpfiles_d: %global with_tmpfiles_d %{_sysconfdir}/tmpfiles.d}
|
|
|
|
|
2011-09-01 21:33:45 +00:00
|
|
|
# systemd support
|
|
|
|
%global groupname %{pkgname}.target
|
|
|
|
|
2013-04-24 15:43:25 +00:00
|
|
|
# set PIE flag
|
|
|
|
%global _hardened_build 1
|
|
|
|
|
2021-07-15 18:24:25 +00:00
|
|
|
# Filter argparse-manpage from autogenerated package Requires
|
|
|
|
%global __requires_exclude ^python.*argparse-manpage
|
|
|
|
|
2021-09-20 13:54:09 +00:00
|
|
|
# Force to require nss version greater or equal as the version available at the build time
|
|
|
|
# See bz1986327
|
|
|
|
%define dirsrv_requires_ge() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} >= %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
|
|
|
|
|
2009-05-26 22:55:06 +00:00
|
|
|
Summary: 389 Directory Server (base)
|
|
|
|
Name: 389-ds-base
|
2023-07-07 19:27:26 +00:00
|
|
|
Version: 2.4.2
|
|
|
|
Release: 1%{?dist}
|
|
|
|
License: GPLv3+ and (ASL 2.0 or MIT)
|
2018-08-16 17:38:59 +00:00
|
|
|
URL: https://www.port389.org
|
2010-11-12 21:59:55 +00:00
|
|
|
Conflicts: selinux-policy-base < 3.9.8
|
2014-10-10 21:51:26 +00:00
|
|
|
Conflicts: freeipa-server < 4.0.3
|
2022-03-23 14:49:59 +00:00
|
|
|
Obsoletes: %{name} <= 1.4.4
|
2020-10-26 18:02:10 +00:00
|
|
|
Obsoletes: %{name}-legacy-tools < 1.4.4.6
|
|
|
|
Obsoletes: %{name}-legacy-tools-debuginfo < 1.4.4.6
|
2017-03-10 16:04:17 +00:00
|
|
|
Provides: ldif2ldbm >= 0
|
2009-05-26 22:55:06 +00:00
|
|
|
|
2021-04-09 10:19:12 +00:00
|
|
|
##### Bundled cargo crates list - START #####
|
2023-07-07 19:27:26 +00:00
|
|
|
Provides: bundled(crate(addr2line)) = 0.20.0
|
|
|
|
Provides: bundled(crate(adler)) = 1.0.2
|
2021-11-23 01:08:03 +00:00
|
|
|
Provides: bundled(crate(ahash)) = 0.7.6
|
2021-12-16 22:30:03 +00:00
|
|
|
Provides: bundled(crate(ansi_term)) = 0.12.1
|
2021-04-09 10:19:12 +00:00
|
|
|
Provides: bundled(crate(atty)) = 0.2.14
|
2022-03-23 14:49:59 +00:00
|
|
|
Provides: bundled(crate(autocfg)) = 1.1.0
|
2023-07-07 19:27:26 +00:00
|
|
|
Provides: bundled(crate(backtrace)) = 0.3.68
|
2022-11-18 13:43:03 +00:00
|
|
|
Provides: bundled(crate(base64)) = 0.13.1
|
2021-09-20 13:54:09 +00:00
|
|
|
Provides: bundled(crate(bitflags)) = 1.3.2
|
2021-04-09 10:19:12 +00:00
|
|
|
Provides: bundled(crate(byteorder)) = 1.4.3
|
|
|
|
Provides: bundled(crate(cbindgen)) = 0.9.1
|
2023-04-25 20:18:53 +00:00
|
|
|
Provides: bundled(crate(cc)) = 1.0.79
|
2021-04-09 10:19:12 +00:00
|
|
|
Provides: bundled(crate(cfg-if)) = 1.0.0
|
2021-12-16 22:30:03 +00:00
|
|
|
Provides: bundled(crate(clap)) = 2.34.0
|
2022-01-24 18:58:17 +00:00
|
|
|
Provides: bundled(crate(concread)) = 0.2.21
|
2022-09-01 19:50:20 +00:00
|
|
|
Provides: bundled(crate(crossbeam)) = 0.8.2
|
2023-04-25 20:18:53 +00:00
|
|
|
Provides: bundled(crate(crossbeam-channel)) = 0.5.8
|
|
|
|
Provides: bundled(crate(crossbeam-deque)) = 0.8.3
|
2023-07-07 19:27:26 +00:00
|
|
|
Provides: bundled(crate(crossbeam-epoch)) = 0.9.15
|
2023-01-23 14:22:09 +00:00
|
|
|
Provides: bundled(crate(crossbeam-queue)) = 0.3.8
|
2023-07-07 19:27:26 +00:00
|
|
|
Provides: bundled(crate(crossbeam-utils)) = 0.8.16
|
2021-04-09 10:19:12 +00:00
|
|
|
Provides: bundled(crate(entryuuid)) = 0.1.0
|
|
|
|
Provides: bundled(crate(entryuuid_syntax)) = 0.1.0
|
2023-04-25 20:18:53 +00:00
|
|
|
Provides: bundled(crate(errno)) = 0.3.1
|
|
|
|
Provides: bundled(crate(errno-dragonfly)) = 0.1.2
|
|
|
|
Provides: bundled(crate(fastrand)) = 1.9.0
|
2021-06-24 09:20:43 +00:00
|
|
|
Provides: bundled(crate(fernet)) = 0.1.4
|
2021-04-09 10:19:12 +00:00
|
|
|
Provides: bundled(crate(foreign-types)) = 0.3.2
|
|
|
|
Provides: bundled(crate(foreign-types-shared)) = 0.1.1
|
2023-07-07 19:27:26 +00:00
|
|
|
Provides: bundled(crate(getrandom)) = 0.2.10
|
|
|
|
Provides: bundled(crate(gimli)) = 0.27.3
|
2022-09-01 19:50:20 +00:00
|
|
|
Provides: bundled(crate(hashbrown)) = 0.12.3
|
2021-09-20 13:54:09 +00:00
|
|
|
Provides: bundled(crate(hermit-abi)) = 0.1.19
|
2023-07-07 19:27:26 +00:00
|
|
|
Provides: bundled(crate(hermit-abi)) = 0.3.2
|
2021-11-23 01:08:03 +00:00
|
|
|
Provides: bundled(crate(instant)) = 0.1.12
|
2023-07-07 19:27:26 +00:00
|
|
|
Provides: bundled(crate(io-lifetimes)) = 1.0.11
|
|
|
|
Provides: bundled(crate(itoa)) = 1.0.8
|
2023-04-25 20:18:53 +00:00
|
|
|
Provides: bundled(crate(jobserver)) = 0.1.26
|
2023-07-07 19:27:26 +00:00
|
|
|
Provides: bundled(crate(libc)) = 0.2.147
|
2021-04-09 10:19:12 +00:00
|
|
|
Provides: bundled(crate(librnsslapd)) = 0.1.0
|
|
|
|
Provides: bundled(crate(librslapd)) = 0.1.0
|
2023-07-07 19:27:26 +00:00
|
|
|
Provides: bundled(crate(linux-raw-sys)) = 0.3.8
|
|
|
|
Provides: bundled(crate(lock_api)) = 0.4.10
|
|
|
|
Provides: bundled(crate(log)) = 0.4.19
|
2022-09-01 19:50:20 +00:00
|
|
|
Provides: bundled(crate(lru)) = 0.7.8
|
2023-07-07 19:27:26 +00:00
|
|
|
Provides: bundled(crate(memchr)) = 2.5.0
|
|
|
|
Provides: bundled(crate(memoffset)) = 0.9.0
|
|
|
|
Provides: bundled(crate(miniz_oxide)) = 0.7.1
|
|
|
|
Provides: bundled(crate(object)) = 0.31.1
|
|
|
|
Provides: bundled(crate(once_cell)) = 1.18.0
|
|
|
|
Provides: bundled(crate(openssl)) = 0.10.55
|
2023-04-25 20:18:53 +00:00
|
|
|
Provides: bundled(crate(openssl-macros)) = 0.1.1
|
2023-07-07 19:27:26 +00:00
|
|
|
Provides: bundled(crate(openssl-sys)) = 0.9.90
|
2021-09-20 13:54:09 +00:00
|
|
|
Provides: bundled(crate(parking_lot)) = 0.11.2
|
2023-01-23 14:22:09 +00:00
|
|
|
Provides: bundled(crate(parking_lot_core)) = 0.8.6
|
2021-04-09 10:19:12 +00:00
|
|
|
Provides: bundled(crate(paste)) = 0.1.18
|
|
|
|
Provides: bundled(crate(paste-impl)) = 0.1.18
|
2023-07-07 19:27:26 +00:00
|
|
|
Provides: bundled(crate(pin-project-lite)) = 0.2.10
|
2023-05-18 14:11:38 +00:00
|
|
|
Provides: bundled(crate(pkg-config)) = 0.3.27
|
2022-11-18 13:43:03 +00:00
|
|
|
Provides: bundled(crate(ppv-lite86)) = 0.2.17
|
2023-01-23 14:22:09 +00:00
|
|
|
Provides: bundled(crate(proc-macro-hack)) = 0.5.20+deprecated
|
2023-07-07 19:27:26 +00:00
|
|
|
Provides: bundled(crate(proc-macro2)) = 1.0.63
|
2021-04-09 10:19:12 +00:00
|
|
|
Provides: bundled(crate(pwdchan)) = 0.1.0
|
2023-07-07 19:27:26 +00:00
|
|
|
Provides: bundled(crate(quote)) = 1.0.29
|
2022-03-23 14:49:59 +00:00
|
|
|
Provides: bundled(crate(rand)) = 0.8.5
|
2021-09-20 13:54:09 +00:00
|
|
|
Provides: bundled(crate(rand_chacha)) = 0.3.1
|
2022-11-18 13:43:03 +00:00
|
|
|
Provides: bundled(crate(rand_core)) = 0.6.4
|
2022-09-01 19:50:20 +00:00
|
|
|
Provides: bundled(crate(redox_syscall)) = 0.2.16
|
2023-04-25 20:18:53 +00:00
|
|
|
Provides: bundled(crate(redox_syscall)) = 0.3.5
|
2023-07-07 19:27:26 +00:00
|
|
|
Provides: bundled(crate(rustc-demangle)) = 0.1.23
|
|
|
|
Provides: bundled(crate(rustix)) = 0.37.23
|
|
|
|
Provides: bundled(crate(ryu)) = 1.0.14
|
2021-04-09 10:19:12 +00:00
|
|
|
Provides: bundled(crate(scopeguard)) = 1.1.0
|
2023-07-07 19:27:26 +00:00
|
|
|
Provides: bundled(crate(serde)) = 1.0.167
|
|
|
|
Provides: bundled(crate(serde_derive)) = 1.0.167
|
|
|
|
Provides: bundled(crate(serde_json)) = 1.0.100
|
2021-04-09 10:19:12 +00:00
|
|
|
Provides: bundled(crate(slapd)) = 0.1.0
|
|
|
|
Provides: bundled(crate(slapi_r_plugin)) = 0.1.0
|
2023-07-07 19:27:26 +00:00
|
|
|
Provides: bundled(crate(smallvec)) = 1.11.0
|
2021-04-09 10:19:12 +00:00
|
|
|
Provides: bundled(crate(strsim)) = 0.8.0
|
2023-04-25 20:18:53 +00:00
|
|
|
Provides: bundled(crate(syn)) = 1.0.109
|
2023-07-07 19:27:26 +00:00
|
|
|
Provides: bundled(crate(syn)) = 2.0.23
|
|
|
|
Provides: bundled(crate(tempfile)) = 3.6.0
|
2021-04-09 10:19:12 +00:00
|
|
|
Provides: bundled(crate(textwrap)) = 0.11.0
|
2023-07-07 19:27:26 +00:00
|
|
|
Provides: bundled(crate(tokio)) = 1.29.1
|
2023-04-25 20:18:53 +00:00
|
|
|
Provides: bundled(crate(tokio-macros)) = 2.1.0
|
2023-01-23 14:22:09 +00:00
|
|
|
Provides: bundled(crate(toml)) = 0.5.11
|
2023-07-07 19:27:26 +00:00
|
|
|
Provides: bundled(crate(unicode-ident)) = 1.0.10
|
2022-11-18 13:43:03 +00:00
|
|
|
Provides: bundled(crate(unicode-width)) = 0.1.10
|
2021-04-09 10:19:12 +00:00
|
|
|
Provides: bundled(crate(uuid)) = 0.8.2
|
2021-09-20 13:54:09 +00:00
|
|
|
Provides: bundled(crate(vcpkg)) = 0.2.15
|
2021-04-09 10:19:12 +00:00
|
|
|
Provides: bundled(crate(vec_map)) = 0.8.2
|
2022-01-24 18:58:17 +00:00
|
|
|
Provides: bundled(crate(version_check)) = 0.9.4
|
2022-07-05 16:21:18 +00:00
|
|
|
Provides: bundled(crate(wasi)) = 0.11.0+wasi_snapshot_preview1
|
2021-04-09 10:19:12 +00:00
|
|
|
Provides: bundled(crate(winapi)) = 0.3.9
|
|
|
|
Provides: bundled(crate(winapi-i686-pc-windows-gnu)) = 0.4.0
|
|
|
|
Provides: bundled(crate(winapi-x86_64-pc-windows-gnu)) = 0.4.0
|
2023-04-25 20:18:53 +00:00
|
|
|
Provides: bundled(crate(windows-sys)) = 0.48.0
|
2023-07-07 19:27:26 +00:00
|
|
|
Provides: bundled(crate(windows-targets)) = 0.48.1
|
2023-04-25 20:18:53 +00:00
|
|
|
Provides: bundled(crate(windows_aarch64_gnullvm)) = 0.48.0
|
|
|
|
Provides: bundled(crate(windows_aarch64_msvc)) = 0.48.0
|
|
|
|
Provides: bundled(crate(windows_i686_gnu)) = 0.48.0
|
|
|
|
Provides: bundled(crate(windows_i686_msvc)) = 0.48.0
|
|
|
|
Provides: bundled(crate(windows_x86_64_gnu)) = 0.48.0
|
|
|
|
Provides: bundled(crate(windows_x86_64_gnullvm)) = 0.48.0
|
|
|
|
Provides: bundled(crate(windows_x86_64_msvc)) = 0.48.0
|
|
|
|
Provides: bundled(crate(zeroize)) = 1.6.0
|
|
|
|
Provides: bundled(crate(zeroize_derive)) = 1.4.2
|
2021-04-09 10:19:12 +00:00
|
|
|
##### Bundled cargo crates list - END #####
|
|
|
|
|
2022-06-03 18:06:50 +00:00
|
|
|
BuildRequires: nspr-devel >= 4.32
|
|
|
|
BuildRequires: nss-devel >= 3.67.0-7
|
2010-10-19 14:16:08 +00:00
|
|
|
BuildRequires: openldap-devel
|
2022-02-02 18:52:00 +00:00
|
|
|
BuildRequires: lmdb-devel
|
2012-02-11 01:45:12 +00:00
|
|
|
BuildRequires: libdb-devel
|
2009-05-26 22:55:06 +00:00
|
|
|
BuildRequires: cyrus-sasl-devel
|
|
|
|
BuildRequires: icu
|
|
|
|
BuildRequires: libicu-devel
|
2022-09-01 19:50:20 +00:00
|
|
|
BuildRequires: pcre2-devel
|
2018-08-10 15:51:14 +00:00
|
|
|
BuildRequires: cracklib-devel
|
2022-09-01 19:50:20 +00:00
|
|
|
BuildRequires: json-c-devel
|
2017-10-16 17:49:55 +00:00
|
|
|
%if %{use_clang}
|
2018-01-31 19:59:09 +00:00
|
|
|
BuildRequires: libatomic
|
2017-10-16 17:49:55 +00:00
|
|
|
BuildRequires: clang
|
|
|
|
%else
|
2018-01-29 23:42:58 +00:00
|
|
|
BuildRequires: gcc
|
2012-03-27 23:43:26 +00:00
|
|
|
BuildRequires: gcc-c++
|
2017-10-16 17:49:55 +00:00
|
|
|
%endif
|
2009-05-26 22:55:06 +00:00
|
|
|
# The following are needed to build the snmp ldap-agent
|
|
|
|
BuildRequires: net-snmp-devel
|
|
|
|
BuildRequires: lm_sensors-devel
|
|
|
|
BuildRequires: bzip2-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
# the following is for the pam passthru auth plug-in
|
|
|
|
BuildRequires: pam-devel
|
2011-09-01 21:33:45 +00:00
|
|
|
BuildRequires: systemd-units
|
2016-02-26 01:38:05 +00:00
|
|
|
BuildRequires: systemd-devel
|
2023-02-28 19:46:30 +00:00
|
|
|
BuildRequires: systemd-rpm-macros
|
|
|
|
%{?sysusers_requires_compat}
|
2018-01-29 23:42:58 +00:00
|
|
|
%if %{use_asan}
|
|
|
|
BuildRequires: libasan
|
|
|
|
%endif
|
2022-03-23 14:49:59 +00:00
|
|
|
BuildRequires: cargo
|
|
|
|
BuildRequires: rust
|
2018-04-13 14:47:29 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(systemd)
|
2019-05-24 19:14:46 +00:00
|
|
|
BuildRequires: pkgconfig(krb5)
|
2022-09-01 19:50:20 +00:00
|
|
|
BuildRequires: pkgconfig(libpcre2-8)
|
2018-04-13 14:47:29 +00:00
|
|
|
|
2016-10-24 16:23:54 +00:00
|
|
|
# Needed to support regeneration of the autotool artifacts.
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libtool
|
2017-03-10 16:04:17 +00:00
|
|
|
# For our documentation
|
|
|
|
BuildRequires: doxygen
|
|
|
|
# For tests!
|
|
|
|
BuildRequires: libcmocka-devel
|
|
|
|
BuildRequires: libevent-devel
|
2018-07-17 18:49:29 +00:00
|
|
|
# For lib389 and related components
|
2017-11-03 18:39:01 +00:00
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
2018-07-17 18:49:29 +00:00
|
|
|
BuildRequires: python%{python3_pkgversion}-ldap
|
|
|
|
BuildRequires: python%{python3_pkgversion}-six
|
|
|
|
BuildRequires: python%{python3_pkgversion}-pyasn1
|
|
|
|
BuildRequires: python%{python3_pkgversion}-pyasn1-modules
|
|
|
|
BuildRequires: python%{python3_pkgversion}-dateutil
|
|
|
|
BuildRequires: python%{python3_pkgversion}-argcomplete
|
|
|
|
BuildRequires: python%{python3_pkgversion}-argparse-manpage
|
2018-11-15 15:46:41 +00:00
|
|
|
BuildRequires: python%{python3_pkgversion}-libselinux
|
|
|
|
BuildRequires: python%{python3_pkgversion}-policycoreutils
|
2023-04-25 20:18:53 +00:00
|
|
|
BuildRequires: python%{python3_pkgversion}-cryptography
|
2018-07-17 18:49:29 +00:00
|
|
|
|
2018-06-08 20:06:51 +00:00
|
|
|
# For cockpit
|
2020-07-08 21:26:26 +00:00
|
|
|
%if %{use_cockpit}
|
2018-06-08 20:06:51 +00:00
|
|
|
BuildRequires: rsync
|
2020-07-08 21:26:26 +00:00
|
|
|
%endif
|
2017-03-10 16:04:17 +00:00
|
|
|
|
2018-06-21 19:27:47 +00:00
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
Requires: python%{python3_pkgversion}-lib389 = %{version}-%{release}
|
2022-06-15 17:45:44 +00:00
|
|
|
Requires: lmdb-libs
|
2018-06-21 19:27:47 +00:00
|
|
|
|
2010-04-06 18:46:00 +00:00
|
|
|
# this is needed for using semanage from our setup scripts
|
2018-02-18 02:00:49 +00:00
|
|
|
Requires: policycoreutils-python-utils
|
2015-07-28 01:11:48 +00:00
|
|
|
Requires: /usr/sbin/semanage
|
2018-02-15 21:49:18 +00:00
|
|
|
Requires: libsemanage-python%{python3_pkgversion}
|
2018-06-08 20:06:51 +00:00
|
|
|
Requires: selinux-policy >= 3.14.1-29
|
2017-10-18 19:51:19 +00:00
|
|
|
|
2009-05-26 22:55:06 +00:00
|
|
|
# the following are needed for some of our scripts
|
2010-10-19 14:16:08 +00:00
|
|
|
Requires: openldap-clients
|
2020-02-17 13:06:15 +00:00
|
|
|
Requires: /usr/bin/c_rehash
|
2018-02-15 21:49:18 +00:00
|
|
|
Requires: python%{python3_pkgversion}-ldap
|
2022-03-23 14:49:59 +00:00
|
|
|
Requires: acl
|
2022-06-03 18:06:50 +00:00
|
|
|
Requires: zlib
|
2022-09-01 19:50:20 +00:00
|
|
|
Requires: json-c
|
2017-08-22 14:32:21 +00:00
|
|
|
|
2009-05-26 22:55:06 +00:00
|
|
|
# this is needed to setup SSL if you are not using the
|
|
|
|
# administration server package
|
|
|
|
Requires: nss-tools
|
2022-06-03 18:06:50 +00:00
|
|
|
Requires: nss >= 3.67.0-7
|
|
|
|
Requires: nspr >= 4.32
|
2009-05-26 22:55:06 +00:00
|
|
|
|
|
|
|
# these are not found by the auto-dependency method
|
|
|
|
# they are required to support the mandatory LDAP SASL mechs
|
|
|
|
Requires: cyrus-sasl-gssapi
|
|
|
|
Requires: cyrus-sasl-md5
|
2018-02-19 16:18:03 +00:00
|
|
|
Requires: cyrus-sasl-plain
|
2009-05-26 22:55:06 +00:00
|
|
|
|
|
|
|
# this is needed for verify-db.pl
|
2012-02-11 01:45:12 +00:00
|
|
|
Requires: libdb-utils
|
2009-05-26 22:55:06 +00:00
|
|
|
|
2019-05-24 19:14:46 +00:00
|
|
|
# Needed for password dictionary checks
|
|
|
|
Requires: cracklib-dicts
|
|
|
|
|
2018-06-08 20:06:51 +00:00
|
|
|
# Needed by logconv.pl
|
|
|
|
Requires: perl-DB_File
|
|
|
|
Requires: perl-Archive-Tar
|
2021-11-04 07:46:01 +00:00
|
|
|
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
|
2021-09-20 13:54:09 +00:00
|
|
|
Requires: perl-debugger
|
|
|
|
Requires: perl-sigtrap
|
2021-11-04 07:46:01 +00:00
|
|
|
%endif
|
2009-05-26 22:55:06 +00:00
|
|
|
|
2018-06-08 20:06:51 +00:00
|
|
|
# Picks up our systemd deps.
|
|
|
|
%{?systemd_requires}
|
2012-03-23 20:52:13 +00:00
|
|
|
|
2022-03-23 14:49:59 +00:00
|
|
|
Obsoletes: %{name} <= 1.4.4
|
2018-01-29 23:42:58 +00:00
|
|
|
|
2022-06-02 08:26:54 +00:00
|
|
|
Source0: https://releases.pagure.org/389-ds-base/%{name}-%{version}.tar.bz2
|
2009-05-26 22:55:06 +00:00
|
|
|
# 389-ds-git.sh should be used to generate the source tarball from git
|
|
|
|
Source1: %{name}-git.sh
|
|
|
|
Source2: %{name}-devel.README
|
2018-06-08 20:06:51 +00:00
|
|
|
%if %{bundle_jemalloc}
|
|
|
|
Source3: https://github.com/jemalloc/%{jemalloc_name}/releases/download/%{jemalloc_ver}/%{jemalloc_name}-%{jemalloc_ver}.tar.bz2
|
|
|
|
%endif
|
2023-02-28 19:46:30 +00:00
|
|
|
Source4: 389-ds-base.sysusers
|
2009-05-26 22:55:06 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
389 Directory Server is an LDAPv3 compliant server. The base package includes
|
|
|
|
the LDAP server and command line utilities for server administration.
|
2018-01-29 23:42:58 +00:00
|
|
|
%if %{use_asan}
|
|
|
|
WARNING! This build is linked to Address Sanitisation libraries. This probably
|
|
|
|
isn't what you want. Please contact support immediately.
|
|
|
|
Please see http://seclists.org/oss-sec/2016/q1/363 for more information.
|
|
|
|
%endif
|
2009-05-26 22:55:06 +00:00
|
|
|
|
2011-02-28 22:19:40 +00:00
|
|
|
%package libs
|
|
|
|
Summary: Core libraries for 389 Directory Server
|
|
|
|
BuildRequires: nspr-devel
|
2018-01-31 19:59:09 +00:00
|
|
|
BuildRequires: nss-devel >= 3.34
|
2011-02-28 22:19:40 +00:00
|
|
|
BuildRequires: openldap-devel
|
2012-02-11 01:45:12 +00:00
|
|
|
BuildRequires: libdb-devel
|
2011-02-28 22:19:40 +00:00
|
|
|
BuildRequires: cyrus-sasl-devel
|
|
|
|
BuildRequires: libicu-devel
|
2022-09-20 12:52:26 +00:00
|
|
|
BuildRequires: pcre2-devel
|
2015-06-19 23:02:56 +00:00
|
|
|
BuildRequires: libtalloc-devel
|
|
|
|
BuildRequires: libevent-devel
|
|
|
|
BuildRequires: libtevent-devel
|
2018-06-08 20:06:51 +00:00
|
|
|
Requires: krb5-libs
|
2017-03-10 16:04:17 +00:00
|
|
|
Requires: libevent
|
2016-02-26 01:38:05 +00:00
|
|
|
BuildRequires: systemd-devel
|
2021-01-14 21:42:31 +00:00
|
|
|
BuildRequires: make
|
2018-04-13 14:47:29 +00:00
|
|
|
Provides: svrcore = 4.1.4
|
|
|
|
Conflicts: svrcore
|
|
|
|
Obsoletes: svrcore <= 4.1.3
|
2011-02-28 22:19:40 +00:00
|
|
|
|
|
|
|
%description libs
|
|
|
|
Core libraries for the 389 Directory Server base package. These libraries
|
|
|
|
are used by the main package and the -devel package. This allows the -devel
|
|
|
|
package to be installed with just the -libs package and without the main package.
|
|
|
|
|
2009-05-26 22:55:06 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development libraries for 389 Directory Server
|
2011-02-28 22:19:40 +00:00
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
2011-01-24 22:18:35 +00:00
|
|
|
Requires: pkgconfig
|
2011-02-28 22:19:40 +00:00
|
|
|
Requires: nspr-devel
|
2018-01-29 23:42:58 +00:00
|
|
|
Requires: nss-devel >= 3.34
|
2010-10-19 14:16:08 +00:00
|
|
|
Requires: openldap-devel
|
2015-06-19 23:02:56 +00:00
|
|
|
Requires: libtalloc
|
|
|
|
Requires: libevent
|
|
|
|
Requires: libtevent
|
2016-02-26 01:38:05 +00:00
|
|
|
Requires: systemd-libs
|
2018-04-16 15:02:47 +00:00
|
|
|
Provides: svrcore-devel = 4.1.4
|
|
|
|
Conflicts: svrcore-devel
|
|
|
|
Obsoletes: svrcore-devel <= 4.1.3
|
2009-05-26 22:55:06 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Development Libraries and headers for the 389 Directory Server base package.
|
|
|
|
|
2016-06-13 21:08:52 +00:00
|
|
|
%package snmp
|
|
|
|
Summary: SNMP Agent for 389 Directory Server
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
2017-10-09 14:37:29 +00:00
|
|
|
Obsoletes: %{name} <= 1.4.0.0
|
2016-06-13 21:08:52 +00:00
|
|
|
|
2016-07-15 20:59:13 +00:00
|
|
|
%description snmp
|
|
|
|
SNMP Agent for the 389 Directory Server base package.
|
|
|
|
|
2017-11-03 18:00:46 +00:00
|
|
|
%package -n python%{python3_pkgversion}-lib389
|
|
|
|
Summary: A library for accessing, testing, and configuring the 389 Directory Server
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: openssl
|
|
|
|
Requires: iproute
|
2020-02-14 18:30:39 +00:00
|
|
|
Recommends: bash-completion
|
2019-03-30 00:22:43 +00:00
|
|
|
Requires: python%{python3_pkgversion}
|
2019-12-06 21:09:15 +00:00
|
|
|
Requires: python%{python3_pkgversion}-distro
|
2018-06-19 18:15:32 +00:00
|
|
|
Requires: python%{python3_pkgversion}-ldap
|
2017-11-03 18:00:46 +00:00
|
|
|
Requires: python%{python3_pkgversion}-six
|
|
|
|
Requires: python%{python3_pkgversion}-pyasn1
|
|
|
|
Requires: python%{python3_pkgversion}-pyasn1-modules
|
|
|
|
Requires: python%{python3_pkgversion}-dateutil
|
2018-07-17 18:49:29 +00:00
|
|
|
Requires: python%{python3_pkgversion}-argcomplete
|
2018-11-15 15:46:41 +00:00
|
|
|
Requires: python%{python3_pkgversion}-libselinux
|
2019-12-06 21:20:37 +00:00
|
|
|
Requires: python%{python3_pkgversion}-setuptools
|
2023-04-25 20:18:53 +00:00
|
|
|
Requires: python%{python3_pkgversion}-cryptography
|
2017-11-03 18:00:46 +00:00
|
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-lib389}
|
2018-07-17 18:49:29 +00:00
|
|
|
|
2017-11-03 18:00:46 +00:00
|
|
|
%description -n python%{python3_pkgversion}-lib389
|
|
|
|
This module contains tools and libraries for accessing, testing,
|
|
|
|
and configuring the 389 Directory Server.
|
|
|
|
|
2020-07-08 21:26:26 +00:00
|
|
|
%if %{use_cockpit}
|
2018-06-08 20:06:51 +00:00
|
|
|
%package -n cockpit-389-ds
|
|
|
|
Summary: Cockpit UI Plugin for configuring and administering the 389 Directory Server
|
|
|
|
BuildArch: noarch
|
2020-04-01 17:00:23 +00:00
|
|
|
Requires: cockpit
|
|
|
|
Requires: 389-ds-base
|
2018-06-08 20:06:51 +00:00
|
|
|
Requires: python%{python3_pkgversion}
|
|
|
|
Requires: python%{python3_pkgversion}-lib389
|
|
|
|
|
|
|
|
%description -n cockpit-389-ds
|
|
|
|
A cockpit UI Plugin for configuring and administering the 389 Directory Server
|
2020-07-08 21:26:26 +00:00
|
|
|
%endif
|
2018-06-08 20:06:51 +00:00
|
|
|
|
2009-05-26 22:55:06 +00:00
|
|
|
%prep
|
2022-06-02 08:26:54 +00:00
|
|
|
%autosetup -p1 -v -n %{name}-%{version}
|
2018-06-08 20:06:51 +00:00
|
|
|
|
|
|
|
%if %{bundle_jemalloc}
|
2022-06-02 08:26:54 +00:00
|
|
|
%setup -q -n %{name}-%{version} -T -D -b 3
|
2018-06-08 20:06:51 +00:00
|
|
|
%endif
|
|
|
|
|
2009-05-26 22:55:06 +00:00
|
|
|
cp %{SOURCE2} README.devel
|
|
|
|
|
|
|
|
%build
|
2015-06-19 23:02:56 +00:00
|
|
|
|
2010-10-19 14:16:08 +00:00
|
|
|
OPENLDAP_FLAG="--with-openldap"
|
2011-02-09 16:17:36 +00:00
|
|
|
%{?with_tmpfiles_d: TMPFILES_FLAG="--with-tmpfiles-d=%{with_tmpfiles_d}"}
|
2012-06-19 17:03:09 +00:00
|
|
|
# hack hack hack https://bugzilla.redhat.com/show_bug.cgi?id=833529
|
2018-04-13 14:47:29 +00:00
|
|
|
NSSARGS="--with-nss-lib=%{_libdir} --with-nss-inc=%{_includedir}/nss3"
|
2016-10-24 17:53:52 +00:00
|
|
|
|
2017-11-03 18:00:46 +00:00
|
|
|
%if %{use_asan}
|
|
|
|
ASAN_FLAGS="--enable-asan --enable-debug"
|
|
|
|
%endif
|
|
|
|
|
2021-01-14 21:42:31 +00:00
|
|
|
RUST_FLAGS="--enable-rust --enable-rust-offline"
|
2018-01-29 23:42:58 +00:00
|
|
|
|
2020-07-08 21:26:26 +00:00
|
|
|
%if !%{use_cockpit}
|
|
|
|
COCKPIT_FLAGS="--disable-cockpit"
|
|
|
|
%endif
|
|
|
|
|
2018-01-31 19:59:09 +00:00
|
|
|
%if %{use_clang}
|
|
|
|
export CC=clang
|
|
|
|
export CXX=clang++
|
|
|
|
CLANG_FLAGS="--enable-clang"
|
|
|
|
%endif
|
|
|
|
|
2018-06-08 20:06:51 +00:00
|
|
|
%if %{bundle_jemalloc}
|
2020-04-16 17:33:52 +00:00
|
|
|
# Override page size, bz #1545539
|
|
|
|
# 4K
|
|
|
|
%ifarch %ix86 %arm x86_64 s390x
|
|
|
|
%define lg_page --with-lg-page=12
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# 64K
|
|
|
|
%ifarch ppc64 ppc64le aarch64
|
|
|
|
%define lg_page --with-lg-page=16
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# Override huge page size on aarch64
|
|
|
|
# 2M instead of 512M
|
|
|
|
%ifarch aarch64
|
|
|
|
%define lg_hugepage --with-lg-hugepage=21
|
|
|
|
%endif
|
|
|
|
|
2018-06-08 20:06:51 +00:00
|
|
|
# Build jemalloc
|
|
|
|
pushd ../%{jemalloc_name}-%{jemalloc_ver}
|
|
|
|
%configure \
|
|
|
|
--libdir=%{_libdir}/%{pkgname}/lib \
|
2020-04-16 17:33:52 +00:00
|
|
|
--bindir=%{_libdir}/%{pkgname}/bin \
|
|
|
|
--enable-prof
|
|
|
|
make %{?_smp_mflags}
|
2018-06-08 20:06:51 +00:00
|
|
|
popd
|
|
|
|
%endif
|
|
|
|
|
2018-04-13 14:47:29 +00:00
|
|
|
# Enforce strict linking
|
2021-02-12 20:59:14 +00:00
|
|
|
%define _ld_strict_symbol_defs 1
|
2018-04-13 14:47:29 +00:00
|
|
|
|
2016-10-24 16:23:54 +00:00
|
|
|
# Rebuild the autotool artifacts now.
|
|
|
|
autoreconf -fiv
|
|
|
|
|
2019-05-24 19:14:46 +00:00
|
|
|
%configure --enable-autobind --with-selinux $TMPFILES_FLAG \
|
2018-06-08 20:06:51 +00:00
|
|
|
--with-systemd \
|
2011-09-01 21:33:45 +00:00
|
|
|
--with-systemdsystemunitdir=%{_unitdir} \
|
|
|
|
--with-systemdsystemconfdir=%{_sysconfdir}/systemd/system \
|
2018-06-08 20:06:51 +00:00
|
|
|
--with-systemdgroupname=%{groupname} \
|
|
|
|
--libexecdir=%{_libexecdir}/%{pkgname} \
|
2020-10-26 18:02:10 +00:00
|
|
|
$NSSARGS $ASAN_FLAGS $RUST_FLAGS $CLANG_FLAGS $COCKPIT_FLAGS \
|
2019-03-29 21:18:42 +00:00
|
|
|
--enable-cmocka \
|
2022-02-02 18:52:00 +00:00
|
|
|
--with-libldap-r=no \
|
2019-03-29 21:18:42 +00:00
|
|
|
--enable-perl
|
|
|
|
|
2017-11-03 18:00:46 +00:00
|
|
|
# lib389
|
|
|
|
pushd ./src/lib389
|
2017-03-10 16:04:17 +00:00
|
|
|
%py3_build
|
2017-11-03 18:00:46 +00:00
|
|
|
popd
|
2018-08-10 15:51:14 +00:00
|
|
|
# argparse-manpage dynamic man pages have hardcoded man v1 in header,
|
|
|
|
# need to change it to v8
|
2022-06-02 08:26:54 +00:00
|
|
|
sed -i "1s/\"1\"/\"8\"/" %{_builddir}/%{name}-%{version}/src/lib389/man/dsconf.8
|
|
|
|
sed -i "1s/\"1\"/\"8\"/" %{_builddir}/%{name}-%{version}/src/lib389/man/dsctl.8
|
|
|
|
sed -i "1s/\"1\"/\"8\"/" %{_builddir}/%{name}-%{version}/src/lib389/man/dsidm.8
|
|
|
|
sed -i "1s/\"1\"/\"8\"/" %{_builddir}/%{name}-%{version}/src/lib389/man/dscreate.8
|
2017-11-03 18:00:46 +00:00
|
|
|
|
|
|
|
# Generate symbolic info for debuggers
|
|
|
|
export XCFLAGS=$RPM_OPT_FLAGS
|
|
|
|
|
2018-04-13 14:47:29 +00:00
|
|
|
#make %{?_smp_mflags}
|
|
|
|
make
|
2010-01-25 17:26:03 +00:00
|
|
|
|
2009-05-26 22:55:06 +00:00
|
|
|
%install
|
2015-06-19 23:02:56 +00:00
|
|
|
|
2017-06-26 21:48:42 +00:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/gdb/auto-load%{_sbindir}
|
2020-07-08 21:26:26 +00:00
|
|
|
%if %{use_cockpit}
|
2018-06-08 20:06:51 +00:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/cockpit
|
2020-07-08 21:26:26 +00:00
|
|
|
%endif
|
2018-06-08 20:06:51 +00:00
|
|
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
|
|
|
|
2020-07-08 21:26:26 +00:00
|
|
|
%if %{use_cockpit}
|
2018-06-08 20:06:51 +00:00
|
|
|
find %{buildroot}%{_datadir}/cockpit/389-console -type d | sed -e "s@%{buildroot}@@" | sed -e 's/^/\%dir /' > cockpit.list
|
|
|
|
find %{buildroot}%{_datadir}/cockpit/389-console -type f | sed -e "s@%{buildroot}@@" >> cockpit.list
|
2020-07-08 21:26:26 +00:00
|
|
|
%endif
|
2009-05-26 22:55:06 +00:00
|
|
|
|
2017-03-10 16:04:17 +00:00
|
|
|
# Copy in our docs from doxygen.
|
2022-06-02 08:26:54 +00:00
|
|
|
cp -r %{_builddir}/%{name}-%{version}/man/man3 $RPM_BUILD_ROOT/%{_mandir}/man3
|
2017-03-10 16:04:17 +00:00
|
|
|
|
2017-11-03 18:00:46 +00:00
|
|
|
# lib389
|
|
|
|
pushd src/lib389
|
|
|
|
%py3_install
|
|
|
|
popd
|
|
|
|
|
2009-05-26 22:55:06 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/log/%{pkgname}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/lib/%{pkgname}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/lock/%{pkgname}
|
|
|
|
|
2011-09-01 21:33:45 +00:00
|
|
|
# for systemd
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/%{groupname}.wants
|
2023-02-28 19:46:30 +00:00
|
|
|
install -p -D -m 0644 %{SOURCE4} %{buildroot}%{_sysusersdir}/389-ds-base.conf
|
2011-09-01 21:33:45 +00:00
|
|
|
|
2020-10-26 18:02:10 +00:00
|
|
|
# remove libtool archives and static libs
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}/*.a
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}/*.la
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}/plugins/*.a
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}/plugins/*.la
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libsvrcore.a
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libsvrcore.la
|
2018-01-29 23:42:58 +00:00
|
|
|
|
2018-06-08 20:06:51 +00:00
|
|
|
%if %{bundle_jemalloc}
|
|
|
|
pushd ../%{jemalloc_name}-%{jemalloc_ver}
|
|
|
|
make DESTDIR="$RPM_BUILD_ROOT" install_lib install_bin
|
2022-06-02 08:26:54 +00:00
|
|
|
cp -pa COPYING ../%{name}-%{version}/COPYING.jemalloc
|
|
|
|
cp -pa README ../%{name}-%{version}/README.jemalloc
|
2018-06-08 20:06:51 +00:00
|
|
|
popd
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%check
|
2018-01-29 23:42:58 +00:00
|
|
|
# This checks the code, if it fails it prints why, then re-raises the fail to shortcircuit the rpm build.
|
2018-06-08 20:06:51 +00:00
|
|
|
if ! make DESTDIR="$RPM_BUILD_ROOT" check; then cat ./test-suite.log && false; fi
|
|
|
|
|
2011-02-24 22:44:15 +00:00
|
|
|
%post
|
2018-06-08 20:06:51 +00:00
|
|
|
if [ -n "$DEBUGPOSTTRANS" ] ; then
|
|
|
|
output=$DEBUGPOSTTRANS
|
|
|
|
output2=${DEBUGPOSTTRANS}.upgrade
|
|
|
|
else
|
|
|
|
output=/dev/null
|
|
|
|
output2=/dev/null
|
|
|
|
fi
|
2023-07-07 19:27:26 +00:00
|
|
|
|
|
|
|
# Register CLI tools for bash completion
|
|
|
|
for clitool in dsconf dsctl dsidm dscreate ds-replcheck
|
|
|
|
do
|
|
|
|
register-python-argcomplete "${clitool}" > "/usr/share/bash-completion/completions/${clitool}"
|
|
|
|
done
|
|
|
|
|
2012-03-21 14:40:33 +00:00
|
|
|
# reload to pick up any changes to systemd files
|
2012-05-02 17:00:35 +00:00
|
|
|
/bin/systemctl daemon-reload >$output 2>&1 || :
|
2016-03-28 22:36:27 +00:00
|
|
|
|
2017-04-21 13:28:12 +00:00
|
|
|
# https://fedoraproject.org/wiki/Packaging:UsersAndGroups#Soft_static_allocation
|
|
|
|
# Soft static allocation for UID and GID
|
2023-02-28 19:46:30 +00:00
|
|
|
# sysusers.d format https://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format
|
|
|
|
%sysusers_create_compat %{SOURCE4}
|
2016-03-28 22:36:27 +00:00
|
|
|
|
2018-01-29 23:42:58 +00:00
|
|
|
# Reload our sysctl before we restart (if we can)
|
|
|
|
sysctl --system &> $output; true
|
|
|
|
|
2020-10-26 18:02:10 +00:00
|
|
|
# Gather the running instances so we can restart them
|
2017-06-06 15:25:58 +00:00
|
|
|
instbase="%{_sysconfdir}/%{pkgname}"
|
2020-10-26 18:02:10 +00:00
|
|
|
ninst=0
|
2017-06-06 15:25:58 +00:00
|
|
|
for dir in $instbase/slapd-* ; do
|
|
|
|
echo dir = $dir >> $output 2>&1 || :
|
|
|
|
if [ ! -d "$dir" ] ; then continue ; fi
|
|
|
|
case "$dir" in *.removed) continue ;; esac
|
|
|
|
basename=`basename $dir`
|
|
|
|
inst="%{pkgname}@`echo $basename | sed -e 's/slapd-//g'`"
|
|
|
|
echo found instance $inst - getting status >> $output 2>&1 || :
|
2011-09-01 21:33:45 +00:00
|
|
|
if /bin/systemctl -q is-active $inst ; then
|
2015-02-26 02:28:37 +00:00
|
|
|
echo instance $inst is running >> $output 2>&1 || :
|
2011-02-24 22:44:15 +00:00
|
|
|
instances="$instances $inst"
|
|
|
|
else
|
2015-02-26 02:28:37 +00:00
|
|
|
echo instance $inst is not running >> $output 2>&1 || :
|
2011-02-24 22:44:15 +00:00
|
|
|
fi
|
|
|
|
ninst=`expr $ninst + 1`
|
|
|
|
done
|
|
|
|
if [ $ninst -eq 0 ] ; then
|
2015-02-26 02:28:37 +00:00
|
|
|
echo no instances to upgrade >> $output 2>&1 || :
|
2011-02-24 22:44:15 +00:00
|
|
|
exit 0 # have no instances to upgrade - just skip the rest
|
2015-02-26 02:28:37 +00:00
|
|
|
else
|
2020-10-26 18:02:10 +00:00
|
|
|
# restart running instances
|
|
|
|
echo shutting down all instances . . . >> $output 2>&1 || :
|
|
|
|
for inst in $instances ; do
|
|
|
|
echo stopping instance $inst >> $output 2>&1 || :
|
|
|
|
/bin/systemctl stop $inst >> $output 2>&1 || :
|
|
|
|
done
|
|
|
|
for inst in $instances ; do
|
|
|
|
echo starting instance $inst >> $output 2>&1 || :
|
|
|
|
/bin/systemctl start $inst >> $output 2>&1 || :
|
|
|
|
done
|
2015-02-26 02:28:37 +00:00
|
|
|
fi
|
|
|
|
|
2018-01-29 23:42:58 +00:00
|
|
|
|
2020-10-26 18:02:10 +00:00
|
|
|
%preun
|
|
|
|
if [ $1 -eq 0 ]; then # Final removal
|
|
|
|
# remove instance specific service files/links
|
|
|
|
rm -rf %{_sysconfdir}/systemd/system/%{groupname}.wants/* > /dev/null 2>&1 || :
|
|
|
|
fi
|
2009-10-07 15:42:35 +00:00
|
|
|
|
2020-10-26 18:02:10 +00:00
|
|
|
%postun
|
|
|
|
if [ $1 = 0 ]; then # Final removal
|
|
|
|
rm -rf /var/run/%{pkgname}
|
|
|
|
fi
|
|
|
|
|
|
|
|
%post snmp
|
|
|
|
%systemd_post %{pkgname}-snmp.service
|
|
|
|
|
|
|
|
%preun snmp
|
|
|
|
%systemd_preun %{pkgname}-snmp.service %{groupname}
|
|
|
|
|
|
|
|
%postun snmp
|
|
|
|
%systemd_postun_with_restart %{pkgname}-snmp.service
|
|
|
|
|
|
|
|
exit 0
|
2016-06-13 21:08:52 +00:00
|
|
|
|
2009-05-26 22:55:06 +00:00
|
|
|
%files
|
2018-06-08 20:06:51 +00:00
|
|
|
%if %{bundle_jemalloc}
|
2018-07-17 18:49:29 +00:00
|
|
|
%doc LICENSE LICENSE.GPLv3+ LICENSE.openssl README.jemalloc
|
|
|
|
%license COPYING.jemalloc
|
2018-06-08 20:06:51 +00:00
|
|
|
%else
|
2015-06-19 23:02:56 +00:00
|
|
|
%doc LICENSE LICENSE.GPLv3+ LICENSE.openssl
|
2018-06-08 20:06:51 +00:00
|
|
|
%endif
|
2009-05-26 22:55:06 +00:00
|
|
|
%dir %{_sysconfdir}/%{pkgname}
|
|
|
|
%dir %{_sysconfdir}/%{pkgname}/schema
|
|
|
|
%config(noreplace)%{_sysconfdir}/%{pkgname}/schema/*.ldif
|
|
|
|
%dir %{_sysconfdir}/%{pkgname}/config
|
2011-09-01 21:33:45 +00:00
|
|
|
%dir %{_sysconfdir}/systemd/system/%{groupname}.wants
|
2023-02-28 19:46:30 +00:00
|
|
|
%{_sysusersdir}/389-ds-base.conf
|
2009-05-26 22:55:06 +00:00
|
|
|
%config(noreplace)%{_sysconfdir}/%{pkgname}/config/slapd-collations.conf
|
|
|
|
%config(noreplace)%{_sysconfdir}/%{pkgname}/config/certmap.conf
|
|
|
|
%{_datadir}/%{pkgname}
|
2017-06-26 21:48:42 +00:00
|
|
|
%{_datadir}/gdb/auto-load/*
|
2011-09-01 21:33:45 +00:00
|
|
|
%{_unitdir}
|
2018-06-08 20:06:51 +00:00
|
|
|
%{_bindir}/dbscan
|
|
|
|
%{_mandir}/man1/dbscan.1.gz
|
|
|
|
%{_bindir}/ds-replcheck
|
|
|
|
%{_mandir}/man1/ds-replcheck.1.gz
|
|
|
|
%{_bindir}/ds-logpipe.py
|
|
|
|
%{_mandir}/man1/ds-logpipe.py.1.gz
|
|
|
|
%{_bindir}/ldclt
|
|
|
|
%{_mandir}/man1/ldclt.1.gz
|
|
|
|
%{_bindir}/logconv.pl
|
|
|
|
%{_mandir}/man1/logconv.pl.1.gz
|
|
|
|
%{_bindir}/pwdhash
|
|
|
|
%{_mandir}/man1/pwdhash.1.gz
|
2018-11-15 15:46:41 +00:00
|
|
|
#%caps(CAP_NET_BIND_SERVICE=pe) {_sbindir}/ns-slapd
|
|
|
|
%{_sbindir}/ns-slapd
|
2018-06-08 20:33:43 +00:00
|
|
|
%{_mandir}/man8/ns-slapd.8.gz
|
2020-10-26 18:02:10 +00:00
|
|
|
%{_sbindir}/openldap_to_ds
|
|
|
|
%{_mandir}/man8/openldap_to_ds.8.gz
|
2018-06-08 20:06:51 +00:00
|
|
|
%{_libexecdir}/%{pkgname}/ds_systemd_ask_password_acl
|
2022-01-24 18:58:17 +00:00
|
|
|
%{_libexecdir}/%{pkgname}/ds_selinux_restorecon.sh
|
2018-07-17 18:49:29 +00:00
|
|
|
%{_mandir}/man5/99user.ldif.5.gz
|
|
|
|
%{_mandir}/man5/certmap.conf.5.gz
|
|
|
|
%{_mandir}/man5/slapd-collations.conf.5.gz
|
|
|
|
%{_mandir}/man5/dirsrv.5.gz
|
|
|
|
%{_mandir}/man5/dirsrv.systemd.5.gz
|
2014-02-20 20:16:29 +00:00
|
|
|
%{_libdir}/%{pkgname}/python
|
2009-05-26 22:55:06 +00:00
|
|
|
%dir %{_libdir}/%{pkgname}/plugins
|
|
|
|
%{_libdir}/%{pkgname}/plugins/*.so
|
2018-06-08 20:06:51 +00:00
|
|
|
# This has to be hardcoded to /lib - $libdir changes between lib/lib64, but
|
|
|
|
# sysctl.d is always in /lib.
|
|
|
|
%{_prefix}/lib/sysctl.d/*
|
2009-05-26 22:55:06 +00:00
|
|
|
%dir %{_localstatedir}/lib/%{pkgname}
|
|
|
|
%dir %{_localstatedir}/log/%{pkgname}
|
2010-12-14 21:04:01 +00:00
|
|
|
%ghost %dir %{_localstatedir}/lock/%{pkgname}
|
2016-06-13 21:08:52 +00:00
|
|
|
%exclude %{_sbindir}/ldap-agent*
|
|
|
|
%exclude %{_mandir}/man1/ldap-agent.1.gz
|
2018-01-29 23:42:58 +00:00
|
|
|
%exclude %{_unitdir}/%{pkgname}-snmp.service
|
2018-06-08 20:06:51 +00:00
|
|
|
%if %{bundle_jemalloc}
|
|
|
|
%{_libdir}/%{pkgname}/lib/
|
|
|
|
%{_libdir}/%{pkgname}/bin/
|
2018-06-19 18:15:32 +00:00
|
|
|
%exclude %{_libdir}/%{pkgname}/bin/jemalloc-config
|
|
|
|
%exclude %{_libdir}/%{pkgname}/bin/jemalloc.sh
|
|
|
|
%exclude %{_libdir}/%{pkgname}/lib/libjemalloc.a
|
|
|
|
%exclude %{_libdir}/%{pkgname}/lib/libjemalloc.so
|
|
|
|
%exclude %{_libdir}/%{pkgname}/lib/libjemalloc_pic.a
|
2018-08-13 17:32:05 +00:00
|
|
|
%exclude %{_libdir}/%{pkgname}/lib/pkgconfig
|
2018-06-08 20:06:51 +00:00
|
|
|
%endif
|
2009-05-26 22:55:06 +00:00
|
|
|
|
|
|
|
%files devel
|
2015-06-19 23:02:56 +00:00
|
|
|
%doc LICENSE LICENSE.GPLv3+ LICENSE.openssl README.devel
|
2018-01-29 23:42:58 +00:00
|
|
|
%{_mandir}/man3/*
|
2018-04-13 14:47:29 +00:00
|
|
|
%{_includedir}/svrcore.h
|
2009-05-26 22:55:06 +00:00
|
|
|
%{_includedir}/%{pkgname}
|
2018-04-13 14:47:29 +00:00
|
|
|
%{_libdir}/libsvrcore.so
|
2011-02-28 22:19:40 +00:00
|
|
|
%{_libdir}/%{pkgname}/libslapd.so
|
2016-06-13 21:08:52 +00:00
|
|
|
%{_libdir}/%{pkgname}/libns-dshttpd.so
|
2017-06-26 21:48:42 +00:00
|
|
|
%{_libdir}/%{pkgname}/libldaputil.so
|
2018-04-13 14:47:29 +00:00
|
|
|
%{_libdir}/pkgconfig/svrcore.pc
|
|
|
|
%{_libdir}/pkgconfig/dirsrv.pc
|
2009-05-26 22:55:06 +00:00
|
|
|
|
2011-02-28 22:19:40 +00:00
|
|
|
%files libs
|
2015-06-19 23:02:56 +00:00
|
|
|
%doc LICENSE LICENSE.GPLv3+ LICENSE.openssl README.devel
|
2011-02-28 22:19:40 +00:00
|
|
|
%dir %{_libdir}/%{pkgname}
|
2018-04-13 14:47:29 +00:00
|
|
|
%{_libdir}/libsvrcore.so.*
|
2011-02-28 22:19:40 +00:00
|
|
|
%{_libdir}/%{pkgname}/libslapd.so.*
|
2021-09-20 13:54:09 +00:00
|
|
|
%{_libdir}/%{pkgname}/libns-dshttpd.so.*
|
2017-06-26 21:48:42 +00:00
|
|
|
%{_libdir}/%{pkgname}/libldaputil.so.*
|
2020-04-16 17:33:52 +00:00
|
|
|
%{_libdir}/%{pkgname}/librewriters.so*
|
2018-06-08 20:06:51 +00:00
|
|
|
%if %{bundle_jemalloc}
|
2018-08-13 17:32:05 +00:00
|
|
|
%{_libdir}/%{pkgname}/lib/libjemalloc.so.2
|
2018-06-08 20:06:51 +00:00
|
|
|
%endif
|
2011-02-28 22:19:40 +00:00
|
|
|
|
2016-06-13 21:08:52 +00:00
|
|
|
%files snmp
|
|
|
|
%doc LICENSE LICENSE.GPLv3+ LICENSE.openssl README.devel
|
|
|
|
%config(noreplace)%{_sysconfdir}/%{pkgname}/config/ldap-agent.conf
|
|
|
|
%{_sbindir}/ldap-agent*
|
|
|
|
%{_mandir}/man1/ldap-agent.1.gz
|
2017-06-26 21:48:42 +00:00
|
|
|
%{_unitdir}/%{pkgname}-snmp.service
|
2016-06-13 21:08:52 +00:00
|
|
|
|
2017-11-03 18:00:46 +00:00
|
|
|
%files -n python%{python3_pkgversion}-lib389
|
|
|
|
%doc LICENSE LICENSE.GPLv3+
|
|
|
|
%{python3_sitelib}/lib389*
|
2018-07-17 18:49:29 +00:00
|
|
|
%{_sbindir}/dsconf
|
|
|
|
%{_mandir}/man8/dsconf.8.gz
|
|
|
|
%{_sbindir}/dscreate
|
|
|
|
%{_mandir}/man8/dscreate.8.gz
|
|
|
|
%{_sbindir}/dsctl
|
|
|
|
%{_mandir}/man8/dsctl.8.gz
|
|
|
|
%{_sbindir}/dsidm
|
|
|
|
%{_mandir}/man8/dsidm.8.gz
|
2020-01-23 20:28:50 +00:00
|
|
|
%{_libexecdir}/%{pkgname}/dscontainer
|
2017-11-03 18:00:46 +00:00
|
|
|
|
2020-07-08 21:26:26 +00:00
|
|
|
%if %{use_cockpit}
|
2018-06-08 20:06:51 +00:00
|
|
|
%files -n cockpit-389-ds -f cockpit.list
|
2019-05-24 19:14:46 +00:00
|
|
|
%{_datarootdir}/metainfo/389-console/org.port389.cockpit_console.metainfo.xml
|
2018-06-08 20:06:51 +00:00
|
|
|
%doc README.md
|
2020-07-08 21:26:26 +00:00
|
|
|
%endif
|
2018-06-08 20:06:51 +00:00
|
|
|
|
2009-05-26 22:55:06 +00:00
|
|
|
%changelog
|
2023-07-07 19:27:26 +00:00
|
|
|
* Fri Jul 7 2023 Mark Reynolds <mreynolds@redhat.com> - 2.4.2-1
|
|
|
|
- Bump version to 2.4.2
|
|
|
|
- Issue 5793 - UI - fix suffix selection in export modal
|
|
|
|
- Issue 5793 - UI - Fix minor crashes (#5827)
|
|
|
|
- Issue 5825 - healthcheck - password storage scheme warning needs more info
|
|
|
|
- Issue 5822 - Allow empty export path for db2ldif
|
|
|
|
- Issue 5755 - Massive memory leaking on update operations (#5824)
|
|
|
|
- Issue 5701 - CI - Add more tests for referral mode fix (#5810)
|
|
|
|
- Issue 5551 - Almost empty and not loaded ns-slapd high cpu load
|
|
|
|
- Issue 5755 - The Massive memory leaking on update operations (#5803)
|
|
|
|
- Issue 2375 - CLI - Healthcheck - revise and add new checks
|
|
|
|
- Bump openssl from 0.10.52 to 0.10.55 in /src
|
|
|
|
- Issue 5793 - UI - movce from webpack to esbuild bundler
|
|
|
|
- Issue 5752 - CI - Add more tests for lastLoginHistorySize RFE (#5802)
|
|
|
|
- Issue 3527 - Fix HAProxy x390x compatibility and compiler warnings (#5801)
|
|
|
|
- Issue 5798 - CLI - Add multi-valued support to dsconf config (#5799)
|
|
|
|
- Issue 5781 - Bug handling return code of pre-extended operation plugin.
|
|
|
|
- Issue 5785 - move bash completion to post section of specfile
|
|
|
|
- Issue 5156 - (cont) RFE slapi_memberof reusing memberof values (#5744)
|
|
|
|
- Issue 4758 - Add tests for WebUI
|
|
|
|
- Issue 3527 - Add PROXY protocol support (#5762)
|
|
|
|
- Issue 5789 - Improve ds-replcheck error handling
|
|
|
|
- Issue 5786 - CLI - registers tools for bash completion
|
|
|
|
- Issue 5786 - Set minimal permissions on GitHub Workflows (#5787)
|
|
|
|
- Issue 5646 - Various memory leaks (#5725)
|
|
|
|
- Issue 5778 - UI - Remove error message if .dsrc is missing
|
|
|
|
- Issue 5751 - Cleanallruv task crashes on consumer (#5775)
|
|
|
|
|
2023-06-28 17:02:29 +00:00
|
|
|
* Wed Jun 28 2023 Python Maint <python-maint@redhat.com> - 2.4.1-2
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
2023-05-18 14:11:38 +00:00
|
|
|
* Thu May 18 2023 Mark Reynolds <mreynolds@redhat.com> - 2.4.1-1
|
|
|
|
- Bump version to 2.4.1
|
|
|
|
- Issue 5770 - RFE - Extend Password Adminstrators to allow skipping password info updates
|
|
|
|
- Issue 5768 - CLI/UI - cert checks are too strict, and other issues
|
|
|
|
- Issue 5722 - fix compilation warnings (#5771)
|
|
|
|
- Issue 5765 - Improve installer selinux handling
|
|
|
|
- Issue 152 - RFE - Add support for LDAP alias entries
|
|
|
|
- Issue 5052 - BUG - Custom filters prevented entry deletion (#5060)
|
|
|
|
- Issue 5752 - RFE - Provide a history for LastLoginTime (#5753)
|
|
|
|
- Issue 5722 - RFE When a filter contains 'nsrole', improve response time by rewriting the filter (#5723)
|
|
|
|
- Issue 5704 - crash in sync_refresh_initial_content (#5720)
|
|
|
|
- Issue 5738 - RFE - UI - Read/write replication monitor info to .dsrc file
|
|
|
|
- Issue 5156 - build warnings (#5758)
|
|
|
|
- Issue 5749 - RFE - Allow Account Policy Plugin to handle inactivity and expiration at the same time
|
|
|
|
- Issue 5743 - Disabling replica crashes the server (#5746)
|
|
|
|
- Issue 2562 - Copy config files into backup directory
|
|
|
|
- Issue 5156 - fix build breakage from slapi-memberof commit
|
|
|
|
- Issue 4758 - Add tests for WebUI
|
|
|
|
|
2023-04-25 20:18:53 +00:00
|
|
|
* Tue Apr 25 2023 Mark Reynolds <mreynolds@redhat.com> - 2.4.0-1
|
|
|
|
- Bump version to 2.4.0
|
|
|
|
- Issue 5156 - RFE that implement slapi_memberof (#5694)
|
|
|
|
- Issue 5734 - RFE - Exclude pwdFailureTime and ContextCSN (#5735)
|
|
|
|
- Issue 5726 - ns-slapd crashing in ldbm_back_upgradednformat (#5727)
|
|
|
|
- Issue 4758 - Add tests for WebUI
|
|
|
|
- Issue 5718 - Memory leak in connection table (#5719)
|
|
|
|
- Issue 5705 - Add config parameter to close client conns on failed bind (#5712)
|
|
|
|
- Issue 4758 - Add tests for WebUI
|
|
|
|
- Issue 5643 - Memory leak in entryrdn during delete (#5717)
|
|
|
|
- Issue 5714 - UI - fix typo, db settings, log settings, and LDAP editor paginations
|
|
|
|
- Issue 5701 - CLI - Fix referral mode setting (#5708)
|
|
|
|
- Bump openssl from 0.10.45 to 0.10.48 in /src (#5709)
|
|
|
|
- Issue 5710 - subtree search statistics for index lookup does not report ancestorid/entryrdn lookups (#5711)
|
|
|
|
- Issue 5697 - Obsolete nsslapd-ldapimaprootdn attribute (#5698)
|
|
|
|
- Issue 1081 - Stop schema replication from overwriting x-origin
|
|
|
|
- Issue 4812 - Listener thread does not scale with a high num of established connections (#5706)
|
|
|
|
- Issue 4812 - Listener thread does not scale with a high num of established connections (#5681)
|
|
|
|
- Bump webpack from 5.75.0 to 5.76.0 in /src/cockpit/389-console (#5699)
|
|
|
|
- Issue 5598 - (3rd) In 2.x, SRCH throughput drops by 10% because of handling of referral (#5692)
|
|
|
|
- Issue 5598 - (2nd) In 2.x, SRCH throughput drops by 10% because of handling of referral (#5691)
|
|
|
|
- Issue 5687 - UI - sensitive information disclosure
|
|
|
|
- Issue 5661 - LMDB hangs while Rebuilding the replication changelog RUV (#5676)
|
|
|
|
- Issue 5554 - Add more tests to security_basic_test suite
|
|
|
|
- Issue 4583 - Update specfile to skip checks of ASAN builds
|
|
|
|
- Issue 4758 - Add tests for WebUI
|
|
|
|
- Issue 3604 - UI - Add support for Subject Alternative Names in CSR
|
|
|
|
- Issue 5600 - buffer overflow when enabling sync repl plugin when dynamic plugins is enabled
|
|
|
|
- Issue 5640 - Update logconv for new logging format
|
|
|
|
- Issue 5162 - CI - fix error message for invalid pem file
|
|
|
|
- Issue 5598 - In 2.x, SRCH throughput drops by 10% because of handling of referral (#5604)
|
|
|
|
- Issue 5671 - covscan - clang warning (#5672)
|
|
|
|
- Issue 5267 - CI - Fix issues with nsslapd-return-original-entrydn
|
|
|
|
- Issue 5666 - CLI - Add timeout parameter for tasks
|
|
|
|
- Issue 5567 - CLI - make ldifgen use the same default ldif name for all options
|
|
|
|
- Issue 5647 - Fix unused variable warning from previous commit (#5670)
|
|
|
|
- Issue 5162 - Lib389 - verify certificate type before adding
|
|
|
|
- Issue 5642 - Build fails against setuptools 67.0.0
|
|
|
|
- Issue 5630 - CLI - need to add logging filter for stdout
|
|
|
|
- Issue 5646 - CLI/UI - do not hardcode password storage schemes
|
|
|
|
- Issue 5640 - Update logconv for new logging format
|
|
|
|
- issue 5647 - covscan: memory leak in audit log when adding entries (#5650)
|
|
|
|
- Issue 5658 - CLI - unable to add attribute with matching rule
|
|
|
|
- Issue 5653 - covscan - fix invalid dereference
|
|
|
|
- Issue 5652 - Libasan crash in replication/cascading_test (#5659)
|
|
|
|
- Issue 5628 - Handle graceful timeout in CI tests (#5657)
|
|
|
|
- Issue 5648 - Covscan - Compiler warnings (#5651)
|
|
|
|
- Issue 5630 - CLI - error messages should goto stderr
|
|
|
|
- Issue 2435 - RFE - Raise IDL Scan Limit to INT_MAX (#5639)
|
|
|
|
- Issue 5632 - CLI - improve error handling with db2ldif
|
|
|
|
- Issue 5517 - Replication conflict CI test sometime fails (#5518)
|
|
|
|
- Issue 5634 - Deprecated warning related to github action workflow code (#5635)
|
|
|
|
- Issue 5637 - Covscan - fix Buffer Overflows (#5638)
|
|
|
|
- Issue 5624 - RFE - UI - export certificates, and import text base64 encoded certificates
|
|
|
|
- Bump tokio from 1.24.1 to 1.25.0 in /src (#5629)
|
|
|
|
- Issue 4577 - Add LMDB pytest github action (#5627)
|
|
|
|
- Issue 4293 - RFE - CLI - add dsrc options for setting user and group subtrees
|
|
|
|
- Remove stale libevent(-devel) dependency
|
|
|
|
- Issue 5578 - dscreate ds-root does not normaile paths (#5613)
|
|
|
|
- Issue 5497 - boolean attributes should be case insensitive
|
|
|
|
|
2023-03-31 08:21:48 +00:00
|
|
|
* Fri Mar 31 2023 Viktor Ashirov <vashirov@redhat.com> - 2.3.2-3
|
|
|
|
- Fix build issue against setuptools 67.0.0 (#2183375)
|
|
|
|
|
2023-02-28 19:46:30 +00:00
|
|
|
* Tue Feb 28 2023 Simon Pichugin <spichugi@redhat.com> - 2.3.2-2
|
|
|
|
- Use systemd-sysusers for dirsrv user and group (#2173834)
|
|
|
|
|
2023-01-23 14:22:09 +00:00
|
|
|
* Mon Jan 23 2023 Mark Reynolds <mreynolds@redhat.com> - 2.3.2-1
|
|
|
|
- Bump version to 2.3.2
|
|
|
|
- Issue 5547 - automember plugin improvements
|
|
|
|
- Issue 5607, 5351, 5611 - UI/CLI - fix various issues
|
|
|
|
- Issue 5610 - Build failure on Debian
|
|
|
|
- Issue 5608 - UI - need to replace some "const" with "let"
|
|
|
|
- Issue 5560 - dscreate run by non superuser set defaults requiring superuser privilege (#5579)
|
|
|
|
- Issue 3604 - Create a private key/CSR with dsconf/Cockpit (#5584)
|
|
|
|
- Issue 5605 - Adding a slapi_log_backtrace function in libslapd (#5606)
|
|
|
|
- Issue 5602 - UI - browser crash when trying to modify read-only variable
|
|
|
|
- Issue 5581 - UI - Support cockpit dark theme
|
|
|
|
- Issue 5593 - CLI - dsidm account subtree-status fails with TypeError
|
|
|
|
- Issue 5591 - BUG - Segfault in cl5configtrim with invalid confi (#5592)
|
|
|
|
- Fix latest npm audit failures
|
|
|
|
- Issue 5599 - CI - webui tests randomly fail
|
|
|
|
- Issue 5348 - RFE - CLI - add functionality to do bulk updates to entries
|
|
|
|
- Issue 5588 - Fix CI tests
|
|
|
|
- Issue 5585 - lib389 password policy DN handling is incorrect (#5587)
|
|
|
|
- Issue 5521 - UI - Update plugins for new split PAM and LDAP pass thru auth
|
|
|
|
- Bump json5 from 2.2.1 to 2.2.3 in /src/cockpit/389-console
|
|
|
|
- Issue 5236 - UI add specialized group edit modal
|
|
|
|
- Issue 5550 - dsconf monitor crashes with Error math domain error (#5553)
|
|
|
|
- Issue 5278 - CLI - dsidm asks for the old password on password reset
|
|
|
|
- Issue 5531 - CI - use universal_lines in capture_output
|
|
|
|
- Issue 5425 - CLI - add confirmation arg when deleting backend
|
|
|
|
- Issue 5558 - non-root instance fails to start on creation (#5559)
|
|
|
|
- Issue 5545 - A random crash in import over lmdb (#5546)
|
|
|
|
- Issue 3615 - CLI - prevent virtual attribute indexing
|
|
|
|
- Update specfile and rust crates
|
|
|
|
- Issue 5413 - Allow mutliple MemberOf fixup tasks with different bases/filters
|
|
|
|
- Issue 5554 - Add more tests to security_basic_test suite (#5555)
|
|
|
|
- Issue 5561 - Nightly tests are failing
|
|
|
|
- Issue 5521 - RFE - split pass through auth cli
|
|
|
|
- Issue 5521 - BUG - Pam PTA multiple issues
|
|
|
|
- Issue 5544 - Increase default task TTL
|
|
|
|
- Issue 5526 - RFE - Improve saslauthd migration options (#5528)
|
|
|
|
- Issue 5539 - Make logger's parameter name unified (#5540)
|
|
|
|
- Issue 5541 - Fix typo in `lib389.cli_conf.backend._get_backend` (#5542)
|
|
|
|
- Issue 3729 - (cont) RFE Extend log of operations statistics in access log (#5538)
|
|
|
|
- Issue 5534 - Fix a rebase typo (#5537)
|
|
|
|
- Issue 5534 - Add copyright text to the repository files
|
|
|
|
|
2023-01-18 19:34:04 +00:00
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-12-31 02:17:06 +00:00
|
|
|
* Sat Dec 31 2022 Pete Walter <pwalter@fedoraproject.org> - 2.3.1-2
|
|
|
|
- Rebuild for ICU 72
|
|
|
|
|
2022-11-18 13:43:03 +00:00
|
|
|
* Fri Nov 18 2022 Mark Reynolds <mreynolds@redhat.com> - 2.3.1-1
|
|
|
|
- Bump version to 2.3.1
|
|
|
|
- Issue 5532 - Make db compaction TOD day more robust.
|
|
|
|
- Issue 3729 - RFE Extend log of operations statistics in access log (#5508)
|
|
|
|
- Issue 5529 - UI - Fix npm vulnerability in loader-utils
|
|
|
|
- Issue 5490 - tombstone in entryrdn index with lmdb but not with bdb (#5498)
|
|
|
|
- Issue 5162 - Fix dsctl tls ca-certfiicate add-cert arg requirement
|
|
|
|
- Issue 5510 - remove twalk_r dependency to build on RHEL8 (#5516)
|
|
|
|
- Issue 5162 - RFE - CLI allow adding CA certificate bundles
|
|
|
|
- Issue 5440 - memberof is slow on update/fixup if there are several 'groupattr' (#5455)
|
|
|
|
- Issue 5512 - BUG - skip pwdPolicyChecker OC in migration (#5513)
|
|
|
|
- Issue 3555 - UI - fix audit issue with npm loader-utils (#5514)
|
|
|
|
- Issue 5505 - Fix compiler warning (#5506)
|
|
|
|
- Issue 5469 - Increase the default value of nsslapd-conntablesize (#5472)
|
|
|
|
- Issue 5408 - lmdb import is slow (#5481)
|
|
|
|
- Issue 5429 - healthcheck - add checks for MemberOf group attrs being indexed
|
|
|
|
- Issue 5502 - RFE - Add option to display entry attributes in audit log
|
|
|
|
- Issue 5495 - BUG - Minor fix to dds skip, inconsistent attrs caused errors (#5501)
|
|
|
|
- Issue 5367 - RFE - store full DN in database record
|
|
|
|
- Issue 5495 - RFE - skip dds during migration. (#5496)
|
|
|
|
- Issue 5491 - UI - Add rework and finish jpegPhoto functionality (#5492)
|
|
|
|
- Issue 5368 - Retro Changelog trimming does not work (#5486)
|
|
|
|
- Issue 5487 - Fix various issues with logconv.pl
|
|
|
|
- Issue 5476 - RFE - add memberUid read aci by default (#5477)
|
|
|
|
- Issue 5482 - lib389 - Can not enable replication with a mixed case suffix
|
|
|
|
- Issue 5478 - Random crash in connection code during server shutdown (#5479)
|
|
|
|
- Issue 3061 - RFE - Add password policy debug log level
|
|
|
|
- Issue 5302 - Release tarballs don't contain cockpit webapp
|
|
|
|
- Issue 5262 - high contention in find_entry_internal_dn on mixed load (#5264)
|
|
|
|
- Issue 4324 - Revert recursive pthread mutex change (#5463)
|
|
|
|
- Issue 5462 - RFE - add missing default indexes (#5464)
|
|
|
|
- Issue 5465 - Fix dbscan linking (#5466)
|
|
|
|
- Issue 5271 - Serialization of pam_passthrough causing high etimes (#5272)
|
|
|
|
- Issue 5453 - UI/CLI - Changing Root DN breaks UI
|
|
|
|
- Issue 5446 - Fix some covscan issues (#5451)
|
|
|
|
- Issue 4308 - checking if an entry is a referral is expensive
|
|
|
|
- Issue 5447 - UI - add NDN max cache size to UI
|
|
|
|
- Issue 5443 - UI - disable save button while saving
|
|
|
|
- Issue 5413 - Allow only one MemberOf fixup task at a time
|
|
|
|
- Issue 4592 - dscreate error with custom dir_path (#5434)
|
|
|
|
- Issue 5158 - entryuuid fixup tasks fails in replicated topology (#5439)
|
|
|
|
|
2022-09-20 12:57:50 +00:00
|
|
|
* Tue Sep 20 2022 Mark Reynolds <mreynolds@redhat.com> - 2.3.0-2
|
2022-09-20 12:52:26 +00:00
|
|
|
- Bump version to 2.3.0-2
|
|
|
|
- Update old pcre-devel requirement to pcre2-devel
|
|
|
|
|
2022-09-01 19:50:20 +00:00
|
|
|
* Thu Sep 1 2022 Mark Reynolds <mreynolds@redhat.com> - 2.3.0-1
|
|
|
|
- Bump version to 2.3.0
|
|
|
|
- Issue 5012 - Migrate pcre to pcre2 - remove match limit
|
|
|
|
- Issue 5356 - Make Rust non-optional and update default password storage scheme
|
|
|
|
- Issue 5012 - Migrate pcre to pcre2
|
|
|
|
- Issue 5428 - Fix regression with nscpEntryWsi computation
|
|
|
|
- Fix missing 'not' in description (closes #5423) (#5424)
|
|
|
|
- Issue 5421 - CI - makes replication/acceptance_test.py::test_modify_entry more robust (#5422)
|
|
|
|
- Issue 3903 - fix repl keep alive event interval
|
|
|
|
- Issue 5418 - Sync_repl may crash while managing invalid cookie (#5420)
|
|
|
|
- Issue 5415 - Hostname when set to localhost causing failures in other tests
|
|
|
|
- Issue 5412 - lib389 - do not set backend name to lowercase
|
|
|
|
- Issue 5407 - sync_repl crashes if enabled while dynamic plugin is enabled (#5411)
|
|
|
|
- Issue 5385 - LMDB - import crash in rdncache_add_elem (#5406)
|
|
|
|
- Issue 5403 - Memory leak in conntection table mulit list (#5404)
|
|
|
|
- Issue 3903 - keep alive update event starts too soon
|
|
|
|
- Issue 5397 - Fix various memory leaks
|
|
|
|
- Issue 5399 - UI - LDAP Editor is not updated when we switch instances (#5400)
|
|
|
|
- Issue 3903 - Supplier should do periodic updates
|
|
|
|
- Issue 5377 - Code cleanup: Fix Covscan invalid reference (#5393)
|
|
|
|
- Issue 5394 - configure doesn't check for lmdb and json-c
|
|
|
|
- Issue 5392 - dscreate fails when using alternative ports in the SELinux hi_reserved_port_t label range
|
|
|
|
- Issue 5386 - BUG - Update sudoers schema to correctly support UTF-8 (#5387)
|
|
|
|
- Issue 5388 - fix use-after-free and deadcode
|
|
|
|
- Issue 5383 - UI - Various fixes and RFE's for UI
|
|
|
|
- Issue 4656 - Remove problematic language from source code
|
|
|
|
- Issue 5380 - Separate cleanAllRUV code into new file
|
|
|
|
- Issue 5322 - optime & wtime on rejected connections is not properly set
|
|
|
|
- Issue 5335 - RFE - Add Security Audit Log
|
|
|
|
- Issue 5375 - CI - disable TLS hostname checking
|
|
|
|
- Issue 981 - Managed Entries betxnpreoperation - transaction not aborted on managed entry failure (#5369)
|
|
|
|
- Issue 5373 - dsidm user get_dn fails with search_ext() argument 1 must be str, not function
|
|
|
|
- Issue 5371 - Update npm and cargo packages
|
|
|
|
- Issue 3069 - Support ECDSA private keys for TLS (#5365)
|
|
|
|
- Issue 5290 - Importing certificate chain files via "import-server-key-cert" no longer works (#5293)
|
|
|
|
|
2022-08-01 13:02:07 +00:00
|
|
|
* Mon Aug 01 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 2.2.2-3
|
|
|
|
- Rebuilt for ICU 71.1
|
|
|
|
|
2022-07-20 18:22:29 +00:00
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-07-05 16:21:18 +00:00
|
|
|
* Tue Jul 5 2022 Mark Reynolds <mreynolds@redhat.com> - 2.2.2-1
|
|
|
|
- Bump version to 2.2.2
|
|
|
|
- Issue 5221 - fix covscan (#5359)
|
|
|
|
- Issue 5294 - Report Portal 5 is not processing an XML file with (#5358)
|
|
|
|
- Issue 5353 - CLI - dsconf backend export breaks with multiple backends
|
|
|
|
- Issue 5346 - New connection table fails with ASAN failures (#5350)
|
|
|
|
- Issue 5345 - BUG - openldap migration fails when ppolicy is active (#5347)
|
|
|
|
- Issue 5323 - BUG - improve skipping of monitor db (#5340)
|
|
|
|
- Issue 5329 - Improve replication extended op logging
|
|
|
|
- Issue 5343 - Various improvements to winsync
|
|
|
|
- Issue 4932 - CLI - add parser aliases to long arg names
|
|
|
|
- Issue 5332 - BUG - normalise filter as intended
|
|
|
|
- Issue 5327 - Validate test metadata
|
|
|
|
- Issue 4812 - Scalability with high number of connections (#5090)
|
|
|
|
- Issue 4348 - Add tests for dsidm
|
|
|
|
- Issue 5333 - 389-ds-base fails to build with Python 3.11
|
|
|
|
|
2022-06-16 15:58:54 +00:00
|
|
|
* Thu Jun 16 2022 Python Maint <python-maint@redhat.com> - 2.2.1-4
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
2022-06-15 17:45:44 +00:00
|
|
|
* Wed Jun 15 2022 Mark Reynolds <mreynolds@redhat.com> - 2.2.1-3
|
|
|
|
- Bump version to 2.2.1-3
|
|
|
|
- Issue 5332 - BUG - normalise filter as intended
|
|
|
|
- Issue 5327 - Validate test metadata
|
|
|
|
- Issue 4348 - Add tests for dsidm
|
|
|
|
- Bump crossbeam-utils from 0.8.6 to 0.8.8 in /src
|
|
|
|
- Issue 5333 - 389-ds-base fails to build with Python 3.11
|
|
|
|
|
2022-06-13 18:39:22 +00:00
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.2.1-2
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
2022-06-03 18:06:50 +00:00
|
|
|
* Fri Jun 3 2022 Mark Reynolds <mreynolds@redhat.com> - 2.2.1-1
|
|
|
|
- Bump version to 2.2.1
|
|
|
|
- Issue 5323 - BUG - Fix issue in mdb tests with monitor (#5326)
|
|
|
|
- Issue 5170 - BUG - incorrect behaviour of filter test (#5315)
|
|
|
|
- Issue 5324 - plugin acceptance test needs hardening
|
|
|
|
- Issue 5319 - dsctl_tls_test.py fails with openssl-3.x
|
|
|
|
- Issue 5323 - BUG - migrating database for monitoring interface lead to crash (#5321)
|
|
|
|
- Issue 5304 - Need a compatibility option about sub suffix handling (#5310)
|
|
|
|
- Issue 5313 - dbgen test uses deprecated -h HOST and -p PORT options for ldapmodify
|
|
|
|
- Issue 5311 - Missing Requires for acl in the spec file
|
|
|
|
- Issue 5305 - OpenLDAP version autodetection doesn't work
|
|
|
|
- Issue 5307 - VERSION_PREREL is not set correctly in CI builds
|
|
|
|
- Issue 5302 - Release tarballs don't contain cockpit webapp
|
|
|
|
- Issue 5170 - RFE - improve filter logging to assist debugging (#5301)
|
|
|
|
- Issue 5299 - jemalloc 5.3 released
|
|
|
|
- Issue 5175 - Remove stale zlib-devel dependency declaration (#5173)
|
|
|
|
- Issue 5294 - Report Portal 5 is not processing test results XML file
|
|
|
|
- Issue 5170 - BUG - ldapsubentries were incorrectly returned (#5285)
|
|
|
|
- Issue 5291 - Harden ReplicationManager.wait_for_replication (#5292)
|
|
|
|
- Issue 379 - RFE - Compress rotated logs (fix linker)
|
|
|
|
- Issue 379 - RFE - Compress rotated logs
|
|
|
|
- Issue 5281 - HIGH - basic test does not run
|
|
|
|
- Issue 5284 - Replication broken after password change (#5286)
|
|
|
|
- Issue 5279 - dscontainer: TypeError: unsupported operand type(s) for /: 'str' and 'int'
|
|
|
|
- Issue 5170 - RFE - Filter optimiser (#5171)
|
|
|
|
- Issue 5276 - CLI - improve task handling
|
|
|
|
- Issue 5126 - Memory leak in slapi_ldap_get_lderrno (#5153)
|
|
|
|
- Issue 3 - ansible-ds - Prefix handling fix (#5275)
|
|
|
|
- Issue 5273 - CLI - add arg completer for instance name
|
|
|
|
- Issue 2893 - CLI - dscreate - add options for setting up replication
|
|
|
|
- Issue 4866 - CLI - when enabling replication set changelog trimming by default
|
|
|
|
- Issue 5241 - UI - Add account locking missing functionality (#5251)
|
|
|
|
- Issue 5180 - snmp_collator tries to unlock NULL mutex (#5266)
|
|
|
|
- Issue 4904 - Fix various small issues
|
|
|
|
- lib389 prerequisite for ansible-ds (#5253)
|
|
|
|
- Issue 5260 - BUG - OpenLDAP allows multiple names of memberof overlay (#5261)
|
|
|
|
- Issue 5252 - During DEL, vlv search can erroneously return NULL candidate (#5256)
|
|
|
|
- Issue 5254 - dscreate create-template regression due to 5a3bdc336 (#5255)
|
|
|
|
- Issue 5210 - Python undefined names in lib389
|
|
|
|
- Issue 5065 - Crash in suite plugins - test_dna_max_value (#5108)
|
|
|
|
- Issue 5247 - BUG - Missing attributes in samba schema (#5248)
|
|
|
|
- Issue 5242- Craft message may crash the server (#5243)
|
|
|
|
- Issue 4775 -plugin entryuuid failing (#5229)
|
|
|
|
- Issue 5239 - Nightly copr builds are broken
|
|
|
|
- Issue 5237 - audit-ci: Cannot convert undefined or null to object
|
|
|
|
- Issue 5234 - UI - rename Users and Groups tab
|
|
|
|
- Issue 5227 - UI - No way to move back to Get Started step (#5233)
|
|
|
|
- Issue 5217 - Simplify instance creation and administration by non root user (#5224)
|
2020-10-26 18:02:10 +00:00
|
|
|
|