openbsd-ports/comms/conserver/Makefile
sthen 4fe620bb9a update conserver to 8.2.0, and make some port changes ...
- Switch to using unix domain sockets instead of network sockets for
comms between "console" client and "conserver" server. This is a compile-
time toggle and disables network sockets. Uses SO_PEERCRED for access
control so it's possible to do per-user acls in conserver without
the need to re-enter user passwords.

- Add a flavour to use network sockets for those that need it (i.e.
running the client on a different machine to the server).

- Tweaks to pkg-readme explaining the above.
2014-10-07 22:14:17 +00:00

46 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.50 2014/10/07 22:14:17 sthen Exp $
COMMENT= manage remote serial consoles via TCP/IP
DISTNAME= conserver-8.2.0
CATEGORIES= comms
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
HOMEPAGE= http://www.conserver.com/
# BSD
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c util
FLAVORS= 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
post-install:
${INSTALL_DATA} ${WRKSRC}/conserver.cf/samples/* \
${FILESDIR}/console.cf ${PREFIX}/share/examples/conserver/
TEST_TARGET= test
.include <bsd.port.mk>