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
This commit is contained in:
Dirk Mueller 2023-03-26 16:59:52 +00:00 committed by Git OBS Bridge
parent 988310371c
commit a004ad47ca
3 changed files with 11 additions and 9 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Feb 15 10:35:43 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
- Remove BuildRequires for libtirpc, we don't use it
-------------------------------------------------------------------
Tue Feb 14 13:46:14 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
- 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 <otto.hollmann@suse.com> Mon Dec 19 15:41:26 UTC 2022 - Otto Hollmann <otto.hollmann@suse.com>

View File

@ -19,11 +19,6 @@
%ifnarch ppc %ifnarch ppc
%define sandbox_seccomp 1 %define sandbox_seccomp 1
%endif %endif
%if 0%{?suse_version} >= 1500
%bcond_without tirpc
%else
%bcond_with tirpc
%endif
%define _fwdir %{_sysconfdir}/sysconfig/SuSEfirewall2.d %define _fwdir %{_sysconfdir}/sysconfig/SuSEfirewall2.d
%define _fwdefdir %{_fwdir}/services %define _fwdefdir %{_fwdir}/services
%define _appdefdir %( grep "configdirspec=" $( which xmkmf ) | sed -r 's,^[^=]+=.*-I(.*)/config.*$,\\1/app-defaults,' ) %define _appdefdir %( grep "configdirspec=" $( which xmkmf ) | sed -r 's,^[^=]+=.*-I(.*)/config.*$,\\1/app-defaults,' )
@ -127,9 +122,6 @@ BuildRequires: sysuser-shadow
BuildRequires: sysuser-tools BuildRequires: sysuser-tools
Requires: %{name}-clients = %{version}-%{release} Requires: %{name}-clients = %{version}-%{release}
Requires: %{name}-server = %{version}-%{release} Requires: %{name}-server = %{version}-%{release}
%if %{with tirpc}
BuildRequires: libtirpc-devel
%endif
%if 0%{?suse_version} >= 1550 %if 0%{?suse_version} >= 1550
BuildRequires: pkgconfig(krb5) BuildRequires: pkgconfig(krb5)
%else %else

View File

@ -7,6 +7,5 @@ password include common-password
session required pam_loginuid.so session required pam_loginuid.so
session include common-session session include common-session
session optional pam_keyinit.so force revoke session optional pam_keyinit.so force revoke
session optional pam_lastlog.so showfailed
session optional pam_motd.so session optional pam_motd.so