diff options
author | piernov <piernov@piernov.org> | 2012-01-22 11:38:02 +0100 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-01-22 11:38:02 +0100 |
commit | 50e5ce5b17e69be13228e2393c5804b0a79acfab (patch) | |
tree | 9845fa9af128d7fdd791755bb2be320f3ba2be4e /samba3-server/Pkgfile | |
parent | 9626427c1a1d9c292fc519810c13b9a8073e777f (diff) | |
parent | 8548e8d6882b55dfb509b18dedfb7db17630037d (diff) | |
download | nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.gz nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.bz2 nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.xz nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.zip |
Merged with http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe → Repository splitted → nutyx-extra
Diffstat (limited to 'samba3-server/Pkgfile')
-rwxr-xr-x | samba3-server/Pkgfile | 40 |
1 files changed, 40 insertions, 0 deletions
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/ + +} + |