summaryrefslogtreecommitdiff
path: root/net/trippy/Makefile
blob: 09093a719ea92cfc3188c696250a5f8483d4e948 (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
PORTNAME=	trippy
PORTVERSION=	0.8.0
PORTREVISION=	2
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>