summaryrefslogtreecommitdiffstats
path: root/samba3-server
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-04-30 16:52:45 +0200
committerpiernov <piernov@piernov.org>2012-04-30 16:52:45 +0200
commit7cbcbee6fbca0568a8901e3679d987cf1d004297 (patch)
treecbd9149caa5fc5b3b4ec4c80fe68d832ee007c0e /samba3-server
parentb3c5ff5574d6a10f8dd8b78042e2c892f1d80484 (diff)
downloadnutyx-extra-7cbcbee6fbca0568a8901e3679d987cf1d004297.tar.gz
nutyx-extra-7cbcbee6fbca0568a8901e3679d987cf1d004297.tar.bz2
nutyx-extra-7cbcbee6fbca0568a8901e3679d987cf1d004297.tar.xz
nutyx-extra-7cbcbee6fbca0568a8901e3679d987cf1d004297.zip
Revert "samba3 dans base"
This reverts commit 49cdad33322a5219eb1e74ac93b1c009f9eeefd3.
Diffstat (limited to 'samba3-server')
-rwxr-xr-xsamba3-server/.footprint.i686100
-rwxr-xr-xsamba3-server/.footprint.x86_64100
-rwxr-xr-xsamba3-server/.md5sum.i6862
-rwxr-xr-xsamba3-server/.md5sum.x86_642
-rwxr-xr-xsamba3-server/Pkgfile40
-rwxr-xr-xsamba3-server/smb.conf42
6 files changed, 286 insertions, 0 deletions
diff --git a/samba3-server/.footprint.i686 b/samba3-server/.footprint.i686
new file mode 100755
index 000000000..bcc543c3e
--- /dev/null
+++ b/samba3-server/.footprint.i686
@@ -0,0 +1,100 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/rc.d/
+drwxr-xr-x root/root etc/rc.d/init.d/
+-rwxr-xr-- root/root etc/rc.d/init.d/samba
+-rwxr-xr-- root/root etc/rc.d/init.d/winbind
+drwxr-xr-x root/root etc/rc.d/rc0.d/
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K48samba -> ../init.d/samba
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K49winbind -> ../init.d/winbind
+drwxr-xr-x root/root etc/rc.d/rc1.d/
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K48samba -> ../init.d/samba
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K49winbind -> ../init.d/winbind
+drwxr-xr-x root/root etc/rc.d/rc2.d/
+lrwxrwxrwx root/root etc/rc.d/rc2.d/K48samba -> ../init.d/samba
+lrwxrwxrwx root/root etc/rc.d/rc2.d/K49winbind -> ../init.d/winbind
+drwxr-xr-x root/root etc/rc.d/rc3.d/
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S45samba -> ../init.d/samba
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S50winbind -> ../init.d/winbind
+drwxr-xr-x root/root etc/rc.d/rc4.d/
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S45samba -> ../init.d/samba
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S50winbind -> ../init.d/winbind
+drwxr-xr-x root/root etc/rc.d/rc5.d/
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S45samba -> ../init.d/samba
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S50winbind -> ../init.d/winbind
+drwxr-xr-x root/root etc/rc.d/rc6.d/
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K48samba -> ../init.d/samba
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K49winbind -> ../init.d/winbind
+drwxr-xr-x root/root etc/rc.d/rcsysinit.d/
+drwxr-xr-x root/root etc/samba/
+drwxr-xr-x root/root etc/samba/private/
+-rwxr-xr-x root/root etc/samba/smb.conf
+-rw-r--r-- root/root etc/samba/smb.conf.default
+drwxr-xr-x root/root etc/sysconfig/
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/nmbd
+-rwxr-xr-x root/root usr/sbin/smbd
+-rwxr-xr-x root/root usr/sbin/swat
+-rwxr-xr-x root/root usr/sbin/winbindd
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/eventlogadm.8.gz
+-rw-r--r-- root/root usr/share/man/man8/idmap_ad.8.gz
+-rw-r--r-- root/root usr/share/man/man8/idmap_adex.8.gz
+-rw-r--r-- root/root usr/share/man/man8/idmap_autorid.8.gz
+-rw-r--r-- root/root usr/share/man/man8/idmap_hash.8.gz
+-rw-r--r-- root/root usr/share/man/man8/idmap_ldap.8.gz
+-rw-r--r-- root/root usr/share/man/man8/idmap_nss.8.gz
+-rw-r--r-- root/root usr/share/man/man8/idmap_rid.8.gz
+-rw-r--r-- root/root usr/share/man/man8/idmap_tdb.8.gz
+-rw-r--r-- root/root usr/share/man/man8/idmap_tdb2.8.gz
+-rw-r--r-- root/root usr/share/man/man8/net.8.gz
+-rw-r--r-- root/root usr/share/man/man8/nmbd.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_winbind.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pdbedit.8.gz
+-rw-r--r-- root/root usr/share/man/man8/smbd.8.gz
+-rw-r--r-- root/root usr/share/man/man8/smbpasswd.8.gz
+-rw-r--r-- root/root usr/share/man/man8/smbspool.8.gz
+-rw-r--r-- root/root usr/share/man/man8/smbta-util.8.gz
+-rw-r--r-- root/root usr/share/man/man8/swat.8.gz
+-rw-r--r-- root/root usr/share/man/man8/tdbbackup.8.gz
+-rw-r--r-- root/root usr/share/man/man8/tdbdump.8.gz
+-rw-r--r-- root/root usr/share/man/man8/tdbtool.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_acl_tdb.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_acl_xattr.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_aio_fork.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_audit.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_cacheprime.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_cap.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_catia.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_commit.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_crossrename.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_default_quota.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_dirsort.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_extd_audit.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_fake_perms.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_fileid.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_full_audit.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_gpfs.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_netatalk.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_notify_fam.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_prealloc.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_preopen.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_readahead.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_readonly.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_recycle.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_scannedonly.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_shadow_copy.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_shadow_copy2.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_smb_traffic_analyzer.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_streams_depot.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_streams_xattr.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_time_audit.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_xattr_tdb.8.gz
+-rw-r--r-- root/root usr/share/man/man8/winbindd.8.gz
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/lib/
+drwxr-xr-x root/root var/lib/samba/
+drwxr-xr-x root/root var/nmbd/
+drwxr-xr-x root/root var/run/
diff --git a/samba3-server/.footprint.x86_64 b/samba3-server/.footprint.x86_64
new file mode 100755
index 000000000..bcc543c3e
--- /dev/null
+++ b/samba3-server/.footprint.x86_64
@@ -0,0 +1,100 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/rc.d/
+drwxr-xr-x root/root etc/rc.d/init.d/
+-rwxr-xr-- root/root etc/rc.d/init.d/samba
+-rwxr-xr-- root/root etc/rc.d/init.d/winbind
+drwxr-xr-x root/root etc/rc.d/rc0.d/
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K48samba -> ../init.d/samba
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K49winbind -> ../init.d/winbind
+drwxr-xr-x root/root etc/rc.d/rc1.d/
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K48samba -> ../init.d/samba
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K49winbind -> ../init.d/winbind
+drwxr-xr-x root/root etc/rc.d/rc2.d/
+lrwxrwxrwx root/root etc/rc.d/rc2.d/K48samba -> ../init.d/samba
+lrwxrwxrwx root/root etc/rc.d/rc2.d/K49winbind -> ../init.d/winbind
+drwxr-xr-x root/root etc/rc.d/rc3.d/
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S45samba -> ../init.d/samba
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S50winbind -> ../init.d/winbind
+drwxr-xr-x root/root etc/rc.d/rc4.d/
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S45samba -> ../init.d/samba
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S50winbind -> ../init.d/winbind
+drwxr-xr-x root/root etc/rc.d/rc5.d/
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S45samba -> ../init.d/samba
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S50winbind -> ../init.d/winbind
+drwxr-xr-x root/root etc/rc.d/rc6.d/
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K48samba -> ../init.d/samba
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K49winbind -> ../init.d/winbind
+drwxr-xr-x root/root etc/rc.d/rcsysinit.d/
+drwxr-xr-x root/root etc/samba/
+drwxr-xr-x root/root etc/samba/private/
+-rwxr-xr-x root/root etc/samba/smb.conf
+-rw-r--r-- root/root etc/samba/smb.conf.default
+drwxr-xr-x root/root etc/sysconfig/
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/nmbd
+-rwxr-xr-x root/root usr/sbin/smbd
+-rwxr-xr-x root/root usr/sbin/swat
+-rwxr-xr-x root/root usr/sbin/winbindd
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/eventlogadm.8.gz
+-rw-r--r-- root/root usr/share/man/man8/idmap_ad.8.gz
+-rw-r--r-- root/root usr/share/man/man8/idmap_adex.8.gz
+-rw-r--r-- root/root usr/share/man/man8/idmap_autorid.8.gz
+-rw-r--r-- root/root usr/share/man/man8/idmap_hash.8.gz
+-rw-r--r-- root/root usr/share/man/man8/idmap_ldap.8.gz
+-rw-r--r-- root/root usr/share/man/man8/idmap_nss.8.gz
+-rw-r--r-- root/root usr/share/man/man8/idmap_rid.8.gz
+-rw-r--r-- root/root usr/share/man/man8/idmap_tdb.8.gz
+-rw-r--r-- root/root usr/share/man/man8/idmap_tdb2.8.gz
+-rw-r--r-- root/root usr/share/man/man8/net.8.gz
+-rw-r--r-- root/root usr/share/man/man8/nmbd.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_winbind.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pdbedit.8.gz
+-rw-r--r-- root/root usr/share/man/man8/smbd.8.gz
+-rw-r--r-- root/root usr/share/man/man8/smbpasswd.8.gz
+-rw-r--r-- root/root usr/share/man/man8/smbspool.8.gz
+-rw-r--r-- root/root usr/share/man/man8/smbta-util.8.gz
+-rw-r--r-- root/root usr/share/man/man8/swat.8.gz
+-rw-r--r-- root/root usr/share/man/man8/tdbbackup.8.gz
+-rw-r--r-- root/root usr/share/man/man8/tdbdump.8.gz
+-rw-r--r-- root/root usr/share/man/man8/tdbtool.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_acl_tdb.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_acl_xattr.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_aio_fork.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_audit.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_cacheprime.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_cap.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_catia.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_commit.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_crossrename.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_default_quota.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_dirsort.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_extd_audit.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_fake_perms.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_fileid.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_full_audit.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_gpfs.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_netatalk.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_notify_fam.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_prealloc.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_preopen.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_readahead.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_readonly.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_recycle.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_scannedonly.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_shadow_copy.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_shadow_copy2.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_smb_traffic_analyzer.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_streams_depot.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_streams_xattr.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_time_audit.8.gz
+-rw-r--r-- root/root usr/share/man/man8/vfs_xattr_tdb.8.gz
+-rw-r--r-- root/root usr/share/man/man8/winbindd.8.gz
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/lib/
+drwxr-xr-x root/root var/lib/samba/
+drwxr-xr-x root/root var/nmbd/
+drwxr-xr-x root/root var/run/
diff --git a/samba3-server/.md5sum.i686 b/samba3-server/.md5sum.i686
new file mode 100755
index 000000000..c2c4ade31
--- /dev/null
+++ b/samba3-server/.md5sum.i686
@@ -0,0 +1,2 @@
+5291717be0734e07dc07b6110e162e87 samba-3.6.1.tar.gz
+27c2f98d1ffe671d2d9237e72fe6c8fa smb.conf
diff --git a/samba3-server/.md5sum.x86_64 b/samba3-server/.md5sum.x86_64
new file mode 100755
index 000000000..c2c4ade31
--- /dev/null
+++ b/samba3-server/.md5sum.x86_64
@@ -0,0 +1,2 @@
+5291717be0734e07dc07b6110e162e87 samba-3.6.1.tar.gz
+27c2f98d1ffe671d2d9237e72fe6c8fa smb.conf
diff --git a/samba3-server/Pkgfile b/samba3-server/Pkgfile
new file mode 100755
index 000000000..ff4deb538
--- /dev/null
+++ b/samba3-server/Pkgfile
@@ -0,0 +1,40 @@
+# Description: Service de partage de fichiers et imprimantes Windows pour Linux
+# URL: http://www.samba.org
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: samba3
+# Run on: samba3
+
+name=samba3-server
+version=3.6.1
+release=1
+localname=samba
+source=( http://us6.samba.org/samba/ftp/stable/$localname-$version.tar.gz\
+ smb.conf)
+
+
+build() {
+ source /etc/blfs-bootscripts
+# wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
+ wget http://nutyx.meticul.eu/files/patchs/aaabasicfs/blfs-bootscripts-$scriptsversion.tar.bz2
+ tar xf $scripts-$scriptsversion.tar.bz2
+ cd $scripts-$scriptsversion
+ make DESTDIR=$PKG install-samba
+ make DESTDIR=$PKG install-winbind
+ cd ../$localname-$version/source3
+ PYTHON_VER=2.7 ./configure --prefix=/usr \
+ --localstatedir=/var \
+ --sysconfdir=/etc \
+ --with-piddir=/var/run \
+ --with-pammodulesdir=/lib/security \
+ --with-fhs --with-syslog
+ make
+ make DESTDIR=$PKG install
+
+ # reorganise files
+ rm -r $PKG/{lib,usr/{lib,include,bin,share/{samba,locale,man/man{1,5,7}}}}
+ install -v -m644 ../examples/smb.conf.default $PKG/etc/samba/smb.conf.default
+ cp $SRC/smb.conf $PKG/etc/samba/
+
+}
+
diff --git a/samba3-server/smb.conf b/samba3-server/smb.conf
new file mode 100755
index 000000000..d0336edaf
--- /dev/null
+++ b/samba3-server/smb.conf
@@ -0,0 +1,42 @@
+[global]
+ workgroup = MYGROUP
+ netbios name = NUTYX-SERVER
+ dos charset = cp850
+ unix charset = UTF-8
+ server string = nutyx-server
+; printcap name = /etc/printcap
+ printcap name = cups
+ disable spoolss = yes
+ printing = cups
+; security = user
+ security = share
+; load printers = yes
+ log file = /var/log/samba-log.%m
+; lock directory = /var/lock/samba
+[srv]
+ comment = films at srv
+ path = /srv
+ read only = no
+;[dv]
+; comment = Rushs
+; path = /mnt/Disk2/Video
+; read only = no
+[printers]
+ comment = All Printers
+; browseable = yes
+; browseable = Yes
+ use client driver = Yes
+ printable = Yes
+; public = yes
+; create mode = 0700
+ guest ok = Yes
+ path = /var/spool/samba
+; printer admin = root
+;[hpdeskjet950C]
+; comment = HP DeskJet 930C Network Printer
+; printable = Yes
+; path = /var/spool/samba
+; public = Yes
+; guest ok = Yes
+; browseable = Yes
+; printer admin = root