2007-05-28 17:40:17 +02:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, pie ? false
|
|
|
|
, socketWrapper ? false
|
|
|
|
, cups ? false
|
|
|
|
, iprint ? false
|
|
|
|
, activeDirectory ? false
|
2007-09-05 18:45:51 +02:00
|
|
|
, stateDir ? "/var/samba" # (builtins.getEnv "HOME") + "/sambastate/"
|
2007-05-28 17:40:17 +02:00
|
|
|
} :
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-07-02 22:13:12 +02:00
|
|
|
name = "samba-3.0.25b";
|
2007-05-28 17:40:17 +02:00
|
|
|
builder = ./builder.sh;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2007-07-02 22:13:12 +02:00
|
|
|
url = http://us1.samba.org/samba/ftp/stable/samba-3.0.25b.tar.gz; #TODO, change this to a URL of cs.uu.nl/...
|
|
|
|
sha256 = "18l71skn7mryg78jpd8x38pf27wvrx00v33w3z2ycsfnrbcp8l6w";
|
2007-05-28 17:40:17 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
smbconf = ./smb.conf;
|
|
|
|
inherit stateDir;
|
|
|
|
}
|