diff options
author | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2008-01-28 19:46:27 +0000 |
---|---|---|
committer | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2008-01-28 19:46:27 +0000 |
commit | 769811abc5e306bc03429b079ed57ad35f79ae62 (patch) | |
tree | de9359d7658d2a4aa7a679d44620ef01dadbcd42 | |
parent | 8e8e7f88279eb6c8fcf770f00e73cab981037c6a (diff) |
Samba 3.0.28
svn path=/nixpkgs/trunk/; revision=10348
-rw-r--r-- | pkgs/servers/samba/default.nix | 21 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 3 |
2 files changed, 14 insertions, 10 deletions
diff --git a/pkgs/servers/samba/default.nix b/pkgs/servers/samba/default.nix index a0c16b4419508..5022876697793 100644 --- a/pkgs/servers/samba/default.nix +++ b/pkgs/servers/samba/default.nix @@ -1,19 +1,22 @@ 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"; configFile = ./smb.conf; - postInstall = "rm -rf \$out/var ; ln -s /var/samba $out/var; cp $configFile $out/lib/smb.conf"; + postInstall = '' + rm -rf $out/var + ln -s /var/samba $out/var + cp ${configFile} $out/lib/smb.conf + ''; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 70be88a4f59ff..14bcc96d857f2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3134,7 +3134,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 { |