openbsd-ports/comms/conserver/Makefile

53 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.64 2019/01/25 11:35:54 sthen Exp $
2001-05-05 18:39:36 -04:00
COMMENT= manage remote serial consoles via TCP/IP
1998-04-28 23:31:56 -04:00
2018-05-29 09:54:05 -04:00
V= 8.2.2
REVISION= 2
DISTNAME= conserver-$V
1998-04-28 23:31:56 -04:00
CATEGORIES= comms
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
HOMEPAGE= https://www.conserver.com/
2004-03-02 02:57:20 -05:00
# BSD
2000-05-27 19:49:39 -04:00
PERMIT_PACKAGE_CDROM= Yes
2010-09-03 10:39:07 -04:00
WANTLIB += c util
FLAVORS= ipmi net
FLAVOR?=
2000-02-12 01:29:49 -05:00
MASTER_SITES= https://github.com/conserver/conserver/releases/download/v$V/
2002-10-25 07:34:24 -04:00
AUTOCONF_VERSION= 2.68
CONFIGURE_STYLE= autoconf
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
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
2018-05-29 09:54:05 -04:00
WANTLIB+= freeipmi ipmiconsole
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/conserver.cf/samples/* \
${FILESDIR}/console.cf ${PREFIX}/share/examples/conserver/
2013-03-10 21:30:26 -04:00
TEST_TARGET= test
1998-04-28 23:31:56 -04:00
.include <bsd.port.mk>