Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubo for openSUSE:Factory checked in 
at 2026-10-06 19:19:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kubo (Old)
 and      /work/SRC/openSUSE:Factory/.kubo.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kubo"

Tue Oct  6 19:19:33 2026 rev:20 rq:1382734 version:0.43.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/kubo/kubo.changes        2026-04-14 
17:52:07.820991105 +0200
+++ /work/SRC/openSUSE:Factory/.kubo.new.3698736/kubo.changes   2026-10-06 
19:19:38.786635937 +0200
@@ -1,0 +2,60 @@
+Mon Oct  5 17:56:11 UTC 2026 - Eyad Issa <[email protected]>
+
+- Update to 0.43.1:
+  * Bug fixes and opt-in configuration improvements
+  * Empty Bootstrap list disables bootstrap dialing
+  * Improved datastore profiles and flatfs shard depth handling
+  * Readable sizes and sorting by size for ipfs ls
+  * Improved FUSE inode and rename behavior
+  * Restrict exported key file permissions
+  * Fix ipfs shutdown with --enable-gc
+  * Gateway Ipfs-Uri replaces X-Ipfs-Path
+  * Disable telemetry by default
+  * Batch provider record writes
+  * Dependency updates
+  * Full changelog at https://github.com/ipfs/kubo/releases/tag/v0.43.1
+- Update to 0.43.0:
+  * Accept ipfs:// and ipns:// URIs as command and RPC inputs
+  * Improve IPNS and DNSLink TTL and expiration handling
+  * Fix MFS operations hanging or losing data during garbage collection
+  * Add secp256k1 key generation, import, and export
+  * Improve DHT reprovides and delegated routing for browser connections
+  * Update WebRTC and WebTransport support for newer browser behavior
+  * Remove the empty IPNS record created by ipfs init
+  * Fix multiple memory exhaustion and daemon crash vulnerabilities
+  * Update the Web UI to v4.13.0
+  * Dependency updates
+  * Full changelog at https://github.com/ipfs/kubo/releases/tag/v0.43.0
+
+-------------------------------------------------------------------
+Thu Jun 18 10:28:27 UTC 2026 - Eyad Issa <[email protected]>
+
+- Improve kubo.spec packaging:
+  * Inject build ldflags for version metadata
+  * Add -trimpath for reproducible builds
+  * Replace inline heredoc systemd units with upstream files from
+    misc/systemd/
+  * Add hardened service, API/Gateway socket activation, and
+    sysusers config
+  * Generate bash/zsh/fish shell completions as subpackages
+  * Enable systemd scriptlets (sysusers, service_add/del macros)
+  * Fix License tag to dual MIT AND Apache-2.0
+  * Remove deprecated Group tag
+  * Change fuse from Requires to Recommends
+  * Remove nss-myhostname dependency
+  * Add %check smoke test
+- Update to 0.42.0:
+  * Announce CIDs on demand with ipfs provide once
+  * Export and import partial CARs with --local-only
+  * Provide.DHT.Interval=0 no longer disables providing
+  * Fixed pin operations hanging under pinned reprovide strategies
+  * Smoother first-run upgrades from very old repos
+  * Reliable shutdown and container health checks
+  * ERROR log for explicit listeners blocked by Swarm.AddrFilters
+  * OpenTelemetry: scope info now exposed as labels
+  * Cleaner progress bars
+  * Dependency updates
+  * Full changelog at
+    https://github.com/ipfs/kubo/releases/tag/v0.42.0
+
+-------------------------------------------------------------------

Old:
----
  kubo-0.40.1.obscpio

New:
----
  kubo-0.43.1.obscpio

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

Other differences:
------------------
++++++ kubo.spec ++++++
--- /var/tmp/diff_new_pack.LS5mfd/_old  2026-10-06 19:19:40.227696440 +0200
+++ /var/tmp/diff_new_pack.LS5mfd/_new  2026-10-06 19:19:40.228696482 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package kubo
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,29 +16,32 @@
 #
 
 
+%define commit acc53c0
+
 Name:           kubo
-Version:        0.40.1
+Version:        0.43.1
 Release:        0
 Summary:        IPFS implementation in Go
-License:        MIT
-Group:          Productivity/Networking/Other
+License:        Apache-2.0 AND MIT
 URL:            https://github.com/ipfs/kubo
 Source0:        %{name}-%{version}.tar
 Source1:        vendor.tar.zst
-
-BuildRequires:  git
-BuildRequires:  go1.25
+BuildRequires:  fdupes
+BuildRequires:  go1.26 >= 1.26.5
 BuildRequires:  systemd-rpm-macros
