Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openbao for openSUSE:Factory checked 
in at 2025-03-25 22:08:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openbao (Old)
 and      /work/SRC/openSUSE:Factory/.openbao.new.2696 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openbao"

Tue Mar 25 22:08:52 2025 rev:7 rq:1250545 version:2.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/openbao/openbao.changes  2025-01-22 
16:32:30.276400817 +0100
+++ /work/SRC/openSUSE:Factory/.openbao.new.2696/openbao.changes        
2025-03-25 22:17:09.174400709 +0100
@@ -1,0 +2,45 @@
+Wed Mar 05 18:15:57 UTC 2025 - opensuse_buildserv...@ojkastl.de
+
+- Update to version 2.2.0:
+  Release notes: https://openbao.org/docs/release-notes/2-2-2/#220
+  Full list of changes:
+  https://github.com/openbao/openbao/compare/v2.1.0...v2.2.0
+  * New Features:
+    - ACME TLS Listener Certificate Provisioning: Automatically
+      fetch TLS certificates for OpenBao Server's TCP listeners via
+      an Automatic Certificate Management Environment (ACME - RFC
+      8555) capable certificate authority (CA). This allows OpenBao
+      to be self-hosted, using a CA contained within the instance
+      to sign the instance's own certificates. [GH-857]
+    - PKCS#11 Auto-Unseal: Add support for automatic unsealing of
+      OpenBao using a PKCS#11-enabled Hardware Security Module
+      (HSM) or Key Management System (KMS). [GH-889]
+    - Scanning: introduce the ability to recursively list (scan)
+      within plugins, adding a separate scan ACL capability,
+      operation type, HTTP verb (SCAN with GET fallback via
+      ?scan=true), API, and CLI support. This also adds support to
+      the KVv1 and KVv2 engines. [GH-763]
+    - Transit: Add support for key derivation mechansims (derives a
+      new key from a base key).
+        - This path uses the named base key and derivation
+          algorithm specific parameters to derive a new named key.
+        - Currently, only the ECDH key agreement algorithm is
+          supported: the base key is one's own ECC private key and
+          the "peer_public_key" is the pem-encoded other party's
+          ECC public key.The computed shared secret is the
+          resulting derived key. [GH-811]
+    - UI: Reintroduction of the WebUI. [GH-940]
+    - raft: Added support for nodes to join the Raft cluster as
+      non-voters. [GH-741]
+  * Changes
+    - command/server: Prevent and warn about loading of duplicate
+      config file from config directory. [GH-816]
+    - container: Set -dev-no-store-token in default container
+      images, fixing default read-only containers. [GH-826]
+    - core/seal: remove support for legacy pre-keyring barrier
+      entries core/seal: remove support for legacy (direct) shamir
+      unseal keys [GH-750]
+    - core: Remove support for Solaris due to lack of Docker
+      support. [GH-710]
+
+-------------------------------------------------------------------

Old:
----
  openbao-2.1.1.obscpio

New:
----
  Makefile
  PACKAGING_README.md
  openbao-2.2.0.obscpio
  ui-2.2.0.tar.gz

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

Other differences:
------------------
++++++ openbao.spec ++++++
--- /var/tmp/diff_new_pack.d40MP2/_old  2025-03-25 22:17:15.994683072 +0100
+++ /var/tmp/diff_new_pack.d40MP2/_new  2025-03-25 22:17:16.030684562 +0100
@@ -16,15 +16,14 @@
 #
 
 
-%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
-
 %define server_service_name openbao.service
 %define agent_service_name openbao-agent.service
 %define configdir_name openbao
 %define statedir_name openbao
+%define short_executable_name bao
 
 Name:           openbao
-Version:        2.1.1
+Version:        2.2.0
 Release:        0
 Summary:        Manage, store, and distribute sensitive data
 License:        MPL-2.0
@@ -32,10 +31,17 @@
 Group:          Productivity/Security
 Source:         %{name}-%{version}.tar.gz
 Source1:        vendor.tar.gz
+Source2:        ui-%{version}.tar.gz
 Source3:        %{name}-agent.service
 Source4:        %{name}-agent.hcl.sample
-BuildRequires:  go >= 1.22
+#
+Source11:       Makefile
+Source12:       PACKAGING_README.md
+BuildRequires:  fdupes
+BuildRequires:  go >= 1.24
 BuildRequires:  user(openbao)
+#
+Provides:       bao = %{version}
 
 %description
 OpenBao exists to provide a software solution to manage, store, and distribute
@@ -133,8 +139,21 @@
 
 %prep
 %autosetup -p 1 -a 1
+%setup -T -D -q -a 2
+
+# make target static-assets-dir:
+mkdir -p ./http/web_ui
 
 %build
+
+cd api
+API_PACKAGES="$(go list ./... | grep -v vendor/)"
+go generate $API_PACKAGES
+cd ../sdk
+SDK_PACKAGES="$(go list ./... | grep -v vendor/)"
+go generate $SDK_PACKAGES
+cd ..
+
 DATE_FMT="+%%Y-%%m-%%dT%%H:%%M:%%SZ"
 BUILD_DATE=$(date -u -d "@${SOURCE_DATE_EPOCH}" "${DATE_FMT}" 2>/dev/null || 
date -u -r "${SOURCE_DATE_EPOCH}" "${DATE_FMT}" 2>/dev/null || date -u 
"${DATE_FMT}")
 
