From 8a33d03d574e507b3d04d422101ad223e88c7f74 Mon Sep 17 00:00:00 2001 From: tnut Date: Mon, 17 May 2010 20:16:28 +0200 Subject: samba3, séparation des client, service et swat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extra/samba3/Pkgfile | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'extra/samba3/Pkgfile') diff --git a/extra/samba3/Pkgfile b/extra/samba3/Pkgfile index 688bb3369..8cff9715f 100755 --- a/extra/samba3/Pkgfile +++ b/extra/samba3/Pkgfile @@ -2,14 +2,13 @@ # URL: http://www.samba.org # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: libcups, gamin +# Depends on: libcups, gamin, kerberos name=samba3 version=3.5.2 -release=1 +release=2 localname=samba -source=( http://us6.samba.org/samba/ftp/stable/$localname-$version.tar.gz\ - smb.conf) +source=( http://us6.samba.org/samba/ftp/stable/$localname-$version.tar.gz) build() { @@ -21,7 +20,7 @@ build() { --with-pammodulesdir=/lib/security \ --with-fhs --with-cups --with-syslog \ --with-cifsumount --with-cifsmount - make -j3 + make make DESTDIR=$PKG install # reorganise files @@ -34,10 +33,15 @@ build() { install -v -m644 ../examples/smb.conf.default $PKG/etc/samba/smb.conf.default chmod -v 4755 $PKG/usr/sbin/{,u}mount.cifs - cp $SRC/smb.conf $PKG/etc/samba/ # cups cd $PKG/usr/lib/ install -d cups/backend ln -v -sf /usr/bin/smbspool $PKG/usr/lib/cups/backend/smb - install -d -m 1777 $PKG/var/spool/samba + rm -r $PKG/{var,etc,usr/share/samba} + rm -r $PKG/usr/sbin/{nmbd,smbd,swat,winbindd} + # Ne garder que les mans de mount.cifs + mv $PKG/usr/share/man/man8/{u,}mount.cifs.8 . + rm -r $PKG/usr/share/man/man8 + mkdir -p $PKG/usr/share/man/man8 + mv {u,}mount.cifs.8 $PKG/usr/share/man/man8/ } -- cgit v1.2.3-70-g09d2