aboutsummaryrefslogtreecommitdiff
path: root/security/autossh/Makefile
blob: b02c5f650850a4d28d41b72885b3de511ff3b38b (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
27
28
29
# Created by: Yen-Ming Lee <leeym@FreeBSD.org>

PORTNAME=	autossh
PORTVERSION=	1.4g
CATEGORIES=	security
MASTER_SITES=	http://www.harding.motd.ca/autossh/

MAINTAINER=	egypcio@FreeBSD.org
COMMENT=	Automatically restart SSH sessions and tunnels

LICENSE=	BSD3CLAUSE

USES=		tar:tgz

GNU_CONFIGURE=	yes

PORTDOCS=	CHANGES README

# Fix build with clang11
CFLAGS+=	-fcommon

OPTIONS_DEFINE=	DOCS SSH_PORTABLE

SSH_PORTABLE_DESC=	Default to ports openssh (instead of base)

SSH_PORTABLE_CONFIGURE_ENV=	ac_cv_path_ssh=${LOCALBASE}/bin/ssh
SSH_PORTABLE_RUN_DEPENDS=	${LOCALBASE}/bin/ssh:security/openssh-portable

.include <bsd.port.mk>