postfix/postfix.spec

changeset 201
3be96a4c8c18
parent 147
13509f36148e
child 495
01294b31a79e
equal deleted inserted replaced
1:13b03793a9bd 2:aaa29b7e514e
1 ## 1 ##
2 ## postfix.spec -- OpenPKG RPM Package Specification 2 ## postfix.spec -- OpenPKG RPM Package Specification
3 ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/> 3 ## Copyright (c) 2000-2009 OpenPKG Foundation e.V. <http://openpkg.net/>
4 ## 4 ##
5 ## Permission to use, copy, modify, and distribute this software for 5 ## Permission to use, copy, modify, and distribute this software for
6 ## any purpose with or without fee is hereby granted, provided that 6 ## any purpose with or without fee is hereby granted, provided that
7 ## the above copyright notice and this permission notice appear in all 7 ## the above copyright notice and this permission notice appear in all
8 ## copies. 8 ## copies.
35 Distribution: OpenPKG Community 35 Distribution: OpenPKG Community
36 Class: BASE 36 Class: BASE
37 Group: Mail 37 Group: Mail
38 License: IPL 38 License: IPL
39 Version: %{V_postfix} 39 Version: %{V_postfix}
40 Release: 20090406 40 Release: 20090418
41 41
42 # package options 42 # package options
43 %option with_fsl yes 43 %option with_fsl yes
44 %option with_ssl no 44 %option with_ssl no
45 %option with_sasl no 45 %option with_sasl no
139 %setup -q -T -D -a 1 139 %setup -q -T -D -a 1
140 140
141 # apply OpenPKG patches 141 # apply OpenPKG patches
142 %patch -p0 142 %patch -p0
143 ( cd pflogsumm-%{V_pflogsumm} && %{l_patch} -p0 -b <%{PATCH1} ) || exit $? 143 ( cd pflogsumm-%{V_pflogsumm} && %{l_patch} -p0 -b <%{PATCH1} ) || exit $?
144
145 # remove OpenPKG privelege model incompatible exit conditions
146 %{l_shtool} subst \
147 -e 's;msg_fatal\(.*attribute specifies mail system\);msg_info\1;g' \
148 src/pipe/pipe.c
144 149
145 # apply vendor WHOSON patch 150 # apply vendor WHOSON patch
146 %if "%{with_whoson}" == "yes" 151 %if "%{with_whoson}" == "yes"
147 %patch -p0 -P 2 152 %patch -p0 -P 2
148 %endif 153 %endif

mercurial