Summary(sk.UTF-8): Agent prenosu pošty Postfix
Name: postfix
Version: 3.0.2
-Release: 2
+Release: 4
Epoch: 2
License: distributable
Group: Networking/Daemons/SMTP
%patch5 -p1
%build
-%{__make} -f Makefile.init makefiles \
- shlib_directory=%{_libdir}/postfix
+%{__make} -f Makefile.init makefiles
%{__make} tidy
CC="%{__cc}"
export CC
%{__make} -j1 \
dynamicmaps=yes \
+ shared=yes \
+ shlib_directory=%{_libdir}/postfix \
DEBUG="" \
OPT="%{rpmcflags} %{rpmcppflags} -D_FILE_OFFSET_BITS=64" \
CCARGS="%{!?with_epoll:-DNO_EPOLL} %{?with_ldap:-DHAS_LDAP} -DHAS_PCRE %{?with_sasl:-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl} %{?with_mysql:-DHAS_MYSQL -I/usr/include/mysql} %{?with_pgsql:-DHAS_PGSQL} %{?with_ssl:-DUSE_TLS} %{?with_cdb:-DHAS_CDB} %{?with_sqlite:-DHAS_SQLITE}" \
+ %{?with_ldap:AUXLIBS_CDB="-lcdb"} \
%{?with_ldap:AUXLIBS_LDAP="-lldap -llber"} \
%{?with_mysql:AUXLIBS_MYSQL="-lmysqlclient"} \
+ %{?with_ldap:AUXLIBS_PCRE="-lpcre"} \
%{?with_pgsql:AUXLIBS_PGSQL="-lpq"} \
%{?with_sqlite:AUXLIBS_SQLITE="-lsqlite3 -lpthread"} \
AUXLIBS="%{?with_sasl:-lsasl} %{?with_ssl:-lssl -lcrypto}"
%{__rm} -r $RPM_BUILD_ROOT%{_sysconfdir}/mail/makedefs.out
%{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/mail/TLS_LICENSE
-%{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/mail/{postfix-files,postfix-script,post-install}
+%{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/mail/{postfix-script,post-install}
%clean
rm -rf $RPM_BUILD_ROOT
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/dynamicmaps.cf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/main.cf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/master.cf
+%{_sysconfdir}/mail/postfix-files
%{_sysconfdir}/mail/postfix-wrapper
%{_sysconfdir}/mail/postmulti-script
%attr(740,root,root) /etc/cron.daily/postfix