[Lunar-commits] CVS: moonbase/net/samba BUILD, 1.7, 1.8 POST_BUILD, 1.3, 1.4

Florin Braescu florin at lunar-linux.org
Sun Apr 24 15:34:31 UTC 2005


Update of /var/cvs/lunar/moonbase/net/samba
In directory espresso.foo-projects.org:/tmp/cvs-serv22897

Modified Files:
	BUILD POST_BUILD 
Log Message:
force the creation of the symlinks in order to avoid the error mentioned by Dennis Veatch.

Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/net/samba/BUILD,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- BUILD	16 Apr 2005 13:27:16 -0000	1.7
+++ BUILD	24 Apr 2005 15:34:29 -0000	1.8
@@ -1,31 +1,31 @@
 (
   WITH_PAM=" " &&
-  if  module_installed  Linux-PAM;  then
-    WITH_PAM="--with-pam  --with-pam_smbpass"
+  if module_installed Linux-PAM; then
+    WITH_PAM="--with-pam --with-pam_smbpass"
   fi  &&
 
   cd  source
-  ./configure  --prefix=/usr           \
-               --sysconfdir=/etc       \
-               --localstatedir=/var    \
-               --with-piddir=/var/run  \
-               --with-smbmount         \
-               --with-fhs              \
-               --mandir=/usr/share/man \
-            --with-swatdir=/usr/share/samba/swat \
-               $WITH_PAM               \
+  ./configure  --prefix=/usr            \
+               --sysconfdir=/etc        \
+               --localstatedir=/var     \
+               --with-piddir=/var/run   \
+               --with-smbmount          \
+               --with-fhs               \
+               --mandir=/usr/share/man  \
+               $WITH_PAM                \
+               --with-swatdir=/usr/share/samba/swat  \
                $OPTS                   || exit 1
                
-  cp Makefile Makefile.orig            &&
+  cp Makefile Makefile.orig    &&
   sedit "s/-msse2//g" Makefile
 
-  mkdir  -p  /etc/samba                &&
-  mkdir  -p  /usr/share/samba          &&
-  mkdir  -p  /var/log/samba            &&
-  default_make                         &&
+  mkdir -p /etc/samba        &&
+  mkdir -p /usr/share/samba  &&
+  mkdir -p /var/log/samba    &&
+  default_make               &&
   # samba used to create this symlink and its still needed
-  ln -sf /usr/lib/samba/libsmbclient.so /usr/lib/libsmbclient.so.0 &&
-  ln -s /usr/lib/samba/libsmbclient.so /usr/lib/libsmbclient.so &&
+  ln -sf /usr/lib/samba/libsmbclient.so /usr/lib/libsmbclient.so.0  &&
+  ln -sf /usr/lib/samba/libsmbclient.so /usr/lib/libsmbclient.so    &&
 
   if module_installed cups ; then
     ln -sf /usr/bin/smbspool /usr/lib/cups/backend/smb
@@ -33,8 +33,8 @@
 
 ) > $C_FIFO 2>&1  &&  (
 
-  if  [  -d  /usr/private  ];  then
-    rmdir    /usr/private
+  if [ -d /usr/private ]; then
+    rmdir /usr/private
     true
   fi
 

Index: POST_BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/net/samba/POST_BUILD,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- POST_BUILD	15 Mar 2003 22:07:53 -0000	1.3
+++ POST_BUILD	24 Apr 2005 15:34:29 -0000	1.4
@@ -1,5 +1,5 @@
 #list bash commands here to perform after BUILD
 if [ ! -d /etc/samba/private ]; then
-	mkdir -p /etc/samba/private
-	chmod 700 /etc/samba/private
+   mkdir -p /etc/samba/private
+   chmod 700 /etc/samba/private
 fi



More information about the Lunar-commits mailing list