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