Accepting request 1060935 from home:kukuk:branches:server:mail

- Disable NIS support on Factory (deprecated and will be removed)

- Disable NIS support on Factory (deprecated and will be removed)

OBS-URL: https://build.opensuse.org/request/show/1060935
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=451
This commit is contained in:
Dirk Stoecker 2023-02-02 20:10:19 +00:00 committed by Git OBS Bridge
parent 629ddc925c
commit 8ac365ae02
4 changed files with 25 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 25 13:30:52 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
- Disable NIS support on Factory (deprecated and will be removed)
-------------------------------------------------------------------
Mon Nov 14 15:07:44 UTC 2022 - Peter Varkoly <varkoly@suse.com>

View File

@ -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"

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 25 13:30:52 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
- Disable NIS support on Factory (deprecated and will be removed)
-------------------------------------------------------------------
Wed Jan 18 12:09:13 UTC 2023 - Hu <cathy.hu@suse.com>

View File

@ -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"