Hello community, here is the log from the commit of package hiawatha for openSUSE:Factory checked in at 2014-02-18 14:44:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hiawatha (Old) and /work/SRC/openSUSE:Factory/.hiawatha.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hiawatha" Changes: -------- --- /work/SRC/openSUSE:Factory/hiawatha/hiawatha.changes 2014-01-29 22:15:44.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.hiawatha.new/hiawatha.changes 2014-02-18 14:44:41.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Feb 17 16:40:08 UTC 2014 - [email protected] + +- Add firewall rules for http and https. + +------------------------------------------------------------------- New: ---- hiawatha-ssl.firewall hiawatha.firewall ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hiawatha.spec ++++++ --- /var/tmp/diff_new_pack.fNxwMf/_old 2014-02-18 14:44:42.000000000 +0100 +++ /var/tmp/diff_new_pack.fNxwMf/_new 2014-02-18 14:44:42.000000000 +0100 @@ -29,6 +29,8 @@ Source0: http://www.hiawatha-webserver.org/files/%{name}-%{version}.tar.gz Source1: %{name}.logrotate Source2: %{name}.service +Source100: %{name}.firewall +Source101: %{name}-ssl.firewall BuildRequires: cmake >= 2.8.4 BuildRequires: libxslt-devel BuildRequires: pkg-config @@ -87,6 +89,12 @@ # run as wwwrun user sed "s/#ServerId = www-data/ServerId = wwwrun/" -i %{buildroot}%{_sysconfdir}/hiawatha/hiawatha.conf +# susefirewall config files +install -D -m 0644 %{S:100} \ + %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} +install -D -m 0644 %{S:101} \ + %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}-ssl + # temp fix rm -vf %{buildroot}%{_libdir}/%{name}/libpolarssl.so @@ -118,6 +126,8 @@ %config(noreplace) %{_sysconfdir}/%{name}/mimetype.conf %config(noreplace) %{_sysconfdir}/%{name}/index.xslt %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} +%config(noreplace) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} +%config(noreplace) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}-ssl %{_mandir}/man1/*.1.gz %dir %{webroot}/%{name} %dir %{webroot}/%{name}/htdocs ++++++ hiawatha-ssl.firewall ++++++ ## Name: Hiwatha webserver (https) ## Description: Opens https port for Hiawatha webserver. # 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="" ++++++ hiawatha.firewall ++++++ ## Name: Hiwatha webserver (http) ## Description: Opens http port for Hiawatha webserver. # space separated list of allowed TCP ports TCP="http" # space separated list of allowed UDP ports UDP="http" # 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="" -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
