|
|
@@ -48,6 +48,7 @@ Release: 20030724
|
|
|
%option with_mysql no
|
|
|
%option with_ldap no
|
|
|
%option with_whoson no
|
|
|
+%option with_fdsetsize no
|
|
|
|
|
|
# list of sources
|
|
|
Source0: ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-%{V_postfix}.tar.gz
|
|
|
@@ -181,6 +182,13 @@ Conflicts: exim, sendmail, ssmtp
|
|
|
AUXLIBS="$AUXLIBS -lldap -llber -lssl -lcrypto"
|
|
|
%endif
|
|
|
AUXLIBS="$AUXLIBS %{l_fsl_ldflags} %{l_fsl_libs}"
|
|
|
+%if "%{with_fdsetsize}" != "no"
|
|
|
+%if "%{with_fdsetsize}" == "yes"
|
|
|
+ CCARGS="$CCARGS -DFD_SETSIZE=1024"
|
|
|
+%else
|
|
|
+ CCARGS="$CCARGS -DFD_SETSIZE=%{with_fdsetsize}"
|
|
|
+%endif
|
|
|
+%endif
|
|
|
%{l_make} %{l_mflags} makefiles \
|
|
|
CC="%{l_cc}" CCARGS="$CCARGS" AUXLIBS="$AUXLIBS"
|
|
|
|