9a8b5ccd06
daemon scripts and bump subpackages that contain the *.rc scripts. discussed with and OK aja@ OK tb
53 lines
1.2 KiB
Makefile
53 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.58 2018/01/11 19:27:01 rpe Exp $
|
|
|
|
COMMENT= manage remote serial consoles via TCP/IP
|
|
|
|
DISTNAME= conserver-8.2.1
|
|
REVISION= 5
|
|
CATEGORIES= comms
|
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
|
|
|
HOMEPAGE= http://www.conserver.com/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += c util
|
|
|
|
FLAVORS= ipmi net
|
|
FLAVOR?=
|
|
|
|
MASTER_SITES= ${HOMEPAGE} \
|
|
ftp://ftp.conserver.com/conserver/
|
|
|
|
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
|
|
WANTLIB+= freeipmi ipmiconsole pthread
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/conserver.cf/samples/* \
|
|
${FILESDIR}/console.cf ${PREFIX}/share/examples/conserver/
|
|
|
|
TEST_TARGET= test
|
|
|
|
.include <bsd.port.mk>
|