Hello community,

here is the log from the commit of package libbaseencode for openSUSE:Factory 
checked in at 2020-09-23 18:40:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libbaseencode (Old)
 and      /work/SRC/openSUSE:Factory/.libbaseencode.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libbaseencode"

Wed Sep 23 18:40:35 2020 rev:3 rq:836088 version:1.0.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/libbaseencode/libbaseencode.changes      
2020-04-23 18:39:53.621173156 +0200
+++ /work/SRC/openSUSE:Factory/.libbaseencode.new.4249/libbaseencode.changes    
2020-09-23 18:41:27.309379499 +0200
@@ -1,0 +2,6 @@
+Tue Sep 22 09:07:23 UTC 2020 - Paolo Stivanin <i...@paolostivanin.com>
+
+- Update to 1.0.10
+  * fix valgrind issues
+
+-------------------------------------------------------------------

Old:
----
  v1.0.9.tar.gz

New:
----
  v1.0.10.tar.gz

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

Other differences:
------------------
++++++ libbaseencode.spec ++++++
--- /var/tmp/diff_new_pack.28Q1or/_old  2020-09-23 18:41:36.241387717 +0200
+++ /var/tmp/diff_new_pack.28Q1or/_new  2020-09-23 18:41:36.245387721 +0200
@@ -21,7 +21,7 @@
 %endif
 %define libsoname %{name}1
 Name:           libbaseencode
-Version:        1.0.9
+Version:        1.0.10
 Release:        0
 Summary:        Base32 and base64 encoding library
 License:        Apache-2.0

++++++ v1.0.9.tar.gz -> v1.0.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbaseencode-1.0.9/.ci/run_tests.sh 
new/libbaseencode-1.0.10/.ci/run_tests.sh
--- old/libbaseencode-1.0.9/.ci/run_tests.sh    1970-01-01 01:00:00.000000000 
+0100
+++ new/libbaseencode-1.0.10/.ci/run_tests.sh   2020-09-22 11:00:13.000000000 
+0200
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+set -e
+
+mkdir build && cd $_
+cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=ON
+make -j2
+./tests/test_all
+make install
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbaseencode-1.0.9/.circleci/config.yml 
new/libbaseencode-1.0.10/.circleci/config.yml
--- old/libbaseencode-1.0.9/.circleci/config.yml        1970-01-01 
01:00:00.000000000 +0100
+++ new/libbaseencode-1.0.10/.circleci/config.yml       2020-09-22 
11:00:13.000000000 +0200
@@ -0,0 +1,19 @@
+version: 2.1
+
+jobs:
+  ubuntu1804:
+    docker:
+      - image: ubuntu:18.04
+    steps:
+      - checkout
+      - run: apt update && apt -y install git gcc clang cmake pkg-config
+      - run: apt install -y software-properties-common apt-transport-https
+      - run: add-apt-repository ppa:snaipewastaken/ppa
+      - run: apt update && apt -y install criterion-dev
+      - run: chmod +x .ci/run_tests.sh && .ci/run_tests.sh
+
+workflows:
+  version: 2
+  build:
+    jobs:
+      - ubuntu1804
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbaseencode-1.0.9/CMakeLists.txt 
new/libbaseencode-1.0.10/CMakeLists.txt
--- old/libbaseencode-1.0.9/CMakeLists.txt      2018-08-24 20:49:42.000000000 
+0200
+++ new/libbaseencode-1.0.10/CMakeLists.txt     2020-09-22 11:00:13.000000000 
+0200
@@ -7,7 +7,7 @@
 # set up versioning.
 set(BUILD_MAJOR "1")
 set(BUILD_MINOR "0")
-set(BUILD_VERSION "9")
+set(BUILD_VERSION "10")
 set(BUILD_VERSION ${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_VERSION})
 
 set(CMAKE_C_STANDARD 11)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbaseencode-1.0.9/README.md 
new/libbaseencode-1.0.10/README.md
--- old/libbaseencode-1.0.9/README.md   2018-08-24 20:49:42.000000000 +0200
+++ new/libbaseencode-1.0.10/README.md  2020-09-22 11:00:13.000000000 +0200
@@ -3,10 +3,6 @@
   <img alt="Coverity Scan Build Status"
        src="https://scan.coverity.com/projects/12747/badge.svg"/>
 </a>
-<a href="https://app.shippable.com/github/paolostivanin/libcotp";>
-  <img alt="Shippable Build Status"
-       
src="https://api.shippable.com/projects/58e3d5759401b40600a7c024/badge?branch=master"/>
-</a>
 
 Library written in C for encoding and decoding data using base32 or base64 
