mailman/mailman.spec

changeset 46
7a95c2a6c709
parent 8
012d4ffc4892
child 56
70d79f7a1825
equal deleted inserted replaced
1:3104c7c87eb8 2:01be40d9e739
30 Distribution: OpenPKG Community 30 Distribution: OpenPKG Community
31 Class: EVAL 31 Class: EVAL
32 Group: Mail 32 Group: Mail
33 License: GPL 33 License: GPL
34 Version: 2.1.11 34 Version: 2.1.11
35 Release: 20081218 35 Release: 20081220
36 36
37 # list of sources 37 # list of sources
38 Source0: http://switch.dl.sourceforge.net/mailman/mailman-%{version}.tgz 38 Source0: http://switch.dl.sourceforge.net/mailman/mailman-%{version}.tgz
39 Source1: manpages.tar.gz 39 Source1: manpages.tar.gz
40 Source2: mailman-sendmail.m4 40 Source2: mailman-sendmail.m4
152 152
153 # install run-command script 153 # install run-command script
154 %{l_shtool} install -c -m 755 %{l_value -s -a} \ 154 %{l_shtool} install -c -m 755 %{l_value -s -a} \
155 %{SOURCE rc.mailman} ${RPM_BUILD_ROOT}%{l_prefix}/etc/rc.d/ 155 %{SOURCE rc.mailman} ${RPM_BUILD_ROOT}%{l_prefix}/etc/rc.d/
156 156
157 # avoid root permissions on log file creation
158 touch %{l_prefix}/var/mailman/logs/error
159
157 # determine installation files 160 # determine installation files
158 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ 161 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
159 %{l_files_std} \ 162 %{l_files_std} \
160 '%dir %attr(2700,%{l_nusr},%{l_mgrp}) %{l_prefix}/libexec/mailman/mail/mailman-sendmail' \ 163 '%dir %attr(2700,%{l_nusr},%{l_mgrp}) %{l_prefix}/libexec/mailman/mail/mailman-sendmail' \
161 '%dir %attr(2775,%{l_nusr},%{l_mgrp}) %{l_prefix}/var/mailman' \ 164 '%dir %attr(2775,%{l_nusr},%{l_mgrp}) %{l_prefix}/var/mailman' \
162 '%dir %attr(2775,%{l_nusr},%{l_mgrp}) %{l_prefix}/var/mailman/logs' \ 165 '%dir %attr(2775,%{l_nusr},%{l_mgrp}) %{l_prefix}/var/mailman/logs' \
166 '%dir %attr(644,%{l_nusr},%{l_mgrp}) %{l_prefix}/var/mailman/logs/*' \
163 '%dir %attr(2775,%{l_nusr},%{l_mgrp}) %{l_prefix}/var/mailman/spam' \ 167 '%dir %attr(2775,%{l_nusr},%{l_mgrp}) %{l_prefix}/var/mailman/spam' \
164 '%dir %attr(2775,%{l_nusr},%{l_mgrp}) %{l_prefix}/var/mailman/qfiles' \ 168 '%dir %attr(2775,%{l_nusr},%{l_mgrp}) %{l_prefix}/var/mailman/qfiles' \
165 '%dir %attr(2775,%{l_nusr},%{l_mgrp}) %{l_prefix}/var/mailman/locks' \ 169 '%dir %attr(2775,%{l_nusr},%{l_mgrp}) %{l_prefix}/var/mailman/locks' \
166 '%dir %attr(2775,%{l_nusr},%{l_mgrp}) %{l_prefix}/var/mailman/lists' \ 170 '%dir %attr(2775,%{l_nusr},%{l_mgrp}) %{l_prefix}/var/mailman/lists' \
167 '%dir %attr(2775,%{l_nusr},%{l_mgrp}) %{l_prefix}/var/mailman/archives' \ 171 '%dir %attr(2775,%{l_nusr},%{l_mgrp}) %{l_prefix}/var/mailman/archives' \

mercurial