From 85015dd9ad45c4a13aa88e3d1d10c3eb8902cf1c1ae9113caccbe104bffedf22 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Wed, 25 Jan 2023 10:29:53 +0000 Subject: [PATCH] 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 --- squid.changes | 6 ++++++ squid.spec | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/squid.changes b/squid.changes index 4de51fb..198185b 100644 --- a/squid.changes +++ b/squid.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 25 09:48:26 UTC 2023 - Thorsten Kukuk + +- Disable NIS auth module (NIS is deprecated and get's currently + removed) + ------------------------------------------------------------------- Tue Jan 3 08:24:05 UTC 2023 - Stefan Schubert diff --git a/squid.spec b/squid.spec index 4efad34..b8b4c01 100644 --- a/squid.spec +++ b/squid.spec @@ -84,7 +84,7 @@ BuildRequires: sysuser-tools %else Requires(pre): shadow %endif -%if 0%{?suse_version} >= 1330 +%if 0%{?suse_version} >= 1330 && 0%{?suse_version} < 1599 BuildRequires: libnsl-devel %endif @@ -142,7 +142,11 @@ export LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro,-z,now -pie" --with-large-files \ --enable-underscores \ --enable-auth \ +%if 0%{?suse_version} < 1599 --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-negotiate \ --enable-auth-digest \ @@ -372,7 +376,9 @@ fi %{squidhelperdir}/basic_ldap_auth %{squidhelperdir}/digest_edirectory_auth %{squidhelperdir}/basic_ncsa_auth +%if 0%{?suse_version} < 1599 %{squidhelperdir}/basic_nis_auth +%endif %{squidhelperdir}/basic_pam_auth %{squidhelperdir}/basic_pop3_auth %{squidhelperdir}/basic_radius_auth