diff options
author | sat <sat@FreeBSD.org> | 2006-09-04 04:58:06 +0800 |
---|---|---|
committer | sat <sat@FreeBSD.org> | 2006-09-04 04:58:06 +0800 |
commit | 9fb43b1f0ef6917fc01ee6eda2b375eee92da01e (patch) | |
tree | fdcfccc9eeacfafcd6a9fdb4dac3f3d3eb1fea84 /comms | |
parent | 9c881dced187822b250a33830a2ece9602c9b21f (diff) | |
download | freebsd-ports-gnome-9fb43b1f0ef6917fc01ee6eda2b375eee92da01e.tar.gz freebsd-ports-gnome-9fb43b1f0ef6917fc01ee6eda2b375eee92da01e.tar.zst freebsd-ports-gnome-9fb43b1f0ef6917fc01ee6eda2b375eee92da01e.zip |
Add port comms/serialoverip:
SerialOverIP Version 1.0, 8 Mar 2002
Tool for transport of serial interfaces over UDP/IP.
Useful for accessing a distant serial device by a local Windoze
program.
WWW: http://www.sourceforge.net/projects/serialoverip/
Author: Stefan-Florin Nicola <sten@fx.ro>
Submitted by: Devon H. O'Dell <devon.odell@coyotepoint.com>
Diffstat (limited to 'comms')
-rw-r--r-- | comms/Makefile | 1 | ||||
-rw-r--r-- | comms/serialoverip/Makefile | 24 | ||||
-rw-r--r-- | comms/serialoverip/distinfo | 3 | ||||
-rw-r--r-- | comms/serialoverip/files/patch-serialoverip.c | 36 | ||||
-rw-r--r-- | comms/serialoverip/pkg-descr | 8 |
5 files changed, 72 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile index 56357a8dae74..dc2faa0d0380 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -91,6 +91,7 @@ SUBDIR += rxtx SUBDIR += scmxx SUBDIR += scud + SUBDIR += serialoverip SUBDIR += seyon SUBDIR += sms_client SUBDIR += smstools diff --git a/comms/serialoverip/Makefile b/comms/serialoverip/Makefile new file mode 100644 index 000000000000..5993a3e86cf9 --- /dev/null +++ b/comms/serialoverip/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: serialoverip +# Date created: 3 September 2006 +# Whom: Devon H. O'Dell <devon.odell@coyotepoint.com> +# +# $FreeBSD$ +# + +PORTNAME= serialoverip +PORTVERSION= 1.0 +CATEGORIES= comms net +MASTER_SITES= CSME + +MAINTAINER= devon.odell@coyotepoint.com +COMMENT= Transport of serial interfaces over UDP/IP + +PLIST_FILES= sbin/${PORTNAME} + +do-build: + @cd ${WRKSRC}; ${CC} ${CFLAGS} ${PORTNAME}.c -o ${PORTNAME} + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin/ + +.include <bsd.port.mk> diff --git a/comms/serialoverip/distinfo b/comms/serialoverip/distinfo new file mode 100644 index 000000000000..58d6272cc9f5 --- /dev/null +++ b/comms/serialoverip/distinfo @@ -0,0 +1,3 @@ +MD5 (serialoverip-1.0.tar.gz) = 0931cca65b8f9d32079fa3e55130ee1e +SHA256 (serialoverip-1.0.tar.gz) = cea0a4285416b720f1be607a64af7d513872d7b38a86900c4e015266038490a2 +SIZE (serialoverip-1.0.tar.gz) = 164925 diff --git a/comms/serialoverip/files/patch-serialoverip.c b/comms/serialoverip/files/patch-serialoverip.c new file mode 100644 index 000000000000..3504a3edd9c5 --- /dev/null +++ b/comms/serialoverip/files/patch-serialoverip.c @@ -0,0 +1,36 @@ +--- serialoverip.c Sun Sep 3 16:04:54 2006 ++++ serialoverip.c Sun Sep 3 16:06:34 2006 +@@ -42,20 +42,19 @@ + int s[2],st[2]; + + void help(){ +- fprintf(stderr,"\ +-SerialOverIP version 1.0, Copyright (C) 2002 Stefan-Florin Nicola <sten@fx.ro> +-SerialOverIP comes with ABSOLUTELY NO WARRANTY. This is free software, and you +-are welcome to redistribute it under GNU General Public License. +- Usage: %s <source1> <source2> +- where <source1> and <source2> are one of the folowing: +- -s <IP> <port> UDP server on IP:port +- -c <IP> <port> UDP client for server IP:port +- -d <device> sss-dps local serial device +- sss is speed (50,..,230400) +- d is data bits (5,6,7,8) +- p is parity type (N,E,O) +- s is stop bits (1,2) +-",pname); ++ fprintf(stderr, ++"SerialOverIP version 1.0, Copyright (C) 2002 Stefan-Florin Nicola <sten@fx.ro>\n"\ ++"SerialOverIP comes with ABSOLUTELY NO WARRANTY. This is free software, and you\n"\ ++"are welcome to redistribute it under GNU General Public License.\n"\ ++" Usage: %s <source1> <source2>\n"\ ++" where <source1> and <source2> are one of the folowing:\n"\ ++" -s <IP> <port> UDP server on IP:port\n"\ ++" -c <IP> <port> UDP client for server IP:port\n"\ ++" -d <device> sss-dps local serial device\n"\ ++" sss is speed (50,..,230400)\n"\ ++" d is data bits (5,6,7,8)\n"\ ++" p is parity type (N,E,O)\n"\ ++" s is stop bits (1,2)\n",pname); + return; + } + diff --git a/comms/serialoverip/pkg-descr b/comms/serialoverip/pkg-descr new file mode 100644 index 000000000000..56e7d82c7d14 --- /dev/null +++ b/comms/serialoverip/pkg-descr @@ -0,0 +1,8 @@ +SerialOverIP Version 1.0, 8 Mar 2002 + +Tool for transport of serial interfaces over UDP/IP. +Useful for accessing a distant serial device by a local Windoze +program. + +WWW: http://www.sourceforge.net/projects/serialoverip/ +Author: Stefan-Florin Nicola <sten@fx.ro> |