11 Commits

Author SHA256 Message Date
2fc9f70921 Accepting request 1309715 from network:ldap
OBS-URL: https://build.opensuse.org/request/show/1309715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/389-ds?expand=0&rev=87
2025-10-08 16:13:42 +00:00
2be01ac432 - Move librobdb.so from devel to main package
- Update to version 3.1.3~git111.e953ee704:
  * Issue 7023 - UI - if first instance that is loaded is stopped it breaks parts of the UI
  * Issue 6753 - Removing ticket 47714 test and porting to DSLdapObject (#6946)
  * Issue 7027 - 389-ds-base OpenScanHub Leaks Detected (#7028)
  * Issue 6753 - Removing ticket 47676 test and porting to DSLdapObject (#6938)
  * Issue 6966 - On large DB, unlimited IDL scan limit reduce the SRCH performance (#6967)

OBS-URL: https://build.opensuse.org/package/show/network:ldap/389-ds?expand=0&rev=215
2025-10-08 01:56:04 +00:00
66b84bfde7 Accepting request 1308933 from network:ldap
OBS-URL: https://build.opensuse.org/request/show/1308933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/389-ds?expand=0&rev=86
2025-10-05 15:50:40 +00:00
7b9ea19ba0 Update requires
OBS-URL: https://build.opensuse.org/package/show/network:ldap/389-ds?expand=0&rev=213
2025-10-04 00:51:57 +00:00
cd01d49627 - Update to version 3.1.3~git106.bea5091e3:
* Issue 6660 - UI - Improve replication log analysis charts and usability (#6968)
  * Issue 6753 - Removing ticket 47653MMR test and porting to DSLdapObject (#6926)
  * Issue 7021 - Units for changing MDB max size are not consistent across different tools (#7022)
  * Issue 6753 - Removing ticket 49463 test and porting to DSLdapObject (#6899)
  * Issue 6954 - do not delete referrals on chain_on_update backend
  * Issue 6982 - UI - MemberOf shared config does not validate DN properly (#6983)
  * Issue 6740 - Fix FIPS mode test failures in syncrepl, mapping tree, and resource limits (#6993)
  * Issue 7018 - BUG - prevent stack depth being hit (#7019)
  * Issue 7014 - memberOf - ignored deferred updates with LMDB
  * Issue 7002 - restore is failing. (#7003)
  * Issue 6758 - Fix WebUI monitoring test failure due to FormSelect component deprecation (#7004)
  * Issue 6753 - Removing ticket 47869 test and porting to DSLdapObject (#7001)
  * Issue 6753 - Port ticket 49073 test (#7005)
  * Issue 7016 - fix NULL deref in send_referrals_from_entry() (#7017)
  * Issue 6753 - Port ticket 47815 test (#7000)
  * Issue 7010 - Fix certdir underflow in slapd_nss_init() (#7011)
  * Issue 7012 - improve dscrl dbverify result when backend does not exists (#7013)
  * Issue 6753 - Removing ticket 477828 test and porting to DSLdapObject (#6989)
  * Issue 6753 - Removing ticket 47721 test and porting to DSLdapObject (#6973)
  * Issue 6992 - Improve handling of mismatched ldif import (#6999)
  * Issue 6997 - Logic error in get_bdb_impl_status prevents bdb2mdb execution (#6998)
  * Issue 6810 - Deprecate PAM PTA plugin configuration attributes in base entry - fix memleak (#6988)
  * Issue 6971 - bundle-rust-npm.py: TypeError: argument of type 'NoneType' is not iterable (#6972)
  * Fix overflow in certmap filter/DN buffers (#6995)
  * Issue 6753 - Port ticket 49386 test (#6987)
  * Issue 6753 - Removing ticket 47787 test and porting to DSLdapObject (#6976)
  * Issue 6753 - Port ticket 49072 test (#6984)
  * Issue 6990 - UI - Replace deprecated Select components with new TypeaheadSelect (#6996)
  * Issue 6990 - UI - Fix typeahead Select fields losing values on Enter keypress (#6991)

OBS-URL: https://build.opensuse.org/package/show/network:ldap/389-ds?expand=0&rev=212
2025-10-03 09:01:25 +00:00
86a72cd994 Accepting request 1300904 from openSUSE:Factory
Re-introcduce the changes that were reverted from Factory - this does re-introduce boo#1248325

OBS-URL: https://build.opensuse.org/request/show/1300904
OBS-URL: https://build.opensuse.org/package/show/network:ldap/389-ds?expand=0&rev=211
2025-08-25 15:18:34 +00:00
005d3555b2 Accepting request 1300474 from openSUSE:Factory
https://bugzilla.opensuse.org/show_bug.cgi?id=1248325

OBS-URL: https://build.opensuse.org/request/show/1300474
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/389-ds?expand=0&rev=85
2025-08-20 11:25:45 +00:00
OBS User buildservice-autocommit
7e086fc930 Updating link to change in openSUSE:Factory/389-ds revision 85
OBS-URL: https://build.opensuse.org/package/show/network:ldap/389-ds?expand=0&rev=5bfc81403a16035562117256b95465cc
2025-08-20 11:25:45 +00:00
54c41b0d2a Accepting request 1300474 from openSUSE:Factory
https://bugzilla.opensuse.org/show_bug.cgi?id=1248325

OBS-URL: https://build.opensuse.org/request/show/1300474
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/389-ds?expand=0&rev=85
2025-08-20 11:25:45 +00:00
f7d6e3eda3 Accepting request 1300252 from network:ldap
OBS-URL: https://build.opensuse.org/request/show/1300252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/389-ds?expand=0&rev=84
2025-08-19 14:43:42 +00:00
062d473260 - Update python packaging to adhere to pyproject and newer guidelines
- Update to version 3.1.3~git51.e14e23e0f:
  * Migrate from PR_Poll to epoll and timerfd. (#6924)
  * Issue 6928 - The parentId attribute is indexed with improper matching rule
  * Issue 6753 - Removing ticket 49540 test and porting to DSLdapObject (#6877)
  * Issue 6904 - Fix config_test.py::test_lmdb_config
  * Issue 5120 - Fix compilation error
  * Issue 6929 - Compilation failure with rust-1.89 on Fedora ELN
  * Issue 6922 - AddressSanitizer: leaks found by acl test suite
  * Issue 6519 - Add basic dsidm account tests
  * Issue 6753 - Port ticket test 47573
  * Issue 6875 - Fix dsidm tests
  * Issues 6913, 6886, 6250 - Adjust xfail marks (#6914)
  * Issue 6768 - ns-slapd crashes when a referral is added (#6780)
  * Issue 6468 - CLI - Fix default error log level
  * Issue 6181 - RFE - Allow system to manage uid/gid at startup
  * Issue 6901 - Update changelog trimming logging - fix tests
  * Issue 6778 - Memory leak in roles_cache_create_object_from_entry part 2
  * Issue 6897 - Fix disk monitoring test failures and improve test maintainability (#6898)
  * Issue 6884 - Mask password hashes in audit logs (#6885)
  * Issue 6594 - Add test for numSubordinates replication consistency with tombstones (#6862)
  * Issue 6250 - Add test for entryUSN overflow on failed add operations (#6821)
  * Issue 6895 - Crash if repl keep alive entry can not be created
  * Issue 6663 - Fix NULL subsystem crash in JSON error logging (#6883)
  * Issue 6430 - implement read-only bdb (#6431)
  * Issue 6901 - Update changelog trimming logging
  * Issue 6880 - Fix ds_logs test suite failure
  * Issue 6352 - Fix DeprecationWarning
  * Issue 6800 - Rerun the check in verbose mode on failure
  * Issue 6893 - Log user that is updated during password modify extended operation

OBS-URL: https://build.opensuse.org/package/show/network:ldap/389-ds?expand=0&rev=209
2025-08-19 09:45:00 +00:00
11 changed files with 1343 additions and 1209 deletions

Binary file not shown.

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c74897e4f394e599b64e4c8265b3353fc199d2781cd88c5fb1f4fcf482e9dc3a
size 5609760

View File

@@ -1,4 +1,4 @@
name: 389-ds-base
version: 3.0.6~git86.dce421a0d
mtime: 1746541011
commit: dce421a0dea2e946b603745e17d22f1e0ea7d33b
version: 3.1.3~git111.e953ee704
mtime: 1759864394
commit: e953ee704cc204b8a3e6498412730162878b52b2

View File

@@ -1 +1,7 @@
addFilter("W: incorrect-fsf-address")
# I think this is because of lib389?
addFilter("E: shlib-policy-missing-lib")
# This is a plugin so it belongs here.
addFilter("E: devel-file-in-non-devel-package.*/usr/lib64/dirsrv/librewriters.so")

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
#
# spec file for package 389-ds
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,7 @@
#
%define use_python python3
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define pythons python3
%define homedir %{_localstatedir}/lib/dirsrv
%define logdir %{_localstatedir}/log/dirsrv
@@ -33,7 +31,7 @@
%define svrcorelib libsvrcore0
Name: 389-ds
Version: 3.0.6~git86.dce421a0d
Version: 3.1.3~git111.e953ee704
Release: 0
Summary: 389 Directory Server
License: GPL-3.0-or-later AND MPL-2.0
@@ -76,17 +74,17 @@ BuildRequires: openldap2-devel
# Libressl is incompatible with our rust cryptographic needs.
BuildRequires: openssl-devel
# pam-devel is required by the pam passthru auth plug-in
BuildRequires: %use_python-argcomplete
BuildRequires: %use_python-argparse-manpage
BuildRequires: %use_python-devel
BuildRequires: %use_python-ldap >= 3
BuildRequires: %use_python-psutil
BuildRequires: %use_python-pyasn1
BuildRequires: %use_python-pyasn1-modules
BuildRequires: %use_python-python-dateutil
BuildRequires: %use_python-setuptools
BuildRequires: %use_python-six
BuildRequires: %use_python-cryptography
BuildRequires: %{python_module argcomplete}
BuildRequires: %{python_module argparse-manpage}
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module ldap}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pyasn1-modules}
BuildRequires: %{python_module pyasn1}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module setuptools}
BuildRequires: pam-devel
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
@@ -177,17 +175,30 @@ SNMP Agent for the 389 Directory Server base package.
Summary: 389 Directory Server administration tools and library
License: GPL-3.0-or-later AND MPL-2.0
Group: Development/Languages/Python
Requires: %{use_python}-argcomplete
Requires: %{use_python}-argparse-manpage
Requires: %{use_python}-distro
Requires: %{use_python}-ldap >= 3.0
Requires: %{use_python}-psutil
Requires: %{use_python}-pyasn1
Requires: %{use_python}-pyasn1-modules
Requires: %{use_python}-python-dateutil
Requires: %{use_python}-python-slugify
Requires: %{use_python}-six
Requires: %{use_python}-cryptography
BuildRequires: %{python_module argcomplete}
BuildRequires: %{python_module argparse-manpage}
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module distro}
BuildRequires: %{python_module ldap}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pyasn1-modules}
BuildRequires: %{python_module pyasn1}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module python-slugify}
Requires: %{python_module argcomplete}
Requires: %{python_module argparse-manpage}
Requires: %{python_module cryptography}
Requires: %{python_module devel}
Requires: %{python_module distro}
Requires: %{python_module ldap}
Requires: %{python_module pip}
Requires: %{python_module psutil}
Requires: %{python_module pyasn1-modules}
Requires: %{python_module pyasn1}
Requires: %{python_module python-dateutil}
Requires: %{python_module python-slugify}
Requires: iproute2
Requires: krb5-client
Requires: mozilla-nss-tools
@@ -199,8 +210,8 @@ Recommends: openldap2-client
# These are recommended if you have selinux on your system
# to allow some supplementary automated interactions during
# setup, but it's not required.
Recommends: python3-selinux
Recommends: python3-policycoreutils
Recommends: %{python_module selinux}
Recommends: %{python_module policycoreutils}
Provides: python3-lib389 = %{version}-%{release}
Obsoletes: python-lib389 < %{version}-%{release}
@@ -242,7 +253,7 @@ df -h
%sysusers_generate_pre %{SOURCE10} %{user_group} %{user_group}-user.conf
# Make sure python3 is used in shebangs
# FIX ME!! This should be fixed in the source code !!!
sed -r -i '1s|^#!\s*%{_bindir}.*python.*|#!%{_bindir}/%{use_python}|' ldap/admin/src/scripts/{*.py,ds-replcheck} src/lib389/cli/ds*
sed -r -i '1s|^#!\s*%{_bindir}.*python.*|#!%{_bindir}/python3|' ldap/admin/src/scripts/{*.py,ds-replcheck} src/lib389/cli/ds*
# 389-ds expects the vendor dir in the root.
ln -s ./src/vendor ./vendor
@@ -268,7 +279,7 @@ export CFLAGS="%{optflags}" # -std=gnu99"
--enable-rust-offline \
--disable-perl \
--libexecdir=%{_prefix}/lib/dirsrv/ \
--with-pythonexec="%{_bindir}/%{use_python}" \
--with-pythonexec="%{_bindir}/python3" \
--with-systemd \
--with-systemdgroupname=dirsrv.target \
--with-systemdsystemunitdir="%{_unitdir}" \
@@ -277,16 +288,15 @@ export CFLAGS="%{optflags}" # -std=gnu99"
--with-systemdgroupname=dirsrv.target \
export XCFLAGS="$CFLAGS"
make src/lib389/setup.py
make %{?_smp_mflags}
pushd src/lib389
%python3_build
%pyproject_wheel
popd
%install
%make_install
pushd src/lib389
%python3_install
%pyproject_install
mv %{buildroot}/usr/libexec/dirsrv/dscontainer %{buildroot}%{_prefix}/lib/dirsrv/
rmdir %{buildroot}/usr/libexec/dirsrv/
popd
@@ -321,6 +331,12 @@ mv src/svrcore/LICENSE{,.svrcore}
install -m 0644 %{SOURCE10} %{buildroot}%{_sysusersdir}/
install -m 0644 %{SOURCE11} %{buildroot}%{_unitdir}/dirsrv@.service.d/krbkdcbefore.conf
mv %{buildroot}%{_bindir}/openldap_to_ds %{buildroot}%{_sbindir}/openldap_to_ds
mv %{buildroot}%{_bindir}/dsconf %{buildroot}%{_sbindir}/dsconf
mv %{buildroot}%{_bindir}/dscreate %{buildroot}%{_sbindir}/dscreate
mv %{buildroot}%{_bindir}/dsctl %{buildroot}%{_sbindir}/dsctl
mv %{buildroot}%{_bindir}/dsidm %{buildroot}%{_sbindir}/dsidm
# For the purposes of our krb integration, we enable this by default.
mv %{buildroot}%{_datadir}/dirsrv/data/60kerberos.ldif %{buildroot}%{_datadir}/dirsrv/schema/60kerberos.ldif
@@ -384,6 +400,7 @@ exit 0
%{_libdir}/dirsrv/librewriters.so
%{_libdir}/dirsrv/plugins/*.so
%{_libdir}/dirsrv/python/*.py
%{_libdir}/dirsrv/librobdb.so
%{_libdir}/dirsrv/*.so.*
%exclude %{_mandir}/man1/ldap-agent*
%{_mandir}/man1/*
@@ -452,6 +469,6 @@ exit 0
%{_mandir}/man8/dscreate.8.gz
%{_mandir}/man8/dsctl.8.gz
%{_mandir}/man8/dsidm.8.gz
%{python3_sitelib}/lib389*
%{python_sitelib}/lib389*
%changelog

9
_constraints Normal file
View File

@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<constraints>
<hardware>
<disk>
<!-- Needed because PPC chronically runs out of disk because sigghhh -->
<size unit="G">25</size>
</disk>
</hardware>
</constraints>

View File

@@ -3,7 +3,7 @@
<param name="url">https://github.com/389ds/389-ds-base.git</param>
<param name="versionformat">@PARENT_TAG@~git@TAG_OFFSET@.%h</param>
<param name="scm">git</param>
<param name="revision">389-ds-base-3.0</param>
<param name="revision">main</param>
<param name="versionrewrite-pattern">389-ds-base-(.*)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>
@@ -17,27 +17,29 @@
<service mode="disabled" name="set_version" />
<service name="cargo_vendor" mode="disabled">
<param name="srcdir">389-ds-base</param>
<param name="compression">zst</param>
<param name="cargotoml">src/Cargo.toml</param>
<param name="compression">zst</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="disabled">
<param name="srcdir">389-ds-base</param>
</service>
<!-- obs_scm freaks out with multiple recompress steps -->
<!--
<service name="obs_scm" mode="disabled">
<param name="url">https://github.com/SUSE/supportutils-plugin-dirsrv.git</param>
<param name="versionformat">@PARENT_TAG@~git@TAG_OFFSET@.%h</param>
<param name="scm">git</param>
<param name="revision">v0.1.0</param>
<param name="match-tag">v0.1.0</param>
<param name="revision">main</param>
<param name="versionrewrite-pattern">(.*)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">disable</param>
<param name="without-version">true</param>
</service>
<service mode="disabled" name="tar" />
<service mode="disabled" name="tar">
<param name="filename">supportutils-plugin-dirsrv</param>
</service>
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="file">supportutils-plugin-dirsrv.tar</param>
<param name="compression">zst</param>
</service>
-->

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/389ds/389-ds-base.git</param>
<param name="changesrevision">dce421a0dea2e946b603745e17d22f1e0ea7d33b</param></service></servicedata>
<param name="changesrevision">e953ee704cc204b8a3e6498412730162878b52b2</param></service></servicedata>

View File

@@ -1,3 +1,2 @@
#Type Name ID GECOS Home directory Shell
g dirsrv - -
u dirsrv - "User for 389 directory server" /var/lib/dirsrv /sbin/nologin

BIN
vendor.tar.zst LFS

Binary file not shown.