libcupsfilters: In the env variables for cfFilterExternalCUPS() use CUPS 2.5.99
Use CUPS version 2.5.99 for the "SOFTWARE" environment variable when
calling CUPS filters or backends via the cfFilterExternalCUPS() filter
function. This is the last CUPS version which supports PPD files and
classic printer drivers.
@@ -1054,7 +1054,7 @@ cfFilterExternalCUPS(int inputfd, /* I - File descriptor input stream */
add_env_var("CUPS_SERVERBIN", CUPS_SERVERBIN, &envp);
add_env_var("CUPS_SERVERROOT", CUPS_SERVERROOT, &envp);
add_env_var("CUPS_STATEDIR", CUPS_STATEDIR, &envp);
- add_env_var("SOFTWARE", "CUPS/2.4.99", &envp); /* Last CUPS with PPDs */
+ add_env_var("SOFTWARE", "CUPS/2.5.99", &envp); /* Last CUPS with PPDs */
/* Copy the environment in which the caller got started */
if (environ)
