Hello community,
here is the log from the commit of package yast2-printer
checked in at Tue Nov 21 11:11:57 CET 2006.
--------
--- yast2-printer/yast2-printer.changes 2006-11-13 11:19:43.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-printer/yast2-printer.changes 2006-11-21 09:34:00.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Nov 21 09:32:00 CET 2006 - mzugec@suse.cz
+
+- #221245 - remote printers are allowed to modify
+- 2.14.13
+
+-------------------------------------------------------------------
Old:
----
yast2-printer-2.14.12.tar.bz2
New:
----
yast2-printer-2.14.13.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-printer.spec ++++++
--- /var/tmp/diff_new_pack.zNrpbu/_old 2006-11-21 11:11:47.000000000 +0100
+++ /var/tmp/diff_new_pack.zNrpbu/_new 2006-11-21 11:11:47.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-printer (Version 2.14.12)
+# spec file for package yast2-printer (Version 2.14.13)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-printer
-Version: 2.14.12
+Version: 2.14.13
Release: 1
-License: GNU General Public License (GPL) - all versions
+License: GNU General Public License (GPL)
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-printer-2.14.12.tar.bz2
+Source0: yast2-printer-2.14.13.tar.bz2
prefix: /usr
BuildRequires: blocxx-devel cups-devel cups-drivers cups-drivers-stp docbook-xsl-stylesheets doxygen gcc-c++ libxcrypt-devel libxslt openssl-devel perl-XML-Writer popt-devel sgml-skel update-desktop-files yast2 yast2-core-devel yast2-devtools yast2-testsuite zlib-devel
Requires: yast2 netcat zlib blocxx
@@ -34,7 +34,7 @@
%prep
-%setup -n yast2-printer-2.14.12
+%setup -n yast2-printer-2.14.13
%build
%{prefix}/bin/y2tool y2autoconf
@@ -106,6 +106,9 @@
%doc %{prefix}/share/doc/packages/yast2-printer
%changelog -n yast2-printer
+* Tue Nov 21 2006 - mzugec@suse.cz
+- #221245 - remote printers are allowed to modify
+- 2.14.13
* Mon Nov 13 2006 - mzugec@suse.cz
- #220278 - replace cups-drivers-stp package with gutenprint
- 2.14.12
++++++ yast2-printer-2.14.12.tar.bz2 -> yast2-printer-2.14.13.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-printer-2.14.12/VERSION new/yast2-printer-2.14.13/VERSION
--- old/yast2-printer-2.14.12/VERSION 2006-11-13 11:17:20.000000000 +0100
+++ new/yast2-printer-2.14.13/VERSION 2006-11-21 09:29:12.000000000 +0100
@@ -1 +1 @@
-2.14.12
+2.14.13
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-printer-2.14.12/agent-cups/src/PrintersConf.cc new/yast2-printer-2.14.13/agent-cups/src/PrintersConf.cc
--- old/yast2-printer-2.14.12/agent-cups/src/PrintersConf.cc 2006-10-30 18:23:55.000000000 +0100
+++ new/yast2-printer-2.14.13/agent-cups/src/PrintersConf.cc 2006-11-21 09:32:48.000000000 +0100
@@ -4,7 +4,7 @@
*
* Author: Petr Blahos
*
- * $Id: PrintersConf.cc 33813 2006-10-28 12:11:41Z mzugec $
+ * $Id: PrintersConf.cc 34512 2006-11-21 08:32:44Z mzugec $
*/
/*
@@ -24,7 +24,7 @@
bool newPrinter(const YCPValue&value);
-bool PrintersConf::readSettings(const char*fn)
+bool PrintersConf::readSettings()
{
Clear();
if(!getPrinters())
@@ -342,7 +342,7 @@
//
YCPList l;
Clear();
- if(!readSettings("/etc/cups/printers.conf"))
+ if(!readSettings())
return l; // empty list
list<PrinterEntry>::const_iterator it = Printers.begin();
@@ -373,7 +373,7 @@
if(value->isMap())
{
Clear ();
- readSettings ("/etc/cups/printers.conf");
+ readSettings ();
YCPMap printer = value->asMap();
return YCPBoolean (modifyPrinter(printer)); // save changes
}
@@ -397,7 +397,7 @@
if(value->isString())
{
Clear ();
- readSettings ("/etc/cups/printers.conf");
+ readSettings ();
YCPString printer = value->asString();
string name = printer->asString()->value();
deletePrinter(name.c_str()); // save changes
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-printer-2.14.12/agent-cups/src/PrintersConf.h new/yast2-printer-2.14.13/agent-cups/src/PrintersConf.h
--- old/yast2-printer-2.14.12/agent-cups/src/PrintersConf.h 2006-10-30 18:23:55.000000000 +0100
+++ new/yast2-printer-2.14.13/agent-cups/src/PrintersConf.h 2006-11-21 09:32:48.000000000 +0100
@@ -5,7 +5,7 @@
*
* Author: Petr Blahos
*
- * $Id: PrintersConf.h 33905 2006-10-30 17:22:25Z mzugec $
+ * $Id: PrintersConf.h 34512 2006-11-21 08:32:44Z mzugec $
*/
#ifndef _PrintersConf_h_
#define _PrintersConf_h_
@@ -27,7 +27,7 @@
*
* @short One entry in printers.conf file
* @author Petr Blahos
- * @version $Id: PrintersConf.h 33905 2006-10-30 17:22:25Z mzugec $
+ * @version $Id: PrintersConf.h 34512 2006-11-21 08:32:44Z mzugec $
*
*/
class PrinterEntry
@@ -241,7 +241,7 @@
* @param fn filename of the printers.conf.
* @return True if file was read successfully.
*/
- bool readSettings(const char*fn);
+ bool readSettings();
bool getPrinters ();
/**
* Returns printer entry by printer name. If the printer does not have an entry, it is created.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-printer-2.14.12/configure new/yast2-printer-2.14.13/configure
--- old/yast2-printer-2.14.12/configure 2006-11-13 10:59:57.000000000 +0100
+++ new/yast2-printer-2.14.13/configure 2006-11-21 08:56:57.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for yast2-printer 2.14.11.
+# Generated by GNU Autoconf 2.59 for yast2-printer 2.14.12.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -423,8 +423,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-printer'
PACKAGE_TARNAME='yast2-printer'
-PACKAGE_VERSION='2.14.11'
-PACKAGE_STRING='yast2-printer 2.14.11'
+PACKAGE_VERSION='2.14.12'
+PACKAGE_STRING='yast2-printer 2.14.12'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -959,7 +959,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures yast2-printer 2.14.11 to adapt to many kinds of systems.
+\`configure' configures yast2-printer 2.14.12 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1026,7 +1026,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-printer 2.14.11:";;
+ short | recursive ) echo "Configuration of yast2-printer 2.14.12:";;
esac
cat <<\_ACEOF
@@ -1169,7 +1169,7 @@
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-yast2-printer configure 2.14.11
+yast2-printer configure 2.14.12
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
@@ -1183,7 +1183,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by yast2-printer $as_me 2.14.11, which was
+It was created by yast2-printer $as_me 2.14.12, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
@@ -1913,7 +1913,7 @@
# Define the identity of the package.
PACKAGE='yast2-printer'
- VERSION='2.14.11'
+ VERSION='2.14.12'
cat >>confdefs.h <<_ACEOF
@@ -2124,7 +2124,7 @@
-VERSION="2.14.11"
+VERSION="2.14.12"
RPMNAME="yast2-printer"
MAINTAINER="Michal Zugec "
@@ -21730,7 +21730,7 @@
} >&5
cat >&5 <<_CSEOF
-This file was extended by yast2-printer $as_me 2.14.11, which was
+This file was extended by yast2-printer $as_me 2.14.12, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -21793,7 +21793,7 @@
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-printer config.status 2.14.11
+yast2-printer config.status 2.14.12
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-printer-2.14.12/configure.in new/yast2-printer-2.14.13/configure.in
--- old/yast2-printer-2.14.12/configure.in 2006-11-13 10:59:33.000000000 +0100
+++ new/yast2-printer-2.14.13/configure.in 2006-11-21 08:56:39.000000000 +0100
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.13.21 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-printer, 2.14.11, http://bugs.opensuse.org/, yast2-printer)
+AC_INIT(yast2-printer, 2.14.12, http://bugs.opensuse.org/, yast2-printer)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -17,7 +17,7 @@
AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs
dnl Important YaST2 variables
-VERSION="2.14.11"
+VERSION="2.14.12"
RPMNAME="yast2-printer"
MAINTAINER="Michal Zugec "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-printer-2.14.12/src/modules/Printer.ycp new/yast2-printer-2.14.13/src/modules/Printer.ycp
--- old/yast2-printer-2.14.12/src/modules/Printer.ycp 2006-11-08 18:19:07.000000000 +0100
+++ new/yast2-printer-2.14.13/src/modules/Printer.ycp 2006-11-21 09:32:48.000000000 +0100
@@ -12,7 +12,7 @@
* Petr Blahos
* Jiri Srain
*
- * $Id: Printer.ycp 34180 2006-11-08 17:17:46Z mzugec $
+ * $Id: Printer.ycp 34512 2006-11-21 08:32:44Z mzugec $
*
* Well we all know what modules are for.
*/
@@ -861,7 +861,16 @@
{
Spooler::RestartIfNeeded (true);
list