Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ssh-tools for openSUSE:Factory 
checked in at 2026-07-24 22:06:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ssh-tools (Old)
 and      /work/SRC/openSUSE:Factory/.ssh-tools.new.2004 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ssh-tools"

Fri Jul 24 22:06:52 2026 rev:4 rq:1367654 version:1.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/ssh-tools/ssh-tools.changes      2024-03-25 
21:18:00.271023671 +0100
+++ /work/SRC/openSUSE:Factory/.ssh-tools.new.2004/ssh-tools.changes    
2026-07-24 22:07:29.878224917 +0200
@@ -1,0 +2,23 @@
+Fri Jul 24 08:03:21 UTC 2026 - Frantisek Simorda <[email protected]>
+
+- Update to version 1.9
+  * Added
+    + ssh-authorized-keys: collects info from authorized_keys files
+      from every user it can find (new Go tool)
+    + ssh-sig: makes 'ssh-keygen -Y' easier to use (new Go tool)
+    + proper troff man pages for all tools
+  * Upstream restructured the source tree: tool sources moved from
+    the repository root into cmd/bash/*, cmd/perl/*, cmd/go/*
+  * Packaging changes
+    + %prep/%install reworked for the new upstream layout
+    + package is no longer "noarch" since it now ships compiled
+      Go binaries (ssh-authorized-keys, ssh-sig)
+    + added vendor tarball (ssh-tools-1.9-vendor.tar.xz) with the
+      Go module dependencies (golang.org/x/crypto, golang.org/x/sys,
+      sigs.k8s.io/yaml) generated via "go mod vendor", since the
+      OBS build workers have no network access
+    + added BuildRequires: golang(API) >= 1.21, perl
+    + added Requires: perl (needed for ssh-last)
+    + install and package man pages
+
+-------------------------------------------------------------------

Old:
----
  ssh-tools-1.8.tar.gz

New:
----
  ssh-tools-1.9-vendor.tar.xz
  ssh-tools-1.9.tar.gz

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

Other differences:
------------------
++++++ ssh-tools.spec ++++++
--- /var/tmp/diff_new_pack.2qHaXz/_old  2026-07-24 22:07:30.470245586 +0200
+++ /var/tmp/diff_new_pack.2qHaXz/_new  2026-07-24 22:07:30.474245726 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ssh-tools
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 # Copyright (c) 2020, Martin Hauke <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,14 +18,20 @@
 
 
 Name:           ssh-tools
-Version:        1.8
+Version:        1.9
 Release:        0
 Summary:        A collection of various tools using ssh
 License:        GPL-3.0-or-later
 Group:          Productivity/Networking/SSH
 URL:            https://codeberg.org/vaporup/ssh-tools/
 Source:         
https://codeberg.org/vaporup/ssh-tools/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# Vendored Go module dependencies (golang.org/x/crypto, golang.org/x/sys,
+# sigs.k8s.io/yaml), regenerated from go.mod/go.sum via `go mod vendor`
+# since OBS build workers have no network access.
+Source1:        %{name}-%{version}-vendor.tar.xz
 BuildRequires:  bash
+BuildRequires:  perl
+BuildRequires:  golang(API) >= 1.21
 ## SECTION test requirements
 #BuildRequires:  ShellCheck
 #BuildRequires:  openssh
@@ -33,9 +39,9 @@
 ## /SECTION
 Requires:       bash
 Requires:       openssh
+Requires:       perl
 Recommends:     colordiff
 Recommends:     jo
-BuildArch:      noarch
 
 %description
 A collection of various tools using ssh
@@ -54,14 +60,24 @@
   * ssh-sig: make 'ssh-keygen -Y' easier to use
 
 %prep
-%autosetup -n %{name}
-sed -i 's|#!%{_bindir}/env bash|#!/bin/bash|g' ssh-*
-sed -i 's|#!%{_bindir}/env perl|#!/usr/bin/perl|g' ssh-*
+%autosetup -p1 -n %{name} -a1
+sed -i 's|#!%{_bindir}/env bash|#!/bin/bash|g' cmd/bash/*/ssh-*
+sed -i 's|#!%{_bindir}/env perl|#!/usr/bin/perl|g' cmd/perl/*/ssh-*
 
 %build
+export GOFLAGS=-mod=vendor
+export GOPROXY=off
+export GOSUMDB=off
+export GOCACHE=$(pwd)/.cache
+go build -o ssh-authorized-keys ./cmd/go/ssh-authorized-keys
+go build -o ssh-sig ./cmd/go/ssh-sig
 
 %install
-install -D -m0755 -t %{buildroot}/%{_bindir}/ ssh-*
+install -D -m0755 -t %{buildroot}%{_bindir}/ cmd/bash/*/ssh-*
+install -D -m0755 -t %{buildroot}%{_bindir}/ cmd/perl/*/ssh-*
+install -D -m0755 ssh-authorized-keys 
%{buildroot}%{_bindir}/ssh-authorized-keys
+install -D -m0755 ssh-sig %{buildroot}%{_bindir}/ssh-sig
+install -D -m0644 -t %{buildroot}%{_mandir}/man1/ man/*.1
 
 #%%check
 # test disabled since it requires a network connection to an external system
@@ -71,4 +87,5 @@
 %license LICENSE
 %doc CHANGELOG.md
 %{_bindir}/ssh-*
+%{_mandir}/man1/ssh-*.1%{?ext_man}
 

++++++ ssh-tools-1.8.tar.gz -> ssh-tools-1.9.tar.gz ++++++
++++ 8915 lines of diff (skipped)

Reply via email to