+BuildRequires:  sysuser-tools
 BuildRequires:  zstd
-Requires:       fuse
-Requires:       nss-myhostname
-
-%systemd_requires
+Recommends:     fuse
+Recommends:     kubo-bash-completion = %{version}
+Recommends:     kubo-fish-completion = %{version}
+Recommends:     kubo-zsh-completion = %{version}
 
 Provides:       go-ipfs = %{version}
 Provides:       ipfs
 Obsoletes:      go-ipfs <= 0.25.0
 
+%systemd_requires
+
 %description
 IPFS is a global, versioned, peer-to-peer filesystem.
 It combines good ideas from Git, BitTorrent, Kademlia, SFS, and the Web.
@@ -46,64 +49,114 @@
 IPFS provides an interface as simple as the HTTP web, but with permanence 
built in.
 You can also mount the world at /ipfs.
 
+%package bash-completion
+Summary:        Bash completions for %{name}
+Requires:       %{name} = %{version}
+Requires:       bash-completion
+Supplements:    (%{name} and bash-completion)
+BuildArch:      noarch
+
+%description bash-completion
+Bash command-line completion definitions for kubo.
+
+%package zsh-completion
+Summary:        Zsh completions for kubo
+Requires:       %{name} = %{version}
+Requires:       zsh
+Supplements:    (%{name} and zsh)
+BuildArch:      noarch
+
+%description zsh-completion
+Zsh command-line completion definitions for kubo.
+
+%package fish-completion
+Summary:        Fish completions for kubo
+Requires:       %{name} = %{version}
+Requires:       fish
+Supplements:    (%{name} and fish)
+BuildArch:      noarch
+
+%description fish-completion
+Fish command-line completion definitions for kubo.
+
 %prep
 %autosetup -p1 -a1
 
 %build
-go build -mod=vendor -buildmode=pie -v -o ./cmd/ipfs/ipfs ./cmd/ipfs
+go build -mod=vendor -buildmode=pie -trimpath \
+  -ldflags="-X github.com/ipfs/kubo.CurrentCommit=%{commit} \
+            -X github.com/ipfs/kubo.taggedRelease=%{version}" \
+  -v -o ./cmd/ipfs/ipfs ./cmd/ipfs
+
+%sysusers_generate_pre misc/systemd/ipfs-sysusers.conf ipfs ipfs.pre
 
 %install
 mkdir -p %{buildroot}%{_bindir}
-mkdir -p %{buildroot}%{_userunitdir}
-mkdir -p %{buildroot}%{_unitdir}
-
 cp cmd/ipfs/ipfs %{buildroot}%{_bindir}
-cat << EOF >>  %{buildroot}%{_userunitdir}/ipfs.service
-[Unit]
-Description=InterPlanetary File System (IPFS) daemon
-After=network-online.target
-Wants=network-online.target
-
-[Service]
-ExecStart=/usr/bin/ipfs daemon
-Restart=on-failure
-
-[Install]
-WantedBy=default.target
-EOF
-cat << EOF >> %{buildroot}%{_unitdir}/[email protected]
-[Unit]
-Description=InterPlanetary File System (IPFS) daemon
-After=network-online.target
-Wants=network-online.target
-
-[Service]
-User=%i
-ExecStart=/usr/bin/ipfs daemon
-Restart=on-failure
-
-[Install]
-WantedBy=default.target
-EOF
 
