Accepting request 67025 from server:mail
Accepted submit request 67025 from user dirkmueller OBS-URL: https://build.opensuse.org/request/show/67025 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/exim?expand=0&rev=9
This commit is contained in:
commit
f0498e94ff
@ -1,3 +1,8 @@
|
|||||||
|
From: Ruediger Oertel <ro at suse dot de>
|
||||||
|
Subject: fix deprecated tail call syntax (-1)
|
||||||
|
Reported-Upstream: Yes
|
||||||
|
Bugtracker: bugs.exim.org 1080
|
||||||
|
|
||||||
Index: scripts/Configure-config.h
|
Index: scripts/Configure-config.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- scripts/Configure-config.h.orig
|
--- scripts/Configure-config.h.orig
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 10 18:30:11 UTC 2011 - poeml@cmdline.net
|
||||||
|
|
||||||
|
- postgresql-enabled build when build_with_pgsql is defined (which is done in a
|
||||||
|
linked package named server:mail/exim-postgresql)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 4 22:13:39 UTC 2011 - lars@samba.org
|
Fri Feb 4 22:13:39 UTC 2011 - lars@samba.org
|
||||||
|
|
||||||
|
21
exim.spec
21
exim.spec
@ -46,6 +46,10 @@ Release: 1
|
|||||||
BuildRequires: mysql-devel
|
BuildRequires: mysql-devel
|
||||||
Provides: exim = %version
|
Provides: exim = %version
|
||||||
%endif
|
%endif
|
||||||
|
%if %{?build_with_pgsql:1}0
|
||||||
|
BuildRequires: postgresql-devel
|
||||||
|
Provides: exim = %version
|
||||||
|
%endif
|
||||||
Summary: The Exim Mail Transfer Agent, a Replacement for sendmail
|
Summary: The Exim Mail Transfer Agent, a Replacement for sendmail
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source: exim-%{version}.tar.bz2
|
Source: exim-%{version}.tar.bz2
|
||||||
@ -59,7 +63,7 @@ Source30: eximstats-html-update.py
|
|||||||
Source31: eximstats.conf
|
Source31: eximstats.conf
|
||||||
Patch: exim-4.12-tail.patch
|
Patch: exim-4.12-tail.patch
|
||||||
Patch1: aa097c4c00f62487128d74f65c521f9e877b184f.diff
|
Patch1: aa097c4c00f62487128d74f65c521f9e877b184f.diff
|
||||||
%if !%{?build_with_mysql:1}0
|
%if !%{?build_with_mysql:1}0 && !%{?build_with_pgsql:1}0
|
||||||
|
|
||||||
%package -n eximon
|
%package -n eximon
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -88,7 +92,7 @@ Authors:
|
|||||||
--------
|
--------
|
||||||
Philip Hazel <ph10@cus.cam.ac.uk>
|
Philip Hazel <ph10@cus.cam.ac.uk>
|
||||||
|
|
||||||
%if !%{?build_with_mysql:1}0
|
%if !%{?build_with_mysql:1}0 && !%{?build_with_pgsql:1}0
|
||||||
|
|
||||||
%description -n eximon
|
%description -n eximon
|
||||||
This allows administrators to view the exim agent's mail queue and
|
This allows administrators to view the exim agent's mail queue and
|
||||||
@ -161,6 +165,9 @@ cat <<-EOF > Local/Makefile
|
|||||||
LOOKUP_LDAP=yes
|
LOOKUP_LDAP=yes
|
||||||
%if %{?build_with_mysql:1}0
|
%if %{?build_with_mysql:1}0
|
||||||
LOOKUP_MYSQL=yes
|
LOOKUP_MYSQL=yes
|
||||||
|
%endif
|
||||||
|
%if %{?build_with_pgsql:1}0
|
||||||
|
LOOKUP_PGSQL=yes
|
||||||
%endif
|
%endif
|
||||||
LOOKUP_NIS=yes
|
LOOKUP_NIS=yes
|
||||||
# LOOKUP_NISPLUS=yes
|
# LOOKUP_NISPLUS=yes
|
||||||
@ -176,6 +183,10 @@ cat <<-EOF > Local/Makefile
|
|||||||
%if %{?build_with_mysql:1}0
|
%if %{?build_with_mysql:1}0
|
||||||
LOOKUP_INCLUDE=-I /usr/include/mysql
|
LOOKUP_INCLUDE=-I /usr/include/mysql
|
||||||
LOOKUP_LIBS=-lldap -llber -lmysqlclient
|
LOOKUP_LIBS=-lldap -llber -lmysqlclient
|
||||||
|
%endif
|
||||||
|
%if %{?build_with_pgsql:1}0
|
||||||
|
LOOKUP_INCLUDE=-I /usr/include/pgsql
|
||||||
|
LOOKUP_LIBS=-lldap -llber -lpq
|
||||||
%endif
|
%endif
|
||||||
EXIM_MONITOR=eximon.bin
|
EXIM_MONITOR=eximon.bin
|
||||||
WITH_CONTENT_SCAN=yes
|
WITH_CONTENT_SCAN=yes
|
||||||
@ -267,7 +278,7 @@ do
|
|||||||
done
|
done
|
||||||
ln -sf exim $RPM_BUILD_ROOT/usr/sbin/sendmail
|
ln -sf exim $RPM_BUILD_ROOT/usr/sbin/sendmail
|
||||||
ln -sv ../../etc/init.d/exim $RPM_BUILD_ROOT/usr/sbin/rcexim
|
ln -sv ../../etc/init.d/exim $RPM_BUILD_ROOT/usr/sbin/rcexim
|
||||||
%if !%{?build_with_mysql:1}0
|
%if !%{?build_with_mysql:1}0 && !%{?build_with_pgsql:1}0
|
||||||
mv $RPM_BUILD_ROOT/usr/sbin/eximon* $RPM_BUILD_ROOT/usr/bin/
|
mv $RPM_BUILD_ROOT/usr/sbin/eximon* $RPM_BUILD_ROOT/usr/bin/
|
||||||
%else
|
%else
|
||||||
rm $RPM_BUILD_ROOT/usr/sbin/eximon*
|
rm $RPM_BUILD_ROOT/usr/sbin/eximon*
|
||||||
@ -307,7 +318,7 @@ install -m 0755 -d $RPM_BUILD_ROOT/etc/permissions.d
|
|||||||
install -m 0644 $RPM_SOURCE_DIR/permissions.exim $RPM_BUILD_ROOT/etc/permissions.d/exim
|
install -m 0644 $RPM_SOURCE_DIR/permissions.exim $RPM_BUILD_ROOT/etc/permissions.d/exim
|
||||||
%endif
|
%endif
|
||||||
# eximstats-html files
|
# eximstats-html files
|
||||||
%if !%{?build_with_mysql:1}0
|
%if !%{?build_with_mysql:1}0 && !%{?build_with_pgsql:1}0
|
||||||
mkdir -p $RPM_BUILD_ROOT/srv/www/eximstats
|
mkdir -p $RPM_BUILD_ROOT/srv/www/eximstats
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/apache2/conf.d/
|
mkdir -p $RPM_BUILD_ROOT/etc/apache2/conf.d/
|
||||||
cp -p $RPM_SOURCE_DIR/eximstats.conf $RPM_BUILD_ROOT/etc/apache2/conf.d/
|
cp -p $RPM_SOURCE_DIR/eximstats.conf $RPM_BUILD_ROOT/etc/apache2/conf.d/
|
||||||
@ -386,7 +397,7 @@ exit 0
|
|||||||
/usr/lib/sendmail
|
/usr/lib/sendmail
|
||||||
/var/adm/fillup-templates/sysconfig.exim
|
/var/adm/fillup-templates/sysconfig.exim
|
||||||
%dir %attr(750,root,mail) /var/log/exim
|
%dir %attr(750,root,mail) /var/log/exim
|
||||||
%if !%{?build_with_mysql:1}0
|
%if !%{?build_with_mysql:1}0 && !%{?build_with_pgsql:1}0
|
||||||
|
|
||||||
%files -n eximon
|
%files -n eximon
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user