summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2002-06-03 05:59:58 +0000
committerJohn Terpstra <jht@samba.org>2002-06-03 05:59:58 +0000
commit13abfb606f5e248533f4696777ea593d9201f911 (patch)
tree8df092fd2d85f96da713579b525da144212d7fe1
parentce62a480e51afc584d6a27cae164371fc742d539 (diff)
downloadsamba-13abfb606f5e248533f4696777ea593d9201f911.tar.gz
samba-13abfb606f5e248533f4696777ea593d9201f911.tar.bz2
samba-13abfb606f5e248533f4696777ea593d9201f911.zip
Add VFS Support
(This used to be commit c28343fd033c7a805fad451dca39dfc627cee2c4)
-rw-r--r--packaging/Caldera/OpenLinux/samba3.spec.tmpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/packaging/Caldera/OpenLinux/samba3.spec.tmpl b/packaging/Caldera/OpenLinux/samba3.spec.tmpl
index d48d860e0b..23ebcd879e 100644
--- a/packaging/Caldera/OpenLinux/samba3.spec.tmpl
+++ b/packaging/Caldera/OpenLinux/samba3.spec.tmpl
@@ -254,6 +254,15 @@ CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \
make all nsswitch/libnss_wins.so nsswitch/libnss_winbind.so torture nsswitch/pam_winbind.so everything
(cd tdb; make tdbdump tdbtest tdbtorture tdbtool)
+cd ../examples/VFS
+CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \
+ --prefix='$(DESTDIR)/usr' \
+ --localstatedir='$(DESTDIR)/var' \
+ --libdir='$(DESTDIR)%{EtcSamba}' \
+ --sbindir='$(DESTDIR)/usr/sbin'
+make
+cd block
+make
%Install
%{mkDESTDIR}
@@ -264,6 +273,7 @@ mkdir -p $DESTDIR%{EtcSamba}/codepages/src
mkdir -p $DESTDIR/etc/skel/Samba
mkdir -p $DESTDIR/home/samba
mkdir -p $DESTDIR/lib/security
+mkdir -p $DESTDIR/lib/samba
mkdir -p $DESTDIR/%{LSBservedir}/{netlogon,profiles,Public}
mkdir -p $DESTDIR%{NKinetdir}
mkdir -p $DESTDIR/{sbin,bin,usr/{sbin,bin}}
@@ -294,6 +304,11 @@ for i in tdbdump tdbtest tdbtorture tdbtool
do
install -m 755 source/tdb/$i $DESTDIR/usr/sbin
done
+# Add VFS Modules
+for i in audit.so recycle.so block/block.so
+do
+ install -m755 $i $DESTDIR/lib/samba
+done
#mv $DESTDIR/usr/bin/{make,add,conv}* $DESTDIR/usr/sbin