diff --git a/fix-hp3900_config.c.patch b/fix-hp3900_config.c.patch new file mode 100644 index 0000000..ac808c8 --- /dev/null +++ b/fix-hp3900_config.c.patch @@ -0,0 +1,11 @@ +--- backend/hp3900_config.c.orig 2009-02-23 15:37:00.000000000 +0100 ++++ backend/hp3900_config.c 2009-07-29 15:03:46.000000000 +0200 +@@ -935,7 +935,7 @@ static void ua4900_offset(SANE_Int resol + { + SANE_Int a; + +- for (a = 0; a < 12; a++) ++ for (a = 0; a < 6; a++) + { + if (myreg[a].resolution == resolution) + { diff --git a/fix-mustek_pp_ccd300.c.patch b/fix-mustek_pp_ccd300.c.patch new file mode 100644 index 0000000..ad09e61 --- /dev/null +++ b/fix-mustek_pp_ccd300.c.patch @@ -0,0 +1,33 @@ +--- backend/mustek_pp_ccd300.c.orig 2003-12-01 12:52:19.000000000 +0100 ++++ backend/mustek_pp_ccd300.c 2009-07-29 16:29:54.000000000 +0200 +@@ -940,10 +940,10 @@ get_color_line_101x (Mustek_pp_Handle * + wait_bank_change (dev, priv->bank_count, 1); + reset_bank_count (dev); + if (priv->ccd_line >= (priv->line_step >> SANE_FIXED_SCALE_SHIFT)) +- priv->redline = ++priv->redline % priv->green_offs; ++ priv->redline = (priv->redline + 1) % priv->green_offs; + if (priv->ccd_line >= + priv->blue_offs + (priv->line_step >> SANE_FIXED_SCALE_SHIFT)) +- priv->blueline = ++priv->blueline % priv->blue_offs; ++ priv->blueline = (priv->blueline + 1) % priv->blue_offs; + continue; + } + +@@ -979,7 +979,7 @@ get_color_line_101x (Mustek_pp_Handle * + + } + +- priv->redline = ++priv->redline % priv->green_offs; ++ priv->redline = (priv->redline + 1) % priv->green_offs; + + if (priv->ccd_line >= priv->green_offs && gogreen) + { +@@ -1013,7 +1013,7 @@ get_color_line_101x (Mustek_pp_Handle * + + if (priv->ccd_line >= + priv->blue_offs + (priv->line_step >> SANE_FIXED_SCALE_SHIFT)) +- priv->blueline = ++priv->blueline % priv->blue_offs; ++ priv->blueline = (priv->blueline + 1) % priv->blue_offs; + + if (gogreen) + { diff --git a/sane-backends.changes b/sane-backends.changes index 13266d1..2e76082 100644 --- a/sane-backends.changes +++ b/sane-backends.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Jul 29 16:46:53 CEST 2009 - jsmeix@suse.de + +- fix-hp3900_config.c.patch fixes a possible for loop overflow + in hp3900_config.c (see Novell/Suse Bugzilla bnc#517281). +- fix-mustek_pp_ccd300.c.patch fixes undefined operations + in mustek_pp_ccd300.c (see Novell/Suse Bugzilla bnc#498435). + ------------------------------------------------------------------- Fri Jun 12 10:29:45 CEST 2009 - jsmeix@suse.de @@ -495,7 +503,7 @@ Thu Feb 17 16:52:24 CET 2005 - jsmeix@suse.de - Updated the SUSE versions of the descriptions-external files. - Now the SUSE versions of the descriptions-external files are used for build so that the SANE documentation files - %{_defaultdocdir}/sane/sane-backends/*.html + _defaultdocdir/sane/sane-backends/*.html are built accordingly. - Added 'Provides: sane-backends' because the rest of the world has package names 'sane-backends' and 'sane-frontends' according to @@ -742,7 +750,7 @@ Fri Oct 10 13:00:01 CEST 2003 - hvogel@suse.de ------------------------------------------------------------------- Mon Jun 16 12:17:27 CEST 2003 - meissner@suse.de -- Also use -L/%_lib, so we find -lresmgr on x86_64. +- Also use -L/..._lib, so we find -lresmgr on x86_64. ------------------------------------------------------------------- Fri Jun 13 10:18:34 CEST 2003 - meissner@suse.de @@ -1118,7 +1126,7 @@ Sat Mar 4 16:31:40 CET 2000 - ro@suse.de ------------------------------------------------------------------- Thu Mar 2 15:46:18 CET 2000 - uli@suse.de -- moved man pages to %{_mandir} +- moved man pages to _mandir ------------------------------------------------------------------- Mon Feb 7 15:57:14 CET 2000 - kukuk@suse.de diff --git a/sane-backends.spec b/sane-backends.spec index 3da58ef..029957b 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -20,12 +20,12 @@ Name: sane-backends BuildRequires: libgphoto2-devel libieee1284 libjpeg-devel net-snmp-devel pkg-config texlive-latex -License: GPL v2 only; GPL v2 or later; LGPL v2.1 or later; Public Domain, Freeware +License: GPL v2 only ; GPL v2 or later ; LGPL v2.1 or later ; Public Domain, Freeware Group: Hardware/Scanner AutoReqProv: on Summary: SANE (Scanner Access Now Easy) Scanner Drivers Version: 1.0.20 -Release: 2 +Release: 3 Url: http://www.sane-project.org/ # URL for Source0: http://alioth.debian.org/frs/download.php/2318/sane-backends-1.0.19.tar.gz Source0: sane-backends-%{version}.tar.bz2 @@ -83,6 +83,12 @@ Patch2: fix-buffer-overflow.patch # removed in sane-backends-1.0.20 so that sane-frontends and xsane can no longer build, # see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=527675 Patch8: re-add-SANE_CAP_ALWAYS_SETTABLE.patch +# Patch9 fixes a possible for loop overflow in hp3900_config.c +# see https://bugzilla.novell.com/show_bug.cgi?id=517281 +Patch9: fix-hp3900_config.c.patch +# Patch10 fixes undefined 'foo = ++foo modulo bar' operations in mustek_pp_ccd300.c +# see https://bugzilla.novell.com/show_bug.cgi?id=498435 +Patch10: fix-mustek_pp_ccd300.c.patch # Patch100... is SUSE specific stuff: # Patch100 lets the "canon" backend do scanner auto-recognition: Patch100: canon-backend-autoprobing.patch @@ -239,7 +245,7 @@ Authors: Wittawat Yamwong %package autoconfig -License: GPL v2 or later; LGPL v2.1 or later; Public Domain, Freeware +License: GPL v2 or later ; LGPL v2.1 or later ; Public Domain, Freeware Group: Hardware/Scanner Summary: USB Scanner Autoconfiguration Requires: sane-backends @@ -288,6 +294,10 @@ Authors: %patch2 # Patch8 re-adds SANE_CAP_ALWAYS_SETTABLE to sane.h which was erroneously removed: %patch8 +# Patch9 fixes a possible for loop overflow in hp3900_config.c: +%patch9 +# Patch10 fixes undefined 'foo = ++foo modulo bar' operations in mustek_pp_ccd300.c: +%patch10 # Patch100... is SUSE specific stuff: # Patch100 lets the "canon" backend do scanner auto-recognition: %patch100 @@ -632,725 +642,3 @@ exit 0 %{_sysconfdir}/udev/rules.d/56-sane-backends-autoconfig.rules %changelog -* Fri Jun 12 2009 jsmeix@suse.de -- re-add-SANE_CAP_ALWAYS_SETTABLE.patch re-adds - SANE_CAP_ALWAYS_SETTABLE to sane.h which was erroneously - removed in sane-backends-1.0.20 so that sane-frontends - and xsane can no longer build, - see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=527675 -* Wed Jun 10 2009 jsmeix@suse.de -- Upgraded to sane-backends version 1.0.20: - New backends: - canon_dr (Canon DR-series), coolscan3 (Nikon LS & Coolscan), - rts8891 (Umax & HP 44xx), xerox_mfp (Samsung/Xerox/Dell MFPs) - Many backends updated. - 75 more scanner models supported. - New (automake compatible) build system. - Avahi support. - More network scanners supported. - Epson backend deprecated, use epson2. - Coolscan2 backend deprecated, use coolscan3. - Internal SCSI, USB, threading, TCP & UDP code updates. - Updated HAL and udev support. - Improved saned configuration. - Scanimage updates. - Updated translations. - Documentation updates. - Bugfixes. - Note: - This is one more release of the SANE 1.0 series, compare - the below entry dated "Thu Feb 28 13:56:15 CET 2008". -- Re-enabled "autoreconf -fi" in the build section (it was - disabled because it failed for sane-backends-1.0.19). -- fix-uninitialized-variables.patch and - fix-sanei_scsi_find_devices.patch are obsolete since - sane-backends-1.0.20 because it is fixed in the source. -- Adapted install-umax_pp-tool.patch for the new build system - (now tools/Makefile.am instead of tools/Makefile.in). -- no-descriptions-external-hpoj.patch removes - descriptions-external/hpoj.desc from doc/Makefile.am - because it is intentionally removed from the sources - in the prep section to avoid confusion with its successor - hpaio.desc (since openSUSE 10.3 the package hp-officeJet - which provided the hpoj driver is dropped). -* Fri Jan 23 2009 jsmeix@suse.de -- Do no longer add a generic entry for SCSI scanners - to the HAL fdi file 70-scanner.fdi because this - is now provided by the hal package itself - (see Novell/Suse Bugzilla bnc#462639 comment #29). -* Fri Jan 16 2009 jsmeix@suse.de -- Avoid to suppress falsely found as "unsupported" models - in 55-libsane.rules and in 70-scanner.fdi - (see Novell/Suse Bugzilla bnc#439193 starting at comment #6). -- Avoid to get changed sources packaged into our source RPM - (see Novell/Suse Bugzilla bnc#463464 comment #11). -* Tue Jan 13 2009 olh@suse.de -- obsolete old -XXbit packages (bnc#437293) -* Wed Dec 03 2008 lnussel@suse.de -- use "usb" instead of "usb_device" (bnc#438867) -* Wed Dec 03 2008 jsmeix@suse.de -- Moved /etc/hal/fdi/policy/10osvendor/70-scanner.fdi - to /usr/share/hal/fdi/information/20thirdparty/70-scanner.fdi - (see Novell/Suse Bugzilla bnc#438867). -* Tue Nov 18 2008 jsmeix@suse.de -- In /etc/hal/fdi/policy/10osvendor/70-scanner.fdi - disable entries for USB scanners which are "unsupported" - (see Novell/Suse Bugzilla bnc#444158). -* Wed Oct 29 2008 jsmeix@suse.de -- Having only models in /etc/udev/rules.d/55-libsane.rules which - are in /etc/udev/rules.d/56-sane-backends-autoconfig.rules - is too restrictive because libsane.rules disables - USB autosuspend in the kernel which is needed as safe default - for any scanner regardless of its support status. - The only valid exception are unsupported models. - Therefore the scanner database is now created directly - in the spec file with the file name "scanner.database" - so that the scanner database can also be used to determine - the "unsupported" models to be disabled in libsane.rules - (see Novell/Suse Bugzilla bnc#439193). -* Tue Oct 28 2008 jsmeix@suse.de -- install-umax_pp-tool.patch installs tools/umax_pp as - /usr/bin/umax_pp which is built but not installed - but it is needed to recover from a failed scan - with scanners which use the umax_pp backend - (see the Debian report http://bugs.debian.org/496833). -* Tue Oct 28 2008 jsmeix@suse.de -- Avoid false positives (e.g. unsupported) and problematic - models in /etc/udev/rules.d/55-libsane.rules by having - all model entries disabled where the support status is - not "complete" or "good", i.e. when it is not listed - in /etc/udev/rules.d/56-sane-backends-autoconfig.rules - (see Novell/Suse Bugzilla bnc#439193). -* Tue Oct 21 2008 jsmeix@suse.de -- Changed /etc/udev/rules.d/55-libsane.rules to jump to the end - if SUBSYSTEM!="usb" and replaced SYSFS by ATTR and did - the same chages in create_sane-backends-autoconfig.rules - (see Novell/Suse Bugzilla bnc#436085). -* Thu May 15 2008 jsmeix@suse.de -- Changed create_sane-backends-autoconfig.rules - to output '$$' insead of '$' because in udev rules files - '$$' represents the '$' character itself, see "man udev" - (see Novell/Suse Bugzilla bnc#390783). -* Thu Apr 17 2008 jsmeix@suse.de -- Use info.subsystem instead of the deprecated info.bus - for the HAL 70-scanner.fdi file. -- Changed create_sane-backends-autoconfig.rules to ignore - the INTERFACE field because it could be empty or arbitrary - stuff like "Parport USB" or "SCSI USB IEEE-1394". -* Fri Apr 11 2008 jsmeix@suse.de -- Updated epkowa.desc from the current Iscan version 2.10.0.1. -- Replaced hpaio.desc which is currently messed up in HPLIP - by create_hpaio.desc_from_models.dat which creates hpaio.desc - directly from the models.dat file from HPLIP version 2.8.4. -* Thu Apr 10 2008 ro@suse.de -- added baselibs.conf file to build xxbit packages - for multilib support -* Tue Apr 08 2008 jsmeix@suse.de -- fix-sanei_scsi_find_devices.patch lets sanei_scsi_find_devices - continue on to look at subsequent devices if the attach callback - returns anything other than SANE_STATUS_GOOD - (see Novell/Suse Bugzilla bnc#350688). -* Tue Mar 18 2008 jsmeix@suse.de -- Added "Supplements: sane-backends" to sane-backends-autoconfig - sub-package. -* Thu Mar 13 2008 jsmeix@suse.de -- Added "scanner autoconfiguration" support via - create_scanner_database, create_sane-backends-autoconfig.rules - which create /etc/udev/rules.d/56-sane-backends-autoconfig.rules - and provide it in the new sane-backends-autoconfig sub-package - (see Novell/Suse Bugzilla bnc#347943). -* Tue Mar 11 2008 jsmeix@suse.de -- Replaced "scanner" by "SCSIviaUSBscanner" in info.capabilities - in 70-scanner.fdi to explicitely mark those special USB scanners - which do not use libusb but an unusual SCSI protocol which is a - derivative of usb storage (see Novell/Suse Bugzilla bnc#341565). -* Thu Feb 28 2008 jsmeix@suse.de -- Updated to sane-backends version 1.0.19: - New backends: - cardscan (Corex Cardscan 800c), epjitsu (Epson-based Fujitsu), - epson2 (various Epson scanners), hp3900 (HP ScanJet 3970 and - more), hp5590 (HP ScanJet 5590 and more), hpljm1005 (HP LaserJet - M1005 and more), hs2p (Ricoh IS400 series) - Updated backends: - abaton, agfafocus, apple, artec, artec_eplus48u, as6e, avision, - canon, coolscan, coolscan2, dc25, dell1600n_net, dll, epson, - fujitsu, genesys, gt68xx, hp3500, ibm, lexmark, microtek, - microtek2, mustek, nec, net, pie, pint, pixma, plustek, - plustek_pp, ricoh, s9036, sm3600, sm3840, snapscan, sp15c, - st400, tamarack, teco2, test, u12, umax, umax1220u, umax_pp - Plus: - Scanimage detects more chipsets. - Internal scsi, usb, tcp and udp code updates. - Basic HAL .fdi creation support - Build system updates. - Updated translations. - Documentation updates. - Bugfixes. - Note: - This will be (hopefully) the last release of the SANE 1.0 series. - The next release will be extended (in a backwards compatible - fashion) to support more features of modern scanners. -- sane-backends-1.0.16-nb.patch (did locale rename: no -> nb) - is obsolete since version 1.0.19 because it uses already 'nb'. -- in fix-buffer-overflow.patch the overflows in backend/epson.c - backend/as6e.c and sanei/sanei_ab306.c are obsolete because - they are fixed in the source (only backend/niash.c is left). -- replace-HZ-by-sysconf_SC_CLK_TCK.patch is obsolete because - it is fixed in the source. -- fujitsu-disable-hw_ink_remain.patch is obsolete because - it is fixed in the source. -- in fix-uninitialized-variables.patch the fix regarding - teco2.c is obsolete because it is fixed in the source - but a new fix regarding avision.c was added. -- fix-ambiguous-post-pre-increment.patch is obsolete because - it is fixed in the source. -- module-build.diff is dropped because there is no reason to build - driver modules as libtool modules and furthermore it makes our - package incompatible with the rest of the SANE world. -- Since version 1.0.19 there is udev and HAL support. - Therefore the old/outdated hotplug stuff (libsane.usermap - and libusbscanner) is dropped (it was never used by openSUSE). - Also the evil-hack init-script "sane-dev" is no longer provided. - libsane.rules.CVS-2007-07-29.using-lp is obsolete because - the udev rules file 55-libsane.rules is directly derived - from tools/udev/libsane.rules. - create_hal_global_fdi_from_libsane.rules is obsolete because - the HAL fdi file 70-scanner.fdi is directly derived - from tools/hal/libsane.fdi. -* Thu Jan 31 2008 adrian@suse.de -- Call create_hal_global_fdi_from_libsane.rules via bash. - We can not rely on source file permissions -* Tue Aug 14 2007 jsmeix@suse.de -- Replaced create_hal_global_fdi_for_scanners by - create_hal_global_fdi_from_libsane.rules which creates the - global HAL 70-scanner.fdi file during build-time from the - libsane.rules file (see Novell/Suse Bugzilla bnc#298878). -* Fri Aug 10 2007 jsmeix@suse.de -- Removed hpoj.desc completely to avoid confusion with its - successor hpaio.desc because since openSUSE 10.3 the package - hp-officeJet (for hpoj.desc) is dropped. -- Updated hpaio.desc from the current HPLIP version 2.7.7. -- Updated epkowa.desc from the current Iscan version 2.8.0.1. -* Fri Aug 03 2007 jsmeix@suse.de -- Added libsane.rules.CVS-2007-07-29.using-lp which are udev rules - that are needed for the openSUSE 10.3 kernel. The rules are - derived from what sane-desc in sane-backends 1.0.18-cvs creates. -* Wed Jun 13 2007 jsmeix@suse.de -- Adapted create_hal_global_fdi_for_scanners according to the - currently newest changes in HAL (see Suse Bugzilla bnc#250659). -* Wed Jun 06 2007 dmueller@suse.de -- module-build.diff builds driver modules as libtool modules. -* Sat Apr 21 2007 aj@suse.de -- Use texlive. -* Wed Feb 21 2007 jsmeix@suse.de -- Added a fix for an "array subscript is above array bounds" - error in niash.c to fix-buffer-overflow.patch - (see Suse Bugzilla bnc#246654). -* Wed Jan 31 2007 jsmeix@suse.de -- Added a fix for an "array subscript is above array bounds" - error in sanei_ab306.c to fix-buffer-overflow.patch - (see Suse Bugzilla bnc#239953). -* Mon Jan 29 2007 jsmeix@suse.de -- Renamed the package from 'sane' (which is only used by Suse) - to 'sane-backends' which is used by the rest of the world - and let this package provide and obsolete 'sane'. -- Updated replace-HZ-by-sysconf_SC_CLK_TCK.patch to what - there will be done upstream. -* Fri Dec 08 2006 jsmeix@suse.de -- fix-ambiguous-post-pre-increment.patch fixes an ambiguous - post-increment in canon-sane.c for big-endian architectures - (e.g. PowerPC). -* Fri Oct 27 2006 jsmeix@suse.de -- Updated hpaio.desc from the current HPLIP version 1.6.10 -- Updated epkowa.desc from the current Iscan version 2.3.0.1. -- Added fixes of possible strncat buffer overflows and - strncpy unterminated string errors in as6e.c - to fix-buffer-overflow.patch. -- Replaced the complicated postinstall script by calling - create_hal_global_fdi_for_scanners which should obsolete - sane-dev (see Suse Bugzilla bnc#160899). -- Moved sane-dev from {_initrddir} to {_datadir}/sane/ to have it - still available in case of backward compatibility problems. -* Sun Oct 22 2006 meissner@suse.de -- buildrequires libgphoto2-devel. -* Mon Sep 18 2006 jsmeix@suse.de -- fix-uninitialized-variables.patch fixes an uninitialized - variable in teco2.c (see Suse Bugzilla bnc#205451). -- create_hal_global_fdi_for_scanners can be called by HAL or YaST - to create a global HAL fdi file for scanners which are known - by the current SANE version (see Suse Bugzilla bnc#160899). -* Mon Sep 11 2006 jsmeix@suse.de -- disable-resmgr-support.patch disables the resmgr support in SANE - which is no longer needed in SANE because resmgr works now - outside of SANE via ACLs for the scanner device nodes. -* Mon Sep 04 2006 jsmeix@suse.de -- Replaced the fix from Thu Aug 31 in fujitsu.c by a new fix - fujitsu-disable-hw_ink_remain.patch which disables hw_ink_remain - which causes a buffer overflow (see Suse Bugzilla bnc#202243). -* Thu Aug 31 2006 jsmeix@suse.de -- Added a fix of a too small char array in fujitsu.c to - fix-buffer-overflow.patch (see Suse Bugzilla bnc#202243). -* Fri Jul 21 2006 jsmeix@suse.de -- canon-backend-autoprobing.patch lets the "canon" backend - do scanner auto-recognition (see Suse Bugzilla bnc#177492). -* Tue Jul 04 2006 jsmeix@suse.de -- Updated to sane-backends version 1.0.18: - New backends: dell1600n_net, hp3500, pixma, stv680. - Updated backends: avision, canon, dll, epson, fujitsu, genesys, - gt68xx, microtek2, mustek_pp, niash, plustek, snapscan, sp15c, - test, u12, umax1220u. - Several bug fixes. -- fix-buffer-overflow.patch fixes a too small char array - which causes a buffer overflow if SANE_DEBUG_EPSON is set. -- replace-HZ-by-sysconf_SC_CLK_TCK.patch replaces the fixed HZ - compile-time value (no longer supported by new glibc) - by the more correct sysconf(_SC_CLK_TCK) runtime value. -- Updated hpaio.desc from the current HPLIP version 1.6.6a. -- Updated epkowa.desc from the current Iscan version 2.1.0.1. -* Wed Mar 22 2006 jsmeix@suse.de -- Added "haldaemon" to Should-Start in /etc/init.d/sane-dev and - keeping old name "hal" for the same boot facility to be safe. -* Wed Mar 15 2006 jsmeix@suse.de -- Fixed percent-characters for RPM in post-install script - (use '%%%%' in spec file to get actually '%%' in the script). -* Mon Mar 13 2006 jsmeix@suse.de -- Added automagic but safe pos-install script which tries - to update resmgr permissions for scanners for an update - from Suse Linux 10.0 to 10.1 (see Suse Bugzilla bnc#157055). -* Fri Jan 27 2006 jsmeix@suse.de -- Current epkowa.desc from the current iscan package. -- Current hpaio.desc made from the current hplip package. -- Changed hpoj.desc to match better to hpaio.desc. - Added "hpoj is outdated" comments to hpoj.desc. -* Wed Jan 25 2006 mls@suse.de -- converted neededforbuild to BuildRequires -* Tue Jan 03 2006 jsmeix@suse.de -- Updated to sane-backends version 1.0.17. -* Mon Sep 26 2005 jsmeix@suse.de -- Disabled locking because /var/lock/sane/ would be world writable. -* Tue Sep 20 2005 jsmeix@suse.de -- Updated to sane-backends version 1.0.16. -* Mon Aug 22 2005 jsmeix@suse.de -- Updated the hpaio.desc file according to our current HPLIP - software version 0.9.4. -* Tue Aug 09 2005 jsmeix@suse.de -- Updated the epkowa.desc in this package with the newest version - from the iscan package to build the SANE documentation files - accordingly (see the entry dated Thu Feb 17 16:52:24 CET 2005). -* Mon Aug 01 2005 jsmeix@suse.de -- Added the USB usermap file to the sane package to have the - USB manufacturer and model IDs available for scanner detection. -* Wed May 25 2005 jsmeix@suse.de -- Added "Should-Start: hal" to sane-dev. -- The "SnapScan 1236u" needs no firmware upload (SUSE bug 73960). -* Tue May 17 2005 jsmeix@suse.de -- Fix "... is used uninitialized ..." warnings. -* Fri Mar 11 2005 jsmeix@suse.de -- Removed the obsolete SLP stuff from sane-dev - because sane-dev has nothing to do with - saned and its SLP registration (SUSE bug 72156). -- Using only SANE device entries in sane-dev which start - with '^/dev/' to find possible SCSI devices because e.g. - HPLIP creates SANE devices like 'hpaio:.../dev/...'. -- Replaced the test with 'ps' for a running scanimage - with a simpler test using '/proc/$scanimagePID/cmdline'. -* Thu Feb 24 2005 jsmeix@suse.de -- Increased the maximum wait time in sane-dev to 30 seconds - because some scanners fall asleep and need a longer time - to wake up and respond to 'scanimage -f ...'. -* Thu Feb 17 2005 jsmeix@suse.de -- Updated the SUSE versions of the descriptions-external files. -- Now the SUSE versions of the descriptions-external files - are used for build so that the SANE documentation files - %%{_defaultdocdir}/sane/sane-backends/*.html - are built accordingly. -- Added 'Provides: sane-backends' because the rest of the world has - package names 'sane-backends' and 'sane-frontends' according to - the two SANE software projecs. Therefore third party RPMs which - require SANE libraries usually have 'Requires: sane-backends'. -* Thu Feb 10 2005 ro@suse.de -- added libpng to neededforbuild (for tetex) -* Tue Feb 08 2005 jsmeix@suse.de -- Replaced the descriptions-external file epkowa.desc from SANE - by an extended SUSE version which has more model listed - according to "man sane-epkowa" in the SUSE iscan package. -- Removed the automated "insserv" for sane-dev because this - is now done by the YaST scanner config only if a SCSI scanner - was set up (i.e. for USB scanners sane-dev is useless and - therefore it should not run by default). -* Wed Feb 02 2005 jsmeix@suse.de -- Added a descriptions-external file hpaio.desc which was - manually derived from the models.xml in the hplip package. - Therefore there is a package version problem to have a fixed - source file hpaio.desc but in the future an automated script - may create an up to date hpaio.desc file. -* Tue Dec 28 2004 jsmeix@suse.de -- Changed how the descriptions and descriptions-external files - are installed (those files are needed by YaST to create its - scanner database): No longer via a doc/Makefile.in patch - but directly in the spec file to avoid changes in the sources - for SUSE-specific stuff. -- Added ':firmware "required"' entries for the respective scanners - to the descriptions files (for gt68xx, artec_eplus48u, snapscan) - so that YaST knows which scanners require a firmware upload. -- Replaced the descriptions-external file hpoj.desc from SANE - by an extended SUSE version which has a list of explicite model - names added so that YaST can show a detailed model list. -* Wed Nov 17 2004 jsmeix@suse.de -- Changed runlevel script "sane-dev": - Avoid too long (perhaps infinite) waiting for "scanimage". - Maximum wait is 10 seconds. - Improved the format of the output. -* Wed Nov 10 2004 jsmeix@suse.de -- Changed "sane" runlevel script which sets permissions in /dev/ - and renamed it to "sane-dev" to avoid confusion with the - SANE network daemon "saned" and its service name "sane-port" - respectively "sane" (see SUSE bugzilla bnc#41233). -* Mon Nov 08 2004 jsmeix@suse.de -- new sane-backends version 1.0.15 -- sane-frontends stuff is moved to the new package sane-frontends -* Wed Oct 20 2004 ro@suse.de -- locale rename: no -> nb -* Mon Sep 20 2004 jsmeix@suse.de -- Added a test in /etc/init.d/sane whether slpd is really - running before "/etc/init.d/slpd reload" is done. - (SUSE bugzilla bnc#42032). -* Wed Sep 15 2004 jsmeix@suse.de -- Added sane-backends-1.0.14-epson_d8.patch which fixes the - problem with EPSON D8 function level scanners that have - a transparency unit (SUSE bugzilla bnc#45075). -- Changed the file name of /etc/xinetd.d/sane.xinetd to - /etc/xinetd.d/sane-port because xinetd ignores files - with names containing a dot (SUSE bugzilla bnc#45313). -* Fri Aug 13 2004 jsmeix@suse.de -- Changed "sane" to "sane-port" in sane.xinetd see bug 41233 -* Thu Jul 15 2004 jsmeix@suse.de -- Added libieee1284 support (by using the new libieee1284 package) -* Tue Jul 13 2004 jsmeix@suse.de -- Update sane-backends to version 1.0.14 -* Wed Apr 21 2004 pth@suse.de -- Remove libtool macros from acinclude.m4 that caused build - failures. -- Fix the cases of unnecessary type-punning, obsoleting the need - for -fno-strict-aliasing. -- Fix pointer->int casts. -* Thu Apr 01 2004 jsmeix@suse.de -- Correction of what was done according to previous entry: - Disable all entries in almost all descriptions-external/*.desc - files because none of the external backends is included in the - sane package - except one: /usr/share/sane/descriptions-external/hpoj.desc - because the hpoj backend is in fact available because it is - in the hp-officeJet package which is installed by default - see bug 37885 -* Mon Mar 29 2004 jsmeix@suse.de -- Removed sane-descriptions-external-epkowa.desc.dif and - disabled all entries in all descriptions-external/*.desc files - because none of the external backends is included in the sane - package (see bugzilla bnc#37169) and for details see - .../doc/packages/sane/sane-backends/sane-backends-external.html -* Thu Mar 25 2004 jsmeix@suse.de -- Patch sane-descriptions-external-epkowa.desc.dif - disables those entries in descriptions-external/epkowa.desc - which are also in descriptions/epson.desc - because we want to prefer the open source backend "epson" - (see bugzilla bnc#36584). -* Tue Mar 23 2004 meissner@suse.de -- gimp plugins are now in ../2.0/... -* Mon Mar 22 2004 meissner@suse.de -- epson.conf triggers autodetect on mentioning of "usb", so just - add this instead of all ids. #36585 -* Fri Mar 12 2004 meissner@suse.de -- The plustek driver has its very own idea of a config file format, - adapt the config patch. -* Mon Mar 08 2004 meissner@suse.de -- Updated the .conf files with most of the USB ids in use, - so scanimage -L finds the scanners even without kernel module. -* Wed Feb 25 2004 meissner@suse.de -- Merged all system scanner ids into the hardcoded usermap, - since newer kernels might no longer have the scanner module. -* Sat Feb 21 2004 ro@suse.de -- use no-strict-aliasing -* Sat Feb 21 2004 ro@suse.de -- fix gimp plugin link -* Sat Feb 21 2004 ro@suse.de -- updated frontends to 1.0.11-cvs to get gimp2 support -- use gtk2 for gimp -* Wed Feb 18 2004 meissner@suse.de -- actually apply the patch (and update it) and not just - readd it to the sources. -* Mon Feb 16 2004 meissner@suse.de -- reapply resmgr patch. -* Fri Feb 06 2004 jsmeix@suse.de -- new versions sane-backends-1.0.13 and sane-frontends-1.0.11 -- use the more important backend version number as package version -* Sat Jan 17 2004 meissner@suse.de -- fixed small typemismatch in sm3600.c -* Wed Nov 19 2003 adrian@suse.de -- use $HOSTNAME instead of $LOCALHOST in slp reg file -* Fri Nov 14 2003 adrian@suse.de -- use correct keyword "X-UnitedLinux-Should-Start" in runlevel script -* Thu Nov 13 2003 adrian@suse.de -- add xinetd file for sane daemon -- let slpd check for running saned via (x)inetd -- notify slpd, if using saned init script -* Wed Nov 12 2003 freitag@suse.de -- added registration file for slp daemon -* Mon Nov 10 2003 ro@suse.de -- use net-snmp instead of ucdsnmp -* Fri Oct 10 2003 hvogel@suse.de -- fix scanimage path in the init script -* Mon Jun 16 2003 meissner@suse.de -- Also use -L/%%_lib, so we find -lresmgr on x86_64. -* Fri Jun 13 2003 meissner@suse.de -- Buildrooted. -- Added missing directories and files. -* Fri Jun 06 2003 freitag@suse.de -- update to backend version 1.0.12 - better support of current - devices. -* Mon Mar 03 2003 freitag@suse.de -- fixed a filelist error which turned out to be a wrong lib link. - Bug #24567 -* Wed Feb 26 2003 meissner@suse.de -- Added one missing resmgr invocation. -* Mon Feb 17 2003 meissner@suse.de -- Added resmgr support for both SCSI and USB kernel mode. - (basically use rsm_open_device). This will allow opening - the /dev/*scanner devices as user without need for special - permissions. -- Added a USB hotplug usermap which makes the sm3600 devices - accessible for libusb. (The rest are handled by the yast2 scanner - module). -* Mon Feb 17 2003 freitag@suse.de -- added epson backend directly from the author Karl Hein Kremer due - to further changes to the USB base code. Removed the patch applied - before again. -* Mon Feb 17 2003 freitag@suse.de -- patch applied to detect Epson scanners via libusb correctly. - Thanks to Karl Heinz Kremer who sent it in. -* Mon Feb 10 2003 freitag@suse.de -- updated to backends version 1.0.11 which was suggested to avoid - a possible security whole. -* Mon Feb 03 2003 freitag@suse.de -- update to stable version 1.0.10 - added gimp and gimp-devel to neededforbuild again to provide gimp - support for xscanimage -* Fri Jan 31 2003 meissner@suse.de -- neededforbuild +resmgr, so libusb gets detected. -* Fri Jan 31 2003 freitag@suse.de -- added backend descriptions file to /usr/share/sane - moved the style file from /usr/X11R6/lib to /usr/share/sane - added sane postscript and dvi documentation as extra source -* Mon Jan 27 2003 freitag@suse.de -- update to version 1.0.10 pre 3 -* Fri Jan 24 2003 freitag@suse.de -- update to pre version 1.0.10, final will follow soon. - Much more scanner supported. -* Thu Oct 31 2002 freitag@suse.de -- update to final version 1.0.9 -* Tue Oct 29 2002 ro@suse.de -- removed (old) libtool macros from acinclude.m4 -* Fri Oct 18 2002 freitag@suse.de -- updated to pre version of 1.0.9 in advance for 1.0.9 and did some - cleanup of the spec like removing a lot of neededforbuild deps - and applied proper CFLAGS - Added the gt68xx backend that supports expecially rf's new Mustek - usb scanner -* Mon Sep 09 2002 freitag@suse.de -- fixed filelist and added libsane.so again. -* Mon Sep 09 2002 freitag@suse.de -- removed wrong lib libsane-hpoj from packlist, they came from package - hp-officeJet accidentially. -* Fri Aug 16 2002 freitag@suse.de -- added prerequires (Bug #17983) and a postun procedure -* Mon Jul 29 2002 meissner@suse.de -- gphoto -> libgphoto2 -* Sat Jul 27 2002 adrian@suse.de -- fix neededforbuild -* Thu Jul 18 2002 freitag@suse.de -- reapplied __KERNEL__-Patches -* Wed Jul 17 2002 freitag@suse.de -- update to sane version 1.0.8: - -Network backend and saned update - -documentation updates - -bugfixes - -updated backends - -new backends -* Tue Mar 19 2002 freitag@suse.de -- fixed bug #14916 - This bug was caused by an segfault of scanimage which is used to - find out which scanner are in operation on the network scan server. - Since scanimage uses a one byte to small buffer in a string copy - operation, a segfault happens. - Fixed that bug by enlarging the buffer. -* Fri Mar 08 2002 freitag@suse.de -- fixed bug #14449 - That changes the sane startup script to work with the scanimage - from sane package 1.0.7. - Added a proper check for being root or not. only root may start - or restart the service (which actually does nothing but setting - file permissions for scsi scanner). See rcsane.diff for the patch - applied on rc.sane. Note that rcsane.diff is not applied during - the build process, but shows the differences against the former - version of rc.sane -* Mon Feb 18 2002 freitag@suse.de -- fixed bug 13430 - updated to version 1.0.7 of sane. This broadens - the scanner support. -* Wed Feb 06 2002 freitag@suse.de -- minor fixes in rc.sane: removed useless test on start variable -* Thu Jan 10 2002 freitag@suse.de -- updated to V. 1.0.6, provides bugfixes, gphoto2 changes and some - new backends -- removed rc.config-template and used rpm macro instead to set the - rc.config var. -- removed mustek_usb external source, because it is now part of the - standard sane package. -* Tue Jan 08 2002 egmont@suselinux.hu -- changed `adjustscannerperm' to `sane' in init script -- removed bogus `probe' entry from the same script -* Wed Nov 21 2001 bjacke@suse.de -- remove useless provides -- make config files (noreplce) -- use libdir macro -* Wed Sep 12 2001 freitag@suse.de -- added support for Agfa SnapScan 1236U and updated to a later verion - of mustek_usb-Backend, which provides better integration to the - main backend module. - Disabled all dll-entries in /etc/sane.d/dll.conf to avoid probs - with wrong device detection which happend in the past. The yast - module enables the correct one, added a README.SuSE to the sane - package doc path that describes this change. -* Tue Sep 04 2001 freitag@suse.de -- added a rc-script that changes the permissions of scsi scanner - devices if they are installed. The scsi device files are switched - to permission 666 on startup and reverted back to 640 on shutdown. -* Mon Sep 03 2001 freitag@suse.de -- added a backend for mustek usb scanners. -* Wed Aug 29 2001 freitag@suse.de -- added support for scanning from HP all-in-one-devices. - Therefore, package hp-officeJet is needed. -- added a configure option --docdir to get rid of build failiures - on distributions which have the documentation not in share. -* Mon Aug 27 2001 freitag@suse.de -- applied patches for scanimage and sane-find-scanner that produce - better parseable output for scripts etc. to help yast2 module. -- added a not yet in SANE released driver for mustek usb scanners, - which are quite common in germany. The driver was initially written - by a mustek engineer and was overtaken by the mustek backend - maintainer of SANE. -* Tue Jul 17 2001 uli@suse.de -- disabled direct PIO access for PPC -* Thu Jul 05 2001 freitag@suse.de -- update to release 1.0.5 -- documentation again created dynamically. -* Thu Jun 28 2001 freitag@suse.de -- updated to pre-1.0.5 version, 1.0.5 is expected soon -- patched sane-find-scanner to have a silent mode. -* Mon Apr 09 2001 freitag@suse.de -- applied snapscan-patch, fixed problem with missing gimp-plugin-link -* Fri Mar 30 2001 uli@suse.de -- fixed to build on PPC -* Fri Mar 23 2001 freitag@suse.de -- removed dependency to gimp, patch to solve timing probs with - kernel 2.4 -* Fri Jan 05 2001 freitag@suse.de -- updated to version 1.0.4 -* Wed Dec 20 2000 ro@suse.de -- fixed symlink -* Mon Nov 20 2000 freitag@suse.de -- hide parport-scanner in standard sane distribution in dll.conf -* Wed Nov 15 2000 freitag@suse.de -- skipped parport-scanner driver also for axp -* Tue Nov 07 2000 freitag@suse.de -- skipped parport-scanner for ppc and sparc -* Mon Nov 06 2000 freitag@suse.de -- fixed Copyright/License-Field in SpecFile -* Fri Nov 03 2000 ro@suse.de -- fix neededforbuild for new package-names -* Thu Nov 02 2000 freitag@suse.de -- new version 1.0.3 - patch for Artec AS6E scanner - patch for HP4200 PPort Scanner -* Mon Sep 25 2000 uli@suse.de -- fixed to build with new GIMP -* Mon Sep 25 2000 egger@suse.de -- Upgraded to 1.0.3. -- Added -DGIMP_ENABLE_COMPAT_CRUFT to build again. -- The specfile is quite messy... maybe the maintainer could clean - that up, please? -* Mon Sep 25 2000 ro@suse.de -- changed neededforbuild: libgimpd -> gimpdev -* Tue Sep 12 2000 mhafner@suse.de -- added suse_update_config -* Tue Jun 27 2000 freitag@suse.de -- libs back to /usr/lib/sane - except libsane.so. and libsane-dll -* Fri Jun 02 2000 freitag@suse.de -- problem with missing headerfiles and wrong linked libs fixed. -* Wed May 24 2000 freitag@suse.de -- new configure switch --enable-scsibuffersize due to reported - problems on the SANE-Mailinglist. -- installed *all* sane-libraries to /usr/lib -* Tue Mar 21 2000 bodammer@suse.de -- backend for Agfa SnapScan V0.8 again -* Mon Mar 20 2000 bodammer@suse.de -- update -> sane-1.0.2 - link to libsane-dll.so.1 included for xsane to work -* Sat Mar 04 2000 ro@suse.de -- removed libgimp from neededforbuild -* Thu Mar 02 2000 uli@suse.de -- moved man pages to %%{_mandir} -* Mon Feb 07 2000 kukuk@suse.de -- Don't check for asm/io.h, this will not work on SPARC -* Tue Jan 18 2000 bodammer@suse.de -- backend for Agfa SnapScan updated to V0.8 - works with new sg-modul from kernel > 2.2.5 -* Fri Oct 15 1999 ro@suse.de --xscanimage: renamed GIMP_EXTENSION to IS_GIMP_EXTENSION - (GIMP_EXTENSION is already used as enumerator as of gimp-1.1.10) -* Mon Sep 13 1999 bs@suse.de -- ran old prepare_spec on spec file to switch to new prepare_spec. -* Thu Sep 02 1999 ro@suse.de -- update to 1.0.1 -- fixed neededforbuild to get gimp-support back -- removed tcl tk from neededforbuild -* Sun Jul 18 1999 mha@suse.de -- removed '#' in front of /usr/sbin/saned in sane.spec - for mb who isn't here today ;-) -* Tue Jul 13 1999 bs@suse.de -- use gtk and glib instead of gtkn and glibn -* Fri Mar 19 1999 mb@suse.de -- fixed gtkn, gtkndev, glibn, glibndev dependencies -* Thu Nov 26 1998 mb@suse.de -- major update to version 1.0 -- new enhanced drivers for Abaton, Agfa Focus and Ricoh scanners -- Kodak DC210 still not supported -- Update for many drivers (Artec,Kodak,DC25,Microtek,Microtek2,Mustek - UMAX and SnapScan). -- removed sgcheck. sgcheck now is in scsiinfo. -* Mon Nov 23 1998 mb@suse.de -- added sgcheck tool. It scans /proc/scsi/scsi and tells you - exactly the generic scsi ID of your SCSI devices, respectively - your scanner. -- added README.sgcheck -* Wed Nov 18 1998 ro@suse.de -- added libsane.so -* Tue Nov 17 1998 ro@suse.de -- adjust neededforbuild to current distribution -* Fri Nov 13 1998 mb@suse.de -- new version 0.74 -- new and more scanners supported -- automatically detects attached scanners -* Mon May 25 1998 mb@suse.de -- new version 0.73 -- according to author may still cause trouble with microtek2 scanners!! -- uses new gtk1.0.1 -- added scanners to supported list -- lots of bug fixed -* Wed Mar 11 1998 ro@suse.de -- added libsane.so.0 to filelist -* Wed Feb 04 1998 mb@suse.de -- new version 0.70 -- added support for various scanners, such as agfa, microtek etc. -- bugfixing for umax scanners -* Sun Sep 21 1997 mb@suse.de - Initial version 0.63