Merge pull request #9100 from ts468/upstream.omapd

omapd: init at 0.9.2

ts468 1857db1b c2aadb38

+50
+39
pkgs/tools/security/omapd/default.nix
···
··· 1 + { stdenv, fetchurl, cmake, qt4, gdb, zlib }: 2 + stdenv.mkDerivation rec { 3 + 4 + name = "omapd-${version}"; 5 + version = "0.9.2"; 6 + 7 + src = fetchurl { 8 + url = "http://omapd.googlecode.com/files/${name}.tgz"; 9 + sha256 = "0d7lgv957jhbsav60j50jhdy3rpcqgql74qsniwnnpm3yqj9p0xc"; 10 + }; 11 + 12 + patches = [ ./zlib.patch ]; 13 + 14 + buildInputs = [ cmake qt4 zlib gdb ]; 15 + 16 + phases = [ "unpackPhase" "patchPhase" "buildPhase" "installPhase" ]; 17 + 18 + buildPhase = '' 19 + (cd plugins/RAMHashTables; qmake; make) 20 + qmake 21 + make 22 + ''; 23 + 24 + installPhase = '' 25 + mkdir -p $out $out/bin $out/etc $out/usr/lib/omapd/plugins 26 + cp omapd $out/bin/. 27 + cp omapd.conf $out/etc/. 28 + cp plugins/libRAMHashTables.so $out/usr/lib/omapd/plugins/. 29 + ln -s $out/usr/lib/omapd/plugins $out/bin/plugins 30 + ''; 31 + 32 + meta = with stdenv.lib; { 33 + homepage = http://code.google.com/p/omapd; 34 + description = "IF-MAP Server that implements the IF-MAP v1.1 and v2.0 specifications published by the Trusted Computing Group (TCG)"; 35 + license = licenses.gpl3; 36 + maintainers = [ maintainers.tstrobel ]; 37 + platforms = platforms.linux; 38 + }; 39 + }
+9
pkgs/tools/security/omapd/zlib.patch
···
··· 1 + diff -uNr omapd-0.9.2-old/omapd.pro omapd-0.9.2/omapd.pro 2 + --- omapd-0.9.2-old/omapd.pro 2015-08-03 09:46:47.463420480 +0200 3 + +++ omapd-0.9.2/omapd.pro 2015-08-03 09:48:32.238657105 +0200 4 + @@ -37,4 +37,4 @@ 5 + clientconfiguration.h \ 6 + managementserver.h \ 7 + json.h 8 + -INCLUDEPATH += $$[QT_INSTALL_PREFIX]/src/3rdparty/zlib 9 + +LIBS += -lz
+2
pkgs/top-level/all-packages.nix
··· 3193 3194 trousers = callPackage ../tools/security/trousers { }; 3195 3196 ttf2pt1 = callPackage ../tools/misc/ttf2pt1 { }; 3197 3198 ttfautohint = callPackage ../tools/misc/ttfautohint { };
··· 3193 3194 trousers = callPackage ../tools/security/trousers { }; 3195 3196 + omapd = callPackage ../tools/security/omapd { }; 3197 + 3198 ttf2pt1 = callPackage ../tools/misc/ttf2pt1 { }; 3199 3200 ttfautohint = callPackage ../tools/misc/ttfautohint { };