|
@@ -34,7 +34,7 @@ Summary: Postfix Mail Transport Agent
|
|
Summary(ja): Postfix メールトランスポートエージェント
|
|
Summary(ja): Postfix メールトランスポートエージェント
|
|
Name: postfix
|
|
Name: postfix
|
|
Version: %{origversion}
|
|
Version: %{origversion}
|
|
-Release: 1%{?_dist_release}
|
|
+Release: 2%{?_dist_release}
|
|
URL: http://www.postfix.org/
|
|
URL: http://www.postfix.org/
|
|
License: Distributable - IBM PUBLIC LICENSE VERSION 1.0 - SECURE MAILER
|
|
License: Distributable - IBM PUBLIC LICENSE VERSION 1.0 - SECURE MAILER
|
|
Group: System Environment/Daemons
|
|
Group: System Environment/Daemons
|
|
@@ -195,6 +195,8 @@ src/global/mail_params.h
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
|
|
|
|
+unset AUXLIBS_MYSQL AUXLIBS_PGSQL
|
|
|
|
+
|
|
CCARGS="-DMAX_DYNAMIC_MAPS \
|
|
CCARGS="-DMAX_DYNAMIC_MAPS \
|
|
-DUSE_SASL_AUTH -I/usr/include/sasl \
|
|
-DUSE_SASL_AUTH -I/usr/include/sasl \
|
|
-DUSE_CYRUS_SASL \
|
|
-DUSE_CYRUS_SASL \
|
|
@@ -206,21 +208,28 @@ CCARGS="-DMAX_DYNAMIC_MAPS \
|
|
`pkg-config --cflags sqlite3` \
|
|
`pkg-config --cflags sqlite3` \
|
|
-DUSE_TLS"
|
|
-DUSE_TLS"
|
|
|
|
|
|
-AUXLIBS="-lsasl2 -lssl -lcrypto -lpcre -lldap -llber `pkg-config --libs sqlite3`"
|
|
+AUXLIBS="-lsasl2 -lssl -lcrypto"
|
|
|
|
+
|
|
|
|
+AUXLIBS_LDAP="-lldap -llber"
|
|
|
|
+AUXLIBS_PCRE="-lpcre"
|
|
|
|
+AUXLIBS_SQLITE="`pkg-config --libs sqlite3`"
|
|
|
|
|
|
%if %build_mysql
|
|
%if %build_mysql
|
|
-CCARGS="${CCARGS} -DHAS_MYSQL -I/usr/include/mysql -L%{_libdir}/mysql"
|
|
+CCARGS="${CCARGS} -DHAS_MYSQL -I/usr/include/mysql"
|
|
-AUXLIBS="${AUXLIBS} -lmysqlclient -lm"
|
|
+AUXLIBS_MYSQL="-L%{_libdir}/mysql -lmysqlclient -lm"
|
|
%endif
|
|
%endif
|
|
%if %build_pgsql
|
|
%if %build_pgsql
|
|
CCARGS="${CCARGS} -DHAS_PGSQL -I/usr/include/pgsql"
|
|
CCARGS="${CCARGS} -DHAS_PGSQL -I/usr/include/pgsql"
|
|
-AUXLIBS="${AUXLIBS} -lpq"
|
|
+AUXLIBS_PGSQL="-lpq"
|
|
%endif
|
|
%endif
|
|
|
|
|
|
make -f Makefile.init makefiles \
|
|
make -f Makefile.init makefiles \
|
|
shared=yes dynamicmaps=yes \
|
|
shared=yes dynamicmaps=yes \
|
|
CCARGS="${CCARGS}" \
|
|
CCARGS="${CCARGS}" \
|
|
AUXLIBS="${AUXLIBS}" \
|
|
AUXLIBS="${AUXLIBS}" \
|
|
|
|
+ AUXLIBS_LDAP="${AUXLIBS_LDAP}" AUXLIBS_PCRE="${AUXLIBS_PCRE}" \
|
|
|
|
+ AUXLIBS_MYSQL="${AUXLIBS_MYSQL}" AUXLIBS_PGSQL="${AUXLIBS_PGSQL}" \
|
|
|
|
+ AUXLIBS_SQLITE="${AUXLIBS_SQLITE}" \
|
|
SHLIB_RPATH="-Wl,-rpath,%{postfix_shlib_dir}" \
|
|
SHLIB_RPATH="-Wl,-rpath,%{postfix_shlib_dir}" \
|
|
OPT="$RPM_OPT_FLAGS" DEBUG=""
|
|
OPT="$RPM_OPT_FLAGS" DEBUG=""
|
|
|
|
|
|
@@ -502,6 +511,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_sysconfdir}/postfix/postfix-files.d/pcre
|
|
%{_sysconfdir}/postfix/postfix-files.d/pcre
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Nov 2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.3-2
|
|
|
|
+- fixed dependency.
|
|
|
|
+
|
|
* Sun Nov 1 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.3-1
|
|
* Sun Nov 1 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.3-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
- updated patch200.
|
|
- updated patch200.
|