forked from pool/courier-imap
This commit is contained in:
parent
1c7071137b
commit
1c8980b78d
17
courier-imap-ssl.firewall
Normal file
17
courier-imap-ssl.firewall
Normal file
@ -0,0 +1,17 @@
|
||||
## Name: courier-imapd
|
||||
## Description: Opens ports for courier-imapd.
|
||||
|
||||
# space separated list of allowed TCP ports
|
||||
TCP="imaps pops"
|
||||
|
||||
# space separated list of allowed UDP ports
|
||||
UDP=""
|
||||
|
||||
# space separated list of allowed RPC services
|
||||
RPC=""
|
||||
|
||||
# space separated list of allowed IP protocols
|
||||
IP=""
|
||||
|
||||
# space separated list of allowed UDP broadcast ports
|
||||
BROADCAST=""
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 23 12:39:17 CEST 2007 - mskibbe@suse.de
|
||||
|
||||
- SuSEfirewall2 service file installed in wrong dir/broken
|
||||
(#266949)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 29 11:30:19 CEST 2007 - rguenther@suse.de
|
||||
|
||||
|
@ -2,10 +2,10 @@
|
||||
## Description: Opens ports for courier-imapd.
|
||||
|
||||
# space separated list of allowed TCP ports
|
||||
TCP="imaps imap pop pops"
|
||||
TCP="imap pop"
|
||||
|
||||
# space separated list of allowed UDP ports
|
||||
UDP="imaps imap pop pops"
|
||||
UDP=""
|
||||
|
||||
# space separated list of allowed RPC services
|
||||
RPC=""
|
||||
|
@ -16,7 +16,7 @@ Requires: fam-server
|
||||
URL: http://www.courier-mta.org/imap/
|
||||
Summary: An IMAP and POP3 Server for Maildir MTAs
|
||||
Version: 4.1.2
|
||||
Release: 7
|
||||
Release: 11
|
||||
License: GNU General Public License (GPL)
|
||||
Conflicts: imap qpopper
|
||||
Group: Productivity/Networking/Email/Servers
|
||||
@ -29,6 +29,7 @@ Source5: courier-imap-ssl.init
|
||||
Source6: courier-pop.init
|
||||
Source7: courier-pop-ssl.init
|
||||
Source8: %name.firewall
|
||||
Source9: %name-ssl.firewall
|
||||
Patch: %{name}-4.0.6.diff
|
||||
Patch1: %{name}-4.1.1.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -133,8 +134,9 @@ EOF
|
||||
#make config dir
|
||||
install -d $RPM_BUILD_ROOT%{_sysconfdir}/%name/
|
||||
#firewall script
|
||||
install -d $RPM_BUILD_ROOT%{_sysconfdir}/SuSEfirewall2.d/services/
|
||||
install -m 644 %{S:8} $RPM_BUILD_ROOT%{_sysconfdir}/SuSEfirewall2.d/services/%{name}
|
||||
install -d $RPM_BUILD_ROOT/etc/SuSEfirewall2.d/services/
|
||||
install -m 644 %{S:8} $RPM_BUILD_ROOT/etc/SuSEfirewall2.d/services/%{name}
|
||||
install -m 644 %{S:9} $RPM_BUILD_ROOT/etc/SuSEfirewall2.d/services/%{name}-ssl
|
||||
|
||||
%post
|
||||
%{_datadir}/courier-imap/sysconftool `%{__cat} %{_datadir}/courier-imap/configlist` >/dev/null
|
||||
@ -178,14 +180,18 @@ exit 0
|
||||
%{_mandir}/man?/*
|
||||
%dir %{_datadir}/courier-imap/
|
||||
%{_datadir}/courier-imap/*
|
||||
%{_sysconfdir}/SuSEfirewall2.d/services/%{name}
|
||||
%dir %{_sysconfdir}/SuSEfirewall2.d
|
||||
%dir %{_sysconfdir}/SuSEfirewall2.d/services
|
||||
%config /etc/SuSEfirewall2.d/services/%name
|
||||
%config /etc/SuSEfirewall2.d/services/%name-ssl
|
||||
%dir /etc/SuSEfirewall2.d/services
|
||||
%dir /etc/SuSEfirewall2.d
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%changelog
|
||||
* Mon Apr 23 2007 - mskibbe@suse.de
|
||||
- SuSEfirewall2 service file installed in wrong dir/broken
|
||||
(#266949)
|
||||
* Thu Mar 29 2007 - rguenther@suse.de
|
||||
- add procps BuildRequries because of interesting configure checks
|
||||
* Mon Mar 26 2007 - rguenther@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user