-rm -rf docs/examples/example-folder/test-dir/
+install -D -m 0644 misc/systemd/ipfs.service 
%{buildroot}%{_unitdir}/ipfs.service
+install -D -m 0644 misc/systemd/ipfs-hardened.service 
%{buildroot}%{_unitdir}/ipfs-hardened.service
+install -D -m 0644 misc/systemd/ipfs-api.socket 
%{buildroot}%{_unitdir}/ipfs-api.socket
+install -D -m 0644 misc/systemd/ipfs-gateway.socket 
%{buildroot}%{_unitdir}/ipfs-gateway.socket
+install -D -m 0644 misc/systemd/ipfs-sysusers.conf 
%{buildroot}%{_sysusersdir}/ipfs.conf
+
+# Fix ExecStart path: upstream uses /usr/local/bin, we package to /usr/bin
+sed -i 's|%{_prefix}/local/bin/ipfs|%{_bindir}/ipfs|g' \
+  %{buildroot}%{_unitdir}/ipfs.service \
+  %{buildroot}%{_unitdir}/ipfs-hardened.service
+
+# Shell completions (built-in, no daemon needed)
+mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
+mkdir -p %{buildroot}%{_datadir}/zsh/site-functions
+mkdir -p %{buildroot}%{_datadir}/fish/vendor_completions.d
+./cmd/ipfs/ipfs commands completion bash > 
%{buildroot}%{_datadir}/bash-completion/completions/ipfs
+./cmd/ipfs/ipfs commands completion zsh  > 
%{buildroot}%{_datadir}/zsh/site-functions/_ipfs
+./cmd/ipfs/ipfs commands completion fish > 
%{buildroot}%{_datadir}/fish/vendor_completions.d/ipfs.fish
+sed -i '1{/^#!/d;}' \
+  %{buildroot}%{_datadir}/bash-completion/completions/ipfs \
+  %{buildroot}%{_datadir}/zsh/site-functions/_ipfs \
+  %{buildroot}%{_datadir}/fish/vendor_completions.d/ipfs.fish
+
+# Install documentation into the buildroot so duplicate files can be linked.
+mkdir -p %{buildroot}%{_docdir}/%{name}
+cp -a docs/. %{buildroot}%{_docdir}/%{name}/
+%fdupes %{buildroot}%{_docdir}/%{name}
+
+%check
+./cmd/ipfs/ipfs version
 
-%pre
-#service_add_pre [email protected]
+%pre -f ipfs.pre
+%service_add_pre ipfs.service ipfs-hardened.service ipfs-api.socket 
ipfs-gateway.socket
 
 %post
-#service_add_post [email protected]
+%service_add_post ipfs.service ipfs-hardened.service ipfs-api.socket 
ipfs-gateway.socket
 
 %preun
-#service_del_preun [email protected]
+%service_del_preun ipfs.service ipfs-hardened.service ipfs-api.socket 
ipfs-gateway.socket
 
 %postun
-#service_del_postun [email protected]
+%service_del_postun ipfs.service ipfs-hardened.service ipfs-api.socket 
ipfs-gateway.socket
 
 %files
 %{_bindir}/ipfs
-%{_userunitdir}/ipfs.service
-%{_unitdir}/[email protected]
-%license LICENSE*
-%doc docs/*
+%{_unitdir}/ipfs.service
+%{_unitdir}/ipfs-hardened.service
+%{_unitdir}/ipfs-api.socket
+%{_unitdir}/ipfs-gateway.socket
+%{_sysusersdir}/ipfs.conf
+%license LICENSE LICENSE-MIT LICENSE-APACHE
+%{_docdir}/%{name}/
+
+%files bash-completion
+%{_datadir}/bash-completion/completions/ipfs
+
+%files zsh-completion
+%dir %{_datadir}/zsh
+%dir %{_datadir}/zsh/site-functions
+%{_datadir}/zsh/site-functions/_ipfs
+
+%files fish-completion
+%dir %{_datadir}/fish
+%dir %{_datadir}/fish/vendor_completions.d
+%{_datadir}/fish/vendor_completions.d/ipfs.fish
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.LS5mfd/_old  2026-10-06 19:19:40.263697952 +0200
+++ /var/tmp/diff_new_pack.LS5mfd/_new  2026-10-06 19:19:40.266698078 +0200
@@ -2,7 +2,7 @@
   <service name="obs_scm" mode="manual">
     <param name="url">https://github.com/ipfs/kubo</param>
     <param name="scm">git</param>
-    <param name="revision">v0.40.1</param>
+    <param name="revision">v0.43.1</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="versionrewrite-pattern">v(.*)</param>
   </service>

++++++ kubo-0.40.1.obscpio -> kubo-0.43.1.obscpio ++++++
++++ 44337 lines of diff (skipped)

++++++ kubo.obsinfo ++++++
--- /var/tmp/diff_new_pack.LS5mfd/_old  2026-10-06 19:19:42.017771596 +0200
+++ /var/tmp/diff_new_pack.LS5mfd/_new  2026-10-06 19:19:42.021771764 +0200
@@ -1,5 +1,5 @@
 name: kubo
-version: 0.40.1
-mtime: 1772211587
-commit: 39f8a65546e19ff13991a2d2446ee59493e848fe
+version: 0.43.1
+mtime: 1789427458
+commit: acc53c093810a8fe9a4bc2f023f0b1e0c1d629b5
 

++++++ vendor.tar.zst ++++++
/work/SRC/openSUSE:Factory/kubo/vendor.tar.zst 
/work/SRC/openSUSE:Factory/.kubo.new.3698736/vendor.tar.zst differ: char 7, 
line 1

Reply via email to