summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-11-26 18:16:52 +0000
committerGerald Carter <jerry@samba.org>2002-11-26 18:16:52 +0000
commit0d213704cc4783e48f33981a19fa98ecb1ca831d (patch)
tree0739e80baedf0a4e7ddda4b74395fc95b8b48668 /packaging
parentedc4c1f643023b4c980a0b4518512e2cbeadce0c (diff)
downloadsamba-0d213704cc4783e48f33981a19fa98ecb1ca831d.tar.gz
samba-0d213704cc4783e48f33981a19fa98ecb1ca831d.tar.bz2
samba-0d213704cc4783e48f33981a19fa98ecb1ca831d.zip
fixing install problems with VFS modules
(This used to be commit 3a38736c1a07de6f09bd10e67fa0557ddf49dc1c)
Diffstat (limited to 'packaging')
-rw-r--r--packaging/RedHat/samba2.spec.tmpl23
1 files changed, 7 insertions, 16 deletions
diff --git a/packaging/RedHat/samba2.spec.tmpl b/packaging/RedHat/samba2.spec.tmpl
index 5e4cca8477..47ee282874 100644
--- a/packaging/RedHat/samba2.spec.tmpl
+++ b/packaging/RedHat/samba2.spec.tmpl
@@ -51,7 +51,6 @@ CFLAGS="$RPM_OPT_FLAGS $EXTRA" ./configure \
--with-privatedir=/etc/samba \
--with-fhs \
--with-quotas \
- --with-msdfs \
--with-smbmount \
--with-pam \
--with-pam_smbpass \
@@ -61,16 +60,10 @@ CFLAGS="$RPM_OPT_FLAGS $EXTRA" ./configure \
--with-swatdir=%{prefix}/share/swat \
--with-libsmbclient
make -j${NUMCPU} proto
-make -j${NUMCPU} all nsswitch/libnss_wins.so
+make -j${NUMCPU} all nsswitch/libnss_wins.so modules
make -j${NUMCPU} debug2html
make -j${NUMCPU} bin/smbspool
-## Build VFS modules
-#cd ../examples/VFS
-#make
-
-
-
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
@@ -91,7 +84,8 @@ mkdir -p $RPM_BUILD_ROOT%{prefix}/{lib,include}
# Install standard binary files
for i in nmblookup smbclient smbpasswd smbstatus testparm testprns \
- rpcclient smbspool smbcacls smbcontrol wbinfo smbmnt
+ rpcclient smbspool smbcacls smbcontrol wbinfo smbmnt net smbgroupedit \
+ smbcacls pdbedit tdbbackup smbtree
do
install -m755 source/bin/$i $RPM_BUILD_ROOT%{prefix}/bin
done
@@ -102,7 +96,7 @@ do
done
# Install secure binary files
-for i in smbd nmbd swat smbmount smbumount debug2html winbindd
+for i in smbd nmbd swat smbmount smbumount debug2html winbindd wrepld
do
install -m755 source/bin/$i $RPM_BUILD_ROOT%{prefix}/sbin
done
@@ -139,12 +133,9 @@ install -m755 source/nsswitch/pam_winbind.so $RPM_BUILD_ROOT/lib/security
install -m755 source/bin/pam_smbpass.so $RPM_BUILD_ROOT/lib/security
# Install the VFS modules
-#install -m755 examples/VFS/recycle.so $RPM_BUILD_ROOT%{prefix}/lib/samba/vfs
-#install -m755 examples/VFS/audit.so $RPM_BUILD_ROOT%{prefix}/lib/samba/vfs
-#install -m755 examples/VFS/netatalk.so $RPM_BUILD_ROOT%{prefix}/lib/samba/vfs
-
-# clean out VFS directory since it will get installed as documentation later
-#(cd examples/VFS; make clean)
+install -m755 bin/vfs_recycle.so $RPM_BUILD_ROOT%{prefix}/lib/samba/vfs
+install -m755 bin/vfs_audit.so $RPM_BUILD_ROOT%{prefix}/lib/samba/vfs
+install -m755 bin/vfs_netatalk.so $RPM_BUILD_ROOT%{prefix}/lib/samba/vfs
# libsmbclient
install -m 755 source/bin/libsmbclient.so $RPM_BUILD_ROOT%{prefix}/lib/