OBS User unknown 2007-04-26 17:00:52 +00:00 committed by Git OBS Bridge
parent 32275f8929
commit ba9326e16a
3 changed files with 31 additions and 1 deletions

17
cups.SuSEfirewall2 Normal file
View File

@ -0,0 +1,17 @@
## Name: cups
## Description: Firewall Configuration file for printing service CUPS
# space separated list of allowed TCP ports
TCP="ipp"
# space separated list of allowed UDP ports
UDP="ipp"
# 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=""

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Apr 25 19:11:21 CEST 2007 - kssingvo@suse.de
- added SuSEfirewall2 rules (bugzilla#247746)
-------------------------------------------------------------------
Mon Apr 2 20:29:16 CEST 2007 - kssingvo@suse.de

View File

@ -17,7 +17,7 @@ License: GNU General Public License (GPL)
Group: Hardware/Printing
Summary: The Common UNIX Printing System
Version: 1.2.10
Release: 1
Release: 6
Requires: cups-libs = %{version}, cups-client = %{version}
Requires: ghostscript_any, ghostscript-fonts-std, foomatic-filters
Requires: util-linux, /usr/bin/ionice
@ -37,6 +37,7 @@ Source14: cups.xinetd
Source15: PSLEVEL1.PPD.bz2
Source16: PSLEVEL2.PPD.bz2
Source17: rccupsrenice
Source18: cups.SuSEfirewall2
Patch1: cups-1.2rc3-mime.patch
Patch2: cups-1.2.0-ppdsdat_generation.patch
Patch3: cups-1.2rc1-template.patch
@ -259,6 +260,10 @@ rm -rf $RPM_BUILD_ROOT/usr/share/icons
rm -rf $RPM_BUILD_ROOT/%{_mandir}/es/cat?
rm -rf $RPM_BUILD_ROOT/%{_mandir}/fr/cat?
rm -rf $RPM_BUILD_ROOT/%{_mandir}/cat?
#
# SuSEfirewall2:
install -d $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services/
install -m 644 %{SOURCE18} $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services/cups
%clean
#test -n "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
@ -366,11 +371,14 @@ rm -rf $RPM_BUILD_ROOT/%{_mandir}/cat?
%dir %attr(1770,lp,lp) %{_var}/spool/cups/tmp
%dir %attr(0755,lp,lp) %{_var}/log/cups/
# %config(noreplace) %{_sysconfdir}/cups/client.conf
%config(noreplace) /etc/sysconfig/SuSEfirewall2.d/services/cups
%{_libdir}/libcups.so*
%{_libdir}/libcupsimage.so*
%{_datadir}/locale/*/cups_*
%changelog
* Wed Apr 25 2007 - kssingvo@suse.de
- added SuSEfirewall2 rules (bugzilla#247746)
* Mon Apr 02 2007 - kssingvo@suse.de
- Upgrade to cups-1.2.10:
* ppdLocalize() now supports localizing for Japanese using the