rpms/cups/devel cups-str2101.patch,NONE,1.1 cups.spec,1.434,1.435
Tim Waugh (twaugh)
fedora-extras-commits at redhat.com
Mon Aug 11 16:35:21 UTC 2008
Author: twaugh
Update of /cvs/pkgs/rpms/cups/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7969
Modified Files:
cups.spec
Added Files:
cups-str2101.patch
Log Message:
* Mon Aug 11 2008 Tim Waugh <twaugh at redhat.com> 1:1.3.8-4
- Better password prompting behaviour (bug #215133, STR #2101).
cups-str2101.patch:
--- NEW FILE cups-str2101.patch ---
diff -up cups-1.3.8/scheduler/auth.c.str2101 cups-1.3.8/scheduler/auth.c
--- cups-1.3.8/scheduler/auth.c.str2101 2008-08-11 15:12:12.000000000 +0100
+++ cups-1.3.8/scheduler/auth.c 2008-08-11 15:12:37.000000000 +0100
@@ -2098,7 +2098,7 @@ cupsdIsAuthorized(cupsd_client_t *con, /
return (HTTP_OK);
}
- return (HTTP_UNAUTHORIZED);
+ return (HTTP_FORBIDDEN);
}
#endif /* HAVE_AUTHORIZATION_H */
@@ -2122,7 +2122,7 @@ cupsdIsAuthorized(cupsd_client_t *con, /
return (HTTP_OK);
}
- return (HTTP_UNAUTHORIZED);
+ return (HTTP_FORBIDDEN);
}
/*
@@ -2159,7 +2159,7 @@ cupsdIsAuthorized(cupsd_client_t *con, /
cupsdLogMessage(CUPSD_LOG_DEBUG,
"cupsdIsAuthorized: User not in group(s)!");
- return (HTTP_UNAUTHORIZED);
+ return (HTTP_FORBIDDEN);
}
Index: cups.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cups/devel/cups.spec,v
retrieving revision 1.434
retrieving revision 1.435
diff -u -r1.434 -r1.435
--- cups.spec 5 Aug 2008 08:37:35 -0000 1.434
+++ cups.spec 11 Aug 2008 16:34:51 -0000 1.435
@@ -7,7 +7,7 @@
Summary: Common Unix Printing System
Name: cups
Version: 1.3.8
-Release: 3%{?svn:.svn%{svn}}%{?dist}
+Release: 4%{?svn:.svn%{svn}}%{?dist}
License: GPLv2
Group: System Environment/Daemons
Source: ftp://ftp.easysw.com/pub/cups/test//cups-%{version}%{?svn:svn-r%{svn}}-source.tar.bz2
@@ -48,6 +48,7 @@
Patch21: cups-usb-paperout.patch
Patch22: cups-getnameddest.patch
Patch23: cups-str2892.patch
+Patch24: cups-str2101.patch
Patch100: cups-lspp.patch
Epoch: 1
Url: http://www.cups.org/
@@ -170,6 +171,7 @@
%patch21 -p1 -b .usb-paperout
%patch22 -p1 -b .getnameddest
%patch23 -p1 -b .str2892
+%patch24 -p1 -b .str2101
%if %lspp
%patch100 -p1 -b .lspp
@@ -457,6 +459,9 @@
%{cups_serverbin}/daemon/cups-lpd
%changelog
+* Mon Aug 11 2008 Tim Waugh <twaugh at redhat.com> 1:1.3.8-4
+- Better password prompting behaviour (bug #215133, STR #2101).
+
* Tue Aug 5 2008 Tim Waugh <twaugh at redhat.com> 1:1.3.8-3
- Mark template files config(noreplace) for site-local modifications
(bug #441719).
More information about the fedora-extras-commits
mailing list