From 0abe1a37421c6bd14b57d87f545ee2b3abc03fd7 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 3 Aug 2009 14:32:52 +0200 Subject: packaging(RHEL-CTDB): package the winbind_krb5_locator.so plugin Michael --- packaging/RHEL-CTDB/samba.spec.tmpl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packaging') diff --git a/packaging/RHEL-CTDB/samba.spec.tmpl b/packaging/RHEL-CTDB/samba.spec.tmpl index 6a986f2cb3..a6ad3f8b73 100644 --- a/packaging/RHEL-CTDB/samba.spec.tmpl +++ b/packaging/RHEL-CTDB/samba.spec.tmpl @@ -296,6 +296,7 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{samba,sysconfig} mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d mkdir -p $RPM_BUILD_ROOT/var/lib/samba/winbindd_privileged mkdir -p $RPM_BUILD_ROOT/var/{log,run/winbindd,spool}/samba +mkdir -p $RPM_BUILD_ROOT/%{_libarchdir}/krb5/plugins/libkrb5 cd source3 make DESTDIR=$RPM_BUILD_ROOT \ @@ -313,6 +314,7 @@ install -m 755 nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_libarch}/libnss_win #install -m 755 nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_libarch}/libnss_wins.so # ( cd $RPM_BUILD_ROOT/%{_libarch}; ln -sf libnss_wins.so libnss_wins.so.2 ) +cp -p source3/bin/winbind_krb5_locator.so ${RPM_BUILD_ROOT}/%{_libarchdir}/krb5/plugins/libkrb5 # install files for winbind-32bit package %ifarch x86_64 ppc64 @@ -568,6 +570,8 @@ exit 0 %{_libarchdir}/libtdb.so* %{_libarchdir}/libwbclient.so* +%{_libarchdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so + %{_sbindir}/winbind %{_sbindir}/winbindd -- cgit