packages: heimdal/heimdal.spec - install internal, gory details of KCM for ...
baggins
baggins at pld-linux.org
Thu Oct 14 13:46:34 CEST 2010
Author: baggins Date: Thu Oct 14 11:46:34 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- install internal, gory details of KCM for nfs-utils
---- Files affected:
packages/heimdal:
heimdal.spec (1.212 -> 1.213)
---- Diffs:
================================================================
Index: packages/heimdal/heimdal.spec
diff -u packages/heimdal/heimdal.spec:1.212 packages/heimdal/heimdal.spec:1.213
--- packages/heimdal/heimdal.spec:1.212 Fri Oct 8 22:47:06 2010
+++ packages/heimdal/heimdal.spec Thu Oct 14 13:46:28 2010
@@ -425,6 +425,20 @@
ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/$lib.*.*) $RPM_BUILD_ROOT%{_libdir}/$lib
done
+# install definitions of KCM internal data structures to get KCM support in nfs-utils
+install -d $RPM_BUILD_ROOT%{_includedir}/kcm
+_mutexdef=$(cat << EOF | %{__cc} -E -I./include - | sed 's/_HEIMDAL_MUTEX \(.*\)/\1/p; d'
+#include "config.h"
+#include "heim_threads.h"
+_HEIMDAL_MUTEX HEIMDAL_MUTEX
+EOF)
+%{__sed} -e '/#include <kcm-protos.h>/d' \
+ -e '/#include "headers.h"/d' \
+ -e '/kcm_service/N; /kcm_service/d;' \
+ -e 's/<kcm\.h>/<kcm\/kcm.h>/' \
+ -e "s/HEIMDAL_MUTEX/$_mutexdef/g" kcm/kcm_locl.h >$RPM_BUILD_ROOT%{_includedir}/kcm/kcm_locl.h
+install -p lib/krb5/kcm.h $RPM_BUILD_ROOT%{_includedir}/kcm
+
# just a test plugin
rm -f $RPM_BUILD_ROOT%{_libdir}/windc.*
# not needed for plugin
@@ -670,6 +684,7 @@
%{_includedir}/*.h
%{_includedir}/gssapi
%{_includedir}/kadm5
+%{_includedir}/kcm
%{_includedir}/krb5
%{_includedir}/roken
%{_pkgconfigdir}/heimdal-gssapi.pc
@@ -795,6 +810,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.213 2010/10/14 11:46:28 baggins
+- install internal, gory details of KCM for nfs-utils
+
Revision 1.212 2010/10/08 20:47:06 qboosh
- more fixes in nosysdirs patch
- BR: libcap-ng-devel, pkgconfig; updated am version
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/heimdal/heimdal.spec?r1=1.212&r2=1.213&f=u
More information about the pld-cvs-commit
mailing list