r5271: patch from S Murthy Kambhampaty <smk_va@yahoo.com> to add idmap_rid.so to...
authorGerald Carter <jerry@samba.org>
Mon, 7 Feb 2005 22:30:56 +0000 (22:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:55:35 +0000 (10:55 -0500)
(This used to be commit ba0c711a4386833da7cdf15bfd0f90177eb41bad)

packaging/Fedora/samba.spec.tmpl
packaging/RedHat/samba.spec.tmpl

index e381dd0bc3d00a2efc91cf94f384cf2486b234b4..7fde5c0e9a512ade36c12a098a052b6eefa54868 100644 (file)
@@ -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
index aa811dbe7611ed4860bd9f66bd8cc4019e4100a7..d5124d05edbea97c39c4b28655a1b694b41fe440 100644 (file)
@@ -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