@@ -150,6 +169,7 @@
    -ldflags=" \
     -X github.com/openbao/openbao/version.GitCommit=v%{version} \
     -X github.com/openbao/openbao/version.BuildDate=${BUILD_DATE}" \
+   -tags="openbao ui" \
    -o bin/openbao .
 
 #
@@ -184,6 +204,7 @@
 %install
 # Install the binary.
 install -D -m 0755 bin/%{name} %{buildroot}/%{_bindir}/%{name}
+install -D -m 0755 bin/%{name} %{buildroot}/%{_bindir}/%{short_executable_name}
 
 # server systemd unit file
 install -D -m 0644 
.release/linux/package/usr/lib/systemd/system/%{server_service_name} 
%{buildroot}%{_unitdir}/%{server_service_name}
@@ -224,6 +245,8 @@
         install -D -m 0755 bin/${plugin} 
%{buildroot}/%{_bindir}/%{name}-${plugin}
 done
 
+%fdupes %{buildroot}/%{_bindir}/
+
 %pre -n %{name}-server
 %service_add_pre %{server_service_name}
 
@@ -249,11 +272,13 @@
 %service_del_postun %{agent_service_name}
 
 %check
+%{buildroot}/%{_bindir}/%{name} version | grep v%{version}
 
 %files
 %doc README.md
 %license LICENSE
 %{_bindir}/%{name}
+%{_bindir}/%{short_executable_name}
 
 %files -n %{name}-server
 %{_unitdir}/%{server_service_name}

++++++ Makefile ++++++
NAME = openbao
SPEC = openbao.spec

default: clean tar

clean:
        rm -rf $(NAME) $(NAME)-*.obscpio ui-*.tar.gz vendor.tar.gz

tar:
        osc service manualrun
        @version=$$( awk '/^Version:/ {print $$2;exit;}' $(SPEC) ) && \
        echo "Package version is $$version" && \
        ui=ui-$$version.tar && \
        wd=$$(pwd) && \
        tmpdir=$$(mktemp -d -p /tmp) && \
        cd $$tmpdir && \
        echo $$tmpdir && \
        cp -r $$wd/$(NAME) . && \
        cd $$tmpdir/$(NAME) && \
        ls -lh && \
        make install-ui-dependencies ember-dist && \
        tar -cf $$wd/$$ui ui http/ && \
        cd $$wd && \
        gzip -f $$ui && \
        rm -rf $$tmpdir

++++++ PACKAGING_README.md ++++++
# Packaging openbao

In addition to the source code in the tarball, this package also
needs the assets for the web UI. These can be generated by the
`Makefile` that is present in this package.
To do that, you need to have `make`, `yarn` and `npm` installed locally.
For the OBS workflow you also need `obs-service-go_modules` as well
as `obs-service-tar_scm` and `obs-service-recompress`.

1. Change the version in the `_service` file
2. Run `make`
3. Create a changelog entry
4. Commit the changes as usual

++++++ _service ++++++
--- /var/tmp/diff_new_pack.d40MP2/_old  2025-03-25 22:17:16.678711391 +0100
+++ /var/tmp/diff_new_pack.d40MP2/_new  2025-03-25 22:17:16.730713544 +0100
@@ -3,7 +3,7 @@
     <param name="url">https://github.com/openbao/openbao</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="revision">v2.1.1</param>
+    <param name="revision">v2.2.0</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="versionrewrite-pattern">v(.*)</param>
     <param name="changesgenerate">enable</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.d40MP2/_old  2025-03-25 22:17:16.898720499 +0100
+++ /var/tmp/diff_new_pack.d40MP2/_new  2025-03-25 22:17:16.942722321 +0100
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/openbao/openbao</param>
-              <param 
name="changesrevision">17509a8c5e0af4ff921d4e70b06224397c44dd74</param></service></servicedata>
+              <param 
name="changesrevision">a2bf51c891680240888f7363322ac5b2d080bb23</param></service></servicedata>
 (No newline at EOF)
 

++++++ openbao-2.1.1.obscpio -> openbao-2.2.0.obscpio ++++++
++++ 85602 lines of diff (skipped)

++++++ openbao.obsinfo ++++++
--- /var/tmp/diff_new_pack.d40MP2/_old  2025-03-25 22:17:24.043016275 +0100
+++ /var/tmp/diff_new_pack.d40MP2/_new  2025-03-25 22:17:24.079017765 +0100
@@ -1,5 +1,5 @@
 name: openbao
-version: 2.1.1
-mtime: 1737494552
-commit: 17509a8c5e0af4ff921d4e70b06224397c44dd74
+version: 2.2.0
+mtime: 1741179329
+commit: a2bf51c891680240888f7363322ac5b2d080bb23
 

++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/openbao/vendor.tar.gz 
/work/SRC/openSUSE:Factory/.openbao.new.2696/vendor.tar.gz differ: char 5, line 
1

Reply via email to