|
@@ -28,13 +28,12 @@
|
|
%define postfix_sample_dir %{postfix_doc_dir}/samples
|
|
%define postfix_sample_dir %{postfix_doc_dir}/samples
|
|
%define postfix_readme_dir %{postfix_doc_dir}/README_FILES
|
|
%define postfix_readme_dir %{postfix_doc_dir}/README_FILES
|
|
|
|
|
|
-
|
|
|
|
Summary: Postfix Mail Transport Agent
|
|
Summary: Postfix Mail Transport Agent
|
|
Summary(ja): Postfix メールトランスポートエージェント
|
|
Summary(ja): Postfix メールトランスポートエージェント
|
|
Name: postfix
|
|
Name: postfix
|
|
-Version: 3.5.6
|
|
+Version: 3.5.7
|
|
Release: 1%{?_dist_release}%{?with_systemd:.systemd}
|
|
Release: 1%{?_dist_release}%{?with_systemd:.systemd}
|
|
-Group: System Environment/Daemons
|
|
+Group: servers
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
Packager: daisuke
|
|
Packager: daisuke
|
|
@@ -103,7 +102,6 @@ Requires: pam
|
|
Obsoletes: postfix-beta
|
|
Obsoletes: postfix-beta
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
-
|
|
|
|
%description
|
|
%description
|
|
Postfix aims to be an alternative to the widely-used sendmail
|
|
Postfix aims to be an alternative to the widely-used sendmail
|
|
program. Sendmail is responsible for 70 percent of all e-mail delivered
|
|
program. Sendmail is responsible for 70 percent of all e-mail delivered
|
|
@@ -126,9 +124,10 @@ Postfix は現在広く使われている sendmail を置き換える目的で
|
|
Postfix の開発は IBM によってサポートされており、全世界の
|
|
Postfix の開発は IBM によってサポートされており、全世界の
|
|
全てのシステムを postfix にすることを目標としています。
|
|
全てのシステムを postfix にすることを目標としています。
|
|
|
|
|
|
|
|
+
|
|
%package sqlite
|
|
%package sqlite
|
|
Summary: SQLite3 map support for Postfix
|
|
Summary: SQLite3 map support for Postfix
|
|
-Group: System Environment/Daemons
|
|
+Group: servers
|
|
Requires(pre): postfix = %{version}-%{release}
|
|
Requires(pre): postfix = %{version}-%{release}
|
|
%description sqlite
|
|
%description sqlite
|
|
This package contains shared lib module which support
|
|
This package contains shared lib module which support
|
|
@@ -137,10 +136,11 @@ SQLite map on Postfix.
|
|
このパッケージには、Postfix で SQLite map を使うのに
|
|
このパッケージには、Postfix で SQLite map を使うのに
|
|
必要なライブラリが納められています。
|
|
必要なライブラリが納められています。
|
|
|
|
|
|
|
|
+
|
|
%if %build_pgsql
|
|
%if %build_pgsql
|
|
%package pgsql
|
|
%package pgsql
|
|
Summary: PGSQL map support for Postfix
|
|
Summary: PGSQL map support for Postfix
|
|
-Group: System Environment/Daemons
|
|
+Group: servers
|
|
Requires(pre): postfix = %{version}-%{release}
|
|
Requires(pre): postfix = %{version}-%{release}
|
|
%description pgsql
|
|
%description pgsql
|
|
This package contains shared lib module which support
|
|
This package contains shared lib module which support
|
|
@@ -150,10 +150,11 @@ PostgreSQL map on Postfix.
|
|
ライブラリが納められています。
|
|
ライブラリが納められています。
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
+
|
|
%if %build_mysql
|
|
%if %build_mysql
|
|
%package mysql
|
|
%package mysql
|
|
Summary: MySQL map support for Postfix
|
|
Summary: MySQL map support for Postfix
|
|
-Group: System Environment/Daemons
|
|
+Group: servers
|
|
Requires(pre): postfix = %{version}-%{release}
|
|
Requires(pre): postfix = %{version}-%{release}
|
|
%description mysql
|
|
%description mysql
|
|
This package contains shared lib module which support
|
|
This package contains shared lib module which support
|
|
@@ -163,9 +164,10 @@ MySQL map on Postfix.
|
|
ライブラリが納められています。
|
|
ライブラリが納められています。
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
+
|
|
%package ldap
|
|
%package ldap
|
|
Summary: LDAP map support for Postfix
|
|
Summary: LDAP map support for Postfix
|
|
-Group: System Environment/Daemons
|
|
+Group: servers
|
|
Requires(pre): postfix = %{version}-%{release}
|
|
Requires(pre): postfix = %{version}-%{release}
|
|
%description ldap
|
|
%description ldap
|
|
This package contains shared lib module which support
|
|
This package contains shared lib module which support
|
|
@@ -174,9 +176,10 @@ OpenLDAP map on Postfix.
|
|
このパッケージには、Postfix で OpenLDAP を使うのに必要な
|
|
このパッケージには、Postfix で OpenLDAP を使うのに必要な
|
|
ライブラリが納められています。
|
|
ライブラリが納められています。
|
|
|
|
|
|
|
|
+
|
|
%package pcre
|
|
%package pcre
|
|
Summary: PCRE map support for Postfix
|
|
Summary: PCRE map support for Postfix
|
|
-Group: System Environment/Daemons
|
|
+Group: servers
|
|
Requires(pre): postfix = %{version}-%{release}
|
|
Requires(pre): postfix = %{version}-%{release}
|
|
%description pcre
|
|
%description pcre
|
|
This package contains shared lib module which support
|
|
This package contains shared lib module which support
|
|
@@ -185,6 +188,10 @@ PCRE map on Postfix.
|
|
このパッケージには、Postfix で PCRE マップを使うのに必要な
|
|
このパッケージには、Postfix で PCRE マップを使うのに必要な
|
|
ライブラリが納められています。
|
|
ライブラリが納められています。
|
|
|
|
|
|
|
|
+
|
|
|
|
+%debug_package
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
# japanese documant for 2.4.x is not ready.
|
|
# japanese documant for 2.4.x is not ready.
|
|
# %setup -q -a 10 -a 20 -a 30 -a 40
|
|
# %setup -q -a 10 -a 20 -a 30 -a 40
|
|
@@ -203,10 +210,9 @@ sed -i \
|
|
's|^\(\s*#define\s\+DEF_SHLIB_DIR\s\+\)"/usr/lib/postfix"|\1"%{_libdir}/postfix" |' \
|
|
's|^\(\s*#define\s\+DEF_SHLIB_DIR\s\+\)"/usr/lib/postfix"|\1"%{_libdir}/postfix" |' \
|
|
src/global/mail_params.h
|
|
src/global/mail_params.h
|
|
|
|
|
|
-%build
|
|
|
|
|
|
|
|
|
|
+%build
|
|
unset AUXLIBS_MYSQL AUXLIBS_PGSQL
|
|
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 \
|
|
@@ -217,9 +223,7 @@ CCARGS="-DMAX_DYNAMIC_MAPS \
|
|
-DHAS_SQLITE \
|
|
-DHAS_SQLITE \
|
|
`pkg-config --cflags sqlite3` \
|
|
`pkg-config --cflags sqlite3` \
|
|
-DUSE_TLS"
|
|
-DUSE_TLS"
|
|
-
|
|
|
|
AUXLIBS="-lsasl2 -lssl -lcrypto"
|
|
AUXLIBS="-lsasl2 -lssl -lcrypto"
|
|
-
|
|
|
|
AUXLIBS_LDAP="-lldap -llber"
|
|
AUXLIBS_LDAP="-lldap -llber"
|
|
AUXLIBS_PCRE="-lpcre"
|
|
AUXLIBS_PCRE="-lpcre"
|
|
AUXLIBS_SQLITE="`pkg-config --libs sqlite3`"
|
|
AUXLIBS_SQLITE="`pkg-config --libs sqlite3`"
|
|
@@ -252,6 +256,7 @@ make -f Makefile.init makefiles \
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
+
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -f html/Makefile.in
|
|
rm -f html/Makefile.in
|
|
@@ -404,7 +409,6 @@ if [ $1 -eq 0 -o -x /bin/systemctl ]; then
|
|
fi
|
|
fi
|
|
%endif
|
|
%endif
|
|
|
|
|
|
-
|
|
|
|
%postun
|
|
%postun
|
|
/sbin/ldconfig
|
|
/sbin/ldconfig
|
|
%if %{with systemd}
|
|
%if %{with systemd}
|
|
@@ -556,6 +560,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_sysconfdir}/postfix/postfix-files.d/pcre
|
|
%{_sysconfdir}/postfix/postfix-files.d/pcre
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Sep 01 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.7-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Mon Jul 27 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.6-1
|
|
* Mon Jul 27 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.6-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|