2007-10-12 23:08:45 +02:00
|
|
|
args: with args;
|
2007-05-28 17:40:17 +02:00
|
|
|
|
2008-01-28 20:46:27 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2008-08-26 13:10:10 +02:00
|
|
|
name = "samba-3.0.32";
|
2007-05-28 17:40:17 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-08-26 13:10:10 +02:00
|
|
|
url = http://www.samba.org/samba/ftp/stable/samba-3.0.32.tar.gz;
|
|
|
|
sha256 = "1mpc1w68c4sgpg6n58b6dqv0kzks6rjd9rxym72wbc2yx3h50zwa";
|
2007-05-28 17:40:17 +02:00
|
|
|
};
|
|
|
|
|
2008-01-28 20:46:27 +01:00
|
|
|
buildInputs = [readline pam openldap kerberos popt iniparser libunwind fam];
|
2008-03-11 18:01:55 +01:00
|
|
|
|
|
|
|
preConfigure = "cd source";
|
2008-01-24 13:36:22 +01:00
|
|
|
|
2008-03-11 18:01:55 +01:00
|
|
|
configureFlags = ''
|
|
|
|
--with-pam
|
|
|
|
--with-smbmount
|
|
|
|
--with-aio-support
|
|
|
|
${if (stdenv.gcc.libc != null) then "--with-libiconv=${stdenv.gcc.libc}" else ""}
|
2008-01-28 20:46:27 +01:00
|
|
|
'';
|
2007-05-28 17:40:17 +02:00
|
|
|
}
|