Added seccureUser, uild variant that does not lock memory.
svn path=/nixpkgs/trunk/; revision=10938
This commit is contained in:
parent
1be3f71528
commit
7001d91ba7
|
@ -12,7 +12,7 @@ args : with args; with builderDefs {src="";} null;
|
||||||
sed -e s@/usr/@$out/@g -i Makefile
|
sed -e s@/usr/@$out/@g -i Makefile
|
||||||
ensureDir $out/bin $out/share/man/man1
|
ensureDir $out/bin $out/share/man/man1
|
||||||
'') ["minInit" "doUnpack" "defEnsureDir"];
|
'') ["minInit" "doUnpack" "defEnsureDir"];
|
||||||
}) null; /* null is a terminator for sumArgs */
|
}) args null; /* null is a terminator for sumArgs */
|
||||||
in with localDefs;
|
in with localDefs;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "seccure-"+version;
|
name = "seccure-"+version;
|
||||||
|
|
|
@ -860,6 +860,13 @@ rec {
|
||||||
|
|
||||||
seccure = seccureFun null;
|
seccure = seccureFun null;
|
||||||
|
|
||||||
|
# seccure will override it (it is root-only, but
|
||||||
|
# more secure because of memory locking), but this
|
||||||
|
# can be added to default system
|
||||||
|
seccureUser = lowPrio (seccureFun {
|
||||||
|
makeFlags = [" CFLAGS+=-DNOMEMLOCK "];
|
||||||
|
} null);
|
||||||
|
|
||||||
sharutils = selectVersion ../tools/archivers/sharutils "4.6.3" {
|
sharutils = selectVersion ../tools/archivers/sharutils "4.6.3" {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
|
@ -9,7 +9,7 @@ args : with args; let localDefs = builderDefs (args // rec {
|
||||||
/* List consisiting of an even number of strings; "key" "value" */
|
/* List consisiting of an even number of strings; "key" "value" */
|
||||||
configFlags = [
|
configFlags = [
|
||||||
];
|
];
|
||||||
}) null; /* null is a terminator for sumArgs */
|
}) args null; /* null is a terminator for sumArgs */
|
||||||
in with localDefs;
|
in with localDefs;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${(abort "Specify name")}"+version;
|
name = "${(abort "Specify name")}"+version;
|
||||||
|
|
|
@ -4,7 +4,7 @@ args : with args; with builderDefs {src="";} null;
|
||||||
|
|
||||||
buildInputs = [];
|
buildInputs = [];
|
||||||
configureFlags = [];
|
configureFlags = [];
|
||||||
}) null; /* null is a terminator for sumArgs */
|
}) args null; /* null is a terminator for sumArgs */
|
||||||
in with localDefs;
|
in with localDefs;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${abort "Specify name"}-"+version;
|
name = "${abort "Specify name"}-"+version;
|
||||||
|
|
Loading…
Reference in New Issue