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.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ser2net.new/ser2net.changes     2015-03-25 
10:00:39.000000000 +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.000000000 +0100
+++ /var/tmp/diff_new_pack.DOaDt1/_new  2015-03-25 10:00:40.000000000 +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 10:00:40.000000000 +0100
+++ /var/tmp/diff_new_pack.DOaDt1/_new  2015-03-25 10:00:40.000000000 +0100
@@ -1,6 +1,6 @@
 --- ser2net-2.9.1.orig/ser2net.conf
 +++ ser2net-2.9.1/ser2net.conf
-@@ -108,23 +108,26 @@ OPENSTR:open1:Open str\r\n
+@@ -115,26 +115,29 @@
  
  CLOSESTR:close1:close str\r\n
  
@@ -29,16 +29,21 @@
 +#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
+-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
 -5001:rawlp:10:/dev/lp0
 +#3003:telnet:0:/dev/ttyS2:9600 banner3
-+#3003:telnet:0:/dev/ttyS2:9600 signature1
++#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
 +#5001:rawlp:10:/dev/lp0
+ 
+-3020:telnet:0:/dev/ttyUSB0:9600 banner1 remctl asdfasd
+-3021:telnet:0:/dev/ttyUSB1:9600 banner2 open1 close1 remctl
++#3020:telnet:0:/dev/ttyUSB0:9600 banner1 remctl asdfasd
++#3021:telnet:0:/dev/ttyUSB1:9600 banner2 open1 close1 remctl

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to