diff --git a/postfix-bdb.changes b/postfix-bdb.changes index 94677fe..a4868ee 100644 --- a/postfix-bdb.changes +++ b/postfix-bdb.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 25 13:30:52 UTC 2023 - Thorsten Kukuk + +- Disable NIS support on Factory (deprecated and will be removed) + ------------------------------------------------------------------- Mon Nov 14 15:07:44 UTC 2022 - Peter Varkoly diff --git a/postfix-bdb.spec b/postfix-bdb.spec index 9ffba5a..d0f82af 100644 --- a/postfix-bdb.spec +++ b/postfix-bdb.spec @@ -49,9 +49,12 @@ %endif %if 0%{?suse_version} >= 1320 || ( 0%{?suse_version} == 1315 && 0%{?is_opensuse} ) %bcond_without lmdb -%bcond_without libnsl %else %bcond_with lmdb +%endif +%if 0%{?suse_version} >= 1320 && 0%{?suse_version} < 1599 +%bcond_without libnsl +%else %bcond_with libnsl %endif %bcond_without ldap @@ -186,6 +189,10 @@ else export AUXLIBS="${AUXLIBS} -lssl -lcrypto" fi # +%if %{without libnsl} +export CCARGS="${CCARGS} -DNO_NIS" +%endif +# %if %{with ldap} export CCARGS="${CCARGS} -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL" export AUXLIBS_LDAP="-lldap -llber" diff --git a/postfix.changes b/postfix.changes index d0ff6d9..b2bd872 100644 --- a/postfix.changes +++ b/postfix.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 25 13:30:52 UTC 2023 - Thorsten Kukuk + +- Disable NIS support on Factory (deprecated and will be removed) + ------------------------------------------------------------------- Wed Jan 18 12:09:13 UTC 2023 - Hu diff --git a/postfix.spec b/postfix.spec index 4257575..d8d6b49 100644 --- a/postfix.spec +++ b/postfix.spec @@ -39,7 +39,11 @@ %if ! %{defined _fillupdir} %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif +%if 0%{?suse_version} < 1599 %bcond_without libnsl +%else +%bcond_with libnsl +%endif %bcond_without ldap Name: postfix Version: 3.7.3 @@ -204,6 +208,9 @@ else export AUXLIBS="${AUXLIBS} -lssl -lcrypto" fi # +%if %{without libnsl} +export CCARGS="${CCARGS} -DNO_NIS" +%endif %if %{with ldap} export CCARGS="${CCARGS} -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL" export AUXLIBS_LDAP="-lldap -llber"