trousers: 0.3.13 -> 0.3.14
* Update trousers to latest, use regular openssl (#68338)
trousers: cleanup
* some CFLAGS and LDFLAGS are not needed anymore
* libtool file fixup was a no-op
* license is now BSD-3 since:
0160d229f8
/
This commit is contained in:
parent
c64e9dadfe
commit
82dfacc7fe
@ -2,13 +2,15 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "trousers";
|
pname = "trousers";
|
||||||
version = "0.3.13";
|
version = "0.3.14";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/trousers/trousers/${version}/${pname}-${version}.tar.gz";
|
url = "mirror://sourceforge/trousers/trousers/${version}/${pname}-${version}.tar.gz";
|
||||||
sha256 = "1lvnla1c1ig2w3xvvrqg2w9qm7a1ygzy1j2gg8j7p8c87i58x45v";
|
sha256 = "0iwgsbrbb7nfqgl61x8aailwxm8akxh9gkcwxhsvf50x4qx72l6f";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sourceRoot = ".";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ openssl ];
|
buildInputs = [ openssl ];
|
||||||
|
|
||||||
@ -16,21 +18,14 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags = [ "--disable-usercheck" ];
|
configureFlags = [ "--disable-usercheck" ];
|
||||||
|
|
||||||
# Attempt to remove -std=gnu89 when updating if using gcc5
|
NIX_CFLAGS_COMPILE = [ "-DALLOW_NON_TSS_CONFIG_FILE" ];
|
||||||
NIX_CFLAGS_COMPILE = "-std=gnu89 -DALLOW_NON_TSS_CONFIG_FILE";
|
enableParallelBuilding = true;
|
||||||
NIX_LDFLAGS = "-lgcc_s";
|
|
||||||
|
|
||||||
# Fix broken libtool file
|
|
||||||
preFixup = stdenv.lib.optionalString (!stdenv.isDarwin) ''
|
|
||||||
sed 's,-lcrypto,-L${openssl.out}/lib -lcrypto,' -i $out/lib/libtspi.la
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Trusted computing software stack";
|
description = "Trusted computing software stack";
|
||||||
homepage = http://trousers.sourceforge.net/;
|
homepage = http://trousers.sourceforge.net/;
|
||||||
license = licenses.cpl10;
|
license = licenses.bsd3;
|
||||||
maintainers = [ maintainers.ak ];
|
maintainers = [ maintainers.ak ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6759,9 +6759,7 @@ in
|
|||||||
|
|
||||||
trilium = callPackage ../applications/office/trilium { };
|
trilium = callPackage ../applications/office/trilium { };
|
||||||
|
|
||||||
trousers = callPackage ../tools/security/trousers {
|
trousers = callPackage ../tools/security/trousers { };
|
||||||
openssl = openssl_1_0_2;
|
|
||||||
};
|
|
||||||
|
|
||||||
trx = callPackage ../tools/audio/trx { };
|
trx = callPackage ../tools/audio/trx { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user