remove unneeded configure flags, disable sql backend and aci
Both SQL backend and ACI are experimental. SQL is unsupported.
This commit is contained in:
parent
41c84187a9
commit
7a8ba10b72
@ -104,20 +104,6 @@ information, but other information is possible) over the Internet,
|
|||||||
similar to the way DNS (Domain Name System) information is propagated
|
similar to the way DNS (Domain Name System) information is propagated
|
||||||
over the Internet. This package contains the slapd server and related files.
|
over the Internet. This package contains the slapd server and related files.
|
||||||
|
|
||||||
%package servers-sql
|
|
||||||
Summary: SQL support module for OpenLDAP server
|
|
||||||
Requires: openldap-servers%{?_isa} = %{version}-%{release}
|
|
||||||
Group: System Environment/Daemons
|
|
||||||
|
|
||||||
%description servers-sql
|
|
||||||
OpenLDAP is an open-source suite of LDAP (Lightweight Directory Access
|
|
||||||
Protocol) applications and development tools. LDAP is a set of
|
|
||||||
protocols for accessing directory services (usually phone book style
|
|
||||||
information, but other information is possible) over the Internet,
|
|
||||||
similar to the way DNS (Domain Name System) information is propagated
|
|
||||||
over the Internet. This package contains a loadable module which the
|
|
||||||
slapd server can use to read data from an RDBMS.
|
|
||||||
|
|
||||||
%package clients
|
%package clients
|
||||||
Summary: LDAP client utilities
|
Summary: LDAP client utilities
|
||||||
Requires: openldap%{?_isa} = %{version}-%{release}
|
Requires: openldap%{?_isa} = %{version}-%{release}
|
||||||
@ -197,14 +183,8 @@ pushd openldap-%{version}
|
|||||||
%configure \
|
%configure \
|
||||||
--enable-debug \
|
--enable-debug \
|
||||||
--enable-dynamic \
|
--enable-dynamic \
|
||||||
--enable-syslog \
|
|
||||||
--enable-proctitle \
|
|
||||||
--enable-ipv6 \
|
|
||||||
--enable-local \
|
|
||||||
\
|
\
|
||||||
--enable-slapd \
|
|
||||||
--enable-dynacl \
|
--enable-dynacl \
|
||||||
--enable-aci \
|
|
||||||
--enable-cleartext \
|
--enable-cleartext \
|
||||||
--enable-crypt \
|
--enable-crypt \
|
||||||
--enable-lmpasswd \
|
--enable-lmpasswd \
|
||||||
@ -222,11 +202,11 @@ pushd openldap-%{version}
|
|||||||
--enable-mdb=yes \
|
--enable-mdb=yes \
|
||||||
--enable-monitor=yes \
|
--enable-monitor=yes \
|
||||||
--disable-ndb \
|
--disable-ndb \
|
||||||
|
--disable-sql \
|
||||||
\
|
\
|
||||||
--enable-overlays=mod \
|
--enable-overlays=mod \
|
||||||
\
|
\
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-shared \
|
|
||||||
\
|
\
|
||||||
--with-cyrus-sasl \
|
--with-cyrus-sasl \
|
||||||
--without-fetch \
|
--without-fetch \
|
||||||
@ -346,7 +326,6 @@ rm -f %{buildroot}%{_sysconfdir}/openldap/slapd.ldif
|
|||||||
# move doc files out of _sysconfdir
|
# move doc files out of _sysconfdir
|
||||||
mv %{buildroot}%{_sysconfdir}/openldap/schema/README README.schema
|
mv %{buildroot}%{_sysconfdir}/openldap/schema/README README.schema
|
||||||
mv %{buildroot}%{_sysconfdir}/openldap/DB_CONFIG.example %{buildroot}%{_datadir}/openldap-servers/DB_CONFIG.example
|
mv %{buildroot}%{_sysconfdir}/openldap/DB_CONFIG.example %{buildroot}%{_datadir}/openldap-servers/DB_CONFIG.example
|
||||||
chmod 0644 openldap-%{version}/servers/slapd/back-sql/rdbms_depend/timesten/*.sh
|
|
||||||
chmod 0644 %{buildroot}%{_datadir}/openldap-servers/DB_CONFIG.example
|
chmod 0644 %{buildroot}%{_datadir}/openldap-servers/DB_CONFIG.example
|
||||||
|
|
||||||
# remove files which we don't want packaged
|
# remove files which we don't want packaged
|
||||||
@ -553,11 +532,6 @@ exit 0
|
|||||||
%ghost %config(noreplace,missingok) %attr(0640,ldap,ldap) %{_sysconfdir}/openldap/slapd.conf
|
%ghost %config(noreplace,missingok) %attr(0640,ldap,ldap) %{_sysconfdir}/openldap/slapd.conf
|
||||||
%ghost %config(noreplace,missingok) %attr(0640,ldap,ldap) %{_sysconfdir}/openldap/slapd.conf.bak
|
%ghost %config(noreplace,missingok) %attr(0640,ldap,ldap) %{_sysconfdir}/openldap/slapd.conf.bak
|
||||||
|
|
||||||
%files servers-sql
|
|
||||||
%doc openldap-%{version}/servers/slapd/back-sql/docs/*
|
|
||||||
%doc openldap-%{version}/servers/slapd/back-sql/rdbms_depend
|
|
||||||
%{_libdir}/openldap/back_sql*
|
|
||||||
|
|
||||||
%files clients
|
%files clients
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
@ -574,6 +548,7 @@ exit 0
|
|||||||
- remove openldap-ldaprc-currentdir.patch
|
- remove openldap-ldaprc-currentdir.patch
|
||||||
- remove openldap-userconfig-setgid.patch
|
- remove openldap-userconfig-setgid.patch
|
||||||
- remove openldap-syncrepl-unset-tls-options.patch
|
- remove openldap-syncrepl-unset-tls-options.patch
|
||||||
|
- remove unneeded configure flags, disable sql backend and aci
|
||||||
|
|
||||||
* Wed Dec 17 2014 Jan Synáček <jsynacek@redhat.com> - 2.4.40-5
|
* Wed Dec 17 2014 Jan Synáček <jsynacek@redhat.com> - 2.4.40-5
|
||||||
- harden the build
|
- harden the build
|
||||||
|
Loading…
Reference in New Issue
Block a user