-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recreate ghaf-coverity host with fixes
Signed-off-by: fayad <[email protected]>
- Loading branch information
fayad
committed
Nov 19, 2024
1 parent
9b8b273
commit 15bc205
Showing
7 changed files
with
108 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,39 @@ | ||
ssh_host_ed25519_key: ENC[AES256_GCM,data:ilXl33AwzQmAzaVtGK6FcPwLgI/9Cr79ah6ToRzKmg7meHPEt+aAKhmKBHHW0Pu5G+Ga4woWLkydveUpuMqA4YSQFfGgBsroNnPQ20BnKMC8exXdh0GR+35O0JvMvMxYQx1fN7d9x8bI4C30qIpWNxyV6uwrA+hoPt1HT+hrTNf0jyfwz4UsEfcd7yH8AjrS/oJvlep19M7ZWicfcUb6AFQmLNR20UE24IHIozptFv2QKndmjFr9SEbgDetc1Y75R2JAW545vp6ZvFxHOtf3GVPmhOhIXlkdBnPNrVZ8c+Ygq0VGAkGFRQagSG1fHZArwRFnXShZT/npYW5xelKlJgZiRCR8KF31Gn0UfJsw/WLxCJ60unFwd8qTVkEFpjB4e/JI7ybjd1NqlkwWa0EDBa+xjKh4/VshtxZl4XoCfwoJRkzC8ML93HA2LgOmvdfVMhZpMLpoCHiFr0ACLzsIEICShFFNCk6iMJJXjotwid1FuXvro2W+qKRWAep+qKwoFsBIsySoiAMmaXhcwV3Wd5oXW4xHge++1G0/,iv:pw443wskOHT5z8jS0wV+D4FgqVkhESa4TQqjKB1LjT8=,tag:L+ntfxoM8WLmwbI8OVo8jw==,type:str] | ||
ssh_host_ed25519_key: ENC[AES256_GCM,data:mz/nbtkpCCI1IMqXMne6/i5F6JwpXvuNCs9DbNCgQGYP2MtVYAIL0FLi4glpWmE64rPeF60XLoNFGRVomALwF6we+a8YbA5y1rNx/Zympn/1RJ7GqMoEhJ4vHOWUyYeTWnzD0NGfLdmcBvTaWRT9a3jFLj9plYD5DnNluCdBzzif0XCBSlAnM3KAlJVY/0kByAo1aXCjQ1p67xN8yRuSbrJ6+DD+Q2cL8ITuUGQROZa9c06aWahwfmzESscfm623T3k6t9IiePojHI6wLNZJ2wKHjtvtRZjhLt6ykYSMwfxdZTf3xxvGW88z24hHCs1fpMBowIh2z5ip1kAsZcWpohjZL/QKMSjW3/zAR99qkG/2BDmK0lrEs50plWh4B21hEFf7iHAT049qTUf219P6iPlyMVW4B1l3C2eYsWZQQsWSwamzAw2h94RFQtoEdfcZVg7M0fmlO4Q2smHn5YsqxkxMghVSyLb+ytcl29bq2AnKBZt4gkzCTeSYzdnL0wfZyaYd5ITHRJNz3eJFlXrq1XuQj8wZbr4Hj9r9,iv:dlg6VLNBUgD7I9dsalaDkZSwaacPDkd8GraM/xBPTow=,tag:/7V8JCGBmForB2KUz+Aw9w==,type:str] | ||
sops: | ||
kms: [] | ||
gcp_kms: [] | ||
azure_kv: [] | ||
hc_vault: [] | ||
age: | ||
- recipient: age172azvwv5vne79mqfhvdvk9j95gn5v04uk9t3fjdfe5p7dv7kucvqpygxkx | ||
- recipient: age1z825k99myjmfcml86pujcmtj96psvj8c3m08me8kkq03tkpwy9xql4jt9y | ||
enc: | | ||
-----BEGIN AGE ENCRYPTED FILE----- | ||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSAvY0Rxa0hJTXBpaGhQME9w |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| ||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBLb1l6OTRMcGwvZXJ5WDhG | ||
aEhHZHoxeGdsMktpSDRVb2F6d0o4RisvTVRNCldJSXltRzNHNkV1YnlhZnNLRmU2 | ||
YzRhalEvT0VmTURZOEFNalBxeFc0UHcKLS0tIGNTV3FvL3ZabCtxcGhxLzhIVzRO | ||
NngrallCbTZNdW85NVJwQXN1V1hIaTgK9LV8OaTBCchuxyNz/1Qux9mw1u3PP+mI | ||
lhvgIaIaiUa7TSNDjrPdj0dx3miWWWQb49ku6r9zKr1IogQzyW6aAw== | ||
-----END AGE ENCRYPTED FILE----- | ||
lastmodified: "2024-09-11T11:38:32Z" | ||
mac: ENC[AES256_GCM,data:r/7H97Vxzom8vK3DMp+BaVASCoDefCY4JOVyTYAI8jIfOpPGkFm1sB4LgmcYM+u2aqqxyD5z3J9Ytg812gzuRK03BXhm3rVLbg7DonagBdkbEZvw2vXF8qrplvRJFOYsHRSIa3Gyqiyz0J9542SzdMnIJ0yRVcy902rQS9AeMfg=,iv:Ab+AGKlTESd48qXxiPFWcmM4s2RCqhjjIFdETCYt0bw=,tag:tqzzvzKWACkS6MRvexLe6Q==,type:str] | ||
- recipient: age18t3gss4l6l629rd8s93eh3ctycu9vjnsftehy38c8tstu2gqycxs64t4sw | ||
enc: | | ||
-----BEGIN AGE ENCRYPTED FILE----- | ||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBnMTF4QW9KQkp3bDJiSUcw | ||
eDZBVDNEVmI5cTh3VytlUXdWcUw0bHFFNmc0Ckx0M01WSHlGMW1SOGV2VGx4VDhN | ||
Ulk0cGxTMFRGZEUydU5WNkdWYVJwbTAKLS0tIGpYVG45R3FwYzZqeWhSbVdiaExR | ||
NFVtTVo1bVVaTVArOEIxczcreDlvNWsKKejdCZQu8gTgOxg6SeAhc7Z32FDF2PnA | ||
6v+weMlyfHLKpCYLf6XJ+kx+tTynQZ6LE24aXQYqeGqnOlE35sATOw== | ||
-----END AGE ENCRYPTED FILE----- | ||
lastmodified: "2024-10-23T12:43:55Z" | ||
mac: ENC[AES256_GCM,data:lJ9e/flUsu6QWTLw629+IFz05xGIK2RZc3lZYcHovz/yTTXrToWWF3SeObcQdroZk73v62sT3V5BCSLAxkyk7RRqhCO+cXdwpAVN2loDwY1xc8wCNBGw63vK1sEQQEji05ze0ftpr45Qhreor+2edPrYPzRrGyt08TeX6HnoX/Y=,iv:iheHyL5AA+m8TgM+5hdNm6wbUh+NPAkCntdQpxjFpi8=,tag:rvaULYObpUkDccDdRgx9Iw==,type:str] | ||
pgp: [] | ||
unencrypted_suffix: _unencrypted | ||
version: 3.8.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# SPDX-FileCopyrightText: 2022-2024 TII (SSRC) and the Ghaf contributors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
{ | ||
stdenv, | ||
lib, | ||
autoPatchelfHook, | ||
fetchurl, | ||
curl, | ||
systemd, | ||
zlib, | ||
xorg, | ||
alsaLib, | ||
libxcrypt-legacy, | ||
... | ||
}: | ||
stdenv.mkDerivation { | ||
pname = "coverity"; | ||
version = "2411.6"; | ||
|
||
src = fetchurl { | ||
url = "https://archive.ssrcdevops.tii.ae/ghaf/cov-analysis.tar.gz"; | ||
hash = "sha256-Y6DvakNzl+FVZjPq+X/R0RQ9SMzyztZlA/yD0slPG7M="; | ||
}; | ||
|
||
nativeBuildInputs = [ autoPatchelfHook ]; | ||
buildInputs = [ | ||
# libudev | ||
(lib.getLib systemd) | ||
# libstdc++.so libgcc_s.so | ||
stdenv.cc.cc.lib | ||
# libcurl.so.4 | ||
curl | ||
# libz.so.1 | ||
zlib | ||
# libXext.so.6 | ||
xorg.libXext | ||
# libX11.so.6 | ||
xorg.libX11 | ||
# libXrender.so.1 | ||
xorg.libXrender | ||
# libXtst.so.6 | ||
xorg.libXtst | ||
# libXi.so.6 | ||
xorg.libXi | ||
# libasound2.so.2 | ||
alsaLib | ||
# libcrypt.so.1 | ||
libxcrypt-legacy | ||
]; | ||
|
||
# Unpack the CLI tools. | ||
installPhase = '' | ||
mkdir -p $out/bin | ||
cp -r * $out | ||
''; | ||
|
||
meta = with lib; { | ||
description = "Coverity Scan Tools"; | ||
longDescription = '' | ||
Coverity tools for code analysis | ||
''; | ||
homepage = "https://coverity.com"; | ||
platforms = [ "x86_64-linux" ]; | ||
license = licenses.unfree; | ||
maintainers = with maintainers; [ TII ]; | ||
mainProgram = "coverity"; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters