summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-02-07 22:30:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:35 -0500
commit2039be29c299431cc3b5da3426f1db7f5a80737e (patch)
tree206e028faf883b311bb7347d2e30606918c623fb /packaging
parent21dbed36e98bab3bc7854a2d8063ae282aeb910e (diff)
downloadsamba-2039be29c299431cc3b5da3426f1db7f5a80737e.tar.gz
samba-2039be29c299431cc3b5da3426f1db7f5a80737e.tar.bz2
samba-2039be29c299431cc3b5da3426f1db7f5a80737e.zip
r5271: patch from S Murthy Kambhampaty <smk_va@yahoo.com> to add idmap_rid.so to the Fedora and RedHat packaging
(This used to be commit ba0c711a4386833da7cdf15bfd0f90177eb41bad)
Diffstat (limited to 'packaging')
-rw-r--r--packaging/Fedora/samba.spec.tmpl4
-rw-r--r--packaging/RedHat/samba.spec.tmpl4
2 files changed, 6 insertions, 2 deletions
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