ce0ea353f1
local and remote source. The source can be one of the following: TCP, UDP, UNIX socket and TTY device. Netfwd works with both IPv4 and IPv6 address families. Working with TTY device means that you can redirect serial port (i.e. COM port) data to any destination. For example, it's possible to create software serial port loopback or forward serial port data to network (aka serial to network convertor). Using this tool you can even convert one protocol into another. For example, you accept incoming connection on TCP port and forward it into UNIX socket on your local computer. ok okan@
29 lines
557 B
Makefile
29 lines
557 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2008/01/06 22:33:48 eric Exp $
|
|
|
|
COMMENT= netword traffic redirector
|
|
|
|
DISTNAME= netfwd-0.4
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= Alexey Vatchenko <av@bsdua.org>
|
|
|
|
HOMEPAGE= http://www.bsdua.org/netfwd.html
|
|
|
|
# ISC
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c
|
|
|
|
MASTER_SITES= http://www.bsdua.org/files/
|
|
|
|
EXTRACT_SUFX= .tar.gz
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/netfwd ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/netfwd.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|