76df1019e2
- Add LICENSE_FILE - Use tabs instead of spaces to indent values assigned to variables Reviewed by: antoine (previous version) Reviewed by: krion (previous version) Reviewed by: sbruno (previous version) Approved by: krion (mentor) Differential Revision: https://reviews.freebsd.org/D17528
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= conserver
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 8.2.2
|
|
CATEGORIES= comms
|
|
PKGNAMESUFFIX= -com
|
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
|
COMMENT= Application that allows multiple users to watch serial consoles
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= ssl
|
|
USE_GITHUB= yes
|
|
USE_RC_SUBR= conserver
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-master=${DEFAULTHOST} --with-port=${DEFAULTPORT} \
|
|
--with-pam --with-libwrap --with-openssl
|
|
|
|
CONFLICTS_INSTALL= conserver-[0-9]*
|
|
|
|
OPTIONS_DEFINE= FREEIPMI GSSAPI GSSAPIONLY STRIPREALM UDS
|
|
FREEIPMI_DESC= Compile in FreeIPMI support
|
|
GSSAPIONLY_DESC=Never prompt for a password when using GSSAPI
|
|
GSSAPIONLY_IMPLIES= GSSAPI
|
|
STRIPREALM_DESC=Strip @REALM when using GSSAPI
|
|
STRIPREALM_IMPLIES= GSSAPI
|
|
UDS_DESC= Use Unix domain sockets for client/server
|
|
|
|
FREEIPMI_CONFIGURE_ON= --with-freeipmi=${LOCALBASE}
|
|
FREEIPMI_LIB_DEPENDS= libfreeipmi.so:sysutils/freeipmi
|
|
GSSAPI_CONFIGURE_WITH= gssapi
|
|
GSSAPIONLY_EXTRA_PATCHES= ${FILESDIR}/extra-patch-conserver__master.c
|
|
STRIPREALM_CONFIGURE_WITH= striprealm
|
|
UDS_CONFIGURE_WITH= uds
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,impi,ipmi,' ${WRKSRC}/conserver.cf/conserver.cf.man
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/conserver-convert
|
|
|
|
DEFAULTPORT?= 782
|
|
DEFAULTHOST?= localhost
|
|
|
|
.include <bsd.port.mk>
|