Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libbaseencode for openSUSE:Factory checked in at 2022-05-19 22:49:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libbaseencode (Old) and /work/SRC/openSUSE:Factory/.libbaseencode.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libbaseencode" Thu May 19 22:49:51 2022 rev:6 rq:978114 version:1.0.14 Changes: -------- --- /work/SRC/openSUSE:Factory/libbaseencode/libbaseencode.changes 2021-12-30 15:56:13.952692107 +0100 +++ /work/SRC/openSUSE:Factory/.libbaseencode.new.1538/libbaseencode.changes 2022-05-19 22:50:26.058420579 +0200 @@ -1,0 +2,6 @@ +Thu May 19 11:41:19 UTC 2022 - Paolo Stivanin <[email protected]> + +- update to 1.0.14: + * fix pkg-config file generation (#25) + +------------------------------------------------------------------- @@ -8,0 +15 @@ +>>>>>>> .new Old: ---- v1.0.12.tar.gz v1.0.12.tar.gz.asc New: ---- v1.0.14.tar.gz v1.0.14.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libbaseencode.spec ++++++ --- /var/tmp/diff_new_pack.7oWj8M/_old 2022-05-19 22:50:26.778421502 +0200 +++ /var/tmp/diff_new_pack.7oWj8M/_new 2022-05-19 22:50:26.782421507 +0200 @@ -1,7 +1,7 @@ # # spec file for package libbaseencode # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ %global debug_package %{nil} %endif Name: libbaseencode -Version: 1.0.12 +Version: 1.0.14 Release: 0 Summary: Base32 and base64 encoding library License: Apache-2.0 ++++++ v1.0.12.tar.gz -> v1.0.14.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbaseencode-1.0.12/.circleci/build_and_tests.sh new/libbaseencode-1.0.14/.circleci/build_and_tests.sh --- old/libbaseencode-1.0.12/.circleci/build_and_tests.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/libbaseencode-1.0.14/.circleci/build_and_tests.sh 2022-05-18 15:53:05.000000000 +0200 @@ -0,0 +1,7 @@ +#!/bin/bash + +mkdir build && cd "$_" +cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=ON +make +make install +./tests/test_all diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbaseencode-1.0.12/.circleci/build_only.sh new/libbaseencode-1.0.14/.circleci/build_only.sh --- old/libbaseencode-1.0.12/.circleci/build_only.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/libbaseencode-1.0.14/.circleci/build_only.sh 2022-05-18 15:53:05.000000000 +0200 @@ -0,0 +1,6 @@ +#!/bin/bash + +mkdir build && cd "$_" +cmake .. -DCMAKE_INSTALL_PREFIX=/usr +make +make install diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbaseencode-1.0.12/.circleci/config.yml new/libbaseencode-1.0.14/.circleci/config.yml --- old/libbaseencode-1.0.12/.circleci/config.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/libbaseencode-1.0.14/.circleci/config.yml 2022-05-18 15:53:05.000000000 +0200 @@ -0,0 +1,35 @@ +version: 2.0 + +jobs: + debianLatestStable: + docker: + - image: debian:latest + steps: + - checkout + - run: apt update && apt -y install git gcc clang cmake libcriterion-dev + - run: chmod +x .circleci/build_and_tests.sh + + fedoraLatestStable: + docker: + - image: fedora:latest + steps: + - checkout + - run: dnf -y update && dnf -y install git gcc cmake make libgcrypt-devel + - run: chmod +x .circleci/build_only.sh + + archlinux: + docker: + - image: archlinux:latest + steps: + - checkout + - run: pacman -Syu --noconfirm && pacman -S --noconfirm pkg-config git gcc cmake make + - run: chmod +x .circleci/build_only.sh + +workflows: + version: 2 + build: + jobs: + - debianLatestStable + - fedoraLatestStable + - archlinux + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbaseencode-1.0.12/.github/workflows/codeql-analysis.yml new/libbaseencode-1.0.14/.github/workflows/codeql-analysis.yml --- old/libbaseencode-1.0.12/.github/workflows/codeql-analysis.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/libbaseencode-1.0.14/.github/workflows/codeql-analysis.yml 2022-05-18 15:53:05.000000000 +0200 @@ -0,0 +1,72 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +# +# ******** NOTE ******** +# We have attempted to detect the languages in your repository. Please check +# the `language` matrix defined below to confirm you have the correct set of +# supported CodeQL languages. +# +name: "CodeQL" + +on: + push: + branches: [ master ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ master ] + schedule: + - cron: '21 3 * * 1' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ 'cpp' ] + # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] + # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + + # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs + # queries: security-extended,security-and-quality + + + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v2 + + # ?????? Command-line programs to run using the OS shell. + # ???? See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun + + # If the Autobuild fails above, remove it and uncomment the following three lines. + # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. + + # - run: | + # echo "Run, Build Application using script" + # ./location_of_script_within_repo/buildscript.sh + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbaseencode-1.0.12/CMakeLists.txt new/libbaseencode-1.0.14/CMakeLists.txt --- old/libbaseencode-1.0.12/CMakeLists.txt 2021-12-29 09:01:04.000000000 +0100 +++ new/libbaseencode-1.0.14/CMakeLists.txt 2022-05-18 15:53:05.000000000 +0200 @@ -1,13 +1,15 @@ cmake_minimum_required(VERSION 3.5) project(baseencode) +include(GNUInstallDirs) + enable_testing() add_subdirectory(tests) # set up versioning. set(BUILD_MAJOR "1") set(BUILD_MINOR "0") -set(BUILD_VERSION "12") +set(BUILD_VERSION "14") set(BUILD_VERSION ${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_VERSION}) set(CMAKE_C_STANDARD 11) @@ -23,20 +25,33 @@ set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${BUILD_VERSION} SOVERSION ${BUILD_MAJOR}) -include(GNUInstallDirs) -set(LIB_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}") # "lib" or "lib64" +set(BASEENCODE_LIB_DIR "${CMAKE_INSTALL_LIBDIR}") +set(BASEENCODE_INC_DIR "${CMAKE_INSTALL_INCLUDEDIR}") install( TARGETS ${PROJECT_NAME} - ARCHIVE DESTINATION ${LIB_INSTALL_DIR} - LIBRARY DESTINATION ${LIB_INSTALL_DIR} + ARCHIVE DESTINATION ${BASEENCODE_LIB_DIR} + LIBRARY DESTINATION ${BASEENCODE_LIB_DIR} COMPONENT library ) install( FILES ${BASEENCODE_HEADERS} - DESTINATION include + DESTINATION ${BASEENCODE_INC_DIR} ) +# Allow adding prefix if CMAKE_INSTALL_INCLUDEDIR not absolute. +if(IS_ABSOLUTE "${CMAKE_INSTALL_INCLUDEDIR}") + set(PKGCONFIG_TARGET_INCLUDES "${CMAKE_INSTALL_INCLUDEDIR}") +else() + set(PKGCONFIG_TARGET_INCLUDES "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}") +endif() +# Allow adding prefix if CMAKE_INSTALL_LIBDIR not absolute. +if(IS_ABSOLUTE "${CMAKE_INSTALL_LIBDIR}") + set(PKGCONFIG_TARGET_LIBS "${CMAKE_INSTALL_LIBDIR}") +else() + set(PKGCONFIG_TARGET_LIBS "\${exec_prefix}/${CMAKE_INSTALL_LIBDIR}") +endif() + configure_file("baseencode.pc.in" "baseencode.pc" @ONLY) install(FILES "${CMAKE_CURRENT_BINARY_DIR}/baseencode.pc" DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig/) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbaseencode-1.0.12/SECURITY.md new/libbaseencode-1.0.14/SECURITY.md --- old/libbaseencode-1.0.12/SECURITY.md 1970-01-01 01:00:00.000000000 +0100 +++ new/libbaseencode-1.0.14/SECURITY.md 2022-05-18 15:53:05.000000000 +0200 @@ -0,0 +1,18 @@ +# Security Policy + +## Supported Versions + +The following list describes whether a version is eligible or not for security updates. + +| Version | Supported | EOL | +| ------- | ------------------ |-------------| +| 1.0.x | :heavy_check_mark: | - | + +## Reporting a Vulnerability + +Should you find a vulnerability, please report it privately to me via [e-mail](mailto:[email protected]). +The following is the workflow: +- security issue is found, an e-mail is sent to me +- within 24 hours I will reply to your e-mail with some info like, for example, whether it actually is a security issue and how serious it is +- within 7 days I will develop and ship a fix +- once the update is out I will open a [security advisory](https://github.com/paolostivanin/OTPClient/security/advisories) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbaseencode-1.0.12/baseencode.pc.in new/libbaseencode-1.0.14/baseencode.pc.in --- old/libbaseencode-1.0.12/baseencode.pc.in 2021-12-29 09:01:04.000000000 +0100 +++ new/libbaseencode-1.0.14/baseencode.pc.in 2022-05-18 15:53:05.000000000 +0200 @@ -1,10 +1,11 @@ prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} -libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ -includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ +libdir=@PKGCONFIG_TARGET_LIBS@ +includedir=@PKGCONFIG_TARGET_INCLUDES@ Name: libbaseencode Description: C library for encoding and decoding data using base32 or base64 Version: @BUILD_VERSION@ +URL: https://github.com/paolostivanin/libbaseencode Libs: -L${libdir} -lbaseencode Cflags: -I${includedir}
