From 2039be29c299431cc3b5da3426f1db7f5a80737e Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 7 Feb 2005 22:30:56 +0000 Subject: r5271: patch from S Murthy Kambhampaty to add idmap_rid.so to the Fedora and RedHat packaging (This used to be commit ba0c711a4386833da7cdf15bfd0f90177eb41bad) --- packaging/Fedora/samba.spec.tmpl | 4 +++- packaging/RedHat/samba.spec.tmpl | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'packaging') diff --git a/packaging/Fedora/samba.spec.tmpl b/packaging/Fedora/samba.spec.tmpl index e381dd0bc3..7fde5c0e9a 100644 --- a/packaging/Fedora/samba.spec.tmpl +++ b/packaging/Fedora/samba.spec.tmpl @@ -121,10 +121,11 @@ CFLAGS="$RPM_OPT_FLAGS" ./configure \ --with-swatdir=%{_datadir}/swat \ --with-libsmbclient \ --with-acl-support \ + --with-shared-modules=idmap_rid \ --enable-cups=yes make showlayout make proto -make %{?_smp_mflags} all nsswitch/libnss_wins.so debug2html +make %{?_smp_mflags} all modules nsswitch/libnss_wins.so debug2html %install @@ -355,6 +356,7 @@ fi %{_libdir}/libsmbclient.a %{_libdir}/libsmbclient.so %{_libdir}/samba/charset/CP*.so +%{_libdir}/samba/idmap/idmap*.so %{_includedir}/libsmbclient.h %{_bindir}/testparm %{_bindir}/testprns diff --git a/packaging/RedHat/samba.spec.tmpl b/packaging/RedHat/samba.spec.tmpl index aa811dbe76..d5124d05ed 100644 --- a/packaging/RedHat/samba.spec.tmpl +++ b/packaging/RedHat/samba.spec.tmpl @@ -96,9 +96,10 @@ CFLAGS="$RPM_OPT_FLAGS $EXTRA" ./configure \ --with-utmp \ --with-sambabook=%{prefix}/share/swat/using_samba \ --with-swatdir=%{prefix}/share/swat \ + --with-shared-modules=idmap_rid \ --with-libsmbclient make -j${NUMCPU} proto -make -j${NUMCPU} all nsswitch/libnss_wins.so +make -j${NUMCPU} all modules nsswitch/libnss_wins.so make -j${NUMCPU} debug2html # Remove some permission bits to avoid to many dependencies @@ -430,6 +431,7 @@ fi %attr(755,root,root) /lib/libnss_wins.s* %attr(755,root,root) %{prefix}/lib/samba/vfs/*.so %attr(755,root,root) %{prefix}/lib/samba/charset/*.so +%attr(755,root,root) %{prefix}/lib/samba/idmap/*.so #%attr(755,root,root) %{prefix}/lib/samba/pdb/*.so %attr(755,root,root) %{prefix}/lib/samba/*.dat %attr(755,root,root) %{prefix}/lib/samba/*.msg -- cgit