1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

New port: security/ridl: Tool to check whether the system is affected by various attacks

This commit is contained in:
Yuri Victorovich 2019-05-23 06:18:25 +00:00
parent 855e858450
commit d22c28aecb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=502313
5 changed files with 53 additions and 0 deletions

View File

@ -1060,6 +1060,7 @@ PORTREVISION= 1
SUBDIR += revealrk
SUBDIR += revelation
SUBDIR += rhash
SUBDIR += ridl
SUBDIR += rifiuti2
SUBDIR += rkhunter
SUBDIR += rndpassw

30
security/ridl/Makefile Normal file
View File

@ -0,0 +1,30 @@
# $FreeBSD$
PORTNAME= ridl
DISTVERSIONPREFIX= v
DISTVERSION= g20190520
CATEGORIES= security
MAINTAINER= yuri@FreeBSD.org
COMMENT= Tool to check whether the system is affected by various attacks
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libsysinfo.so:devel/libsysinfo
USES= cmake localbase:ldflags
USE_GITHUB= yes
GH_ACCOUNT= vusec
GH_TAGNAME= 7e4fc98
GH_TUPLE= nothings:stb:1034f5e:stb/stb \
vurtun:nuklear:509c75b:nuklear/nuklear
LDFLAGS+= ${LOCALBASE}/lib/libsysinfo.so
PLIST_FILES= bin/mdstool-cli
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/mdstool-cli ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>

7
security/ridl/distinfo Normal file
View File

@ -0,0 +1,7 @@
TIMESTAMP = 1558591256
SHA256 (vusec-ridl-vg20190520-7e4fc98_GH0.tar.gz) = 5bc6d7638e398f7161d4da59b6b9dfadb7737bc4572db75978a3f5b39331b77d
SIZE (vusec-ridl-vg20190520-7e4fc98_GH0.tar.gz) = 36572
SHA256 (nothings-stb-1034f5e_GH0.tar.gz) = 5058dff96f256642acfa4634161856d2503c16f5e02f6d53318f955cc8ef797a
SIZE (nothings-stb-1034f5e_GH0.tar.gz) = 1356175
SHA256 (vurtun-nuklear-509c75b_GH0.tar.gz) = 203abb4b215eb8f0dfedfbea8d15f684e14a8a40e8a72f1b9b37629c188c24ad
SIZE (vurtun-nuklear-509c75b_GH0.tar.gz) = 1850219

View File

@ -0,0 +1,11 @@
--- CMakeLists.txt.orig 2019-05-23 06:02:35 UTC
+++ CMakeLists.txt
@@ -86,7 +86,7 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL Windows)
source/msw/image.c
source/msw/window.c)
set(BUILD_GUI 1)
-elseif (${CMAKE_SYSTEM_NAME} STREQUAL Linux)
+elseif (${CMAKE_SYSTEM_NAME} STREQUAL Linux OR ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|DragonFly")
list(APPEND SOURCES
source/linux/l1tf.c
source/linux/meltdown.c

4
security/ridl/pkg-descr Normal file
View File

@ -0,0 +1,4 @@
A tool to check whether your system is affected by Micro-architectural Data
Sampling and other attacks.
WWW: https://github.com/vusec/ridl