aboutsummaryrefslogtreecommitdiffstats
path: root/comms/conserver-com
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2016-11-10 09:47:35 +0800
committerswills <swills@FreeBSD.org>2016-11-10 09:47:35 +0800
commitecd74b7f5b25a4b70414f6c387d21f5a51d7639b (patch)
tree5e1f9eb924ef49c1c1b7dfbe4903c3138c7b8323 /comms/conserver-com
parent86aa5da3b496d8b1c2d52c615de32f9e569dfdb6 (diff)
downloadfreebsd-ports-gnome-ecd74b7f5b25a4b70414f6c387d21f5a51d7639b.tar.gz
freebsd-ports-gnome-ecd74b7f5b25a4b70414f6c387d21f5a51d7639b.tar.zst
freebsd-ports-gnome-ecd74b7f5b25a4b70414f6c387d21f5a51d7639b.zip
comms/conserver-com: Add IPMI support, Fix MAN
PR: 204703 Submitted by: m1cro <rum1cro@yandex.ru> Approved by: maintainer timeout (kuriyama, 2 months)
Diffstat (limited to 'comms/conserver-com')
-rw-r--r--comms/conserver-com/Makefile21
1 files changed, 15 insertions, 6 deletions
diff --git a/comms/conserver-com/Makefile b/comms/conserver-com/Makefile
index 047c64ae4cd7..fddb2f87144e 100644
--- a/comms/conserver-com/Makefile
+++ b/comms/conserver-com/Makefile
@@ -11,28 +11,37 @@ PKGNAMESUFFIX= -com
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Application that allows multiple users to watch serial consoles
+LICENSE= BSD2CLAUSE
+
CONFLICTS_INSTALL= conserver-[0-9]*
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-master=${DEFAULTHOST} --with-port=${DEFAULTPORT} \
--with-pam --with-libwrap --with-openssl
+
USE_OPENSSL= yes
USE_RC_SUBR= conserver
-OPTIONS_DEFINE= UDS GSSAPI GSSAPIONLY STRIPREALM
-UDS_DESC= Use Unix domain sockets for client/server
-STRIPREALM_DESC=Strip @REALM when using GSSAPI
+OPTIONS_DEFINE= FREEIPMI GSSAPI GSSAPIONLY STRIPREALM UDS
+FREEIPMI_DESC= Compile in FreeIPMI support
GSSAPIONLY_DESC=Never prompt for a password when using GSSAPI
-STRIPREALM_IMPLIES= GSSAPI
GSSAPIONLY_IMPLIES= GSSAPI
+STRIPREALM_DESC=Strip @REALM when using GSSAPI
+STRIPREALM_IMPLIES= GSSAPI
+UDS_DESC= Use Unix domain sockets for client/server
DEFAULTPORT?= 782
DEFAULTHOST?= localhost
-UDS_CONFIGURE_WITH= uds
+FREEIPMI_CONFIGURE_ON= --with-freeipmi=${LOCALBASE}
+FREEIPMI_LIB_DEPENDS= libfreeipmi.so:${PORTSDIR}/sysutils/freeipmi
GSSAPI_CONFIGURE_WITH= gssapi
-STRIPREALM_CONFIGURE_WITH= striprealm
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