2006-04-03 06:56:47 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.2 2006/04/03 06:56:47 steven Exp $
|
Import socat 1.4.0.3
"netcat++" (extended design, new implementation)
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 (readline), a program, or a
combination of two of these. These modes include generation of
"listening" sockets, mamed pipes, and pseudo terminals.
Submitted by Jon Trembley <jon@brain-box.net>
2005-04-30 13:27:17 +00:00
|
|
|
|
|
|
|
COMMENT= "socat is a relay for bidirectional data transfer"
|
|
|
|
|
2006-04-03 06:56:47 +00:00
|
|
|
DISTNAME= socat-1.4.3.1
|
Import socat 1.4.0.3
"netcat++" (extended design, new implementation)
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 (readline), a program, or a
combination of two of these. These modes include generation of
"listening" sockets, mamed pipes, and pseudo terminals.
Submitted by Jon Trembley <jon@brain-box.net>
2005-04-30 13:27:17 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.dest-unreach.org/socat/
|
|
|
|
|
2006-04-03 06:56:47 +00:00
|
|
|
MAINTAINER= Rui Reis <rui@rui.cx>
|
Import socat 1.4.0.3
"netcat++" (extended design, new implementation)
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 (readline), a program, or a
combination of two of these. These modes include generation of
"listening" sockets, mamed pipes, and pseudo terminals.
Submitted by Jon Trembley <jon@brain-box.net>
2005-04-30 13:27:17 +00:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/download/
|
|
|
|
|
|
|
|
WANTLIB= curses c readline crypto util ssl
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/socat-1.4
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
perl -pi -e "s,!!LOCALBASE!!,${LOCALBASE},g" ${WRKSRC}/socat.1
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/socat
|
|
|
|
.for file in FAQ README SECURITY xio.help socat.html
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/socat
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/socat
|
|
|
|
.for file in EXAMPLES testcert.conf *.sh
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/examples/socat
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|