tb c93b1e8962 update socat to 1.7.4.1
There are a few security fixes and lots of small other fixes.
http://www.dest-unreach.org/socat/doc/CHANGES

The SSL EGD and compression stuff is now properly ifdef'ed so we can get
rid of a lot of patching.  New patch due to non-portable getprotobynumber_r
use.  I added a test target, so tests can be run from the ports directory.

ok sthen, maintainer timeout
2021-03-20 16:24:37 +00:00

41 lines
911 B
Makefile

# $OpenBSD: Makefile,v 1.23 2021/03/20 16:24:37 tb Exp $
COMMENT= relay for bidirectional data transfer
DISTNAME= socat-1.7.4.1
CATEGORIES= net
HOMEPAGE= http://www.dest-unreach.org/socat/
MAINTAINER= Nigel Taylor <nigel@openbsd.org>
# GPLv2
PERMIT_PACKAGE= Yes
MASTER_SITES= ${HOMEPAGE}/download/
WANTLIB= c readline crypto util ssl
TEST_DEPENDS= shells/bash
do-test:
cd ${WRKSRC} && ${SETENV} bash test.sh
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS += --disable-libwrap
pre-build:
${SUBST_CMD} ${WRKSRC}/doc/socat.1
${SUBST_CMD} ${WRKSRC}/doc/socat.html
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/socat
.for file in FAQ README SECURITY doc/xio.help doc/*.html doc/dest-unreach.css
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/socat
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/socat
${INSTALL_DATA} ${WRKSRC}/*.sh ${PREFIX}/share/examples/socat
.include <bsd.port.mk>