Fixing smbk5pwd compilation

This commit is contained in:
Jan Šafránek 2007-07-01 19:58:38 +00:00
parent 426105f2fc
commit 0f89c7c360
2 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,7 @@
unique.c \ unique.c \
- valsort.c - valsort.c
+ valsort.c \ + valsort.c \
+ ../../../contrib/slapd-modules/smbk5pwd/smbk5pwd.c + smbk5pwd.c
OBJS = overlays.o \ OBJS = overlays.o \
statover.o \ statover.o \
@SLAPD_STATIC_OVERLAYS@ @SLAPD_STATIC_OVERLAYS@

View File

@ -236,6 +236,9 @@ pushd openldap-%{version_23}
mkdir $subdir mkdir $subdir
ln -s ../configure $subdir ln -s ../configure $subdir
done done
# build smbk5pwd with other overlays
ln -s ../../../contrib/slapd-modules/smbk5pwd/smbk5pwd.c servers/slapd/overlays
mv contrib/slapd-modules/smbk5pwd/README contrib/slapd-modules/smbk5pwd/README.smbk5pwd
autoconf autoconf
popd popd
@ -679,6 +682,7 @@ fi
%doc README.migration %doc README.migration
%doc TOOLS.migration %doc TOOLS.migration
%doc $RPM_SOURCE_DIR/README.upgrading $RPM_SOURCE_DIR/guide.html %doc $RPM_SOURCE_DIR/README.upgrading $RPM_SOURCE_DIR/guide.html
%doc openldap-%{version_23}/contrib/slapd-modules/smbk5pwd/README.smbk5pwd
%ghost %config %{_sysconfdir}/pki/tls/certs/slapd.pem %ghost %config %{_sysconfdir}/pki/tls/certs/slapd.pem
%attr(0755,root,root) %config %{_sysconfdir}/rc.d/init.d/ldap %attr(0755,root,root) %config %{_sysconfdir}/rc.d/init.d/ldap
%attr(0640,root,ldap) %config(noreplace) %{_sysconfdir}/openldap/slapd.conf %attr(0640,root,ldap) %config(noreplace) %{_sysconfdir}/openldap/slapd.conf