Merge branch 'master.upstream' into staging.upstream

This commit is contained in:
William A. Kennington III
2015-08-03 14:27:14 -07:00
56 changed files with 5999 additions and 253 deletions
+25
View File
@@ -0,0 +1,25 @@
{ stdenv, fetchurl, cmake, libsodium }:
stdenv.mkDerivation rec {
name = "minisign-${version}";
version = "0.4";
src = fetchurl {
url = "https://github.com/jedisct1/minisign/archive/${version}.tar.gz";
sha256 = "1k1dk6piaz8pw4b9zg55n4wcpyc301mkxb873njm8mki7r8raxnw";
};
buildInputs = [ cmake libsodium ];
meta = with stdenv.lib; {
description = "A simple tool for signing files and verifying signatures";
longDescription = ''
minisign uses public key cryptography to help facilitate secure (but not
necessarily private) file transfer, e.g., of software artefacts. minisign
is similar to and compatible with OpenBSD's signify.
'';
homepage = https://jedisct1.github.io/minisign/;
license = licenses.isc;
maintainers = with maintainers; [ joachifm ];
};
}
+39
View File
@@ -0,0 +1,39 @@
{ stdenv, fetchurl, cmake, qt4, gdb, zlib }:
stdenv.mkDerivation rec {
name = "omapd-${version}";
version = "0.9.2";
src = fetchurl {
url = "http://omapd.googlecode.com/files/${name}.tgz";
sha256 = "0d7lgv957jhbsav60j50jhdy3rpcqgql74qsniwnnpm3yqj9p0xc";
};
patches = [ ./zlib.patch ];
buildInputs = [ cmake qt4 zlib gdb ];
phases = [ "unpackPhase" "patchPhase" "buildPhase" "installPhase" ];
buildPhase = ''
(cd plugins/RAMHashTables; qmake; make)
qmake
make
'';
installPhase = ''
mkdir -p $out $out/bin $out/etc $out/usr/lib/omapd/plugins
cp omapd $out/bin/.
cp omapd.conf $out/etc/.
cp plugins/libRAMHashTables.so $out/usr/lib/omapd/plugins/.
ln -s $out/usr/lib/omapd/plugins $out/bin/plugins
'';
meta = with stdenv.lib; {
homepage = http://code.google.com/p/omapd;
description = "IF-MAP Server that implements the IF-MAP v1.1 and v2.0 specifications published by the Trusted Computing Group (TCG)";
license = licenses.gpl3;
maintainers = [ maintainers.tstrobel ];
platforms = platforms.linux;
};
}
+9
View File
@@ -0,0 +1,9 @@
diff -uNr omapd-0.9.2-old/omapd.pro omapd-0.9.2/omapd.pro
--- omapd-0.9.2-old/omapd.pro 2015-08-03 09:46:47.463420480 +0200
+++ omapd-0.9.2/omapd.pro 2015-08-03 09:48:32.238657105 +0200
@@ -37,4 +37,4 @@
clientconfiguration.h \
managementserver.h \
json.h
-INCLUDEPATH += $$[QT_INSTALL_PREFIX]/src/3rdparty/zlib
+LIBS += -lz