Hello community,

here is the log from the commit of package librelp for openSUSE:Factory checked 
in at 2017-06-07 09:50:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/librelp (Old)
 and      /work/SRC/openSUSE:Factory/.librelp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "librelp"

Wed Jun  7 09:50:30 2017 rev:30 rq:499444 version:1.2.14

Changes:
--------
--- /work/SRC/openSUSE:Factory/librelp/librelp.changes  2017-02-26 
17:02:01.373733218 +0100
+++ /work/SRC/openSUSE:Factory/.librelp.new/librelp.changes     2017-06-07 
09:50:33.435943710 +0200
@@ -1,0 +2,6 @@
+Mon May 29 15:46:36 UTC 2017 - astie...@suse.com
+
+- librelp 1.2.14:
+  * API extension: add relpSrvSetMaxDataSize()
+
+-------------------------------------------------------------------

Old:
----
  librelp-1.2.13.tar.gz

New:
----
  librelp-1.2.14.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ librelp.spec ++++++
--- /var/tmp/diff_new_pack.v7TYmh/_old  2017-06-07 09:50:34.391808625 +0200
+++ /var/tmp/diff_new_pack.v7TYmh/_new  2017-06-07 09:50:34.391808625 +0200
@@ -18,7 +18,7 @@
 
 %define library_name librelp0
 Name:           librelp
-Version:        1.2.13
+Version:        1.2.14
 Release:        0
 Summary:        A reliable logging library
 License:        GPL-3.0+

++++++ librelp-1.2.13.tar.gz -> librelp-1.2.14.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librelp-1.2.13/ChangeLog new/librelp-1.2.14/ChangeLog
--- old/librelp-1.2.13/ChangeLog        2017-02-20 08:08:42.000000000 +0100
+++ new/librelp-1.2.14/ChangeLog        2017-05-29 08:36:37.000000000 +0200
@@ -1,4 +1,8 @@
 ----------------------------------------------------------------------
+Version 1.2.14 - 2017-05-29
+- API extension: add relpSrvSetMaxDataSize()
+  Thanks to Nathan Brown for the patch.
+----------------------------------------------------------------------
 Version 1.2.13 - 2017-02-20
 - make build under BSD
 - bugfix: duplicated lines after server reconnect
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librelp-1.2.13/Makefile.in 
new/librelp-1.2.14/Makefile.in
--- old/librelp-1.2.13/Makefile.in      2017-02-20 08:10:48.000000000 +0100
+++ new/librelp-1.2.14/Makefile.in      2017-05-29 08:37:25.000000000 +0200
@@ -192,8 +192,8 @@
 DIST_SUBDIRS = $(SUBDIRS)
 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
        $(srcdir)/relp.pc.in AUTHORS COPYING ChangeLog INSTALL NEWS \
-       README compile config.guess config.sub depcomp install-sh \
-       ltmain.sh missing
+       README compile config.guess config.sub install-sh ltmain.sh \
+       missing
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 distdir = $(PACKAGE)-$(VERSION)
 top_distdir = $(distdir)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librelp-1.2.13/configure new/librelp-1.2.14/configure
--- old/librelp-1.2.13/configure        2017-02-20 08:10:48.000000000 +0100
+++ new/librelp-1.2.14/configure        2017-05-29 08:37:24.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for librelp 1.2.13.
+# Generated by GNU Autoconf 2.69 for librelp 1.2.14.
 #
 # Report bugs to <rgerha...@adiscon.com>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='librelp'
 PACKAGE_TARNAME='librelp'
-PACKAGE_VERSION='1.2.13'
-PACKAGE_STRING='librelp 1.2.13'
+PACKAGE_VERSION='1.2.14'
+PACKAGE_STRING='librelp 1.2.14'
 PACKAGE_BUGREPORT='rgerha...@adiscon.com'
 PACKAGE_URL=''
 
