2011-03-31 22:08:50 +01:00
|
|
|
{stdenv, fetchurl, openssl, fuse}:
|
|
|
|
|
|
|
|
throw "It still does not build"
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "fsfs-0.1.1";
|
|
|
|
src = fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "mirror://sourceforge/fsfs/fsfs-0.1.1.tar.gz";
|
2011-03-31 22:08:50 +01:00
|
|
|
sha256 = "05wka9aq182li2r7gxcd8bb3rhpns7ads0k59v7w1jza60l57c74";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ fuse openssl ];
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's,CONFDIR=\(.*\),CONFDIR='$out/etc, \
|
|
|
|
-e 's,USERCONFPREFIX=\(.*\),USERCONFPREFIX='$out/var/lib, Makefile \
|
|
|
|
src/Makefile src/utils/Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/etc $out/var/lib
|
2011-03-31 22:08:50 +01:00
|
|
|
makeFlags="$makeFlags prefix=$out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://fsfs.sourceforge.net/";
|
2011-03-31 22:08:50 +01:00
|
|
|
description = "Secure distributed file system in user space";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2011-03-31 22:08:50 +01:00
|
|
|
};
|
|
|
|
}
|