7f29341f48
and slightly modified by me. socat is a relay for bidirectional data transfer between two independent data channels. Each of these data channels may be a file, pipe, device (serial line etc. or a pseudo terminal), a socket (UNIX, IP4, IP6 - raw, UDP, TCP), an SSL socket, proxy CONNECT connection, a file descriptor (stdin etc.), the GNU line editor, a program, or a combination of two of these. These modes include generation of "listening" sockets, pipes and pseudo terminals.
27 lines
793 B
Makefile
27 lines
793 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2004/02/14 22:43:38 minskim Exp $
|
|
|
|
DISTNAME= socat-1.3.2.2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.dest-unreach.org/socat/download/
|
|
|
|
MAINTAINER= adrianp@stindustries.net
|
|
HOMEPAGE= http://www.dest-unreach.org/socat/
|
|
COMMENT= "netcat++" (extended design, new implementation)
|
|
|
|
WRKSRC= ${WRKDIR}/socat-1.3
|
|
GNU_CONFIGURE= YES
|
|
USE_BUILDLINK3= YES
|
|
USE_GNU_READLINE= YES
|
|
|
|
CONFIGURE_ARGS+= --disable-libwrap
|
|
CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline}
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_MESSAGE.paths= "Fixing hardcoded paths."
|
|
SUBST_STAGE.paths= post-patch
|
|
SUBST_FILES.paths= socat.1
|
|
SUBST_SED.paths= -e 's,/usr/,${PREFIX}/,g'
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|