aboutsummaryrefslogtreecommitdiff
path: root/comms/serialoverip
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2006-09-03 20:58:06 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2006-09-03 20:58:06 +0000
commit1f916d24d936dc157156818fec32023cb737c50d (patch)
tree0388d94815c74939b5241ddaa42c2ccdaadaf8ca /comms/serialoverip
parent8879e5580538f97a490515cd7776abb131c0644e (diff)
downloadports-1f916d24d936dc157156818fec32023cb737c50d.tar.gz
ports-1f916d24d936dc157156818fec32023cb737c50d.zip
Notes
Diffstat (limited to 'comms/serialoverip')
-rw-r--r--comms/serialoverip/Makefile24
-rw-r--r--comms/serialoverip/distinfo3
-rw-r--r--comms/serialoverip/files/patch-serialoverip.c36
-rw-r--r--comms/serialoverip/pkg-descr8
4 files changed, 71 insertions, 0 deletions
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>