@@ -1337,7 +1337,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures librelp 1.2.13 to adapt to many kinds of systems.
+\`configure' configures librelp 1.2.14 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1408,7 +1408,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of librelp 1.2.13:";;
+     short | recursive ) echo "Configuration of librelp 1.2.14:";;
    esac
   cat <<\_ACEOF
 
@@ -1528,7 +1528,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-librelp configure 1.2.13
+librelp configure 1.2.14
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2054,7 +2054,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by librelp $as_me 1.2.13, which was
+It was created by librelp $as_me 1.2.14, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2917,7 +2917,7 @@
 
 # Define the identity of the package.
  PACKAGE='librelp'
- VERSION='1.2.13'
+ VERSION='1.2.14'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3032,7 +3032,7 @@
 
 # Define the identity of the package.
  PACKAGE='librelp'
- VERSION='1.2.13'
+ VERSION='1.2.14'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -13785,7 +13785,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by librelp $as_me 1.2.13, which was
+This file was extended by librelp $as_me 1.2.14, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -13851,7 +13851,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-librelp config.status 1.2.13
+librelp config.status 1.2.14
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librelp-1.2.13/configure.ac 
new/librelp-1.2.14/configure.ac
--- old/librelp-1.2.13/configure.ac     2017-02-20 08:09:22.000000000 +0100
+++ new/librelp-1.2.14/configure.ac     2017-05-29 08:36:58.000000000 +0200
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.61)
-AC_INIT([librelp], [1.2.13], [rgerha...@adiscon.com])
+AC_INIT([librelp], [1.2.14], [rgerha...@adiscon.com])
 AM_INIT_AUTOMAKE
 AM_INIT_AUTOMAKE
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librelp-1.2.13/src/Makefile.am 
new/librelp-1.2.14/src/Makefile.am
--- old/librelp-1.2.13/src/Makefile.am  2016-07-18 11:01:48.000000000 +0200
+++ new/librelp-1.2.14/src/Makefile.am  2017-05-29 08:35:54.000000000 +0200
@@ -35,6 +35,8 @@
        cmdif.h
 librelp_la_CPPFLAGS = $(PTHREADS_CFLAGS) $(GNUTLS_CFLAGS)
 librelp_la_LIBADD = $(rt_libs) $(GNUTLS_LIBS)
-librelp_la_LDFLAGS = -version-info 2:0:2
+# info on version-info:
+# 
http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
+librelp_la_LDFLAGS = -version-info 3:0:3
 
 include_HEADERS = librelp.h
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librelp-1.2.13/src/Makefile.in 
new/librelp-1.2.14/src/Makefile.in
--- old/librelp-1.2.13/src/Makefile.in  2017-02-20 08:10:48.000000000 +0100
+++ new/librelp-1.2.14/src/Makefile.in  2017-05-29 08:37:25.000000000 +0200
@@ -370,7 +370,9 @@
 
 librelp_la_CPPFLAGS = $(PTHREADS_CFLAGS) $(GNUTLS_CFLAGS)
 librelp_la_LIBADD = $(rt_libs) $(GNUTLS_LIBS)
-librelp_la_LDFLAGS = -version-info 2:0:2
+# info on version-info:
+# 
http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
+librelp_la_LDFLAGS = -version-info 3:0:3
 include_HEADERS = librelp.h
 all: all-am
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librelp-1.2.13/src/librelp.h 
new/librelp-1.2.14/src/librelp.h
--- old/librelp-1.2.13/src/librelp.h    2016-11-23 13:52:21.000000000 +0100
+++ new/librelp-1.2.14/src/librelp.h    2017-04-20 11:54:58.000000000 +0200
@@ -207,6 +207,7 @@
 relpRetVal relpSrvSetPrivKey(relpSrv_t *pThis, char *cert);
 relpRetVal relpSrvSetAuthMode(relpSrv_t *pThis, char *mode);
 relpRetVal relpSrvAddPermittedPeer(relpSrv_t *pThis, char *peer);
+relpRetVal relpSrvSetMaxDataSize(relpSrv_t *pThis, size_t maxSize);
 
 /* exposed relp client functions */
 relpRetVal relpCltConnect(relpClt_t *pThis, int protFamily, unsigned char 
*port, unsigned char *host);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librelp-1.2.13/src/relpsess.c 
new/librelp-1.2.14/src/relpsess.c
--- old/librelp-1.2.13/src/relpsess.c   2017-02-20 08:07:05.000000000 +0100
+++ new/librelp-1.2.14/src/relpsess.c   2017-04-20 11:54:58.000000000 +0200
@@ -197,6 +197,7 @@
 
        CHKRet(relpSessConstruct(&pThis, pSrv->pEngine, RELP_SRV_CONN, pSrv));
        CHKRet(relpTcpAcceptConnReq(&pThis->pTcp, sock, pSrv));
+       CHKRet(relpSessSetMaxDataSize(pThis, pSrv->maxDataSize));
 
        *ppThis = pThis;
 
@@ -990,6 +991,13 @@
        LEAVE_RELPFUNC;
 }
 
+relpRetVal relpSessSetMaxDataSize(relpSess_t *pThis, size_t maxSize) {
+       ENTER_RELPFUNC;
+       RELPOBJ_assert(pThis, Sess);
+       pThis->maxDataSize = maxSize;
+       LEAVE_RELPFUNC;
+}
+
 relpRetVal
 relpSessSetAuthMode(relpSess_t *pThis, relpAuthMode_t authmode)
 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librelp-1.2.13/src/relpsess.h 
new/librelp-1.2.14/src/relpsess.h
--- old/librelp-1.2.13/src/relpsess.h   2016-11-22 18:18:02.000000000 +0100
+++ new/librelp-1.2.14/src/relpsess.h   2017-04-20 11:54:58.000000000 +0200
@@ -75,7 +75,7 @@
        relpTcp_t *pTcp;        /**< our sockt to the remote peer */
        struct relpFrame_s *pCurrRcvFrame; /**< the current receive frame (a 
buffer) */
        relpTxnr_t txnr;        /**< next txnr expected when receiving or to be 
used when sending */
-       size_t maxDataSize;  /**< maximum size of a DATA element (TODO: set 
after handshake on connect) */
+       size_t maxDataSize;  /**< maximum size of a DATA element */
        pthread_mutex_t mutSend; /**< mutex for send operation (make sure txnr 
is correct) */
        relpSrv_t *pSrv;           /**< a pointer to our server object, if 
NULL, we belong to a client */
        relpClt_t *pClt;           /**< ptr to our client; only valid if pSrv 
== NULL */
@@ -161,5 +161,6 @@
 relpRetVal relpSessSetUsrPtr(relpSess_t *pThis, void *pUsr);
 relpRetVal relpSessSendSyslog(relpSess_t *pThis, unsigned char *pMsg, size_t 
lenMsg);
 relpRetVal relpSessSetEnableCmd(relpSess_t *pThis, unsigned char *pszCmd, 
relpCmdEnaState_t stateCmd);
+relpRetVal relpSessSetMaxDataSize(relpSess_t *pThis, size_t maxSize);
 
 #endif /* #ifndef RELPSESS_H_INCLUDED */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librelp-1.2.13/src/relpsrv.c 
new/librelp-1.2.14/src/relpsrv.c
--- old/librelp-1.2.13/src/relpsrv.c    2016-11-23 13:52:21.000000000 +0100
+++ new/librelp-1.2.14/src/relpsrv.c    2017-04-20 11:54:58.000000000 +0200
@@ -69,6 +69,7 @@
        pThis->ownCertFile = NULL;
        pThis->privKey = NULL;
        pThis->permittedPeers.nmemb = 0;
+       pThis->maxDataSize = RELP_DFLT_MAX_DATA_SIZE;
 
        *ppThis = pThis;
 
@@ -156,6 +157,12 @@
        LEAVE_RELPFUNC;
 }
 
+relpRetVal relpSrvSetMaxDataSize(relpSrv_t *pThis, size_t maxSize) {
+       ENTER_RELPFUNC;
+       RELPOBJ_assert(pThis, Srv);
+       pThis->maxDataSize = maxSize;
+       LEAVE_RELPFUNC;
+}
 
 /* set the listen port inside the relp server. If NULL is provided, the 
default port
  * is used. The provided string is always copied, it is the caller's duty to


Reply via email to