openbsd-ports/comms/conserver/Makefile

52 lines
1.2 KiB
Makefile
Raw Normal View History

COMMENT= manage remote serial consoles via TCP/IP
1998-04-29 03:31:56 +00:00
2022-07-09 08:50:52 +00:00
V= 8.2.7
DISTNAME= conserver-$V
1998-04-29 03:31:56 +00:00
CATEGORIES= comms
REVISION= 0
1998-04-29 03:31:56 +00:00
MAINTAINER= Stuart Henderson <stu.ports@spacehopper.org>
HOMEPAGE= https://www.conserver.com/
2004-03-02 07:57:20 +00:00
# BSD
PERMIT_PACKAGE= Yes
2010-09-03 14:39:07 +00:00
WANTLIB += c util
FLAVORS= ipmi net
FLAVOR?=
2000-02-12 06:29:49 +00:00
2020-06-15 11:49:14 +00:00
MASTER_SITES= https://github.com/bstansell/conserver/releases/download/v$V/
2002-10-25 11:34:24 +00:00
2020-05-14 11:43:24 +00:00
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-master=localhost \
--with-pidfile=${LOCALSTATEDIR}/run/conserver/conserver.pid
2019-03-27 10:14:03 +00:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.if ${FLAVOR:Mnet}
# not yet using experimental IPv6 support added in 8.2.0; investigate
# implications of ifdef'ing out ProbeInterfaces in cutil.c before enabling
WANTLIB+= crypto ssl
CONFIGURE_ARGS+= --with-openssl \
--with-port=3109
.else
CONFIGURE_ARGS+= --with-uds=${LOCALSTATEDIR}/run/conserver \
--with-trust-uds-cred
.endif
.if ${FLAVOR:Mipmi}
CONFIGURE_ARGS+= --with-freeipmi=yes
LIB_DEPENDS+= sysutils/freeipmi
2019-03-27 10:14:03 +00:00
WANTLIB+= ipmiconsole
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/conserver.cf/samples/* \
${FILESDIR}/console.cf ${PREFIX}/share/examples/conserver/
2013-03-11 01:30:26 +00:00
TEST_TARGET= test
1998-04-29 03:31:56 +00:00
.include <bsd.port.mk>