From a004ad47ca427f61f9d5c8bb852359fc9754e2748bd9c053f942d142b6e42f62 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 26 Mar 2023 16:59:52 +0000 Subject: [PATCH] Accepting request 1065922 from home:kukuk:branches:network - Remove BuildRequires for libtirpc, we don't use it - Remove pam_lastlog from sshd PAM config. sshd is doing the same, too, which leads to e.g. duplicate entries in wtmp [bsc#1208243] OBS-URL: https://build.opensuse.org/request/show/1065922 OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=245 --- openssh.changes | 11 +++++++++++ openssh.spec | 8 -------- sshd.pamd | 1 - 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/openssh.changes b/openssh.changes index 3e28c8d..9e10c91 100644 --- a/openssh.changes +++ b/openssh.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Feb 15 10:35:43 UTC 2023 - Thorsten Kukuk + +- Remove BuildRequires for libtirpc, we don't use it + +------------------------------------------------------------------- +Tue Feb 14 13:46:14 UTC 2023 - Thorsten Kukuk + +- Remove pam_lastlog from sshd PAM config. sshd is doing the same, + too, which leads to e.g. duplicate entries in wtmp [bsc#1208243] + ------------------------------------------------------------------- Mon Dec 19 15:41:26 UTC 2022 - Otto Hollmann diff --git a/openssh.spec b/openssh.spec index a2124c2..f7925f1 100644 --- a/openssh.spec +++ b/openssh.spec @@ -19,11 +19,6 @@ %ifnarch ppc %define sandbox_seccomp 1 %endif -%if 0%{?suse_version} >= 1500 -%bcond_without tirpc -%else -%bcond_with tirpc -%endif %define _fwdir %{_sysconfdir}/sysconfig/SuSEfirewall2.d %define _fwdefdir %{_fwdir}/services %define _appdefdir %( grep "configdirspec=" $( which xmkmf ) | sed -r 's,^[^=]+=.*-I(.*)/config.*$,\\1/app-defaults,' ) @@ -127,9 +122,6 @@ BuildRequires: sysuser-shadow BuildRequires: sysuser-tools Requires: %{name}-clients = %{version}-%{release} Requires: %{name}-server = %{version}-%{release} -%if %{with tirpc} -BuildRequires: libtirpc-devel -%endif %if 0%{?suse_version} >= 1550 BuildRequires: pkgconfig(krb5) %else diff --git a/sshd.pamd b/sshd.pamd index 5646361..cf9867c 100644 --- a/sshd.pamd +++ b/sshd.pamd @@ -7,6 +7,5 @@ password include common-password session required pam_loginuid.so session include common-session session optional pam_keyinit.so force revoke -session optional pam_lastlog.so showfailed session optional pam_motd.so