1. Moises Henriquez
  2. m0e-vabs

Commits

Moises Henriquez  committed e0372e9

Samba update to 4.1.0. Build system changed to waf at this release. Configure options adjusted accordingly

  • Participants
  • Parent commits cab860a
  • Branches veclinux-7.1

Comments (0)

Files changed (1)

File var/vabs/samba/src/samba.SlackBuild

View file
 # AUTHORS = 
 
 NAME="samba"            #Enter package Name!
-VERSION=${VERSION:-"4.0.10"}      #Enter package Version!
+VERSION=${VERSION:-"4.1.0"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"hata_ph"}   #Enter your Name!
 LINK=${LINK:-"http://www.samba.org/samba/ftp/stable/$NAME-$VERSION.tar.gz"}  #Enter URL for package here!
 #-----------------------------------------------------------------------
 
 echo "Configuring source..."
-cd source3
+#cd source$(echo $VERSION | cut -f 1 -d .) || exit 1
 LDFLAGS="-Wl,--no-as-needed" \
 	CFLAGS="$SLKCFLAGS" \
-./configure --enable-fhs --prefix=/usr \
+./configure --prefix=/usr \
+  --enable-fhs \
   --libdir=/usr/lib${LIBDIRSUFFIX} \
   --infodir=/usr/info \
   --sysconfdir=/etc \
   --localstatedir=/var \
   --mandir=/usr/man \
-  --with-configdir=/etc/samba \
-  --with-piddir=/var/run \
-  --with-privatedir=/etc/samba/private \
-  --localstatedir=/var \
-  --with-lockdir=/var/cache/samba \
-  --with-swatdir=/usr/share/swat \
-  --with-logfilebase=/var/log/samba \
   --enable-cups \
-  --enable-external-libtalloc=no \
-  --enable-static=no \
-  --enable-shared=yes \
-  --with-acl-support=yes \
+  --with-acl-support \
   --with-automount \
-  --with-cifsmount \
-  --with-cifsumount \
   --with-quotas \
   --with-syslog \
   --with-utmp \
   --with-ldap \
-  --with-libsmbclient \
   --with-winbind \
-  --disable-debug \
-  --program-prefix="" \
-  --program-suffix="" \
-  --build=$CONFIGURE_TRIPLET \
-  $CONFIG_OPTIONS || exit 1
-sed -i "s/-ldl/& -ltirpc -lpthread/" Makefile
+  --build=$CONFIG_TRIPLET $BUILD_OPTIONS || exit 1
+sed -i "s/-ldl/& -ltirpc -lpthread/" Makefile || exit 1
 
 make $NUMJOBS || exit 1
 
-make install-everything DESTDIR=$PKG || exit
+make install DESTDIR=$PKG || exit
 
 # Install libnss_win* libraries:
 mkdir -p $PKG/lib${LIBDIRSUFFIX}