Hi,
this is a minor update of the srcpd daemon:
the list of bug fixes/improvements:
Fixed Bug:
* Fix Lenz GA address handling (bug introduced in version 2.0.11).
* Fix usage of XEvtLok in IB module.
* Fix baud rate negotiation in IB module.
* Reject INIT GL if device is locked
New Features
* Support for up to 28 GL functions in Lenz module.
* Add missing TERM GA function.
* Send info message for SET SM, INIT SM, TERM SM o Provide 28 speed steps for
DCC in dll module.
* Read initial power state from IB on startup.
* Provide functions F17 - F28 in IB module (OpenDCC)
* IB module: Show firmware versions in readable manner.
General Changes
* Improve conectivity to usb2serial adapters for Loconet module.
* Support for OpenBSD.
patch attached, since there is an umlaut inside, which xclip doesn't seem to
like, but
patch handles it well for me.
Only minimal tests done, daemon starts up, with default config, and spdrs60
connected
to it. Same as with spdrs60, I don't have my model railroad up and running, so
cannot really
test. Is there someone around running it to steer a model railroad?
Otherwise, OK?
cheers,
Sebastian
Index: Makefile
===================================================================
RCS file: /cvs/ports/misc/srcpd/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile 11 Mar 2013 11:23:58 -0000 1.8
+++ Makefile 25 Oct 2014 16:50:52 -0000
@@ -2,9 +2,8 @@
COMMENT = daemon to control digital model railroad systems
-DISTNAME = srcpd-2.1.1
+DISTNAME = srcpd-2.1.2
CATEGORIES = misc net
-REVISION = 5
HOMEPAGE = http://srcpd.sourceforge.net/
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=srcpd/}
Index: distinfo
===================================================================
RCS file: /cvs/ports/misc/srcpd/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- distinfo 11 Dec 2010 11:14:54 -0000 1.1.1.1
+++ distinfo 25 Oct 2014 16:50:52 -0000
@@ -1,5 +1,2 @@
-MD5 (srcpd-2.1.1.tar.gz) = xcHC3rAkEYsxcHgHQDgBfw==
-RMD160 (srcpd-2.1.1.tar.gz) = 3bz3a9Oh8O99CxxHpTsHQ2mu2Sg=
-SHA1 (srcpd-2.1.1.tar.gz) = shxP4wA4yURMMIZqLmH8wWnNd4k=
-SHA256 (srcpd-2.1.1.tar.gz) = 6bIAybarnHv/Lo33zNkgiv9B7tYP5XHOmPZ+IuMacjQ=
-SIZE (srcpd-2.1.1.tar.gz) = 344019
+SHA256 (srcpd-2.1.2.tar.gz) = /CdwCDu3ZBK6B0bCW0PiXbzIwv0Y1jJwdT8v3hPXVd0=
+SIZE (srcpd-2.1.2.tar.gz) = 351114
Index: patches/patch-Makefile_in
===================================================================
RCS file: /cvs/ports/misc/srcpd/patches/patch-Makefile_in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-Makefile_in
--- patches/patch-Makefile_in 11 Dec 2010 11:14:54 -0000 1.1.1.1
+++ patches/patch-Makefile_in 25 Oct 2014 16:50:52 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2010/12/11 11:14:54 sebastia Exp $
---- Makefile.in.orig Fri Dec 3 17:17:04 2010
-+++ Makefile.in Fri Dec 3 17:17:25 2010
-@@ -681,7 +681,7 @@ info: info-recursive
+--- Makefile.in.orig Sat Jan 26 18:11:52 2013
++++ Makefile.in Sat Oct 25 12:53:50 2014
+@@ -734,7 +734,7 @@ info: info-recursive
info-am:
Index: patches/patch-configure_in
===================================================================
RCS file: /cvs/ports/misc/srcpd/patches/patch-configure_in,v
retrieving revision 1.1
diff -u -r1.1 patch-configure_in
--- patches/patch-configure_in 9 Jul 2012 14:54:26 -0000 1.1
+++ patches/patch-configure_in 25 Oct 2014 16:50:52 -0000
@@ -1,6 +1,6 @@
$OpenBSD: patch-configure_in,v 1.1 2012/07/09 14:54:26 naddy Exp $
---- configure.in.orig Mon Jul 9 15:13:12 2012
-+++ configure.in Mon Jul 9 15:15:41 2012
+--- configure.in.orig Sat Jan 26 18:11:01 2013
++++ configure.in Sat Oct 25 12:53:50 2014
@@ -38,7 +38,7 @@ AC_ARG_ENABLE(ddl,
[with_DLL="$enableval"], [with_DDL=yes])
if test "$with_DDL" = "yes"; then
@@ -100,7 +100,7 @@
fi
AM_CONDITIONAL(USE_ZIMO, test "$with_ZIMO" = yes)
-@@ -320,7 +320,7 @@ if test "$with_SELECTRIX" != "yes"; then echo " sel
+@@ -323,7 +323,7 @@ if test "$with_SELECTRIX" != "yes"; then echo " sel
if test "$with_ZIMO" != "yes"; then echo " zimo"; fi
echo
Index: patches/patch-man_de_srcpd_conf_5
===================================================================
RCS file: /cvs/ports/misc/srcpd/patches/patch-man_de_srcpd_conf_5,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-man_de_srcpd_conf_5
--- patches/patch-man_de_srcpd_conf_5 11 Dec 2010 11:14:54 -0000 1.1.1.1
+++ patches/patch-man_de_srcpd_conf_5 25 Oct 2014 16:50:52 -0000
@@ -1,6 +1,6 @@
$OpenBSD: patch-man_de_srcpd_conf_5,v 1.1.1.1 2010/12/11 11:14:54 sebastia Exp $
---- man/de/srcpd.conf.5.orig Fri Dec 3 17:21:36 2010
-+++ man/de/srcpd.conf.5 Fri Dec 3 17:22:08 2010
+--- man/de/srcpd.conf.5.orig Sun Oct 28 18:45:11 2012
++++ man/de/srcpd.conf.5 Sat Oct 25 12:53:48 2014
@@ -52,8 +52,8 @@ vorkonfigurierten Bus. Sie hat den folgenden Aufbau:
<server>
<tcp-port>4303</tcp-port>
@@ -12,7 +12,7 @@
</server>
<verbosity>5</verbosity>
</bus>
-@@ -251,14 +251,14 @@ username
+@@ -256,14 +256,14 @@ username
Benutzerkennung, unter der
.IR srcpd
auf dem System läuft. Voreingestellt ist
Index: patches/patch-man_srcpd_conf_5
===================================================================
RCS file: /cvs/ports/misc/srcpd/patches/patch-man_srcpd_conf_5,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-man_srcpd_conf_5
--- patches/patch-man_srcpd_conf_5 11 Dec 2010 11:14:54 -0000 1.1.1.1
+++ patches/patch-man_srcpd_conf_5 25 Oct 2014 16:50:52 -0000
@@ -1,6 +1,6 @@
$OpenBSD: patch-man_srcpd_conf_5,v 1.1.1.1 2010/12/11 11:14:54 sebastia Exp $
---- man/srcpd.conf.5.orig Fri Dec 3 17:21:01 2010
-+++ man/srcpd.conf.5 Fri Dec 3 17:21:28 2010
+--- man/srcpd.conf.5.orig Sun Oct 28 18:46:50 2012
++++ man/srcpd.conf.5 Sat Oct 25 12:53:48 2014
@@ -39,8 +39,8 @@ default settings and an example bus configuration.
<server>
<tcp-port>4303</tcp-port>
@@ -12,7 +12,7 @@
</server>
<verbosity>5</verbosity>
</bus>
-@@ -202,12 +202,12 @@ is
+@@ -204,12 +204,12 @@ is
.TP
username
srcpd runs under this user. Default is
Index: patches/patch-src_clientservice_c
===================================================================
RCS file: patches/patch-src_clientservice_c
diff -N patches/patch-src_clientservice_c
--- patches/patch-src_clientservice_c 11 Dec 2010 11:14:54 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
-$OpenBSD: patch-src_clientservice_c,v 1.1.1.1 2010/12/11 11:14:54 sebastia Exp $
---- src/clientservice.c.orig Sun Nov 28 19:02:08 2010
-+++ src/clientservice.c Sun Nov 28 19:02:23 2010
-@@ -14,6 +14,7 @@
- */
-
- #include <errno.h>
-+#include <sys/types.h>
- #include <sys/socket.h>
-
- #include "clientservice.h"
Index: patches/patch-src_loconet_c
===================================================================
RCS file: patches/patch-src_loconet_c
diff -N patches/patch-src_loconet_c
--- patches/patch-src_loconet_c 11 Dec 2010 11:14:54 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,20 +0,0 @@
-$OpenBSD: patch-src_loconet_c,v 1.1.1.1 2010/12/11 11:14:54 sebastia Exp $
---- src/loconet.c.orig Mon Mar 1 21:21:37 2010
-+++ src/loconet.c Tue Dec 7 20:03:27 2010
-@@ -11,6 +11,7 @@
- #include <sys/types.h>
- #include <sys/socket.h>
- #include <sys/ioctl.h>
-+#include <netinet/in.h>
-
- #include "config.h"
- #ifdef HAVE_LINUX_SERIAL_H
-@@ -254,7 +255,7 @@ static int init_lineLOCONET_lbserver(bus_t busnumber)
-
- /* Set preferred network connection options, for Cygwin use IPv4-only
- * as IPv6 is not supported yet */
--#ifdef __CYGWIN__
-+#if defined(__CYGWIN__) || defined(__OpenBSD__)
- hi.ai_family = AF_INET;
- hi.ai_protocol = IPPROTO_TCP;
- #else
Index: patches/patch-src_netservice_c
===================================================================
RCS file: patches/patch-src_netservice_c
diff -N patches/patch-src_netservice_c
--- patches/patch-src_netservice_c 9 Jul 2012 14:54:26 -0000 1.3
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
-$OpenBSD: patch-src_netservice_c,v 1.3 2012/07/09 14:54:26 naddy Exp $
---- src/netservice.c.orig Mon Jul 9 15:06:00 2012
-+++ src/netservice.c Mon Jul 9 15:08:54 2012
-@@ -6,6 +6,7 @@
- *
- */
-
-+#include <netinet/in.h>
- #include <arpa/inet.h>
- #include <errno.h>
- #include <grp.h>
Index: patches/patch-src_srcp-command_c
===================================================================
RCS file: patches/patch-src_srcp-command_c
diff -N patches/patch-src_srcp-command_c
--- patches/patch-src_srcp-command_c 11 Dec 2010 11:14:54 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
-$OpenBSD: patch-src_srcp-command_c,v 1.1.1.1 2010/12/11 11:14:54 sebastia Exp $
---- src/srcp-command.c.orig Sun Nov 28 19:18:17 2010
-+++ src/srcp-command.c Sun Nov 28 19:18:30 2010
-@@ -6,6 +6,7 @@
-
- #include <errno.h>
- #include <string.h>
-+#include <sys/types.h>
- #include <sys/socket.h>
-
- #include "config-srcpd.h"