commit ser2net for openSUSE:Factory
Hello community, here is the log from the commit of package ser2net for openSUSE:Factory checked in at 2020-11-06 23:44:27 Comparing /work/SRC/openSUSE:Factory/ser2net (Old) and /work/SRC/openSUSE:Factory/.ser2net.new.11331 (New) Package is "ser2net" Fri Nov 6 23:44:27 2020 rev:16 rq:845612 version:4.3.0 Changes: --- /work/SRC/openSUSE:Factory/ser2net/ser2net.changes 2020-10-21 14:38:12.821599525 +0200 +++ /work/SRC/openSUSE:Factory/.ser2net.new.11331/ser2net.changes 2020-11-06 23:44:54.927284873 +0100 @@ -1,0 +2,7 @@ +Thu Oct 29 19:37:25 UTC 2020 - Martin Hauke + +- Update to version 4.3.0 + * Add mDNS support in ser2net for advertising. + * Some minor bug fixes. + +--- Old: ser2net-4.2.3.tar.gz New: ser2net-4.3.0.tar.gz Other differences: -- ++ ser2net.spec ++ --- /var/tmp/diff_new_pack.DkQv0h/_old 2020-11-06 23:44:55.455283858 +0100 +++ /var/tmp/diff_new_pack.DkQv0h/_new 2020-11-06 23:44:55.459283851 +0100 @@ -17,7 +17,7 @@ Name: ser2net -Version:4.2.3 +Version:4.3.0 Release:0 Summary:Serial port to network proxy License:GPL-2.0-or-later @@ -30,7 +30,7 @@ BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: systemd-rpm-macros -BuildRequires: pkgconfig(libgensio) +BuildRequires: pkgconfig(libgensio) >= 2.2.0 BuildRequires: pkgconfig(yaml-0.1) %{?systemd_requires} ++ ser2net-4.2.3.tar.gz -> ser2net-4.3.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ser2net-4.2.3/Makefile.am new/ser2net-4.3.0/Makefile.am --- old/ser2net-4.2.3/Makefile.am 2020-10-06 14:24:49.0 +0200 +++ new/ser2net-4.3.0/Makefile.am 2020-10-29 03:53:26.0 +0100 @@ -4,7 +4,8 @@ AM_CPPFLAGS = -DSYSCONFDIR="\"${sysconfdir}\"" -DDATAROOT="\"${datarootdir}\"" ser2net_SOURCES = controller.c dataxfer.c readconfig.c port.c \ ser2net.c led.c led_sysfs.c yamlconf.c auth.c gbuf.c trace.c \ - portconfig.c ser2net_str.c portinfo.c rotator.c defaults.c + portconfig.c ser2net_str.c portinfo.c rotator.c defaults.c \ + addsysattrs.c noinst_HEADERS = controller.h dataxfer.h readconfig.h defaults.h \ ser2net.h led.h led_sysfs.h absout.h gbuf.h port.h man_MANS = ser2net.8 ser2net.yaml.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ser2net-4.2.3/addsysattrs.c new/ser2net-4.3.0/addsysattrs.c --- old/ser2net-4.2.3/addsysattrs.c 1970-01-01 01:00:00.0 +0100 +++ new/ser2net-4.3.0/addsysattrs.c 2020-10-29 03:53:26.0 +0100 @@ -0,0 +1,287 @@ +/* + * ser2net - A program for allowing telnet connection to serial ports + * Copyright (C) 2015-2020 Corey Minyard + * Copyright (C) 2015 I2SE GmbH + * Copyright (C) 2016 Michael Heimpold + * + * SPDX-License-Identifier: GPL-2.0-only + * + * In addition, as a special exception, the copyright holders of + * ser2net give you permission to combine ser2net with free software + * programs or libraries that are released under the GNU LGPL and + * with code included in the standard release of OpenSSL under the + * OpenSSL license (or modified versions of such code, with unchanged + * license). You may copy and distribute such a system following the + * terms of the GNU GPL for ser2net and the licenses of the other code + * concerned, provided that you include the source code of that + * other code when and as the GNU GPL requires distribution of source + * code. + * + * Note that people who make modified versions of ser2net are not + * obligated to grant this special exception for their modified + * versions; it is their choice whether to do so. The GNU General + * Public License gives permission to release a modified version + * without this exception; this exception also makes it possible to + * release a modified version which carries forward this exception. + */ + +#ifdef linux + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "ser2net.h" +#include "port.h" + +#define SYSFS_TTY_BASE "/sys/class/tty/" +#define SYSFS_TTY_BASE_LEN 15 + +static const char * +get_base_str(const char *devname, unsigned int *len) +{ +const char *e, *s; + +s = strstr(devname, ",serialdev"); +if (s) { + s = strchr(s, ','); + if (s) + s++; +} else { + s = strstr(devname, "/dev/"); +} +if (s) { + e = strchr(s, ','); + if (e) + *len = e - s; + else + *len = strlen(s); +} + +return s; +} + +static void +add_attr(struct absout *eout,
commit ser2net for openSUSE:Factory
Hello community, here is the log from the commit of package ser2net for openSUSE:Factory checked in at 2020-10-21 14:38:02 Comparing /work/SRC/openSUSE:Factory/ser2net (Old) and /work/SRC/openSUSE:Factory/.ser2net.new.3486 (New) Package is "ser2net" Wed Oct 21 14:38:02 2020 rev:15 rq:840773 version:4.2.3 Changes: --- /work/SRC/openSUSE:Factory/ser2net/ser2net.changes 2020-08-29 20:44:20.377515003 +0200 +++ /work/SRC/openSUSE:Factory/.ser2net.new.3486/ser2net.changes 2020-10-21 14:38:12.821599525 +0200 @@ -1,0 +2,7 @@ +Tue Oct 6 20:56:07 UTC 2020 - Martin Hauke + +- Update to version 4.2.3 + * bugfix release only + * No user visible changes + +--- Old: ser2net-4.2.2.tar.gz New: ser2net-4.2.3.tar.gz Other differences: -- ++ ser2net.spec ++ --- /var/tmp/diff_new_pack.KCp9hC/_old 2020-10-21 14:38:13.873600120 +0200 +++ /var/tmp/diff_new_pack.KCp9hC/_new 2020-10-21 14:38:13.877600122 +0200 @@ -17,7 +17,7 @@ Name: ser2net -Version:4.2.2 +Version:4.2.3 Release:0 Summary:Serial port to network proxy License:GPL-2.0-or-later ++ ser2net-4.2.2.tar.gz -> ser2net-4.2.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ser2net-4.2.2/absout.h new/ser2net-4.2.3/absout.h --- old/ser2net-4.2.2/absout.h 2020-08-24 20:08:57.0 +0200 +++ new/ser2net-4.2.3/absout.h 2020-10-06 14:24:49.0 +0200 @@ -3,6 +3,24 @@ * Copyright (C) 2001-2020 Corey Minyard * * SPDX-License-Identifier: GPL-2.0-only + * + * In addition, as a special exception, the copyright holders of + * ser2net give you permission to combine ser2net with free software + * programs or libraries that are released under the GNU LGPL and + * with code included in the standard release of OpenSSL under the + * OpenSSL license (or modified versions of such code, with unchanged + * license). You may copy and distribute such a system following the + * terms of the GNU GPL for ser2net and the licenses of the other code + * concerned, provided that you include the source code of that + * other code when and as the GNU GPL requires distribution of source + * code. + * + * Note that people who make modified versions of ser2net are not + * obligated to grant this special exception for their modified + * versions; it is their choice whether to do so. The GNU General + * Public License gives permission to release a modified version + * without this exception; this exception also makes it possible to + * release a modified version which carries forward this exception. */ #ifndef ABSOUT_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ser2net-4.2.2/auth.c new/ser2net-4.2.3/auth.c --- old/ser2net-4.2.2/auth.c2020-08-24 20:08:57.0 +0200 +++ new/ser2net-4.2.3/auth.c2020-10-06 14:24:49.0 +0200 @@ -3,6 +3,24 @@ * Copyright (C) 2001=2020 Corey Minyard * * SPDX-License-Identifier: GPL-2.0-only + * + * In addition, as a special exception, the copyright holders of + * ser2net give you permission to combine ser2net with free software + * programs or libraries that are released under the GNU LGPL and + * with code included in the standard release of OpenSSL under the + * OpenSSL license (or modified versions of such code, with unchanged + * license). You may copy and distribute such a system following the + * terms of the GNU GPL for ser2net and the licenses of the other code + * concerned, provided that you include the source code of that + * other code when and as the GNU GPL requires distribution of source + * code. + * + * Note that people who make modified versions of ser2net are not + * obligated to grant this special exception for their modified + * versions; it is their choice whether to do so. The GNU General + * Public License gives permission to release a modified version + * without this exception; this exception also makes it possible to + * release a modified version which carries forward this exception. */ #include diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ser2net-4.2.2/configure.ac new/ser2net-4.2.3/configure.ac --- old/ser2net-4.2.2/configure.ac 2020-08-24 20:08:57.0 +0200 +++ new/ser2net-4.2.3/configure.ac 2020-10-06 14:24:49.0 +0200 @@ -1,4 +1,4 @@ -AC_INIT([ser2net], [4.2.2], [miny...@acm.org]) +AC_INIT([ser2net], [4.2.3], [miny...@acm.org]) AM_INIT_AUTOMAKE([-Wall]) AC_PROG_CC AM_PROG_AR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
commit ser2net for openSUSE:Factory
Hello community, here is the log from the commit of package ser2net for openSUSE:Factory checked in at 2020-08-29 20:43:57 Comparing /work/SRC/openSUSE:Factory/ser2net (Old) and /work/SRC/openSUSE:Factory/.ser2net.new.3399 (New) Package is "ser2net" Sat Aug 29 20:43:57 2020 rev:14 rq:830332 version:4.2.2 Changes: --- /work/SRC/openSUSE:Factory/ser2net/ser2net.changes 2020-08-14 10:05:14.213344872 +0200 +++ /work/SRC/openSUSE:Factory/.ser2net.new.3399/ser2net.changes 2020-08-29 20:44:20.377515003 +0200 @@ -1,0 +2,12 @@ +Mon Aug 24 21:11:05 UTC 2020 - Martin Hauke + +- Update to version 4.2.2 + * Add user lists, so you can specify which users are allowed to +use which connections. + * Split up dataxfer.c into smaller files, since it was far too +large. + * Converted to SPDX license identifiers in the files. + * tcpd on the controller interface had the wrong name, make it +the same as the 3.5 release. + +--- @@ -4 +16 @@ -- Update to version 4.2.0 +- Update to version 4.2.1 Old: ser2net-4.2.1.tar.gz New: ser2net-4.2.2.tar.gz Other differences: -- ++ ser2net.spec ++ --- /var/tmp/diff_new_pack.ZVC3UX/_old 2020-08-29 20:44:20.989515259 +0200 +++ /var/tmp/diff_new_pack.ZVC3UX/_new 2020-08-29 20:44:20.993515260 +0200 @@ -17,7 +17,7 @@ Name: ser2net -Version:4.2.1 +Version:4.2.2 Release:0 Summary:Serial port to network proxy License:GPL-2.0-or-later ++ ser2net-4.2.1.tar.gz -> ser2net-4.2.2.tar.gz ++ 9232 lines of diff (skipped)
commit ser2net for openSUSE:Factory
Hello community, here is the log from the commit of package ser2net for openSUSE:Factory checked in at 2020-08-14 10:05:04 Comparing /work/SRC/openSUSE:Factory/ser2net (Old) and /work/SRC/openSUSE:Factory/.ser2net.new.3399 (New) Package is "ser2net" Fri Aug 14 10:05:04 2020 rev:13 rq:826310 version:4.2.1 Changes: --- /work/SRC/openSUSE:Factory/ser2net/ser2net.changes 2020-07-27 17:44:34.599235083 +0200 +++ /work/SRC/openSUSE:Factory/.ser2net.new.3399/ser2net.changes 2020-08-14 10:05:14.213344872 +0200 @@ -1,0 +2,10 @@ +Sun Aug 9 14:31:22 UTC 2020 - Martin Hauke + +- Update to version 4.2.0 + controller: + * Added a yaml mode for the controller interface. This should +make having a program talk to the controller much easier. + * In yaml mode for the controller interface, add asychronous +notifications to know if anything connects or disconnects. + +--- Old: ser2net-4.2.0.tar.gz New: ser2net-4.2.1.tar.gz Other differences: -- ++ ser2net.spec ++ --- /var/tmp/diff_new_pack.OLh0Um/_old 2020-08-14 10:05:16.505346035 +0200 +++ /var/tmp/diff_new_pack.OLh0Um/_new 2020-08-14 10:05:16.509346037 +0200 @@ -17,7 +17,7 @@ Name: ser2net -Version:4.2.0 +Version:4.2.1 Release:0 Summary:Serial port to network proxy License:GPL-2.0-or-later ++ ser2net-4.2.0.tar.gz -> ser2net-4.2.1.tar.gz ++ 2576 lines of diff (skipped)
commit ser2net for openSUSE:Factory
Hello community, here is the log from the commit of package ser2net for openSUSE:Factory checked in at 2020-07-27 17:42:30 Comparing /work/SRC/openSUSE:Factory/ser2net (Old) and /work/SRC/openSUSE:Factory/.ser2net.new.3592 (New) Package is "ser2net" Mon Jul 27 17:42:30 2020 rev:12 rq:822854 version:4.2.0 Changes: --- /work/SRC/openSUSE:Factory/ser2net/ser2net.changes 2020-05-26 17:21:24.696244557 +0200 +++ /work/SRC/openSUSE:Factory/.ser2net.new.3592/ser2net.changes 2020-07-27 17:44:34.599235083 +0200 @@ -1,0 +2,60 @@ +Wed Jul 8 18:53:31 UTC 2020 - Martin Hauke + +- Update to version 4.2.0 + telnet: + * There was an issue with telnet handling where it could get +into a loop talking to the remote end. + * Fix an issue where an error in a certain place could cause +closing to hang. + selector: +Allow an arbitrary number of file descriptors with epoll. With +epoll, you can set the max number of fds > FD_SETSIZE. Allow +that. + IPv6: + * There was a bug in the Linux SCTP stack dealing with IPv6 +handling that I thought was a bug in ser2net. So I looked, and +I found some issues with IPv6 in general and the way it handles +IPv4 address mapping. In the new code: +Modify the operation of an address without "ipv6," explicitly +in front of it to all V4 mapped addresses. And fix the connect +side to set V6 only on the socket if "ipv6,"is in front of it. +This means you cannot mix "ipv6," and "ipv6n4," addresses on +the same connection, and the default is now "ipv6n4" +This broke handling of things like "tcp,1234", so rework those +to only use IPv6 when it is mapped. That, in turn, broke UDP. +Or, more accurately, expose a UDP bug, so some work had to be +done to handle IPv4 mapped addresses in IPv6 by reworking +address comparison to handle that. + general: +convert gensio_raddr_to_str(), gensio_get_raddr(), and +gensio_remote_id() to use gensio_control(). Having separate +functions for those added to the API and added a lot of code +to all the intermediate layer. The function are there but +deprecated, and use the ioctls underneath them. +Have gensio snprint functions return a gensiods +Add dll visibililty handling. This is required for windows, +and makes things cleaner. As part of this, functions should +all be the right visibility now. +Lots of other little bug fixes and such. + relpkt: +There were issues with the way the base code handled certain +things. For a real protocol that might have outstanding data +to send but cannot send due to flow control, new functions +needs to be added to the base layer to account for this, and +relpkt needed to use them. +Fixed several other issues dealing with close handling and flow +control. It runs much better now. + msgdelim: +There was an issue with telnet handling where it could get into +a loop talking to the remote end. +Fix an issue where an error in a certain place could cause +closing to hang. + file descriptor based gensios: +Fixed an issue that would result in a callback being done after +close is compelete. + UDP: +As part of an added test, I found a situation where if the +upper layer doesn't accept the data for a UDP packet, the UDP +layer would not accept any more data from the socket. + +--- Old: ser2net-4.1.8.tar.gz New: ser2net-4.2.0.tar.gz Other differences: -- ++ ser2net.spec ++ --- /var/tmp/diff_new_pack.iDEJZW/_old 2020-07-27 17:44:36.391236765 +0200 +++ /var/tmp/diff_new_pack.iDEJZW/_new 2020-07-27 17:44:36.395236769 +0200 @@ -17,7 +17,7 @@ Name: ser2net -Version:4.1.8 +Version:4.2.0 Release:0 Summary:Serial port to network proxy License:GPL-2.0-or-later ++ ser2net-4.1.8.tar.gz -> ser2net-4.2.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ser2net-4.1.8/auth.c new/ser2net-4.2.0/auth.c --- old/ser2net-4.1.8/auth.c2020-05-13 00:42:57.0 +0200 +++ new/ser2net-4.2.0/auth.c2020-06-28 20:27:05.0 +0200 @@ -23,6 +23,7 @@ #include #include #include +#include "ser2net.h" /* * The next few functions are for authentication handling. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ser2net-4.1.8/configure.ac new/ser2net-4.2.0/configure.ac --- old/ser2net-4.1.8/configure.ac 2020-05-13 00:42:57.0 +0200 +++ new/ser2net-4.2.0/configure.ac 2020-06-28 20:27:05.0 +0200 @@ -1,4 +1,4 @@ -AC_INIT([ser2net],
commit ser2net for openSUSE:Factory
Hello community, here is the log from the commit of package ser2net for openSUSE:Factory checked in at 2020-05-26 17:21:09 Comparing /work/SRC/openSUSE:Factory/ser2net (Old) and /work/SRC/openSUSE:Factory/.ser2net.new.2738 (New) Package is "ser2net" Tue May 26 17:21:09 2020 rev:11 rq:807995 version:4.1.8 Changes: --- /work/SRC/openSUSE:Factory/ser2net/ser2net.changes 2020-05-16 22:26:48.921332361 +0200 +++ /work/SRC/openSUSE:Factory/.ser2net.new.2738/ser2net.changes 2020-05-26 17:21:24.696244557 +0200 @@ -1,0 +2,20 @@ +Sat May 16 14:56:56 UTC 2020 - Martin Hauke + +- Update to version 4.1.8 + * ser2net will now retry accepters and connect back connectors +if they fail to come up or get an error. + +--- +Wed Apr 29 06:32:58 UTC 2020 - Martin Hauke + +- Update to version 4.1.7 + * Fix trace files so the actually work. + * Add a sendon option to cause data to be forwarded immediately +if the given sequence is seen. + * Convert the tests to use yaml configuration. + * Allow stdin to be read as a yaml config file. + * Allow yaml config to be passed in on the command line directly. + * Fix some issues with connect back handling. + * A host of other smaller things. + +--- Old: ser2net-4.1.6.tar.gz New: ser2net-4.1.8.tar.gz Other differences: -- ++ ser2net.spec ++ --- /var/tmp/diff_new_pack.i62WUm/_old 2020-05-26 17:21:25.432246140 +0200 +++ /var/tmp/diff_new_pack.i62WUm/_new 2020-05-26 17:21:25.432246140 +0200 @@ -17,7 +17,7 @@ Name: ser2net -Version:4.1.6 +Version:4.1.8 Release:0 Summary:Serial port to network proxy License:GPL-2.0-or-later ++ ser2net-4.1.6.tar.gz -> ser2net-4.1.8.tar.gz ++ 4114 lines of diff (skipped)
commit ser2net for openSUSE:Factory
Hello community, here is the log from the commit of package ser2net for openSUSE:Factory checked in at 2020-05-16 22:26:40 Comparing /work/SRC/openSUSE:Factory/ser2net (Old) and /work/SRC/openSUSE:Factory/.ser2net.new.2738 (New) Package is "ser2net" Sat May 16 22:26:40 2020 rev:10 rq:798209 version:4.1.6 Changes: --- /work/SRC/openSUSE:Factory/ser2net/ser2net.changes 2018-09-15 15:40:48.900805760 +0200 +++ /work/SRC/openSUSE:Factory/.ser2net.new.2738/ser2net.changes 2020-05-16 22:26:48.921332361 +0200 @@ -1,0 +2,15 @@ +Tue Apr 21 10:17:48 UTC 2020 - Martin Hauke + +- Install the configuration file into the correct directory + -> %{_sysconfdir}/ser2net/ + +--- +Sun Apr 19 12:19:00 UTC 2020 - Martin Hauke + +- Update to version 4.1.6 + * upstream does not provide a changelog +- Drop patch: + * ser2net-config.patch (config is now done via YAML) +- Add BR: pkgconfig(libgensio), pkgconfig(yaml-0.1) + +--- Old: ser2net-3.5.tar.xz ser2net-config.patch New: ser2net-4.1.6.tar.gz Other differences: -- ++ ser2net.spec ++ --- /var/tmp/diff_new_pack.EgJoiq/_old 2020-05-16 22:26:51.181337001 +0200 +++ /var/tmp/diff_new_pack.EgJoiq/_new 2020-05-16 22:26:51.181337001 +0200 @@ -1,7 +1,7 @@ # # spec file for package ser2net # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,25 +12,26 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: ser2net -Version:3.5 +Version:4.1.6 Release:0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Url:https://github.com/cminyard/ser2net.git -Source: %{name}-%{version}.tar.xz -Source2:ser2net.service Summary:Serial port to network proxy License:GPL-2.0-or-later Group: Productivity/Networking/Other +URL:https://github.com/cminyard/ser2net.git +Source: https://github.com/cminyard/ser2net/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source2:ser2net.service BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool +BuildRequires: pkgconfig BuildRequires: systemd-rpm-macros -Patch0: ser2net-config.patch +BuildRequires: pkgconfig(libgensio) +BuildRequires: pkgconfig(yaml-0.1) %{?systemd_requires} %description @@ -40,18 +41,17 @@ monitoring ports, and controlling ports. %prep -%setup -q -n %{name}-%{version} -%patch0 -p1 +%setup -q %build -autoreconf -i +autoreconf -fiv %configure --disable-static -make %{?_smp_mflags} +%make_build %install %make_install -install -D -m 0644 %{name}.conf %{buildroot}/%{_sysconfdir}/%{name}.conf -install -D -m 0644 %{S:2} %{buildroot}/%{_unitdir}/ser2net.service +install -D -m 0644 %{name}.yaml %{buildroot}/%{_sysconfdir}/ser2net/%{name}.yaml +install -D -m 0644 %{SOURCE2} %{buildroot}/%{_unitdir}/ser2net.service %pre %service_add_pre ser2net.service @@ -66,11 +66,13 @@ %service_del_postun ser2net.service %files -%defattr(-,root,root) -%doc COPYING ChangeLog AUTHORS README -%{_unitdir}/ser2net.service -%config(noreplace) %{_sysconfdir}/%{name}.conf +%license COPYING +%doc ChangeLog AUTHORS README %{_sbindir}/%{name} -%{_mandir}/man8/%{name}* +%dir %{_sysconfdir}/ser2net +%config(noreplace) %{_sysconfdir}/ser2net/%{name}.yaml +%{_unitdir}/ser2net.service +%{_mandir}/man5/ser2net.yaml.5%{?ext_man} +%{_mandir}/man8/ser2net.8%{?ext_man} %changelog ++ ser2net.service ++ --- /var/tmp/diff_new_pack.EgJoiq/_old 2020-05-16 22:26:51.229337100 +0200 +++ /var/tmp/diff_new_pack.EgJoiq/_new 2020-05-16 22:26:51.27108 +0200 @@ -6,4 +6,4 @@ ExecStart=/usr/sbin/ser2net -n [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target
commit ser2net for openSUSE:Factory
Hello community, here is the log from the commit of package ser2net for openSUSE:Factory checked in at 2018-09-07 15:42:10 Comparing /work/SRC/openSUSE:Factory/ser2net (Old) and /work/SRC/openSUSE:Factory/.ser2net.new (New) Package is "ser2net" Fri Sep 7 15:42:10 2018 rev:8 rq:633751 version:3.5 Changes: --- /work/SRC/openSUSE:Factory/ser2net/ser2net.changes 2015-03-25 10:00:39.0 +0100 +++ /work/SRC/openSUSE:Factory/.ser2net.new/ser2net.changes 2018-09-07 15:43:48.966252722 +0200 @@ -1,0 +2,8 @@ +Fri Aug 17 14:24:52 UTC 2018 - ag...@suse.com + +- Update to version 3.5 + - allows to declare device aliases which enabled by-path device names + - adapted ser2net-config.patch + - builds with autoconf, add build dependencies (autoconf, automake, libtool) + +--- Old: ser2net-2.10.0.tar.gz New: ser2net-3.5.tar.xz Other differences: -- ++ ser2net.spec ++ --- /var/tmp/diff_new_pack.8ldeL3/_old 2018-09-07 15:43:49.314252350 +0200 +++ /var/tmp/diff_new_pack.8ldeL3/_new 2018-09-07 15:43:49.314252350 +0200 @@ -1,7 +1,7 @@ # # spec file for package ser2net # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,18 @@ Name: ser2net -Version:2.10.0 +Version:3.5 Release:0 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Url:http://ser2net.sourceforge.net/ -Source: http://download.sourceforge.net/ser2net/%{name}-%{version}.tar.gz +Url:https://github.com/cminyard/ser2net.git +Source: %{name}-%{version}.tar.xz Source2:ser2net.service Summary:Serial port to network proxy -License:GPL-2.0+ +License:GPL-2.0-or-later Group: Productivity/Networking/Other +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool BuildRequires: systemd-rpm-macros Patch0: ser2net-config.patch %{?systemd_requires} @@ -40,6 +43,7 @@ %setup -q -n %{name}-%{version} %patch0 -p1 %build +autoreconf -i %configure --disable-static %{__make} %{?_smp_mflags} ++ ser2net-config.patch ++ --- /var/tmp/diff_new_pack.8ldeL3/_old 2018-09-07 15:43:49.330252333 +0200 +++ /var/tmp/diff_new_pack.8ldeL3/_new 2018-09-07 15:43:49.330252333 +0200 @@ -1,6 +1,6 @@ ser2net-2.9.1.orig/ser2net.conf -+++ ser2net-2.9.1/ser2net.conf -@@ -115,26 +115,29 @@ +--- a/ser2net.conf b/ser2net.conf +@@ -275,6 +275,9 @@ CLOSESTR:close1:close str\r\n @@ -8,10 +8,11 @@ +#6969:telnet:0:/dev/ttyUSB0:115200 NONE 1STOPBIT 8DATABITS -XONXOFF -LOCAL -RTSCTS + # Don't do this by default - #CONTROLPORT:2000 + CONTROLPORT:localhost,2000 --2001:raw:600:/dev/ttyS0:9600 NONE 1STOPBIT 8DATABITS XONXOFF LOCAL -RTSCTS -+#2001:raw:600:/dev/ttyS0:9600 NONE 1STOPBIT 8DATABITS XONXOFF LOCAL -RTSCTS +@@ -323,26 +326,26 @@ + #192.168.27.3,2001:raw:600:/dev/ttyS0:9600 NONE 1STOPBIT 8DATABITS XONXOFF \ + # LOCAL -RTSCTS #2002:raw:600:/dev/ttyS1:9600 NONE 1STOPBIT 8DATABITS XONXOFF LOCAL -RTSCTS -2003:raw:5:/dev/ttyS2:9600 -2004:raw:5:/dev/ttyS3:115200 @@ -32,18 +33,53 @@ -3003:telnet:0:/dev/ttyS2:9600 signature1 rs485=rs485port1 -3004:telnet:0:/dev/ttyS3:115200 -3005:telnet:0:/dev/ttyS4:9600 --3006:telnet:0:/dev/ttyS5:9600 open1 --3007:telnet:0:/dev/ttyS6:9600 close1 +-3006:telnet:0:/dev/ttyS5:9600 open1 net-to-dev-bufsize=128 +-3007:telnet:0:/dev/ttyS6:9600 close1 dev-to-net-bufsize=128 -5001:rawlp:10:/dev/lp0 +- +-3020:telnet:0:/dev/ttyUSB0:115200 banner1 remctl telnet_brk_on_sync -chardelay \ +- open1 max-connections=3 +-udp,3020:raw:10:/dev/ttyUSB0:115200 banner1 remctl telnet_brk_on_sync \ +- -chardelay open1 max-connections=1 +#3003:telnet:0:/dev/ttyS2:9600 banner3 +#3003:telnet:0:/dev/ttyS2:9600 signature1 rs485=rs485port1 +#3004:telnet:0:/dev/ttyS3:115200 +#3005:telnet:0:/dev/ttyS4:9600 -+#3006:telnet:0:/dev/ttyS5:9600 open1 -+#3007:telnet:0:/dev/ttyS6:9600 close1 ++#3006:telnet:0:/dev/ttyS5:9600 open1 net-to-dev-bufsize=128 ++#3007:telnet:0:/dev/ttyS6:9600 close1 dev-to-net-bufsize=128 +#5001:rawlp:10:/dev/lp0 ++ ++#3020:telnet:0:/dev/ttyUSB0:115200 banner1 remctl telnet_brk_on_sync -chardelay \ ++# open1 max-connections=3 ++#udp,3020:raw:10:/dev/ttyUSB0:115200 banner1 remctl telnet_brk_on_sync \ ++# -chardelay open1 max-connections=1 + + # Bind only to ipv4 example + #ipv4,3020:telnet:0:/dev/ttyUSB0:115200 remctl +@@ -362,18 +365,18 @@ +
commit ser2net for openSUSE:Factory
Hello community, here is the log from the commit of package ser2net for openSUSE:Factory checked in at 2015-03-25 10:00:38 Comparing /work/SRC/openSUSE:Factory/ser2net (Old) and /work/SRC/openSUSE:Factory/.ser2net.new (New) Package is ser2net Changes: --- /work/SRC/openSUSE:Factory/ser2net/ser2net.changes 2014-03-21 14:06:38.0 +0100 +++ /work/SRC/openSUSE:Factory/.ser2net.new/ser2net.changes 2015-03-25 10:00:39.0 +0100 @@ -1,0 +2,50 @@ +Mon Mar 23 01:37:22 UTC 2015 - p.drou...@gmail.com + +- Update to version 2.10.0 + * utils.c, controller.c, dataxfer.c: Return an errno from + scan_tcp_port() so it can return an out of memory error. + * controller.c, controller.h, ser2net.c: Add an out of memory + return code from controller_init(). + * utils.c, utils.h, dataxfer.c, controller.c: Rework the handling + of addresses to work properly with all the return values of + getaddrinfo, and to prefer IPV6 over IPV4 when opening the socket. + This means if you specify a number, it will open the IPV6 ::,port + address first. This was a big cleanup, and moved a lot of the + base socket handling into utils.h. + * dataxfer.c: Rework the stdio handling so it doesn't rely on the + port number in the address, since that is now gone. + * dataxfer.c: Set port-closestr to NULL when freeing it to avoid + a double-free. + * readconfig.c, ser2net.8: Rework the input handling so an IPV6 + can be specified as part of the portnum parameter. This was hard + because IPV6 addresses have ':' in them. Basically, if there is a + , in the port specification, assume that everything from the + beginning of the line to the ':' after the ',' is the port number. + * utils.c, utils.h, dataxfer.c, controller.c: Modified address + handling so that ser2net opens all the addresses returned by + getaddrinfo, not just the first one. That should make things + work correctly in a lot more cases. + * io.h, devcfg.h, devcfg.c, dataxfer.c, buffer.c, buffer.h: Abstract + the device I/O operations. + * utils.c, utils.h, controller.h, controller.c: Fix some const + correctness issues + * conroller.c, controller.h: Add printf-style output. + * dataxfer.h, dataxfer.c, devcfg.h, devcfg.c, io.h, readconfig: + Rework the error and output handling to make it more flexible, so + errors can be output with useful information from the lower + * utils.h, readconfig.c, dataxfer.c: Rework the find_xxx + functions to return a strdup of the string. + * dataxfer.c, dataxfer.h, devcfg.h: Remove the dinfo structure + and move the contents into the port structure, and remove the + now empty devcfg.h. + * configure.ac: Minor rework. + * ser2net.h, Makefile.am: Move some things into a new + ser2net.h file. + * devcfg.c, controller.c, dataxfer.c, ser2net.c, utils.c: Add the + ser2net.h include file. + * dataxfer.c: Fix some EAGAIN handling. +- Require systemd-rpm-macros instead of pkgconfig(systemd) +- Remove redundant %clean section +- Update ser2net-config.patch + +--- Old: ser2net-2.9.1.tar.gz New: ser2net-2.10.0.tar.gz Other differences: -- ++ ser2net.spec ++ --- /var/tmp/diff_new_pack.DOaDt1/_old 2015-03-25 10:00:40.0 +0100 +++ /var/tmp/diff_new_pack.DOaDt1/_new 2015-03-25 10:00:40.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package ser2net # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: ser2net -Version:2.9.1 +Version:2.10.0 Release:0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Url:http://ser2net.sourceforge.net/ @@ -26,7 +26,7 @@ Summary:Serial port to network proxy License:GPL-2.0+ Group: Productivity/Networking/Other -BuildRequires: pkgconfig(systemd) +BuildRequires: systemd-rpm-macros Patch0: ser2net-config.patch %{?systemd_requires} @@ -48,9 +48,6 @@ %{__install} -D -m 0644 %{name}.conf %{buildroot}%{_sysconfdir}/%{name}.conf %{__install} -D -m 0644 %{S:2} %{buildroot}%{_unitdir}/ser2net.service -%clean -rm -rf $RPM_BUILD_ROOT - %pre %service_add_pre ser2net.service ++ ser2net-2.9.1.tar.gz - ser2net-2.10.0.tar.gz ++ 10076 lines of diff (skipped) ++ ser2net-config.patch ++ --- /var/tmp/diff_new_pack.DOaDt1/_old 2015-03-25
commit ser2net for openSUSE:Factory
Hello community, here is the log from the commit of package ser2net for openSUSE:Factory checked in at 2014-03-21 14:06:37 Comparing /work/SRC/openSUSE:Factory/ser2net (Old) and /work/SRC/openSUSE:Factory/.ser2net.new (New) Package is ser2net Changes: --- /work/SRC/openSUSE:Factory/ser2net/ser2net.changes 2013-01-07 17:41:20.0 +0100 +++ /work/SRC/openSUSE:Factory/.ser2net.new/ser2net.changes 2014-03-21 14:06:38.0 +0100 @@ -1,0 +2,10 @@ +Thu Mar 20 19:47:15 UTC 2014 - crrodrig...@opensuse.org + +- version 2.9.1 +* drop tcpwrappers support +* Fix a bug in format strings where hex element (\x) + would have the wrong values for a-f. +* Make RFC2217 signature configurable: +* The baudrate, that will be sent to the client, +was converted twice. +--- Old: ser2net-2.8-rc3.tar.gz New: ser2net-2.9.1.tar.gz Other differences: -- ++ ser2net.spec ++ --- /var/tmp/diff_new_pack.zZQGz6/_old 2014-03-21 14:06:39.0 +0100 +++ /var/tmp/diff_new_pack.zZQGz6/_new 2014-03-21 14:06:39.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package ser2net # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,20 +16,17 @@ # -%define extra_ver rc3 - Name: ser2net -Version:2.8 +Version:2.9.1 Release:0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Url:http://ser2net.sourceforge.net/ -Source: http://download.sourceforge.net/ser2net/%{name}-%{version}-%{extra_ver}.tar.gz +Source: http://download.sourceforge.net/ser2net/%{name}-%{version}.tar.gz Source2:ser2net.service Summary:Serial port to network proxy License:GPL-2.0+ Group: Productivity/Networking/Other BuildRequires: pkgconfig(systemd) -BuildRequires: tcpd-devel Patch0: ser2net-config.patch %{?systemd_requires} @@ -40,10 +37,10 @@ monitoring ports, and controlling ports. %prep -%setup -q -n %{name}-%{version}-%{extra_ver} -%patch0 +%setup -q -n %{name}-%{version} +%patch0 -p1 %build -%configure --disable-static --with-tcp-wrappers +%configure --disable-static %{__make} %{?_smp_mflags} %install ++ ser2net-2.8-rc3.tar.gz - ser2net-2.9.1.tar.gz ++ 31692 lines of diff (skipped) ++ ser2net-config.patch ++ --- /var/tmp/diff_new_pack.zZQGz6/_old 2014-03-21 14:06:39.0 +0100 +++ /var/tmp/diff_new_pack.zZQGz6/_new 2014-03-21 14:06:39.0 +0100 @@ -1,13 +1,16 @@ ser2net.conf.orig -+++ ser2net.conf -@@ -105,19 +105,22 @@ CLOSESTR:close1:close str\r\n +--- ser2net-2.9.1.orig/ser2net.conf ser2net-2.9.1/ser2net.conf +@@ -108,23 +108,26 @@ OPENSTR:open1:Open str\r\n + + CLOSESTR:close1:close str\r\n + ++#example for modern USB-serial adapters, telnet to port 6969 ++#6969:telnet:0:/dev/ttyUSB0:115200 NONE 1STOPBIT 8DATABITS -XONXOFF -LOCAL -RTSCTS ++ # Don't do this by default #CONTROLPORT:2000 -2001:raw:600:/dev/ttyS0:9600 NONE 1STOPBIT 8DATABITS XONXOFF LOCAL -RTSCTS -+#example for modern USB-serial adapters, telnet to port 6969 -+#6969:telnet:0:/dev/ttyUSB0:115200 NONE 1STOPBIT 8DATABITS -XONXOFF -LOCAL -RTSCTS -+# +#2001:raw:600:/dev/ttyS0:9600 NONE 1STOPBIT 8DATABITS XONXOFF LOCAL -RTSCTS #2002:raw:600:/dev/ttyS1:9600 NONE 1STOPBIT 8DATABITS XONXOFF LOCAL -RTSCTS -2003:raw:5:/dev/ttyS2:9600 @@ -26,12 +29,14 @@ +#3011:telnet:3:/dev/ttyS0:19200 banner2 #3002:telnet:0:/dev/ttyS1:9600 -3003:telnet:0:/dev/ttyS2:9600 banner3 +-3003:telnet:0:/dev/ttyS2:9600 signature1 -3004:telnet:0:/dev/ttyS3:115200 -3005:telnet:0:/dev/ttyS4:9600 -3006:telnet:0:/dev/ttyS5:9600 open1 -3007:telnet:0:/dev/ttyS6:9600 close1 -5001:rawlp:10:/dev/lp0 +#3003:telnet:0:/dev/ttyS2:9600 banner3 ++#3003:telnet:0:/dev/ttyS2:9600 signature1 +#3004:telnet:0:/dev/ttyS3:115200 +#3005:telnet:0:/dev/ttyS4:9600 +#3006:telnet:0:/dev/ttyS5:9600 open1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ser2net for openSUSE:Factory
Hello community, here is the log from the commit of package ser2net for openSUSE:Factory checked in at 2013-01-07 17:41:18 Comparing /work/SRC/openSUSE:Factory/ser2net (Old) and /work/SRC/openSUSE:Factory/.ser2net.new (New) Package is ser2net, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/ser2net/ser2net.changes 2012-12-28 22:49:41.0 +0100 +++ /work/SRC/openSUSE:Factory/.ser2net.new/ser2net.changes 2013-01-07 17:41:20.0 +0100 @@ -1,0 +2,7 @@ +Fri Dec 21 20:21:12 UTC 2012 - crrodrig...@opensuse.org + +- Enable tcp-wrappers support +- ser2net-config.patch Do not open any serial2net connections + by default, it is up to the user to do so. + +--- New: ser2net-config.patch Other differences: -- ++ ser2net.spec ++ --- /var/tmp/diff_new_pack.bnOKm8/_old 2013-01-07 17:41:21.0 +0100 +++ /var/tmp/diff_new_pack.bnOKm8/_new 2013-01-07 17:41:21.0 +0100 @@ -27,8 +27,10 @@ Source2:ser2net.service Summary:Serial port to network proxy License:GPL-2.0+ -Group: Productivity/Networking +Group: Productivity/Networking/Other BuildRequires: pkgconfig(systemd) +BuildRequires: tcpd-devel +Patch0: ser2net-config.patch %{?systemd_requires} %description @@ -39,9 +41,9 @@ %prep %setup -q -n %{name}-%{version}-%{extra_ver} - +%patch0 %build -%configure --disable-static +%configure --disable-static --with-tcp-wrappers %{__make} %{?_smp_mflags} %install ++ ser2net-config.patch ++ --- ser2net.conf.orig +++ ser2net.conf @@ -105,19 +105,22 @@ CLOSESTR:close1:close str\r\n # Don't do this by default #CONTROLPORT:2000 -2001:raw:600:/dev/ttyS0:9600 NONE 1STOPBIT 8DATABITS XONXOFF LOCAL -RTSCTS +#example for modern USB-serial adapters, telnet to port 6969 +#6969:telnet:0:/dev/ttyUSB0:115200 NONE 1STOPBIT 8DATABITS -XONXOFF -LOCAL -RTSCTS +# +#2001:raw:600:/dev/ttyS0:9600 NONE 1STOPBIT 8DATABITS XONXOFF LOCAL -RTSCTS #2002:raw:600:/dev/ttyS1:9600 NONE 1STOPBIT 8DATABITS XONXOFF LOCAL -RTSCTS -2003:raw:5:/dev/ttyS2:9600 -2004:raw:5:/dev/ttyS3:115200 -2005:raw:5:/dev/ttyS4:9600 -2006:raw:5:/dev/ttyS5:9600 -2007:raw:5:/dev/ttyS6:9600 tw=tw1 tr=tr1 -3001:telnet:0:/dev/ttyS0:19200 remctl banner1 -3011:telnet:3:/dev/ttyS0:19200 banner2 +#2003:raw:5:/dev/ttyS2:9600 +#2004:raw:5:/dev/ttyS3:115200 +#2005:raw:5:/dev/ttyS4:9600 +#2006:raw:5:/dev/ttyS5:9600 +#2007:raw:5:/dev/ttyS6:9600 tw=tw1 tr=tr1 +#3001:telnet:0:/dev/ttyS0:19200 remctl banner1 +#3011:telnet:3:/dev/ttyS0:19200 banner2 #3002:telnet:0:/dev/ttyS1:9600 -3003:telnet:0:/dev/ttyS2:9600 banner3 -3004:telnet:0:/dev/ttyS3:115200 -3005:telnet:0:/dev/ttyS4:9600 -3006:telnet:0:/dev/ttyS5:9600 open1 -3007:telnet:0:/dev/ttyS6:9600 close1 -5001:rawlp:10:/dev/lp0 +#3003:telnet:0:/dev/ttyS2:9600 banner3 +#3004:telnet:0:/dev/ttyS3:115200 +#3005:telnet:0:/dev/ttyS4:9600 +#3006:telnet:0:/dev/ttyS5:9600 open1 +#3007:telnet:0:/dev/ttyS6:9600 close1 +#5001:rawlp:10:/dev/lp0 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org