SHA256
1
0
forked from pool/ser2net

Accepting request 292380 from home:posophe:branches:network:utilities

update

OBS-URL: https://build.opensuse.org/request/show/292380
OBS-URL: https://build.opensuse.org/package/show/network:utilities/ser2net?expand=0&rev=9
This commit is contained in:
2015-03-23 08:08:33 +00:00
committed by Git OBS Bridge
parent e50cbbbbfb
commit 61f21e4b9c
5 changed files with 64 additions and 12 deletions

View File

@@ -1,3 +1,53 @@
-------------------------------------------------------------------
Mon Mar 23 01:37:22 UTC 2015 - p.drouand@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
-------------------------------------------------------------------
Thu Mar 20 19:47:15 UTC 2014 - crrodriguez@opensuse.org