Skip to content

Commit

Permalink
Fix decai (r2ai) and add sbom
Browse files Browse the repository at this point in the history
  • Loading branch information
prodrigestivill committed Sep 7, 2024
1 parent 7462dc1 commit dca54ff
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ DOCKER_BUILD_ARGS+= \
--build-arg R2DEC_VERSION=$(R2DEC_VERSION) \
--build-arg YARA_VERSION=$(YARA_VERSION) \
--build-arg R2YARA_VERSION=$(R2YARA_VERSION) \
--build-arg R2AI_VERSION=$(R2AI_VERSION) \
--build-arg R2BOOK_VERSION=$(R2BOOK_VERSION)

.PHONY: all snap docker update clean \
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ ARG R2FRIDA_VERSION
ARG R2GHIDRA_VERSION
ARG R2YARA_VERSION
ARG YARA_VERSION
ARG R2AI_VERSION
ARG R2BOOK_VERSION
COPY sbom /usr/src/sbom
RUN set -e; \
Expand Down
33 changes: 33 additions & 0 deletions docker/sbom/r2ai.spdx.json.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"SPDXID": "SPDXRef-DOCUMENT",
"spdxVersion": "SPDX-2.3",
"creationInfo": {
"created": "2024-09-07T14:00:00Z",
"creators": [ "Organization: radare org" ]
},
"name": "r2ai",
"dataLicense": "CC0-1.0",
"documentDescribes": [
"SPDXRef-com.github.radareorg-r2ai"
],
"documentNamespace": "https://github.com/radareorg/radare2-snap/sbom/r2ai-${R2_SNAP_COMMIT}",
"packages": [
{
"SPDXID": "SPDXRef-com.github.radareorg-r2ai",
"name": "r2ai",
"versionInfo": "${R2AI_VERSION}",
"downloadLocation": "https://github.com/radareorg/r2ai/archive/refs/tags/${R2AI_VERSION}.tar.gz",
"filesAnalyzed": false,
"licenseDeclared": "MIT",
"supplier": "Organization: radareorg",
"primaryPackagePurpose": "LIBRARY",
"externalRefs": [
{
"referenceCategory": "PACKAGE-MANAGER",
"referenceType": "purl",
"referenceLocator": "pkg:github/radareorg/r2ai@${R2AI_VERSION}"
}
]
}
]
}

0 comments on commit dca54ff

Please sign in to comment.