aboutsummaryrefslogtreecommitdiffstats
path: root/comms/conserver-com/Makefile
blob: e009c908d89ff43d0f12087bd47dab072767f9db (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# $FreeBSD$

PORTNAME=   conserver
PORTVERSION=    8.1.18
PORTREVISION=   1
CATEGORIES= comms
MASTER_SITES=   http://www.conserver.com/ \
        ftp://ftp.conserver.com/conserver/
PKGNAMESUFFIX=  -com

MAINTAINER= kuriyama@FreeBSD.org
COMMENT=    Application that allows multiple users to watch serial consoles

GNU_CONFIGURE=  YES
CONFIGURE_ARGS= --with-master=${DEFAULTHOST} --with-port=${DEFAULTPORT} \
        --with-pam --with-libwrap --with-openssl
USE_RC_SUBR=    conserver

MAN1=       console.1
MAN5=       conserver.cf.5 conserver.passwd.5
MAN8=       conserver.8

OPTIONS_DEFINE= UDS GSSAPI GSSAPIONLY STRIPREALM
UDS_DESC=   Use Unix domain sockets for client/server
STRIPREALM_DESC=Strip @REALM when using GSSAPI
GSSAPIONLY_DESC=Never prompt for a password when using GSSAPI

NO_STAGE=   yes
.include <bsd.port.options.mk>

DEFAULTPORT?=   782
DEFAULTHOST?=   localhost

.if ${PORT_OPTIONS:MUDS}
CONFIGURE_ARGS+=    --with-uds
.endif

.if ${PORT_OPTIONS:MGSSAPI}
CONFIGURE_ARGS+=    --with-gssapi
.if ${PORT_OPTIONS:MSTRIPREALM}
CONFIGURE_ARGS+=    --with-striprealm
.endif
.if ${PORT_OPTIONS:MGSSAPIONLY}
EXTRA_PATCHES=      ${FILESDIR}/extra-patch-conserver__master.c
.endif
.endif

.include <bsd.port.mk>