forked from mirrors/nixpkgs
Samba 3.0.28
svn path=/nixpkgs/trunk/; revision=10348
This commit is contained in:
parent
8e8e7f8827
commit
769811abc5
|
@ -1,19 +1,22 @@
|
||||||
args: with args;
|
args: with args;
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "samba-3.0.26a";
|
name = "samba-3.0.28";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://us1.samba.org/samba/ftp/stable/samba-3.0.26a.tar.gz;
|
url = "http://us1.samba.org/samba/ftp/stable/${name}.tar.gz";
|
||||||
sha256 = "41e11f69288b2291f12f8db093e2c55dc1360555d4542c83c0758c4c7a3d4d37";
|
sha256 = "13nr4mvh6vxgl7nb94qnqx3njcyd10cf4ji18srlkizpp49r5byw";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [readline pam openldap];
|
buildInputs = [readline pam openldap kerberos popt iniparser libunwind fam];
|
||||||
configureFlags = [" --with-pam " " --with-smbmount "
|
configureFlags = ''--with-pam --with-smbmount --datadir=$out/share
|
||||||
" --datadir=\$out/share " " --with-acl-support "
|
--with-aio-support --with-libiconv=${stdenv.gcc.libc}'';
|
||||||
" --with-aio-support "];
|
|
||||||
postUnpack = "sourceRoot=\$sourceRoot/source";
|
postUnpack = "sourceRoot=\$sourceRoot/source";
|
||||||
|
|
||||||
configFile = ./smb.conf;
|
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
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -3134,7 +3134,8 @@ rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
samba = import ../servers/samba {
|
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 {
|
squid = import ../servers/squid {
|
||||||
|
|
Loading…
Reference in a new issue