mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
ddb1fb9b1d
svn path=/nixpkgs/trunk/; revision=10273
20 lines
598 B
Nix
20 lines
598 B
Nix
args: with args;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "samba-3.0.26a";
|
|
|
|
src = fetchurl {
|
|
url = http://us1.samba.org/samba/ftp/stable/samba-3.0.26a.tar.gz;
|
|
sha256 = "41e11f69288b2291f12f8db093e2c55dc1360555d4542c83c0758c4c7a3d4d37";
|
|
};
|
|
|
|
buildInputs = [readline pam openldap];
|
|
configureFlags = [" --with-pam " " --with-smbmount "
|
|
" --datadir=\$out/share " " --with-acl-support "
|
|
" --with-aio-support "];
|
|
postUnpack = "sourceRoot=\$sourceRoot/source";
|
|
|
|
configFile = ./smb.conf;
|
|
postInstall = "rm -rf \$out/var ; ln -s /var/samba $out/var; cp $configFile $out/lib/smb.conf";
|
|
}
|