Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package dracut-sshd for openSUSE:Factory 
checked in at 2026-10-20 12:38:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dracut-sshd (Old)
 and      /work/SRC/openSUSE:Factory/.dracut-sshd.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dracut-sshd"

Tue Oct 20 12:38:25 2026 rev:8 rq:1386165 version:0.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/dracut-sshd/dracut-sshd.changes  2025-05-05 
22:57:06.070248054 +0200
+++ /work/SRC/openSUSE:Factory/.dracut-sshd.new.3698736/dracut-sshd.changes     
2026-10-20 12:39:19.367001751 +0200
@@ -1,0 +2,8 @@
+Sat Oct 17 15:36:51 UTC 2026 - Andrea Manzini <[email protected]>
+
+- Update to 0.7.1:
+  * Support /etc/dracut-sshd/sshd_config configuration overlay
+  * Add /usr/lib/openssh to the OpenSSH helper search path
+- Modernize spec file
+
+-------------------------------------------------------------------

Old:
----
  dracut-sshd-0.7.0.tar.gz

New:
----
  dracut-sshd-0.7.1.tar.gz

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

Other differences:
------------------
++++++ dracut-sshd.spec ++++++
--- /var/tmp/diff_new_pack.wsMnYv/_old  2026-10-20 12:39:20.170035360 +0200
+++ /var/tmp/diff_new_pack.wsMnYv/_new  2026-10-20 12:39:20.172035444 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package dracut-sshd
 #
-# Copyright (c) 2025 SUSE LLC
+# 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
@@ -17,17 +17,16 @@
 
 
 Name:           dracut-sshd
-Version:        0.7.0
+Version:        0.7.1
 Release:        0
 Summary:        Provide SSH access to initramfs early user space
 License:        GPL-3.0-or-later
-Group:          System/Boot
 URL:            https://github.com/gsauthof/dracut-sshd
 Source:         
https://github.com/gsauthof/dracut-sshd/archive/%{version}/%{name}-%{version}.tar.gz
-BuildRequires:  dracut
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(dracut)
 Requires:       dracut
 Suggests:       systemd-network
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 
 %description

