Accepting request 1060819 from home:kukuk:branches:server:proxy

- Disable NIS auth module (NIS is deprecated and get's currently
  removed)

OBS-URL: https://build.opensuse.org/request/show/1060819
OBS-URL: https://build.opensuse.org/package/show/server:proxy/squid?expand=0&rev=267
This commit is contained in:
Adam Majer 2023-01-25 10:29:53 +00:00 committed by Git OBS Bridge
parent 04b3f78d48
commit 85015dd9ad
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 25 09:48:26 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
- Disable NIS auth module (NIS is deprecated and get's currently
removed)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 3 08:24:05 UTC 2023 - Stefan Schubert <schubi@suse.com> Tue Jan 3 08:24:05 UTC 2023 - Stefan Schubert <schubi@suse.com>

View File

@ -84,7 +84,7 @@ BuildRequires: sysuser-tools
%else %else
Requires(pre): shadow Requires(pre): shadow
%endif %endif
%if 0%{?suse_version} >= 1330 %if 0%{?suse_version} >= 1330 && 0%{?suse_version} < 1599
BuildRequires: libnsl-devel BuildRequires: libnsl-devel
%endif %endif
@ -142,7 +142,11 @@ export LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro,-z,now -pie"
--with-large-files \ --with-large-files \
--enable-underscores \ --enable-underscores \
--enable-auth \ --enable-auth \
%if 0%{?suse_version} < 1599
--enable-auth-basic="SMB_LM,DB,fake,getpwnam,LDAP,NCSA,NIS,PAM,POP3,RADIUS,SASL,SMB" \ --enable-auth-basic="SMB_LM,DB,fake,getpwnam,LDAP,NCSA,NIS,PAM,POP3,RADIUS,SASL,SMB" \
%else
--enable-auth-basic="SMB_LM,DB,fake,getpwnam,LDAP,NCSA,PAM,POP3,RADIUS,SASL,SMB" \
%endif
--enable-auth-ntlm="SMB_LM,fake" \ --enable-auth-ntlm="SMB_LM,fake" \
--enable-auth-negotiate \ --enable-auth-negotiate \
--enable-auth-digest \ --enable-auth-digest \
@ -372,7 +376,9 @@ fi
%{squidhelperdir}/basic_ldap_auth %{squidhelperdir}/basic_ldap_auth
%{squidhelperdir}/digest_edirectory_auth %{squidhelperdir}/digest_edirectory_auth
%{squidhelperdir}/basic_ncsa_auth %{squidhelperdir}/basic_ncsa_auth
%if 0%{?suse_version} < 1599
%{squidhelperdir}/basic_nis_auth %{squidhelperdir}/basic_nis_auth
%endif
%{squidhelperdir}/basic_pam_auth %{squidhelperdir}/basic_pam_auth
%{squidhelperdir}/basic_pop3_auth %{squidhelperdir}/basic_pop3_auth
%{squidhelperdir}/basic_radius_auth %{squidhelperdir}/basic_radius_auth