pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc
Module Name: pkgsrc
Committed By: manu
Date: Sat Feb 15 02:26:59 UTC 2020
Modified Files:
pkgsrc/comms: Makefile
pkgsrc/doc: CHANGES-2020
Added Files:
pkgsrc/comms/remserial: DESCR Makefile PLIST distinfo
pkgsrc/comms/remserial/patches: patch-stty.c
Log Message:
Add comms/remserial 1.4
The remserial program acts as a communications bridge between a
TCP/IP network port and a Linux device such as a serial port. Any
character-oriented Linux /dev device will work.
The program can also use pseudo-ttys as the device. A pseudo-tty
is like a serial port in that it has a /dev entry that can be opened
by a program that expects a serial port device, except that instead
of belonging to a physical serial device, the data can be intercepted
by another program. The remserial program uses this to connect a
network port to the "master" (programming) side of the pseudo-tty
allowing the device driver (slave) side to be used by some program
expecting a serial port. See example 3 below for details.
The program can operate as a server accepting network connections
from other machines, or as a client, connecting to remote machine
that is running the remserial program or some other program that
accepts a raw network connection. The network connection passes
data as-is, there is no control protocol over the network socket.
Multiple copies of the program can run on the same computer at the
same time assuming each is using a different network port and
device.
To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 pkgsrc/comms/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/comms/remserial/DESCR \
pkgsrc/comms/remserial/Makefile pkgsrc/comms/remserial/PLIST \
pkgsrc/comms/remserial/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/comms/remserial/patches/patch-stty.c
cvs rdiff -u -r1.1085 -r1.1086 pkgsrc/doc/CHANGES-2020
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/comms/Makefile
diff -u pkgsrc/comms/Makefile:1.115 pkgsrc/comms/Makefile:1.116
--- pkgsrc/comms/Makefile:1.115 Sat Jan 4 13:24:21 2020
+++ pkgsrc/comms/Makefile Sat Feb 15 02:26:58 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.115 2020/01/04 13:24:21 nia Exp $
+# $NetBSD: Makefile,v 1.116 2020/02/15 02:26:58 manu Exp $
#
COMMENT= Communication utilities
@@ -74,6 +74,7 @@ SUBDIR+= py-serial
SUBDIR+= py-termstyle
SUBDIR+= qodem
SUBDIR+= qpage
+SUBDIR+= remserial
SUBDIR+= ruby-termios
SUBDIR+= scmxx
SUBDIR+= snooper
Index: pkgsrc/doc/CHANGES-2020
diff -u pkgsrc/doc/CHANGES-2020:1.1085 pkgsrc/doc/CHANGES-2020:1.1086
--- pkgsrc/doc/CHANGES-2020:1.1085 Fri Feb 14 19:16:09 2020
+++ pkgsrc/doc/CHANGES-2020 Sat Feb 15 02:26:58 2020
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2020,v 1.1085 2020/02/14 19:16:09 leot Exp $
+$NetBSD: CHANGES-2020,v 1.1086 2020/02/15 02:26:58 manu Exp $
Changes to the packages collection and infrastructure in 2020:
@@ -1545,3 +1545,4 @@ Changes to the packages collection and i
Updated databases/postgresql12 to 12.2 [adam 2020-02-14]
Updated sysutils/entr to 4.4 [leot 2020-02-14]
Updated www/webkit-gtk to 2.26.4 [leot 2020-02-14]
+ Added comms/remserial 1.4 [manu 2020-02-14]
Added files:
Index: pkgsrc/comms/remserial/DESCR
diff -u /dev/null pkgsrc/comms/remserial/DESCR:1.1
--- /dev/null Sat Feb 15 02:26:59 2020
+++ pkgsrc/comms/remserial/DESCR Sat Feb 15 02:26:58 2020
@@ -0,0 +1,24 @@
+$NetBSD: DESCR,v 1.1 2020/02/15 02:26:58 manu Exp $
+
+The remserial program acts as a communications bridge between a
+TCP/IP network port and a Linux device such as a serial port. Any
+character-oriented Linux /dev device will work.
+
+The program can also use pseudo-ttys as the device. A pseudo-tty
+is like a serial port in that it has a /dev entry that can be opened
+by a program that expects a serial port device, except that instead
+of belonging to a physical serial device, the data can be intercepted
+by another program. The remserial program uses this to connect a
+network port to the "master" (programming) side of the pseudo-tty
+allowing the device driver (slave) side to be used by some program
+expecting a serial port. See example 3 below for details.
+
+The program can operate as a server accepting network connections
+from other machines, or as a client, connecting to remote machine
+that is running the remserial program or some other program that
+accepts a raw network connection. The network connection passes
+data as-is, there is no control protocol over the network socket.
+
+Multiple copies of the program can run on the same computer at the
+same time assuming each is using a different network port and
+device.
Index: pkgsrc/comms/remserial/Makefile
diff -u /dev/null pkgsrc/comms/remserial/Makefile:1.1
--- /dev/null Sat Feb 15 02:26:59 2020
+++ pkgsrc/comms/remserial/Makefile Sat Feb 15 02:26:58 2020
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2020/02/15 02:26:58 manu Exp $
+
+DISTNAME= remserial-1.4
+CATEGORIES= comms
+MASTER_SITES= http://lpccomp.bc.ca/remserial/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://lpccomp.bc.ca/remserial/
+COMMENT= Serial port over LAN through TCP/IP
+LICENSE= gnu-gpl-v2
+INSTALLATION_DIRS= bin share/doc/remserial
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/remserial ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/README.txt \
+ ${DESTDIR}${PREFIX}/share/doc/remserial
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/comms/remserial/PLIST
diff -u /dev/null pkgsrc/comms/remserial/PLIST:1.1
--- /dev/null Sat Feb 15 02:26:59 2020
+++ pkgsrc/comms/remserial/PLIST Sat Feb 15 02:26:58 2020
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/02/15 02:26:58 manu Exp $
+bin/remserial
+share/doc/remserial/README.txt
Index: pkgsrc/comms/remserial/distinfo
diff -u /dev/null pkgsrc/comms/remserial/distinfo:1.1
--- /dev/null Sat Feb 15 02:26:59 2020
+++ pkgsrc/comms/remserial/distinfo Sat Feb 15 02:26:58 2020
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/02/15 02:26:58 manu Exp $
+
+SHA1 (remserial-1.4.tar.gz) = 2a5208cbe0099cc67f45dffaa680a1a291ae8092
+RMD160 (remserial-1.4.tar.gz) = b8d9e27e428255a4fe520cdaf8227fd89d16f2a6
+SHA512 (remserial-1.4.tar.gz) = 62f38a6c3940bf577a8cf84a487ab0c46167fc8ddaf6eb793c47c2baac7d2e035d7cb0f5ee33ebaba0e28f9816f3365257a8196a8f497689886ed8a5f8f58c0f
+Size (remserial-1.4.tar.gz) = 7497 bytes
+SHA1 (patch-stty.c) = bd532f0b68bfbe70828f76dcb6428b9aee789211
Index: pkgsrc/comms/remserial/patches/patch-stty.c
diff -u /dev/null pkgsrc/comms/remserial/patches/patch-stty.c:1.1
--- /dev/null Sat Feb 15 02:26:59 2020
+++ pkgsrc/comms/remserial/patches/patch-stty.c Sat Feb 15 02:26:58 2020
@@ -0,0 +1,62 @@
+$NetBSD: patch-stty.c,v 1.1 2020/02/15 02:26:58 manu Exp $
+
+Fixes for NetBSD build
+
+--- stty.c.orig 2020-02-14 11:21:48.402882118 +0100
++++ stty.c 2020-02-14 11:24:48.883716864 +0100
+@@ -21,8 +21,12 @@
+ #include <termios.h>
+ #include <unistd.h>
+ #include <string.h>
+
++#ifdef __NetBSD__
++#include <sys/ioctl_compat.h>
++#endif
++
+ #define CFLG 0
+ #define IFLG 1
+ #define OFLG 2
+ #define LFLG 3
+@@ -107,26 +111,42 @@
+ { "onlcr", OFLG, ONLCR, ONLCR },
+ { "ocrnl", OFLG, OCRNL, OCRNL },
+ { "onocr", OFLG, ONOCR, ONOCR },
+ { "onlret", OFLG, ONLRET, ONLRET },
++#ifdef OFILL // Missing on NetBSD
+ { "ofil", OFLG, OFILL, OFILL },
++#endif
++#ifdef OFDEL // Missing on NetBSD
+ { "ofdel", OFLG, OFDEL, OFDEL },
++#endif
++#ifdef NLDLY // Missing on NetBSD
+ { "nl0", OFLG, NLDLY, NL0 },
+ { "nl1", OFLG, NLDLY, NL1 },
++#endif
++#ifdef CRDLY // Missing on NetBSD
+ { "cr0", OFLG, CRDLY, CR0 },
+ { "cr1", OFLG, CRDLY, CR1 },
+ { "cr2", OFLG, CRDLY, CR2 },
+ { "cr3", OFLG, CRDLY, CR3 },
++#endif
++#ifdef TABDLY // Missing on NetBSD
+ { "tab0", OFLG, TABDLY, TAB0 },
+ { "tab1", OFLG, TABDLY, TAB1 },
+ { "tab2", OFLG, TABDLY, TAB2 },
+ { "tab3", OFLG, TABDLY, TAB3 },
++#endif
++#ifdef BSDLY // Missing on NetBSD
+ { "bs0", OFLG, BSDLY, BS0 },
+ { "bs1", OFLG, BSDLY, BS1 },
++#endif
++#ifdef VTDLY // Missing on NetBSD
+ { "vt0", OFLG, VTDLY, VT0 },
+ { "vt1", OFLG, VTDLY, VT1 },
++#endif
++#ifdef FFDLY // Missing on NetBSD
+ { "ff0", OFLG, FFDLY, FF0 },
+ { "ff1", OFLG, FFDLY, FF1 },
++#endif
+ { "isig", LFLG, ISIG, ISIG },
+ { "icanon", LFLG, ICANON, ICANON },
+ #ifdef XCASE // Missing on OSX, FreeBSD
+ { "xcase", LFLG, XCASE, XCASE },
Home |
Main Index |
Thread Index |
Old Index