auto-import cups-1.1.21-0.rc1.1 from cups-1.1.21-0.rc1.1.src.rpm
This commit is contained in:
parent
4a3035ca8a
commit
4a08578d52
@ -1,2 +1,2 @@
|
|||||||
cups-1.1.20-source.tar.bz2
|
cups-1.1.21rc1-source.tar.bz2
|
||||||
postscript.ppd.gz
|
postscript.ppd.gz
|
||||||
|
@ -1,22 +1,20 @@
|
|||||||
only in patch2:
|
--- /dev/null 2004-02-23 21:02:56.000000000 +0000
|
||||||
--- cups-1.1.16/conf/cups.system-auth 1970-01-01 01:00:00.000000000 +0100
|
+++ cups-1.1.21rc1/conf/cups.system-auth 2004-06-03 15:14:55.795385144 +0100
|
||||||
+++ cups-1.1.16/conf/cups.system-auth 2002-11-20 12:44:44.000000000 +0000
|
|
||||||
@@ -0,0 +1,3 @@
|
@@ -0,0 +1,3 @@
|
||||||
+#%PAM-1.0
|
+#%PAM-1.0
|
||||||
+auth required pam_stack.so service=system-auth
|
+auth required pam_stack.so service=system-auth
|
||||||
+account required pam_stack.so service=system-auth
|
+account required pam_stack.so service=system-auth
|
||||||
only in patch2:
|
--- cups-1.1.21rc1/conf/Makefile.system-auth 2004-02-26 16:51:59.000000000 +0000
|
||||||
--- cups-1.1.16/conf/Makefile.system-auth 2002-11-20 12:45:05.000000000 +0000
|
+++ cups-1.1.21rc1/conf/Makefile 2004-06-03 15:32:52.108540894 +0100
|
||||||
+++ cups-1.1.16/conf/Makefile 2002-11-20 12:47:23.000000000 +0000
|
|
||||||
@@ -67,7 +67,11 @@
|
@@ -67,7 +67,11 @@
|
||||||
done
|
done
|
||||||
-if test x$(PAMDIR) != x$(BUILDROOT); then \
|
-if test x$(PAMDIR) != x$(BUILDROOT); then \
|
||||||
$(INSTALL_DIR) $(PAMDIR); \
|
$(INSTALL_DIR) $(PAMDIR); \
|
||||||
- $(INSTALL_DATA) pam.conf $(PAMDIR)/cups; \
|
- $(INSTALL_DATA) $(PAMFILE) $(PAMDIR)/cups; \
|
||||||
+ if test -f /etc/pam.d/system-auth; then \
|
+ if test -f /etc/pam.d/system-auth; then \
|
||||||
+ $(INSTALL_DATA) cups.system-auth $(PAMDIR)/cups ; \
|
+ $(INSTALL_DATA) cups.system-auth $(PAMDIR)/cups ; \
|
||||||
+ else \
|
+ else \
|
||||||
+ $(INSTALL_DATA) pam.conf $(PAMDIR)/cups; \
|
+ $(INSTALL_DATA) $(PAMFILE) $(PAMDIR)/cups; \
|
||||||
+ fi \
|
+ fi \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
25
cups.spec
25
cups.spec
@ -3,13 +3,14 @@
|
|||||||
%define use_dbus 1
|
%define use_dbus 1
|
||||||
%define build_as_pie 1
|
%define build_as_pie 1
|
||||||
|
|
||||||
|
%define rc1 rc1
|
||||||
Summary: Common Unix Printing System
|
Summary: Common Unix Printing System
|
||||||
Name: cups
|
Name: cups
|
||||||
Version: 1.1.20
|
Version: 1.1.21
|
||||||
Release: 15
|
Release: 0.rc1.1
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source: ftp://ftp.easysw.com/pub/cups/cups-%{version}-source.tar.bz2
|
Source: ftp://ftp.easysw.com/pub/cups/cups-%{version}%{rc1}-source.tar.bz2
|
||||||
Source1: cups.init
|
Source1: cups.init
|
||||||
Source2: cupsprinter.png
|
Source2: cupsprinter.png
|
||||||
Source5: cups-lpd
|
Source5: cups-lpd
|
||||||
@ -33,10 +34,6 @@ Patch16: cups-pie.patch
|
|||||||
Patch17: cups-1.1.19-no_rpath.patch
|
Patch17: cups-1.1.19-no_rpath.patch
|
||||||
Patch18: cups-language.patch
|
Patch18: cups-language.patch
|
||||||
Patch19: cups-gcc34.patch
|
Patch19: cups-gcc34.patch
|
||||||
Patch20: cups-str716.patch
|
|
||||||
Patch21: cups-encryption.patch
|
|
||||||
Patch22: cups-str718.patch
|
|
||||||
Patch23: cups-authtype.patch
|
|
||||||
Patch24: cups-maxlogsize.patch
|
Patch24: cups-maxlogsize.patch
|
||||||
Patch25: cups-enabledisable.patch
|
Patch25: cups-enabledisable.patch
|
||||||
Patch26: cups-dbus.patch
|
Patch26: cups-dbus.patch
|
||||||
@ -91,7 +88,7 @@ The cups-libs package provides libraries used by applications to use CUPS
|
|||||||
natively, without needing the lp/lpr commands.
|
natively, without needing the lp/lpr commands.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n %{name}-%{version}%{rc1}
|
||||||
%patch0 -p1 -b .noinit
|
%patch0 -p1 -b .noinit
|
||||||
%patch1 -p1 -b .doclink
|
%patch1 -p1 -b .doclink
|
||||||
%patch2 -p1 -b .system-auth
|
%patch2 -p1 -b .system-auth
|
||||||
@ -108,10 +105,6 @@ natively, without needing the lp/lpr commands.
|
|||||||
%patch17 -p1 -b .no_rpath
|
%patch17 -p1 -b .no_rpath
|
||||||
%patch18 -p1 -b .language
|
%patch18 -p1 -b .language
|
||||||
%patch19 -p1 -b .gcc34
|
%patch19 -p1 -b .gcc34
|
||||||
%patch20 -p1 -b .str716
|
|
||||||
%patch21 -p1 -b .encryption
|
|
||||||
%patch22 -p1 -b .str718
|
|
||||||
%patch23 -p1 -b .authtype
|
|
||||||
%patch24 -p1 -b .maxlogsize
|
%patch24 -p1 -b .maxlogsize
|
||||||
%patch25 -p1 -b .enabledisable
|
%patch25 -p1 -b .enabledisable
|
||||||
%if %use_dbus
|
%if %use_dbus
|
||||||
@ -208,10 +201,6 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d
|
|||||||
install -c -m 644 %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d/cups.conf
|
install -c -m 644 %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d/cups.conf
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Symlinks to avoid conflicting with bash builtins
|
|
||||||
ln -s enable $RPM_BUILD_ROOT%{_bindir}/cupsenable
|
|
||||||
ln -s disable $RPM_BUILD_ROOT%{_bindir}/cupsdisable
|
|
||||||
|
|
||||||
# Remove unshipped files.
|
# Remove unshipped files.
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mandir}/cat? $RPM_BUILD_ROOT%{_mandir}/*/cat?
|
rm -rf $RPM_BUILD_ROOT%{_mandir}/cat? $RPM_BUILD_ROOT%{_mandir}/*/cat?
|
||||||
|
|
||||||
@ -331,6 +320,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_includedir}/cups
|
%{_includedir}/cups
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 3 2004 Tim Waugh <twaugh@redhat.com> 1:1.1.21-0.rc1.1
|
||||||
|
- 1.1.21rc1.
|
||||||
|
- No longer need str716, str718, authtype or encryption patches.
|
||||||
|
|
||||||
* Wed Jun 2 2004 Tim Waugh <twaugh@redhat.com> 1:1.1.20-15
|
* Wed Jun 2 2004 Tim Waugh <twaugh@redhat.com> 1:1.1.20-15
|
||||||
- Build on ppc and ppc64 again.
|
- Build on ppc and ppc64 again.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user