From f76c585920c64af3fd02ef3baf95b650c782823eb1f6d29215cee5332317733d Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 20 Mar 2007 10:30:41 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2?expand=0&rev=6 --- apache2.changes | 5 +++++ apache2.spec | 7 ++++++- apache2.ssl-firewall | 17 +++++++++++++++++ 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 apache2.ssl-firewall diff --git a/apache2.changes b/apache2.changes index a866a0f..bba4fb5 100644 --- a/apache2.changes +++ b/apache2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 20 10:47:18 CET 2007 - mskibbe@suse.de + +- add firewall file for ssl (#246929) + ------------------------------------------------------------------- Mon Mar 19 12:44:22 CET 2007 - mskibbe@suse.de diff --git a/apache2.spec b/apache2.spec index db12349..ad916b8 100644 --- a/apache2.spec +++ b/apache2.spec @@ -54,7 +54,7 @@ License: The Apache Software License Group: Productivity/Networking/Web/Servers %define realver 2.2.4 Version: 2.2.4 -Release: 10 +Release: 11 #Source0: http://www.apache.org/dist/httpd-%{version}.tar.bz2 Source0: http://httpd.apache.org/dev/dist/httpd-%{realver}.tar.bz2 Source10: SUSE-NOTICE @@ -80,6 +80,7 @@ Source46: a2enflag Source47: a2enmod Source48: apache2.xml Source49: apache2.firewall +Source50: apache2.ssl-firewall Source100: apache2-httpd.conf Source101: apache2-errors.conf Source102: apache2-default-server.conf @@ -678,6 +679,7 @@ popd # install firewall information file install -d $RPM_BUILD_ROOT%{_sysconfdir}/SuSEfirewall2.d/services/ install -m 644 %{S:49} $RPM_BUILD_ROOT%{_sysconfdir}/SuSEfirewall2.d/services/%{name} +install -m 644 %{S:50} $RPM_BUILD_ROOT%{_sysconfdir}/SuSEfirewall2.d/services/%{name}-ssl # # filelists # @@ -862,6 +864,7 @@ mv $RPM_BUILD_ROOT/%{sysconfdir}/original . %dir /etc/SuSEfirewall2.d %dir /etc/SuSEfirewall2.d/services %config %{_sysconfdir}/SuSEfirewall2.d/services/%{name} +%config %{_sysconfdir}/SuSEfirewall2.d/services/%{name}-ssl %if %prefork %files prefork @@ -1027,6 +1030,8 @@ if ! test -f /.buildenv; then fi %changelog +* Tue Mar 20 2007 - mskibbe@suse.de +- add firewall file for ssl (#246929) * Mon Mar 19 2007 - mskibbe@suse.de - Apache - Support for FATE #300687: Ports for SuSEfirewall added via packages (#246929) diff --git a/apache2.ssl-firewall b/apache2.ssl-firewall new file mode 100644 index 0000000..fd2c9fe --- /dev/null +++ b/apache2.ssl-firewall @@ -0,0 +1,17 @@ +## Name: Apache 2 +## Description: Opens ports for Apache Web Server. + +# space separated list of allowed TCP ports +TCP="https" + +# space separated list of allowed UDP ports +UDP="https" + +# 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=""