mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
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
|
||||
ensureDir $out/bin $out/share/man/man1
|
||||
'') ["minInit" "doUnpack" "defEnsureDir"];
|
||||
}) null; /* null is a terminator for sumArgs */
|
||||
}) args null; /* null is a terminator for sumArgs */
|
||||
in with localDefs;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "seccure-"+version;
|
||||
|
@ -860,6 +860,13 @@ rec {
|
||||
|
||||
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" {
|
||||
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" */
|
||||
configFlags = [
|
||||
];
|
||||
}) null; /* null is a terminator for sumArgs */
|
||||
}) args null; /* null is a terminator for sumArgs */
|
||||
in with localDefs;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${(abort "Specify name")}"+version;
|
||||
|
@ -4,7 +4,7 @@ args : with args; with builderDefs {src="";} null;
|
||||
|
||||
buildInputs = [];
|
||||
configureFlags = [];
|
||||
}) null; /* null is a terminator for sumArgs */
|
||||
}) args null; /* null is a terminator for sumArgs */
|
||||
in with localDefs;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${abort "Specify name"}-"+version;
|
||||
|
Loading…
Reference in New Issue
Block a user