Hello community, here is the log from the commit of package apcupsd for openSUSE:Factory checked in at 2014-09-06 12:18:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/apcupsd (Old) and /work/SRC/openSUSE:Factory/.apcupsd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "apcupsd" Changes: -------- --- /work/SRC/openSUSE:Factory/apcupsd/apcupsd.changes 2014-05-17 21:43:15.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.apcupsd.new/apcupsd.changes 2014-09-06 16:53:59.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Aug 19 14:45:38 UTC 2014 - wagner-thomas@gmx.at + +- added config for SuSEfirewall2 + +------------------------------------------------------------------- New: ---- apcupsd.firewall ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ apcupsd.spec ++++++ --- /var/tmp/diff_new_pack.oqw95m/_old 2014-09-06 16:54:00.000000000 +0200 +++ /var/tmp/diff_new_pack.oqw95m/_new 2014-09-06 16:54:00.000000000 +0200 @@ -65,6 +65,7 @@ Source7: apcupsd-httpd.conf Source8: http://downloads.sourceforge.net/project/apcupsd/apcupsd%20-%20Stable/%{version}/apcupsd-%{version}.tar.gz.sig Source9: %{name}.keyring +Source10: %{name}.firewall # PATCH-FIX-OPENSUSE apcupsd-suse.patch sbrabec@suse.cz -- Do not perform halt script alternation on install. Patch: apcupsd-suse.patch # PATCH-FIX-OPENSUSE apcupsd-gpp.patch sbrabec@suse.cz -- Build against C++ unfriendly system tcpd.h. See below. @@ -217,6 +218,9 @@ install -d %{buildroot}%{_sysconfdir}/apache2/conf.d/ install -m0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/apache2/conf.d/%{name}.conf +# firewall config +install -m 644 -D %{SOURCE5} %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} + %pre %if 0%{?suse_version} > 1220 %service_add_pre %{name}.service @@ -304,6 +308,7 @@ %config(noreplace) %{_sysconfdir}/%{name}/offbattery %config(noreplace) %{_sysconfdir}/logrotate.d/apcupsd %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf +%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} %attr(0755,root,root) %{_sysconfdir}/apcupsd/apccontrol %{apache_serverroot}/cgi-bin/multimon.cgi %{apache_serverroot}/cgi-bin/upsfstats.cgi ++++++ apcupsd.firewall ++++++ # Do not edit this file as it's just a template and will be # overwritten on package updates! Copy to a new file instead. # Fill in the required variables and delete the unused ones. # If in doubt ask security@suse.de # # Only the variables TCP, UDP, RPC, IP, BROADCAST, RELATED and # MODULES are allowed. More may be supported in the future. # # For a more detailed description of the individual variables see # the comments for FW_SERVICES_*_EXT in /etc/sysconfig/SuSEfirewall2 # ## Name: apcupsd ## Description: Opens port for apcupsd. # space separated list of allowed TCP ports TCP="apcupsd" # 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