summaryrefslogtreecommitdiff
path: root/net/trippy/Makefile
blob: dd34ab298dd22c831529d8f1964d01874f28f271 (plain) (blame)
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
PORTNAME=	trippy
PORTVERSION=	0.8.0
CATEGORIES=	net

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Network diagnostic tool inspired by mtr
WWW=		https://github.com/fujiapple852/trippy

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cargo
USE_GITHUB=	yes
GH_ACCOUNT=	fujiapple852

OPTIONS_DEFINE=		SUID
OPTIONS_DEFAULT=	SUID
SUID_DESC=		Use suid to allow execution as non root

SUID_PLIST_FILES=	"@(,,4110) bin/trip"
SUID_PLIST_FILES_OFF=	"@(,,0100) bin/trip"

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/trip

.include <bsd.port.mk>