2020-11-06 09:38:27 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.75 2020/11/06 14:38:27 sthen Exp $
|
2001-05-05 18:39:36 -04:00
|
|
|
|
2007-09-15 21:37:09 -04:00
|
|
|
COMMENT= manage remote serial consoles via TCP/IP
|
1998-04-28 23:31:56 -04:00
|
|
|
|
2020-11-06 09:38:27 -05:00
|
|
|
V= 8.2.6
|
2018-04-11 10:47:16 -04:00
|
|
|
DISTNAME= conserver-$V
|
1998-04-28 23:31:56 -04:00
|
|
|
CATEGORIES= comms
|
|
|
|
|
2020-07-11 18:54:35 -04:00
|
|
|
MAINTAINER= Stuart Henderson <stu.ports@spacehopper.org>
|
2003-05-26 16:20:53 -04:00
|
|
|
|
2018-04-11 10:47:16 -04:00
|
|
|
HOMEPAGE= https://www.conserver.com/
|
2003-05-26 16:20:53 -04:00
|
|
|
|
2004-03-02 02:57:20 -05:00
|
|
|
# BSD
|
2019-06-03 12:06:50 -04:00
|
|
|
PERMIT_PACKAGE= Yes
|
2010-09-03 10:39:07 -04:00
|
|
|
|
2014-10-07 18:14:17 -04:00
|
|
|
WANTLIB += c util
|
|
|
|
|
2015-08-11 17:13:14 -04:00
|
|
|
FLAVORS= ipmi net
|
2014-10-07 18:14:17 -04:00
|
|
|
FLAVOR?=
|
2000-02-12 01:29:49 -05:00
|
|
|
|
2020-06-15 07:49:14 -04:00
|
|
|
MASTER_SITES= https://github.com/bstansell/conserver/releases/download/v$V/
|
2002-10-25 07:34:24 -04:00
|
|
|
|
2020-05-14 07:43:24 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2014-10-07 18:14:17 -04:00
|
|
|
CONFIGURE_ARGS= --with-master=localhost \
|
|
|
|
--with-pidfile=${LOCALSTATEDIR}/run/conserver/conserver.pid
|
2019-03-27 06:14:03 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2014-10-07 18:14:17 -04:00
|
|
|
|
|
|
|
.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
|
2015-08-11 17:13:14 -04:00
|
|
|
WANTLIB+= crypto ssl
|
2014-10-07 18:14:17 -04:00
|
|
|
CONFIGURE_ARGS+= --with-openssl \
|
2014-07-15 09:47:26 -04:00
|
|
|
--with-port=3109
|
2014-10-07 18:14:17 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-uds=${LOCALSTATEDIR}/run/conserver \
|
|
|
|
--with-trust-uds-cred
|
|
|
|
.endif
|
2014-07-15 09:47:26 -04:00
|
|
|
|
2015-08-11 17:13:14 -04:00
|
|
|
.if ${FLAVOR:Mipmi}
|
|
|
|
CONFIGURE_ARGS+= --with-freeipmi=yes
|
|
|
|
LIB_DEPENDS+= sysutils/freeipmi
|
2019-03-27 06:14:03 -04:00
|
|
|
WANTLIB+= ipmiconsole
|
2015-08-11 17:13:14 -04:00
|
|
|
.endif
|
|
|
|
|
2014-07-15 09:47:26 -04:00
|
|
|
post-install:
|
2014-10-07 18:14:17 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/conserver.cf/samples/* \
|
|
|
|
${FILESDIR}/console.cf ${PREFIX}/share/examples/conserver/
|
2003-06-22 20:02:04 -04:00
|
|
|
|
2013-03-10 21:30:26 -04:00
|
|
|
TEST_TARGET= test
|
1998-04-28 23:31:56 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|