FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CRUX > CRUX

 
 
LinkBack Thread Tools
 
Old 03-25-2010, 09:35 AM
 
Default ports/opt (2.6): samba: update to 3.5.1

commit 0329990259ca485342b0508929445e3a487d7f8e
Author: Juergen Daubert <jue@jue.li>
Date: Thu Mar 25 11:13:43 2010 +0100

[notify] samba: update to 3.5.1

Beginning with this new major version, samba is configured to use
an external tdb, thus depends on opt/tdb now.

Unfortunately this breaks the build of samba, because you have to
do a forced-install of tdb first and update samba afterwards, or
remove samba first, next install tdb and samba.

diff --git a/samba/.footprint b/samba/.footprint
index a100bb2..d75ea32 100644
--- a/samba/.footprint
+++ b/samba/.footprint
@@ -1,6 +1,4 @@
drwxr-xr-x root/root etc/
-drwxr-xr-x root/root etc/ld.so.conf.d/
--rw-r--r-- root/root etc/ld.so.conf.d/samba.conf
drwxr-xr-x root/root etc/rc.d/
-rwxr-xr-x root/root etc/rc.d/samba
drwxr-xr-x root/root etc/samba/
@@ -41,9 +39,6 @@ drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/smbstatus
-rwxr-xr-x root/root usr/bin/smbtar
-rwxr-xr-x root/root usr/bin/smbtree
--rwxr-xr-x root/root usr/bin/tdbbackup
--rwxr-xr-x root/root usr/bin/tdbdump
--rwxr-xr-x root/root usr/bin/tdbtool
-rwxr-xr-x root/root usr/bin/testparm
-rwxr-xr-x root/root usr/bin/wbinfo
drwxr-xr-x root/root usr/include/
@@ -51,10 +46,19 @@ drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/netapi.h
-rw-r--r-- root/root usr/include/smb_share_modes.h
-rw-r--r-- root/root usr/include/talloc.h
--rw-r--r-- root/root usr/include/tdb.h
+-rw-r--r-- root/root usr/include/wbc_async.h
-rw-r--r-- root/root usr/include/wbclient.h
drwxr-xr-x root/root usr/lib/
-lrwxrwxrwx root/root usr/lib/libsmbclient.so -> samba/libsmbclient.so.0
+lrwxrwxrwx root/root usr/lib/libnetapi.so -> libnetapi.so.0
+-rwxr-xr-x root/root usr/lib/libnetapi.so.0
+lrwxrwxrwx root/root usr/lib/libsmbclient.so -> libsmbclient.so.0
+-rwxr-xr-x root/root usr/lib/libsmbclient.so.0
+lrwxrwxrwx root/root usr/lib/libsmbsharemodes.so -> libsmbsharemodes.so.0
+-rwxr-xr-x root/root usr/lib/libsmbsharemodes.so.0
+lrwxrwxrwx root/root usr/lib/libtalloc.so -> libtalloc.so.2
+-rwxr-xr-x root/root usr/lib/libtalloc.so.2
+lrwxrwxrwx root/root usr/lib/libwbclient.so -> libwbclient.so.0
+-rwxr-xr-x root/root usr/lib/libwbclient.so.0
drwxr-xr-x root/root usr/lib/samba/
drwxr-xr-x root/root usr/lib/samba/auth/
-rwxr-xr-x root/root usr/lib/samba/auth/script.so
@@ -63,18 +67,6 @@ drwxr-xr-x root/root usr/lib/samba/charset/
-rwxr-xr-x root/root usr/lib/samba/charset/CP850.so
drwxr-xr-x root/root usr/lib/samba/gpext/
drwxr-xr-x root/root usr/lib/samba/idmap/
-lrwxrwxrwx root/root usr/lib/samba/libnetapi.so -> libnetapi.so.0
--rwxr-xr-x root/root usr/lib/samba/libnetapi.so.0
-lrwxrwxrwx root/root usr/lib/samba/libsmbclient.so -> libsmbclient.so.0
--rwxr-xr-x root/root usr/lib/samba/libsmbclient.so.0
-lrwxrwxrwx root/root usr/lib/samba/libsmbsharemodes.so -> libsmbsharemodes.so.0
--rwxr-xr-x root/root usr/lib/samba/libsmbsharemodes.so.0
-lrwxrwxrwx root/root usr/lib/samba/libtalloc.so -> libtalloc.so.1
--rwxr-xr-x root/root usr/lib/samba/libtalloc.so.1
-lrwxrwxrwx root/root usr/lib/samba/libtdb.so -> libtdb.so.1
--rwxr-xr-x root/root usr/lib/samba/libtdb.so.1
-lrwxrwxrwx root/root usr/lib/samba/libwbclient.so -> libwbclient.so.0
--rwxr-xr-x root/root usr/lib/samba/libwbclient.so.0
-rw-r--r-- root/root usr/lib/samba/lowcase.dat
drwxr-xr-x root/root usr/lib/samba/nss_info/
drwxr-xr-x root/root usr/lib/samba/pdb/
@@ -87,6 +79,7 @@ drwxr-xr-x root/root usr/lib/samba/vfs/
-rwxr-xr-x root/root usr/lib/samba/vfs/acl_xattr.so
-rwxr-xr-x root/root usr/lib/samba/vfs/audit.so
-rwxr-xr-x root/root usr/lib/samba/vfs/cap.so
+-rwxr-xr-x root/root usr/lib/samba/vfs/catia.so
-rwxr-xr-x root/root usr/lib/samba/vfs/default_quota.so
-rwxr-xr-x root/root usr/lib/samba/vfs/dirsort.so
-rwxr-xr-x root/root usr/lib/samba/vfs/expand_msdfs.so
@@ -99,6 +92,7 @@ drwxr-xr-x root/root usr/lib/samba/vfs/
-rwxr-xr-x root/root usr/lib/samba/vfs/readahead.so
-rwxr-xr-x root/root usr/lib/samba/vfs/readonly.so
-rwxr-xr-x root/root usr/lib/samba/vfs/recycle.so
+-rwxr-xr-x root/root usr/lib/samba/vfs/scannedonly.so
-rwxr-xr-x root/root usr/lib/samba/vfs/shadow_copy.so
-rwxr-xr-x root/root usr/lib/samba/vfs/shadow_copy2.so
-rwxr-xr-x root/root usr/lib/samba/vfs/smb_traffic_analyzer.so
@@ -134,6 +128,7 @@ drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/wbinfo.1.gz
drwxr-xr-x root/root usr/man/man5/
-rw-r--r-- root/root usr/man/man5/lmhosts.5.gz
+-rw-r--r-- root/root usr/man/man5/pam_winbind.conf.5.gz
-rw-r--r-- root/root usr/man/man5/smb.conf.5.gz
-rw-r--r-- root/root usr/man/man5/smbgetrc.5.gz
-rw-r--r-- root/root usr/man/man5/smbpasswd.5.gz
@@ -159,9 +154,6 @@ drwxr-xr-x root/root usr/man/man8/
-rw-r--r-- root/root usr/man/man8/smbd.8.gz
-rw-r--r-- root/root usr/man/man8/smbpasswd.8.gz
-rw-r--r-- root/root usr/man/man8/smbspool.8.gz
--rw-r--r-- root/root usr/man/man8/tdbbackup.8.gz
--rw-r--r-- root/root usr/man/man8/tdbdump.8.gz
--rw-r--r-- root/root usr/man/man8/tdbtool.8.gz
-rw-r--r-- root/root usr/man/man8/umount.cifs.8.gz
-rw-r--r-- root/root usr/man/man8/vfs_acl_tdb.8.gz
-rw-r--r-- root/root usr/man/man8/vfs_acl_xattr.8.gz
@@ -184,6 +176,7 @@ drwxr-xr-x root/root usr/man/man8/
-rw-r--r-- root/root usr/man/man8/vfs_readahead.8.gz
-rw-r--r-- root/root usr/man/man8/vfs_readonly.8.gz
-rw-r--r-- root/root usr/man/man8/vfs_recycle.8.gz
+-rw-r--r-- root/root usr/man/man8/vfs_scannedonly.8.gz
-rw-r--r-- root/root usr/man/man8/vfs_shadow_copy.8.gz
-rw-r--r-- root/root usr/man/man8/vfs_shadow_copy2.8.gz
-rw-r--r-- root/root usr/man/man8/vfs_smb_traffic_analyzer.8.gz
diff --git a/samba/.md5sum b/samba/.md5sum
index 8ce8ac0..5029864 100644
--- a/samba/.md5sum
+++ b/samba/.md5sum
@@ -1,3 +1,3 @@
448caca4745aef1a842f4fdb1aa62e1e samba
-f5e11690d54466c143f4598bcce2a8bb samba-3.4.7.tar.gz
+60811195b0507fa151b602684cece743 samba-3.5.1.tar.gz
fbaccda19afc8f75f6f0123cab82c87e samba-config.patch
diff --git a/samba/Pkgfile b/samba/Pkgfile
index 7427ae2..cbf1e84 100644
--- a/samba/Pkgfile
+++ b/samba/Pkgfile
@@ -1,10 +1,10 @@
# Description: SMB server and client for unix
# URL: http://www.samba.org
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
-# Depends on: ncurses openssl readline zlib
+# Depends on: ncurses openssl readline zlib tdb libcap

