diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-05-17 20:16:28 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-05-17 20:16:28 +0200 |
commit | 8a33d03d574e507b3d04d422101ad223e88c7f74 (patch) | |
tree | c6d511e43b9e54807eac181430ad9d18b6c00367 /extra/samba3/Pkgfile | |
parent | 436c0f74425c5d49ba91555143850d7d31b34ca6 (diff) | |
download | nutyx-extra-8a33d03d574e507b3d04d422101ad223e88c7f74.tar.gz nutyx-extra-8a33d03d574e507b3d04d422101ad223e88c7f74.tar.bz2 nutyx-extra-8a33d03d574e507b3d04d422101ad223e88c7f74.tar.xz nutyx-extra-8a33d03d574e507b3d04d422101ad223e88c7f74.zip |
samba3, séparation des client, service et swat
Diffstat (limited to 'extra/samba3/Pkgfile')
-rwxr-xr-x | extra/samba3/Pkgfile | 18 |
1 files changed, 11 insertions, 7 deletions
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/ } |