This commit is contained in:
parent
150864677b
commit
09905b2db3
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:653d0b3af0b6e0383cf64c56d3466235becc82bb71dc329f4470173bef3e12c1
|
||||
size 16582
|
||||
oid sha256:0909d617691af09eed56606dbb667903577927beb4adc708fd9dee9cb7858740
|
||||
size 16484
|
||||
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 13:14:07 CET 2007 - varkoly@suse.de
|
||||
|
||||
- #144104 - postfix does not start
|
||||
|
||||
- Implementing Fate #301840: Postfix XML Service Description Document
|
||||
|
||||
- Enhancing /etc/sysconfig/postfix descripton to avoid problems
|
||||
like Bug 228678 - Problems with setting up chroot environment if
|
||||
/var/spool is not on same filesystem as /var
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 22 03:03:18 CET 2006 - mrueckert@suse.de
|
||||
|
||||
|
16
postfix.spec
16
postfix.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package postfix (Version 2.3.2)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
@ -22,9 +22,10 @@ Conflicts: sendmail exim
|
||||
Autoreqprov: on
|
||||
Summary: A fast, secure, and flexible mailer
|
||||
Version: 2.3.2
|
||||
Release: 26
|
||||
Release: 34
|
||||
Source: postfix-%{version}.tar.gz
|
||||
Source1: postfix-SuSE.tar.gz
|
||||
Source2: postfix.xml
|
||||
Patch: dynamic_maps.patch
|
||||
Patch1: dynamic_maps_pie.patch
|
||||
Prereq: /usr/sbin/useradd /usr/sbin/groupadd %insserv_prereq %fillup_prereq /bin/sed /bin/awk /bin/grep textutils sh-utils fileutils pcre openldap2-client netcfg /sbin/ip
|
||||
@ -68,6 +69,7 @@ Prereq: postfix
|
||||
%define postfix_gid 51
|
||||
%define maildrop_gid 59
|
||||
%define conf_backup_dir /var/adm/backup/postfix
|
||||
%define omc_dir /usr/share/omc/svcinfo.d/
|
||||
#
|
||||
# ---------------------------------------------------------------------------
|
||||
%prep
|
||||
@ -184,6 +186,8 @@ install -m 644 postfix-SuSE/openssl_postfix.conf.in $RPM_BUILD_ROOT/etc/postfix/
|
||||
install -m 755 postfix-SuSE/mkpostfixcert $RPM_BUILD_ROOT/usr/sbin/mkpostfixcert
|
||||
rm -rf $RPM_BUILD_ROOT/var/spool/postfix
|
||||
install -m 644 postfix-SuSE/master.cf $RPM_BUILD_ROOT/%{conf_backup_dir}/master.cf
|
||||
mkdir -p $RPM_BUILD_ROOT/%{omc_dir}
|
||||
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/%{omc_dir}
|
||||
{
|
||||
cat<<EOF
|
||||
#
|
||||
@ -464,6 +468,8 @@ fi
|
||||
/var/adm/fillup-templates/sysconfig.postfix
|
||||
/var/adm/fillup-templates/sysconfig.mail-postfix
|
||||
/sbin/conf.d/SuSEconfig.postfix
|
||||
%dir %{omc_dir}
|
||||
%config(noreplace) %{omc_dir}/postfix.xml
|
||||
%dir /etc/postfix
|
||||
%config(noreplace) /etc/postfix/access
|
||||
%config(noreplace) /etc/postfix/generic
|
||||
@ -562,6 +568,12 @@ Authors:
|
||||
|
||||
|
||||
%changelog -n postfix
|
||||
* Mon Jan 15 2007 - varkoly@suse.de
|
||||
- #144104 - postfix does not start
|
||||
- Implementing Fate #301840: Postfix XML Service Description Document
|
||||
- Enhancing /etc/sysconfig/postfix descripton to avoid problems
|
||||
like Bug 228678 - Problems with setting up chroot environment if
|
||||
/var/spool is not on same filesystem as /var
|
||||
* Wed Nov 22 2006 - mrueckert@suse.de
|
||||
- moved the dict handling into a preun script instead of postun
|
||||
and do not remove the dict entry on upgrade (#223176)
|
||||
|
77
postfix.xml
Normal file
77
postfix.xml
Normal file
@ -0,0 +1,77 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Sample Service Description XML Document.
|
||||
|
||||
This file should be placed in /etc/omc/svcinfo.d
|
||||
It should be named <service name>.xml. The reason for the naming scheme,
|
||||
is that other services can refer to this service in their dependency list using
|
||||
the file name minus the '.xml' extension.
|
||||
|
||||
Note: The name of the service is the name of this file without the .xml
|
||||
file extension.
|
||||
-->
|
||||
|
||||
<serviceDescription version="1.0">
|
||||
|
||||
<!-- Caption for display purposes -->
|
||||
<caption>Postfix Mail Server</caption>
|
||||
|
||||
<!-- Description of this service -->
|
||||
<description>
|
||||
Postfix is a fast, secure, and flexible mailer.
|
||||
Postfix aims to be an alternative to the widely-used sendmail program.
|
||||
</description>
|
||||
|
||||
<!--
|
||||
Define the services that this service has a dependency on.
|
||||
There must be a corresponding Service Description XML file
|
||||
for the antecedent service in the /etc/omc/svcinfo.d directory.
|
||||
-->
|
||||
<dependsOn>
|
||||
<serviceName>network</serviceName>
|
||||
<serviceName>syslog</serviceName>
|
||||
</dependsOn>
|
||||
|
||||
<!--
|
||||
The startCommand tag specifies the command line that will be
|
||||
invoked to start the service. The return code from this command
|
||||
must be as follows:
|
||||
0 - success
|
||||
1 - generic or unspecified error
|
||||
2 - invalid or excess argument(s)
|
||||
3 - unimplemented feature (e.g. "reload")
|
||||
4 - user had insufficient privileges
|
||||
5 - program is not installed
|
||||
6 - program is not configured
|
||||
7 - program is not running
|
||||
-->
|
||||
<startCommand>/usr/sbin/postfix start</startCommand>
|
||||
|
||||
<!--
|
||||
The reStartCommand tag specifies the command line that will be
|
||||
invoked to restart the service. The return code from this command
|
||||
must be as specified in the startCommand tag.
|
||||
-->
|
||||
<reStartCommand>/usr/sbin/postfix restart</reStartCommand>
|
||||
|
||||
<!--
|
||||
The stopCommand tag specifies the command line that will be
|
||||
invoked to stop the service. The return code from this command
|
||||
must be as specified in the startCommand tag.
|
||||
-->
|
||||
<stopCommand>/usr/sbin/postfix stop</stopCommand>
|
||||
|
||||
<!--
|
||||
The statusCommand specifies the command line that can be run
|
||||
that will report on the status of the service. The return code
|
||||
from this command line should be as follows:
|
||||
0 - service up and running
|
||||
1 - service dead, but /var/run/ pid file exists
|
||||
2 - service dead, but /var/lock/ lock file exists
|
||||
3 - service not running (unused)
|
||||
4 - service status unknown :-(
|
||||
-->
|
||||
<statusCommand>/etc/init.d/postfix status</statusCommand>
|
||||
|
||||
</serviceDescription>
|
||||
|
Loading…
Reference in New Issue
Block a user