name=samba
-version=3.4.7
+version=3.5.1
release=1
source=(http://www.samba.org/samba/ftp/stable/$name-$version.tar.gz
samba-config.patch samba)
@@ -15,7 +15,6 @@ build () {
patch -d .. -p1 -i $SRC/samba-config.patch

./configure --prefix=/usr
- --libdir=/usr/lib/samba
--localstatedir=/var
--with-fhs
--with-configdir=/etc/samba
@@ -24,17 +23,16 @@ build () {
--with-piddir=/var/run/samba
--with-mandir=/usr/man
--with-logfilebase=/var/log/samba
- --disable-swat
+ --disable-swat
+ --with-included-popt
+ --with-cifs{mount,umount}
+ --enable-external-libtdb

- make -j1
+ make
make DESTDIR=$PKG install

install -d $PKG/sbin
mv $PKG/usr/sbin/*.cifs $PKG/sbin
- ln -s samba/libsmbclient.so.0 $PKG/usr/lib/libsmbclient.so
-
- install -d $PKG/etc/ld.so.conf.d
- echo "/usr/lib/samba" > $PKG/etc/ld.so.conf.d/samba.conf

# nsswitch extensions
install -d $PKG/lib
@@ -52,5 +50,5 @@ build () {

# cleanup
rm -r $PKG/usr/share
- rm -r $PKG/usr/man/man8/swat.8
+ rm $PKG/usr/man/man8/{swat.8,tdb*.8}
}
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux
 

Thread Tools




All times are GMT. The time now is 03:14 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org