forked from pool/openldap2
Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
d574d222e3 | |||
f94500603d | |||
cc527d1c28 | |||
61daff54de |
@ -63,6 +63,7 @@ BuildRequires: db-devel
|
||||
BuildRequires: groff
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: cracklib-devel
|
||||
%if 0%{?suse_version} < 1600
|
||||
BuildRequires: openslp-devel
|
||||
%endif
|
||||
@ -146,6 +147,7 @@ to be applied with all usages of libldap.
|
||||
Summary: OpenLDAP Contrib Modules
|
||||
Group: Productivity/Networking/LDAP/Servers
|
||||
Requires: openldap2 = %{version}
|
||||
Recommends: cracklib
|
||||
|
||||
%description contrib
|
||||
Various overlays found in contrib/:
|
||||
@ -159,6 +161,7 @@ datamorph store enumerated values and fixed size integers
|
||||
denyop
|
||||
lastbind writes last bind timestamp to entry
|
||||
noopsrch handles no-op search control
|
||||
ppm password policy module for OpenLDAP ppolicy overlay (requires cracklib)
|
||||
pw-sha2 generates/validates SHA-2 password hashes
|
||||
pw-pbkdf2 generates/validates PBKDF2 password hashes
|
||||
smbk5pwd generates Samba3 password hashes (heimdal krb disabled)
|
||||
@ -286,7 +289,7 @@ export STRIP=""
|
||||
make depend
|
||||
%make_build
|
||||
# Build selected contrib overlays
|
||||
for SLAPO_NAME in addpartial allowed allop autogroup authzid datamorph lastbind denyop cloak noopsrch passwd/sha2 passwd/pbkdf2 trace variant vc
|
||||
for SLAPO_NAME in addpartial allowed allop autogroup authzid datamorph lastbind denyop cloak noopsrch passwd/sha2 passwd/pbkdf2 ppm trace variant vc
|
||||
do
|
||||
make -C contrib/slapd-modules/${SLAPO_NAME} %{?_smp_mflags} "sysconfdir=%{_sysconfdir}/openldap" "libdir=%{_libdir}" "libexecdir=%{_libdir}"
|
||||
done
|
||||
@ -335,7 +338,7 @@ make STRIP="" DESTDIR="%{buildroot}" "sysconfdir=%{_sysconfdir}/openldap" "libdi
|
||||
# Additional symbolic link to slapd executable in /usr/sbin/
|
||||
ln -s %{_libdir}/slapd %{buildroot}%{_sbindir}/slapd
|
||||
# Install selected contrib overlays
|
||||
for SLAPO_NAME in addpartial allowed allop autogroup authzid datamorph lastbind denyop cloak noopsrch passwd/sha2 passwd/pbkdf2 trace variant vc
|
||||
for SLAPO_NAME in addpartial allowed allop autogroup authzid datamorph lastbind denyop cloak noopsrch passwd/sha2 passwd/pbkdf2 ppm trace variant vc
|
||||
do
|
||||
make -C contrib/slapd-modules/${SLAPO_NAME} STRIP="" DESTDIR="%{buildroot}" "mandir=%{_mandir}" "sysconfdir=%{_sysconfdir}/openldap" "libdir=%{_libdir}" "libexecdir=%{_libdir}" install
|
||||
done
|
||||
@ -388,6 +391,7 @@ install -m 644 servers/slapd/slapd.ldif \
|
||||
%{buildroot}%{DOCDIR}/slapd.ldif.default
|
||||
rm -f %{buildroot}/etc/openldap/schema/README
|
||||
rm -f %{buildroot}/etc/openldap/slapd.ldif*
|
||||
rm -f %{buildroot}/etc/openldap/ppm.example
|
||||
mv servers/slapd/back-sql/rdbms_depend servers/slapd/back-sql/examples
|
||||
|
||||
rm -f %{buildroot}%{_libdir}/openldap/*.a
|
||||
@ -552,12 +556,14 @@ ln -fs libldap.so "%{buildroot}%{_libdir}/libldap_r.so"
|
||||
%{_libdir}/openldap/denyop.*
|
||||
%{_libdir}/openldap/lastbind.*
|
||||
%{_libdir}/openldap/noopsrch.*
|
||||
%{_libdir}/openldap/ppm.*
|
||||
%{_libdir}/openldap/pw-pbkdf2.*
|
||||
%{_libdir}/openldap/pw-sha2.*
|
||||
%{_libdir}/openldap/smbk5pwd.*
|
||||
%{_libdir}/openldap/trace.*
|
||||
%{_libdir}/openldap/variant.*
|
||||
%{_libdir}/openldap/vc.*
|
||||
%doc %{_mandir}/man5/slapm-ppm.*
|
||||
|
||||
%files client
|
||||
%doc %{_mandir}/man1/ldap*
|
||||
|
Loading…
Reference in New Issue
Block a user