/[smecontribs]/rpms/smeserver-altqmail/contribs10/smeserver-altqmail.spec
ViewVC logotype

Diff of /rpms/smeserver-altqmail/contribs10/smeserver-altqmail.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by jpp, Thu Mar 23 03:10:20 2023 UTC Revision 1.2 by jpp, Fri Mar 24 03:45:27 2023 UTC
# Line 1  Line 1 
1  Summary: Second qmail instance  Summary: Second qmail instance
2  Name: smeserver-altqmail  Name: smeserver-altqmail
3  Version: 0.1.2  Version: 0.1.2
4  Release: 1%{?dist}  Release: 2%{?dist}
5  License: GPL  License: GPL
6  Group: Networking/Daemons  Group: Networking/Daemons
7  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
8    Patch0: smeserver-altqmail-0.1.2-sme10-throttle.patch
9    
10  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
11  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 19  Usefull if you want to reduce the Concur Line 20  Usefull if you want to reduce the Concur
20  only for some domains  only for some domains
21    
22  %changelog  %changelog
23    * Thu Mar 23 2023 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.2-2.sme
24    - import to SME10 [SME: 12344]
25      adapt for systemd and add update event
26      add throttle capability
27    
28  * Sun Nov 19 2017 Daniel Berteaud <daniel@firewall-services.com> 0.1.2-1  * Sun Nov 19 2017 Daniel Berteaud <daniel@firewall-services.com> 0.1.2-1
29  - Fixes in spec file (daniel@firewall-services.com)  - Fixes in spec file (daniel@firewall-services.com)
30  - Add tito's global lib_dir (daniel@firewall-services.com)  - Add tito's global lib_dir (daniel@firewall-services.com)
# Line 40  only for some domains Line 46  only for some domains
46    
47  %prep  %prep
48  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
49    %patch0 -p1
50    
51  %build  %build
52  %{__mkdir_p} root/var/log/{altqmail,altqmail-smtpd}  %{__mkdir_p} root/var/log/{altqmail,altqmail-smtpd}
53  perl createlinks  perl createlinks
54  mkdir -p root/var/service/altqmail/root/var/qmail/{queue,control,bin}  mkdir -p root/var/service/altqmail/root/var/qmail/{queue,control,bin}
55    mkdir -p root/var/service/altqmail/root/tmp
56    mkdir -p  root/var/service/altqmail/root/var/qmail/control/
57    echo "20/3600" > root/etc/e-smith/templates/var/service/altqmail/root/var/qmail/control/outratelimit
58    touch root/var/service/altqmail/root/var/qmail/control/qmail-remote-semaphore
59    touch root/var/service/altqmail/root/var/qmail/control/outlog
60    
61  # Create the chrooted qmail queue  # Create the chrooted qmail queue
62  pushd root/var/service/altqmail/root/var/qmail/queue  pushd root/var/service/altqmail/root/var/qmail/queue
63  mkdir pid  mkdir pid
# Line 74  popd Line 87  popd
87     --file /var/service/altqmail/finish 'attr(0755,root,root)' \     --file /var/service/altqmail/finish 'attr(0755,root,root)' \
88     --file /var/service/altqmail/log/run 'attr(0755,root,root)' \     --file /var/service/altqmail/log/run 'attr(0755,root,root)' \
89     --file /var/service/altqmail-smtpd/run 'attr(0755,root,root)' \     --file /var/service/altqmail-smtpd/run 'attr(0755,root,root)' \
90       --file /var/service/altqmail/qmail-remote-throttle 'attr(0755,root,qmail)' \
91     --file /var/service/altqmail-smtpd/log/run 'attr(0755,root,root)' \     --file /var/service/altqmail-smtpd/log/run 'attr(0755,root,root)' \
92     --dir /var/log/altqmail 'attr(0750,qmaill,root)' \     --dir /var/log/altqmail 'attr(0750,qmaill,root)' \
93     --dir /var/log/altqmail-smtpd 'attr(0750,qmaill,root)' \     --dir /var/log/altqmail-smtpd 'attr(0750,qmaill,root)' \
94       --dir /var/service/altqmail/root/tmp 'attr(0777,root,root)' \
95       --file /var/service/altqmail/root/var/qmail/control/outratelimit 'attr(0644,root,root)' \
96       --file /var/service/altqmail/root/var/qmail/control/qmail-remote-semaphore 'attr(0554,root,qmail)' \
97       --file /var/service/altqmail/root/var/qmail/control/outlog 'attr(0554,root,qmail)' \
98     --dir /var/service/altqmail/root/var/qmail/queue 'attr(0750,qmailq,qmail)' \     --dir /var/service/altqmail/root/var/qmail/queue 'attr(0750,qmailq,qmail)' \
99     --dir /var/service/altqmail/root/var/qmail/queue/bounce 'attr(0755,qmails,qmail)' \     --dir /var/service/altqmail/root/var/qmail/queue/bounce 'attr(0755,qmails,qmail)' \
100     --dir /var/service/altqmail/root/var/qmail/queue/lock 'attr(0750,qmailq,qmail)' \     --dir /var/service/altqmail/root/var/qmail/queue/lock 'attr(0750,qmailq,qmail)' \


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed