ports/security/tinc/Makefile
Dirk Meyer 121c0dbfd3 security/tinc-devel: security/tinc: add user and group tinc
The tinc daemon is now setgid
The daemon can drop privileges with:
sysrc tincd_flags=--user=tinc

Reported by: Poul-Henning Kamp
2024-12-30 20:28:44 +01:00

30 lines
723 B
Makefile

PORTNAME= tinc
PORTVERSION= 1.0.36
PORTREVISION= 3
CATEGORIES= security net-vpn
MASTER_SITES= https://www.tinc-vpn.org/packages/ \
http://www.tinc-vpn.org/packages/
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Virtual Private Network (VPN) daemon
WWW= https://www.tinc-vpn.org/
LICENSE= GPLv3
LIB_DEPENDS= liblzo2.so:archivers/lzo2
USERS= tinc
GROUPS= tinc
USES= cpe ssl makeinfo
CPE_VENDOR= tinc-vpn
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --localstatedir=/var
USE_RC_SUBR= tincd
INFO= tinc
PLIST_FILES= "@(root,tinc,2550) sbin/tincd" \
share/man/man5/tinc.conf.5.gz share/man/man8/tincd.8.gz
.include <bsd.port.mk>