summaryrefslogtreecommitdiff
path: root/security/ridl/Makefile
blob: 6219705c28ee83d4e374c0c114bc29e6f1ba1b86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

PORTNAME=	ridl
DISTVERSIONPREFIX=	v
DISTVERSION=	g20190530
CATEGORIES=	security

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Tool to check whether the system is affected by various attacks

LICENSE=	MPL20
LICENSE_FILE=	${WRKSRC}/LICENSE

ONLY_FOR_ARCHS=		amd64 i386
ONLY_FOR_ARCHS_REASON=	specific to Intel CPUs per https://mdsattacks.com/

LIB_DEPENDS=	libsysinfo.so:devel/libsysinfo

USES=		cmake localbase:ldflags
USE_GITHUB=	yes
GH_ACCOUNT=	vusec
GH_TAGNAME=	11b3240
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>