summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2002-04-08 20:10:08 +0000
committerJohn Terpstra <jht@samba.org>2002-04-08 20:10:08 +0000
commit3963ecb02f9b522ff0365b70aa8854daecf63d49 (patch)
treeb0205bc3bb9910a380cea6c55b8aa6fbbe1bfa0d
parent9c1665b2995055379c0c40a9fda485a2f164796c (diff)
downloadsamba-3963ecb02f9b522ff0365b70aa8854daecf63d49.tar.gz
samba-3963ecb02f9b522ff0365b70aa8854daecf63d49.tar.bz2
samba-3963ecb02f9b522ff0365b70aa8854daecf63d49.zip
Fix location of binaries and make sure they get there. Still experimental.
(This used to be commit 24bc4e8e2c8f37167edb0e95a518bab6224e330d)
-rw-r--r--packaging/Caldera/OpenLinux/samba3.spec.tmpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/packaging/Caldera/OpenLinux/samba3.spec.tmpl b/packaging/Caldera/OpenLinux/samba3.spec.tmpl
index 915cb71a96..d48d860e0b 100644
--- a/packaging/Caldera/OpenLinux/samba3.spec.tmpl
+++ b/packaging/Caldera/OpenLinux/samba3.spec.tmpl
@@ -251,8 +251,8 @@ CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \
# --with-nisplus-home \
# --with-acl-support \
-make all nsswitch/libnss_wins.so torture nsswitch/pam_winbind.so everything
-make tdb/tdbdump tdb/tdbtest tdb/tdbtorture tdb/tdbtool
+make all nsswitch/libnss_wins.so nsswitch/libnss_winbind.so torture nsswitch/pam_winbind.so everything
+(cd tdb; make tdbdump tdbtest tdbtorture tdbtool)
%Install
@@ -290,10 +290,9 @@ for i in talloctort samsync locktest locktest2 masktest msgtest smbtorture
do
install -m 755 source/bin/$i $DESTDIR/usr/sbin
done
-for i in talloctort samsync locktest locktest2 masktest msgtest smbtorture
- tdb/tdbdump tdb/tdbtest tdb/tdbtorture tdb/tdbtool
+for i in tdbdump tdbtest tdbtorture tdbtool
do
- install -m 755 source/$i $DESTDIR/usr/sbin
+ install -m 755 source/tdb/$i $DESTDIR/usr/sbin
done
#mv $DESTDIR/usr/bin/{make,add,conv}* $DESTDIR/usr/sbin
@@ -302,6 +301,7 @@ done
# Install the nsswitch library extension file
cp -p source/nsswitch/libnss_wins.so $DESTDIR/lib
+cp -p source/nsswitch/libnss_winbind.so $DESTDIR/lib
cp -p source/nsswitch/pam_winbind.so $DESTDIR/lib/security
# Make link for wins resolver
( cd $DESTDIR/lib; ln -s libnss_wins.so libnss_wins.so.2 )