according to [RFC-4648](https://tools.ietf.org/html/rfc4648)
 
@@ -41,4 +37,5 @@
 ```
 INVALID_INPUT, EMPTY_STRING, INPUT_TOO_BIG, INVALID_B32_DATA, 
INVALID_B64_DATA, MEMORY_ALLOCATION,
 ```
-otherwise, `err` is set to `SUCCESS`
\ No newline at end of file
+otherwise, `err` is set to `SUCCESS`
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbaseencode-1.0.9/shippable.yml 
new/libbaseencode-1.0.10/shippable.yml
--- old/libbaseencode-1.0.9/shippable.yml       2018-08-24 20:49:42.000000000 
+0200
+++ new/libbaseencode-1.0.10/shippable.yml      1970-01-01 01:00:00.000000000 
+0100
@@ -1,24 +0,0 @@
-language: c
-
-branches:
-  only:
-    - master
-
-compiler:
-  - gcc
-  - clang
-
-build:
-  ci:
-    - mkdir -pv "shippable/testresults"
-    - sudo add-apt-repository ppa:snaipewastaken/ppa
-    - sudo apt update
-    - sudo apt install cmake criterion-dev
-    - mkdir build && cd $_
-    - cmake .. -DCMAKE_INSTALL_PREFIX=/usr
-    - make
-    - sudo make install
-    - cmake .. -DBUILD_TESTING=ON
-    - make
-    - ./tests/test_all --xml=test.xml
-    - mv -v test.xml ../shippable/testresults
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbaseencode-1.0.9/src/base64.c 
new/libbaseencode-1.0.10/src/base64.c
--- old/libbaseencode-1.0.9/src/base64.c        2018-08-24 20:49:42.000000000 
+0200
+++ new/libbaseencode-1.0.10/src/base64.c       2020-09-22 11:00:13.000000000 
+0200
@@ -49,7 +49,7 @@
     }
 
     size_t output_length = (user_data_chars * 8 + 4) / 6;
-    char *encoded_data = calloc(output_length + num_of_equals + 1, 1);
+    char *encoded_data = calloc(output_length + num_of_equals + 1 + 3, 1);
     if (encoded_data == NULL) {
         *err = MEMORY_ALLOCATION;
         return NULL;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbaseencode-1.0.9/tests/test-base32-decode.c 
new/libbaseencode-1.0.10/tests/test-base32-decode.c
--- old/libbaseencode-1.0.9/tests/test-base32-decode.c  2018-08-24 
20:49:42.000000000 +0200
+++ new/libbaseencode-1.0.10/tests/test-base32-decode.c 2020-09-22 
11:00:13.000000000 +0200
@@ -1,6 +1,6 @@
 #include <stdio.h>
 #include <criterion/criterion.h>
-#include <baseencode.h>
+#include "../src/baseencode.h"
 
 
 Test(b32_decode_test, b32_all_chars) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbaseencode-1.0.9/tests/test-base32-encode.c 
new/libbaseencode-1.0.10/tests/test-base32-encode.c
--- old/libbaseencode-1.0.9/tests/test-base32-encode.c  2018-08-24 
20:49:42.000000000 +0200
+++ new/libbaseencode-1.0.10/tests/test-base32-encode.c 2020-09-22 
11:00:13.000000000 +0200
@@ -1,6 +1,6 @@
 #include <stdio.h>
 #include <criterion/criterion.h>
-#include <baseencode.h>
+#include "../src/baseencode.h"
 
 
 Test(b32_encode_test, null_input) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbaseencode-1.0.9/tests/test-base64-decode.c 
new/libbaseencode-1.0.10/tests/test-base64-decode.c
--- old/libbaseencode-1.0.9/tests/test-base64-decode.c  2018-08-24 
20:49:42.000000000 +0200
+++ new/libbaseencode-1.0.10/tests/test-base64-decode.c 2020-09-22 
11:00:13.000000000 +0200
@@ -1,6 +1,6 @@
 #include <stdio.h>
 #include <criterion/criterion.h>
-#include <baseencode.h>
+#include "../src/baseencode.h"
 
 
 Test(b64_decode_test, b64_all_chars) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbaseencode-1.0.9/tests/test-base64-encode.c 
new/libbaseencode-1.0.10/tests/test-base64-encode.c
--- old/libbaseencode-1.0.9/tests/test-base64-encode.c  2018-08-24 
20:49:42.000000000 +0200
+++ new/libbaseencode-1.0.10/tests/test-base64-encode.c 2020-09-22 
11:00:13.000000000 +0200
@@ -1,6 +1,6 @@
 #include <stdio.h>
 #include <criterion/criterion.h>
-#include <baseencode.h>
+#include "../src/baseencode.h"
 
 
 Test(b64_encode_test, null_input) {


Reply via email to