6a4da0b28c
Using the 'ssl' protocol probe caused a segmentation fault, parts because it was no longer really supported and parts because of a lunar alignment between bugs. It's all fixed (and 'ssl' banned in favour of tls').
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.25 2020/07/31 04:20:35 bket Exp $
|
|
|
|
COMMENT = SSL/SSH multiplexer
|
|
|
|
DISTNAME = sslh-v1.21c
|
|
PKGNAME = ${DISTNAME:S/-v/-/}
|
|
|
|
CATEGORIES = security net
|
|
|
|
HOMEPAGE = https://www.rutschle.net/tech/sslh/README.html
|
|
|
|
MAINTAINER = Bjorn Ketelaars <bket@openbsd.org>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB = c config pcreposix
|
|
|
|
MASTER_SITES = https://www.rutschle.net/tech/sslh/
|
|
|
|
LIB_DEPENDS = devel/libconfig \
|
|
devel/pcre
|
|
TEST_DEPENDS = devel/p5-Conf-Libconfig \
|
|
net/p5-IO-Socket-INET6
|
|
|
|
MAKE_FLAGS = CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib -lconfig -lpcreposix" \
|
|
MAN=sslh.8
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
PORTHOME = ${WRKDIST}
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sslh
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/sslh
|
|
${INSTALL_MAN} ${WRKSRC}/sslh.8 ${PREFIX}/man/man8
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sslh
|
|
.for p in basic.cfg example.cfg
|
|
${INSTALL_DATA} ${WRKSRC}/$p ${PREFIX}/share/examples/sslh
|
|
.endfor
|
|
.for p in sslh-fork sslh-select
|
|
${INSTALL_PROGRAM} ${WRKSRC}/$p ${PREFIX}/sbin
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|