Accepting request 99904 from server:mail
- Add postmap rebuild script to systemv init script too - bnc#738900 - cyrus-imapd not receiving mail from postfix OBS-URL: https://build.opensuse.org/request/show/99904 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postfix?expand=0&rev=86
This commit is contained in:
commit
c96c81c738
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:709f3538c1c2ddb71d987f648a46cdd60e39d5fcd7b97d115c511771eea133b5
|
||||
size 24717
|
||||
oid sha256:fe826deef92e3dd88cbd189b51e2b5331dc358d32b4e0cfae8555694af9ee1f9
|
||||
size 24839
|
||||
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 12 12:18:17 UTC 2012 - varkoly@suse.com
|
||||
|
||||
- Add postmap rebuild script to systemv init script too
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 11 14:21:21 UTC 2012 - varkoly@suse.com
|
||||
|
||||
- bnc#738900 - cyrus-imapd not receiving mail from postfix
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 13 14:50:45 UTC 2011 - varkoly@suse.com
|
||||
|
||||
|
26
postfix.spec
26
postfix.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package postfix
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,15 +16,13 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: postfix
|
||||
Summary: A fast, secure, and flexible mailer
|
||||
Version: 2.8.7
|
||||
Release: 1
|
||||
License: IBM Public License ..
|
||||
License: IPL-1.0
|
||||
Group: Productivity/Networking/Email/Servers
|
||||
Version: 2.8.7
|
||||
Release: 0
|
||||
Url: http://www.postfix.org/
|
||||
AutoReqProv: on
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: %{name}-SuSE.tar.gz
|
||||
Source2: %{name}-mysql.tar.bz2
|
||||
@ -42,7 +40,7 @@ Patch21: postfix-2.8.5-ssl-release-buffers.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
PreReq: %insserv_prereq %fillup_prereq
|
||||
PreReq: /usr/bin/getent
|
||||
PreReq: /usr/sbin/useradd /usr/sbin/groupadd
|
||||
PreReq: /usr/sbin/useradd /usr/sbin/groupadd /usr/sbin/usermod
|
||||
PreReq: /bin/sed /bin/awk /bin/grep
|
||||
PreReq: textutils sh-utils fileutils pcre netcfg
|
||||
%if 0%{?suse_version} > 1130
|
||||
@ -51,7 +49,9 @@ PreReq: sysvinit(syslog) sysvinit(network)
|
||||
Requires: iproute2
|
||||
BuildRequires: db-devel
|
||||
BuildRequires: mysql-devel
|
||||
BuildRequires: openldap2-devel pcre-devel postgresql-devel
|
||||
BuildRequires: openldap2-devel
|
||||
BuildRequires: pcre-devel
|
||||
BuildRequires: postgresql-devel
|
||||
# require pwdutils to make postinstall script check work
|
||||
BuildRequires: pwdutils
|
||||
%if 0%{?suse_version} >= 1100
|
||||
@ -84,6 +84,7 @@ Provides: smtp_daemon
|
||||
%define pf_uid 51
|
||||
%define pf_gid 51
|
||||
%define maildrop_gid 59
|
||||
%define mail_gid 12
|
||||
%define conf_backup_dir /var/adm/backup/%{name}
|
||||
%define omc_pdir /usr/share/omc/
|
||||
%define omc_dir /usr/share/omc/svcinfo.d/
|
||||
@ -100,9 +101,7 @@ Postfix aims to be an alternative to the widely-used sendmail program.
|
||||
|
||||
%package devel
|
||||
Summary: Development headers for the postfix package
|
||||
License: IBM Public License ..
|
||||
Group: Development/Libraries/C and C++
|
||||
AutoReqProv: on
|
||||
PreReq: %{name} = %{version}
|
||||
|
||||
%description devel
|
||||
@ -110,7 +109,6 @@ Postfix aims to be an alternative to the widely-used sendmail program.
|
||||
|
||||
%package doc
|
||||
Summary: Documentations for the postfix package
|
||||
License: IBM Public License ..
|
||||
Group: Productivity/Networking/Email/Servers
|
||||
%if 0%{?suse_version} >= 1120
|
||||
BuildArch: noarch
|
||||
@ -122,9 +120,7 @@ This package contains the documentation for %{name}
|
||||
|
||||
%package mysql
|
||||
Summary: Postfix plugin to support MySQL maps
|
||||
License: IBM Public License ..
|
||||
Group: Productivity/Networking/Email/Servers
|
||||
AutoReqProv: on
|
||||
PreReq: %{name} = %{version}
|
||||
|
||||
%description mysql
|
||||
@ -133,9 +129,7 @@ starting %{name} if you'll access a postmap which is stored in mysql.
|
||||
|
||||
%package postgresql
|
||||
Summary: Postfix plugin to support PostgreSQL maps
|
||||
License: IBM Public License ..
|
||||
Group: Productivity/Networking/Email/Servers
|
||||
AutoReqProv: on
|
||||
PreReq: %{name} = %{version}
|
||||
|
||||
%description postgresql
|
||||
@ -181,6 +175,7 @@ make LD_LIBRARY_PATH=$(pwd)/lib:${LD_LIBRARY_PATH}
|
||||
/usr/sbin/groupadd -g %{pf_gid} -o -r %{name} 2> /dev/null || :
|
||||
/usr/sbin/groupadd -g %{maildrop_gid} -o -r maildrop 2> /dev/null || :
|
||||
/usr/sbin/useradd -r -o -g %{name} -u %{pf_uid} -s /bin/false -c "Postfix Daemon" -d /%{pf_queue_directory} %{name} 2> /dev/null || :
|
||||
/usr/sbin/usermod -G %{maildrop_gid},%{mail_gid} {name} 2> /dev/null || :
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_libdir}
|
||||
install lib/*.1 $RPM_BUILD_ROOT/%{_libdir}
|
||||
for i in $RPM_BUILD_ROOT/%{_libdir}/*.1; do
|
||||
@ -330,6 +325,7 @@ fi
|
||||
/usr/sbin/groupadd -g %{pf_gid} -o -r %{name} 2> /dev/null || :
|
||||
/usr/sbin/groupadd -g %{maildrop_gid} -o -r maildrop 2> /dev/null || :
|
||||
/usr/sbin/useradd -r -o -g %{name} -u %{pf_uid} -s /bin/false -c "Postfix Daemon" -d /%{pf_queue_directory} %{name} 2> /dev/null || :
|
||||
/usr/sbin/usermod -G %{maildrop_gid},%{mail_gid} {name} 2> /dev/null || :
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
%pre mysql
|
||||
|
Loading…
Reference in New Issue
Block a user