++++++ dracut-sshd-0.7.0.tar.gz -> dracut-sshd-0.7.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dracut-sshd-0.7.0/46sshd/module-setup.sh 
new/dracut-sshd-0.7.1/46sshd/module-setup.sh
--- old/dracut-sshd-0.7.0/46sshd/module-setup.sh        2025-04-28 
23:32:42.000000000 +0200
+++ new/dracut-sshd-0.7.1/46sshd/module-setup.sh        2025-07-05 
22:22:21.000000000 +0200
@@ -17,7 +17,7 @@
 
 # called by dracut
 install() {
-    local key_prefix key_type ssh_host_key authorized_keys
+    local key_prefix key_type ssh_host_key authorized_keys sshd_config
     key_prefix=
     if [ "$(find /etc/ssh -maxdepth 1 -name 'dracut_ssh_host_*_key')" ]; then
         key_prefix=dracut_
@@ -63,8 +63,9 @@
     # /usr/lib(64)/misc     -> Gentoo
     # /usr/libexec/openssh  -> Fedora
     # /usr/libexec/ssh      -> openSUSE
+    # /usr/lib/openssh      -> Debian
     local d
-    for d in /usr/lib/ssh /usr/lib64/misc /usr/lib/misc /usr/libexec/openssh 
/usr/libexec/ssh ; do
+    for d in /usr/lib/ssh /usr/lib64/misc /usr/lib/misc /usr/libexec/openssh 
/usr/libexec/ssh /usr/lib/openssh ; do
         if [ -f "$d"/sshd-session ]; then
             inst_multiple -o "$d"/{sshd-session,sftp-server,sshd-auth}
             break
@@ -75,7 +76,12 @@
     inst_multiple -o /etc/crypto-policies/back-ends/opensshserver.config \
             /etc/crypto-policies/back-ends/openssh-server.config
     inst_simple "${moddir}/sshd.service" "$systemdsystemunitdir/sshd.service"
-    inst_simple "${moddir}/sshd_config" /etc/ssh/sshd_config
+    if [ -e /etc/dracut-sshd/sshd_config ]; then
+        sshd_config=/etc/dracut-sshd/sshd_config
+    else
+        sshd_config="${moddir}/sshd_config"
+    fi
+    inst_simple "$sshd_config" /etc/ssh/sshd_config
 
     { grep '^sshd:' $dracutsysrootdir/etc/passwd || echo 
'sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'; } >> 
"$initdir/etc/passwd"
     { grep '^sshd:' $dracutsysrootdir/etc/group  || echo 'sshd:x:74:'; } >> 
"$initdir/etc/group"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dracut-sshd-0.7.0/dracut-sshd.spec 
new/dracut-sshd-0.7.1/dracut-sshd.spec
--- old/dracut-sshd-0.7.0/dracut-sshd.spec      2025-04-28 23:32:42.000000000 
+0200
+++ new/dracut-sshd-0.7.1/dracut-sshd.spec      1970-01-01 01:00:00.000000000 
+0100
@@ -1,80 +0,0 @@
-Name:       {{{ git_dir_name }}}
-# The git_dir_version macro is quite a mis-match for our use-case
-# since using a 3-component version number requires updating
-# the 'lead' parameter, anyways
-# cf. https://pagure.io/rpkg-util/issue/21#comment-601077
-#Version:    {{{ git_dir_version }}}
-Version:    0.7.0
-Release:    1%{?dist}
-Summary:    Provide SSH access to initramfs early user space
-URL:        https://github.com/gsauthof/dracut-sshd
-License:    GPLv3+
-VCS:        {{{ git_dir_vcs }}}
-Source:     {{{ git_dir_pack }}}
-BuildArch:  noarch
-Requires:   dracut-network
-
-%description
-This Dracut module integrates the OpenSSH sshd into your
-initramfs. It allows for remote unlocking of a fully encrypted
-root filesystem and remote access to the Dracut emergency shell
-(i.e. early userspace).
-
-%prep
-{{{ git_dir_setup_macro }}}
-
-%build
-# nothing to do here
-
-%install
-mkdir -p %{buildroot}/usr/lib/dracut/modules.d
-cp -r 46sshd %{buildroot}/usr/lib/dracut/modules.d/
-
-%files
-%dir /usr/lib/dracut/modules.d/46sshd
-/usr/lib/dracut/modules.d/46sshd/module-setup.sh
-/usr/lib/dracut/modules.d/46sshd/sshd.service
-/usr/lib/dracut/modules.d/46sshd/motd
-/usr/lib/dracut/modules.d/46sshd/profile
-%config(noreplace) /usr/lib/dracut/modules.d/46sshd/sshd_config
-%doc README.md
-%doc example/20-wired.network
-%doc example/90-networkd.conf
-
-%changelog
-* Mon Apr 28 2025 Georg Sauthoff <[email protected]> - 0.7.0-1
-- support openssh 10
-
-* Sat Aug 08 2024 Georg Sauthoff <[email protected]> - 0.6.7-1
-- support recent sshd versions
-- enable sftp access
-
-* Sun Jun 18 2023 Georg Sauthoff <[email protected]> - 0.6.6-1
-- update docs and add directory to files list
-
-* Sat May 27 2023 Georg Sauthoff <[email protected]> - 0.6.5-1
-- eliminate tmpfiles and fix Debian/Ubuntu support
-
-* Sun May 7 2023 Georg Sauthoff <[email protected]> - 0.6.4-1
-- fix motd
-
-* Sat May 1 2021 Georg Sauthoff <[email protected]> - 0.6.3-1
-- fix privilege separation directory for Fedora 34
-
-* Sun Nov 22 2020 Akos Balla <[email protected]> - 0.6.2-2
-- support Fedora Silverblue
-- add motd/profile files
-
-* Sat Oct 31 2020 Georg Sauthoff <[email protected]> - 0.6.2-1
-- check whether key is included
-
-* Thu May 28 2020 Georg Sauthoff <[email protected]> - 0.6.1-2
-- add example dracut config
-
-* Thu May 28 2020 Georg Sauthoff <[email protected]> - 0.6.1-1
-- eliminate dracut module dependencies
-- don't auto-include networkd configurations, anymore
-- auto-include sshd executable dependencies
-
-* Sat Jan 26 2019 Georg Sauthoff <[email protected]> - 0.4-1
-- initial packaging
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dracut-sshd-0.7.0/test/install-dracut-sshd.sh 
new/dracut-sshd-0.7.1/test/install-dracut-sshd.sh
--- old/dracut-sshd-0.7.0/test/install-dracut-sshd.sh   2025-04-28 
23:32:42.000000000 +0200
+++ new/dracut-sshd-0.7.1/test/install-dracut-sshd.sh   2025-07-05 
22:22:21.000000000 +0200
@@ -38,6 +38,9 @@
 
     $ssh root@"$guest" <<EOF
 set -eux
+
+dnf -y install dracut-network
+
 function f {
     sed 
'/^GRUB_CMDLINE_LINUX\(_DEFAULT\|\)="[^"]*'"\$1"'[^"]*"/!s/^GRUB_CMDLINE_LINUX\(_DEFAULT\|\)="[^"]*/&
 '"\$1"'/' \
         /etc/default/grub -i

Reply via email to