Samba updated

svn path=/nixpkgs/branches/stdenv-updates/; revision=10197
This commit is contained in:
Yury G. Kudryashov 2008-01-17 13:01:45 +00:00
parent 54e429d6e1
commit 452c001945
2 changed files with 10 additions and 10 deletions

View File

@ -1,17 +1,16 @@
args: with args;
stdenv.mkDerivation {
name = "samba-3.0.26a";
stdenv.mkDerivation rec {
name = "samba-3.0.28";
src = fetchurl {
url = http://us1.samba.org/samba/ftp/stable/samba-3.0.26a.tar.gz;
sha256 = "41e11f69288b2291f12f8db093e2c55dc1360555d4542c83c0758c4c7a3d4d37";
url = "http://us1.samba.org/samba/ftp/stable/${name}.tar.gz";
sha256 = "13nr4mvh6vxgl7nb94qnqx3njcyd10cf4ji18srlkizpp49r5byw";
};
buildInputs = [readline pam openldap];
configureFlags = [" --with-pam " " --with-smbmount "
" --datadir=\$out/share " " --with-acl-support "
" --with-aio-support "];
buildInputs = [readline pam openldap kerberos popt iniparser libunwind fam];
configureFlags = ''--with-pam --with-smbmount --datadir=$out/share
--with-aio-support --with-libiconv=${stdenv.gcc.libc}'';
postUnpack = "sourceRoot=\$sourceRoot/source";
postInstall = "rm -rf \$out/var ; ln -s /var/samba $out/var ";
postInstall = ''rm -rf $out/var ; ln -s /var/samba $out/var '';
}

View File

@ -2980,7 +2980,8 @@ rec {
};
samba = import ../servers/samba {
inherit stdenv fetchurl readline openldap pam;
inherit stdenv fetchurl readline openldap pam kerberos popt iniparser
libunwind acl fam;
};
squid = import ../servers/squid {