Browse Source

samba: Updated (3.2.4 -> 3.3.1)

cross
Alejandro Mery 16 years ago
parent
commit
d5cd4352f6
  1. 22
      network/samba/samba.conf
  2. 6
      network/samba/samba.desc

22
network/samba/samba.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../samba/samba.conf # Filename: package/.../samba/samba.conf
# Copyright (C) 2006 - 2007 The OpenSDE Project # Copyright (C) 2006 - 2009 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -19,7 +19,7 @@ if [ $prefix_auto = 1 ] ; then
set_confopt set_confopt
fi fi
var_append extraconfopt " " "--with-smbmount --with-automount \ var_append extraconfopt " " "--with-smbmount --with-cifsmount --with-automount \
--with-syslog --with-configdir=$sysconfdir \ --with-syslog --with-configdir=$sysconfdir \
--with-privatedir=$sysconfdir/private --with-codepagedir=$sysconfdir/codepages \ --with-privatedir=$sysconfdir/private --with-codepagedir=$sysconfdir/codepages \
--with-swatdir=$datadir/swat --with-quotas \ --with-swatdir=$datadir/swat --with-quotas \
@ -28,16 +28,6 @@ var_append extraconfopt " " "--with-smbmount --with-automount \
#FIXME hack to honor lib64 :-( #FIXME hack to honor lib64 :-(
var_append confopt ' ' "--with-libdir=$root/$prefix/${libdir##*/}" var_append confopt ' ' "--with-libdir=$root/$prefix/${libdir##*/}"
#FIXME: temporarily disable spinlocks because it fails to build (3.0.23+)
#case $arch in
# x86|sparc|powerpc) var_append extraconfopt ' ' '--with-spinlocks' ;;
# *)
var_append extraconfopt ' ' '--without-spinlocks'
# ;;
#esac
# pam support
pkginstalled pam && var_append extraconfopt ' ' "--with-pam --with-pam_smbpass"
# enable nis+ support # enable nis+ support
var_append extraconfopt ' ' "--with-nisplus-home" var_append extraconfopt ' ' "--with-nisplus-home"
@ -53,11 +43,6 @@ fi
samba_pm () samba_pm ()
{ {
# build and install the cifs mount/umount helper
$CC client/mount.cifs.c -o mount.cifs
$CC client/umount.cifs.c -o umount.cifs
install mount.cifs umount.cifs $root/sbin/
# FIXME: this should be down with pkgprefix libdir cups # FIXME: this should be down with pkgprefix libdir cups
[ -d $root/usr/lib/cups/backend/ ] && \ [ -d $root/usr/lib/cups/backend/ ] && \
ln -sf $bindir/smbspool $root/usr/lib/cups/backend/smb ln -sf $bindir/smbspool $root/usr/lib/cups/backend/smb
@ -69,7 +54,7 @@ samba_pm ()
examples/smb.conf.default > $docdir/smb.conf examples/smb.conf.default > $docdir/smb.conf
cat > $sysconfdir/lmhosts <<'EOS' cat > $sysconfdir/lmhosts <<'EOS'
# T2: Samba lmhosts # Samba lmhosts
# #
# This file contains host maps for NetBIOS # This file contains host maps for NetBIOS
# It is similar to the /etc/hosts file format # It is similar to the /etc/hosts file format
@ -86,7 +71,6 @@ EOS
srcdir="samba-$ver/source" srcdir="samba-$ver/source"
hook_add premake 5 "$MAKE proto_exists" # for parallel make
hook_add postmake 3 "samba_pm" hook_add postmake 3 "samba_pm"
# install examples # install examples

6
network/samba/samba.desc

@ -2,7 +2,7 @@
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. [COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] [COPY]
[COPY] Filename: package/.../samba/samba.desc [COPY] Filename: package/.../samba/samba.desc
[COPY] Copyright (C) 2006 - 2008 The OpenSDE Project [COPY] Copyright (C) 2006 - 2009 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project [COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf [COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY] [COPY]
@ -36,7 +36,7 @@
[L] GPL [L] GPL
[S] Stable [S] Stable
[V] 3.2.4 [V] 3.3.1
[P] X -----5---9 128.500 [P] X -----5---9 128.500
[D] 1571426152 samba-3.2.4.tar.gz http://samba.org/samba/ftp/ [D] 1901836466 samba-3.3.1.tar.gz http://samba.org/samba/ftp/

Loading…
Cancel
Save