1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

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>
This commit is contained in:
Andrew Pantyukhin 2006-09-03 20:58:06 +00:00
parent 8879e55805
commit 1f916d24d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172106
5 changed files with 72 additions and 0 deletions

View File

@ -91,6 +91,7 @@
SUBDIR += rxtx
SUBDIR += scmxx
SUBDIR += scud
SUBDIR += serialoverip
SUBDIR += seyon
SUBDIR += sms_client
SUBDIR += smstools

View File

@ -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>

View File

@ -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

View File

@ -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;
}

View File

@ -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>