diff --git a/.gitignore b/.gitignore index 9d1585b..785cadf 100644 --- a/.gitignore +++ b/.gitignore @@ -152,3 +152,4 @@ /389-ds-base-1.3.7.4.tar.bz2 /389-ds-base-1.3.7.5.tar.bz2 /389-ds-base-1.3.7.6.tar.bz2 +/389-ds-base-1.3.7.7.tar.bz2 diff --git a/389-ds-base.spec b/389-ds-base.spec index 8318cbc..43a56ec 100644 --- a/389-ds-base.spec +++ b/389-ds-base.spec @@ -29,7 +29,7 @@ Summary: 389 Directory Server (base) Name: 389-ds-base -Version: 1.3.7.6 +Version: 1.3.7.7 Release: %{?relprefix}1%{?prerel}%{?dist} License: GPLv3+ URL: http://www.port389.org @@ -70,6 +70,9 @@ BuildRequires: libtool BuildRequires: doxygen # For tests! BuildRequires: libcmocka-devel +BuildRequires: python%{python3_pkgversion} +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: libevent-devel %if %{use_tcmalloc} BuildRequires: gperftools-devel @@ -192,13 +195,33 @@ Obsoletes: %{name} <= 1.3.7.3 %description snmp SNMP Agent for the 389 Directory Server base package. +%package -n python%{python3_pkgversion}-lib389 +Summary: A library for accessing, testing, and configuring the 389 Directory Server +BuildArch: noarch +Group: Development/Libraries +Requires: krb5-workstation +Requires: krb5-server +Requires: openssl +Requires: iproute +Requires: python%{python3_pkgversion} +Requires: python%{python3_pkgversion}-pytest +Requires: python%{python3_pkgversion}-pyldap +Requires: python%{python3_pkgversion}-six +Requires: python%{python3_pkgversion}-pyasn1 +Requires: python%{python3_pkgversion}-pyasn1-modules +Requires: python%{python3_pkgversion}-dateutil +%{?python_provide:%python_provide python%{python3_pkgversion}-lib389} + +%description -n python%{python3_pkgversion}-lib389 +This module contains tools and libraries for accessing, testing, + and configuring the 389 Directory Server. + %package -n python%{python3_pkgversion}-%{srcname}-tests Summary: The lib389 Continuous Integration Tests Group: Development/Libraries BuildArch: noarch +Requires: python%{python3_pkgversion} Requires: python%{python3_pkgversion}-lib389 -BuildRequires: python%{python3_pkgversion}-devel -BuildRequires: python%{python3_pkgversion}-setuptools %description -n python%{python3_pkgversion}-%{srcname}-tests The lib389 CI tests that can be run against the Directory Server. @@ -230,18 +253,25 @@ autoreconf -fiv --with-systemdsystemconfdir=%{_sysconfdir}/systemd/system \ --with-perldir=/usr/bin \ --with-pythonexec=%{__python3} \ - --with-systemdgroupname=%{groupname} $NSSARGS $NUNC_STANS_FLAGS \ - --with-systemd --enable-nunc-stans $TCMALLOC_FLAGS + --with-systemdgroupname=%{groupname} $NSSARGS \ + --with-systemd $TCMALLOC_FLAGS # Generate symbolic info for debuggers export XCFLAGS=$RPM_OPT_FLAGS make %{?_smp_mflags} +%if 0%{?rhel} >= 8 || 0%{?fedora} make setup.py -#%py2_build +# lib389 +pushd ./src/lib389 %py3_build +popd + +# tests +%py3_build +%endif %install @@ -251,8 +281,16 @@ mkdir -p %{buildroot}%{_datadir}/gdb/auto-load%{_sbindir} # Copy in our docs from doxygen. cp -r %{_builddir}/%{name}-%{version}%{?prerel}/man/man3 $RPM_BUILD_ROOT/%{_mandir}/man3 -#%py2_install +%if 0%{?rhel} >= 8 || 0%{?fedora} +# lib389 +pushd src/lib389 %py3_install +popd + +# tests +%py3_install +%endif + mkdir -p $RPM_BUILD_ROOT/var/log/%{pkgname} mkdir -p $RPM_BUILD_ROOT/var/lib/%{pkgname} @@ -472,12 +510,52 @@ fi %{_mandir}/man1/ldap-agent.1.gz %{_unitdir}/%{pkgname}-snmp.service +%if 0%{?rhel} >= 8 || 0%{?fedora} +%files -n python%{python3_pkgversion}-lib389 +%defattr(-,root,root,-) +%doc LICENSE LICENSE.GPLv3+ +%{_sbindir}/dsconf +%{_sbindir}/dscreate +%{_sbindir}/dsctl +%{_sbindir}/dsidm +%{python3_sitelib}/lib389* +%endif + +%if 0%{?rhel} >= 8 || 0%{?fedora} %files -n python%{python3_pkgversion}-%{srcname}-tests %defattr(-,root,root,-) %doc LICENSE LICENSE.GPLv3+ -%{python3_sitelib}/* +%{python3_sitelib}/dirsrvtests* +%endif %changelog +* Fri Nov 3 2017 Mark Reynolds - 1.3.7.7-1 +- Bump version to 1.3.7.7 +- Ticket 48393 - fix copy and paste error +- Ticket 49439 - cleanallruv is not logging information +- Ticket 48393 - Improve replication config validation +- Ticket 49436 - double free in COS in some conditions +- Ticket 48007 - CI test to test changelog trimming interval +- Ticket 49424 - Resolve csiphash alignment issues +- Ticket 49401 - Fix compiler incompatible-pointer-types warnings +- Ticket 49401 - improve valueset sorted performance on delete +- Ticket 48894 - harden valueset_array_to_sorted_quick valueset access +- Ticket 48681 - Use of uninitialized value in string ne at /usr/bin/logconv.pl +- Ticket 49374 - server fails to start because maxdisksize is recognized incorrectly +- Ticket 49408 - Server allows to set any nsds5replicaid in the existing replica entry +- Ticket 49407 - status-dirsrv shows ellipsed lines +- Ticket 48681 - Use of uninitialized value in string ne at /usr/bin/logconv.pl line 2565, <$LOGFH> line 4 +- Ticket 49386 - Memberof should be ignore MODRDN when the pre/post entry are identical +- Ticket 48006 - Missing warning for invalid replica backoff configuration +- Ticket 49378 - server init fails +- Ticket 49064 - testcase hardening +- Ticket 49064 - RFE allow to enable MemberOf plugin in dedicated consumer +- Ticket 49402 - Adding a database entry with the same database name that was deleted hangs server at shutdown +- Ticket 49394 - slapi_pblock_get may leave unchanged the provided variable +- Ticket 48235 - remove memberof lock (cherry-pick error) +- Ticket 48235 - Remove memberOf global lock +- Ticket 49363 - Merge lib389, all lib389 history in single patch + * Mon Oct 9 2017 Mark Reynolds - 1.3.7.6-1 - Bump verson to 1.3.7.6 - Ticket 49038 - remove legacy replication - change cleanup script precedence diff --git a/sources b/sources index 6051f60..f05c94b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (389-ds-base-1.3.7.6.tar.bz2) = 4a0c50b9b88c9e29e7a16b17ddab4c2930e0519e8bb61f93326e3afefd73808bfbd197d4eb5f670cef1804acaca19e8c4e29c4daa3a7248941d8621119581183 +SHA512 (389-ds-base-1.3.7.7.tar.bz2) = 72b5e330eae73c40d786ae8cfbf563fa70b52a74ab4adacc23bf27ff431a36b2d49e336ae55dc0191bdfd37ceed935935e038871a59a00d08723f1a42f012dfc