diff options
author | Sibelle <lesibel@ree.fr> | 2010-05-17 23:31:02 +0200 |
---|---|---|
committer | Sibelle <lesibel@ree.fr> | 2010-05-17 23:31:02 +0200 |
commit | 06483df23b1138cbfd61f7bdf63a2f5d3c9fbf80 (patch) | |
tree | b0d1b48b1dcaa3a5e11f26e3e6969819a902b066 /extra/samba3-server/Pkgfile | |
parent | 3228018187a84a4ea85b062dbf284c5660f1cb64 (diff) | |
parent | cf4ac3eea6264ad62e9bfbd9b67bb48c5d70ac45 (diff) | |
download | nutyx-extra-06483df23b1138cbfd61f7bdf63a2f5d3c9fbf80.tar.gz nutyx-extra-06483df23b1138cbfd61f7bdf63a2f5d3c9fbf80.tar.bz2 nutyx-extra-06483df23b1138cbfd61f7bdf63a2f5d3c9fbf80.tar.xz nutyx-extra-06483df23b1138cbfd61f7bdf63a2f5d3c9fbf80.zip |
Merge remote branch 'nutyx-attapu/master'
Diffstat (limited to 'extra/samba3-server/Pkgfile')
-rwxr-xr-x | extra/samba3-server/Pkgfile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/extra/samba3-server/Pkgfile b/extra/samba3-server/Pkgfile new file mode 100755 index 000000000..b76e90b8b --- /dev/null +++ b/extra/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 + +name=samba3-server +version=3.5.2 +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 + tar xf $scripts-$scriptsversion.tar.bz2 + cd $scripts-$scriptsversion + make DESTDIR=$PKG install-samba + make DESTDIR=$PKG install-winbind + cd ../$localname-$version/source3 + ./configure --prefix=/usr \ + --localstatedir=/var \ + --sysconfdir=/etc \ + --with-piddir=/var/run \ + --with-pammodulesdir=/lib/security \ + --with-fhs --with-cups --with-syslog \ + --with-cifsumount --with-cifsmount + make -j3 + make DESTDIR=$PKG install + + # reorganise files + rm -r $PKG/{lib,usr/{lib,include,bin,share/{samba,locale,man/man{1,5,7}}}} + rm $PKG/usr/sbin/{u,}mount.cifs + rm $PKG/usr/share/man/man8/{swat.8,{u,}mount.cifs.8} + install -v -m644 ../examples/smb.conf.default $PKG/etc/samba/smb.conf.default + cp $SRC/smb.conf $PKG/etc/samba/ + +} |