Hello community, here is the log from the commit of package tor for openSUSE:Factory checked in at 2014-08-27 07:46:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tor (Old) and /work/SRC/openSUSE:Factory/.tor.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "tor" Changes: -------- --- /work/SRC/openSUSE:Factory/tor/tor.changes 2014-07-31 07:42:11.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.tor.new/tor.changes 2014-08-27 07:46:50.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Aug 18 09:54:00 UTC 2014 - wagner-thomas@gmx.at + +- Added config file for firewall + +------------------------------------------------------------------- New: ---- tor.firewall ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tor.spec ++++++ --- /var/tmp/diff_new_pack.O37Tkb/_old 2014-08-27 07:46:51.000000000 +0200 +++ /var/tmp/diff_new_pack.O37Tkb/_new 2014-08-27 07:46:51.000000000 +0200 @@ -35,6 +35,7 @@ Source2: tor.keyring Source3: tor.service Source4: tor.tmpfiles +Source5: tor.firewall Patch0: tor-0.2.4.x-logrotate.patch %if %{with_upnp} BuildRequires: libminiupnpc-devel @@ -123,6 +124,9 @@ ln -s -f ../..%{_initddir}/%{name} %{buildroot}%{_sbindir}/rc%{name} %endif +# firewall config +install -m 644 -D %{SOURCE5} %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} + # control script install -p -m 755 contrib/torctl %{buildroot}/%{_bindir} @@ -181,6 +185,7 @@ %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/logrotate.d/%{name} %dir %attr(0755,root,%{torgroup}) %{_sysconfdir}/%{name} %config(noreplace) %attr(0644,root,%{torgroup}) %{_sysconfdir}/%{name}/* +%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} %attr(0700,%{toruser},%{torgroup}) %dir %{_localstatedir}/lib/%{name} %attr(0750,%{toruser},%{torgroup}) %dir %{_localstatedir}/log/%{name} %if 0%{?with_systemd} ++++++ tor.firewall ++++++ ## Name: tor proxy ## Description: opens ports for tor in order to allow socks connection # space separated list of allowed TCP ports TCP="9050" # 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 ports that accept broadcasts BROADCAST="" ### variables below are only needed in very special cases # space separated list of net,protocol[,sport[,dport]] # see FW_SERVICES_ACCEPT_RELATED_EXT # net 0/0 means IPv4 and IPv6. If this sevice should only work for # IPv4 use 0.0.0.0/0 RELATED="" # additional kernel modules needed for this service # see FW_LOAD_MODULES MODULES="" -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org