From a04d39677f138097441a1e1e19aa23b365649ba9 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sat, 4 May 2019 16:16:07 +0200 Subject: disable camera libraries for very old cameras by default. They can be re-enabled for installation by ./configure --with-camlibs=all,outdated --- Makefile.am | 1 + NEWS | 23 +++++++++++++++++++++++ OUTDATED.txt | 23 +++++++++-------------- 3 files changed, 33 insertions(+), 14 deletions(-) diff --git a/Makefile.am b/Makefile.am index 5bb5794ac..b1b43898b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,6 +18,7 @@ noinst_DATA = libgphoto2-uninstalled.pc EXTRA_DIST += ChangeLog EXTRA_DIST += INSTALL +EXTRA_DIST += OUTDATED.txt doc_DATA = AUTHORS COPYING NEWS doc_DATA += ABOUT-NLS ChangeLog diff --git a/NEWS b/NEWS index 0d12789e4..ecd09886a 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,29 @@ ptp2: translations: * updated danish +all: +* The camlibs for cameras (and driver) older than 15 years have been + default disabled for installation, to speed up libgphoto2 startup + and also reduce attack surface against malicious USB devices. + + See OUTDATED.txt in git for notes. + + You can reenable them using: + + ./configure --with-camlibs=all,outdated + + or by the camlib driver name (sample: jd11): + + ./configure --with-camlibs=all,jd11 + + To get the lists of all camera libraries use: + + ./configure --help + + If you still have an old camera using one of these camlibs in active + use, please report this to the devteam so we can reenable it per + default. + ------------------------------------------------------------------------------ libgphoto2 2.5.22 release diff --git a/OUTDATED.txt b/OUTDATED.txt index 4714db8c2..86c874bb1 100644 --- a/OUTDATED.txt +++ b/OUTDATED.txt @@ -25,8 +25,6 @@ serial only: sonydscf1 - 1997 camera sonydscf55 - 1999 camera, changes from 2002 -aox - last functional change 2008 - up to 640x480 agfa_cl20 - last functional change 2004 clicksmart310 - last functional change 2006 digita - last cameras released in 2001 @@ -56,24 +54,21 @@ sx330z - last functional changes from 2003 toshiba_pdrm11 - last functional changes from 2003 +Keep: -Keep perhaps: - +aox - last functional change 2008 +ax203 - last functional change 2014 +canon - still has known users, active 2019 digigr8 - functional changes in 2012 +directory - generic directory driver, keep jl2005a - last functional change 2010 jl2005c - last functional change 2012 mars - last functional change 2010 +pentax - pentax slr, active 2019 +ptp2 - PTP, active +sierra - still has users, also some cameras sonix - last functional changes in 2008 sq905 - last functional change 2010 +st2205 - changes in 2014 topfield - last changes in 2008, (HD recorder, might still be in use) tp6801 - last changes in 2011 - -Keep: - -ax203 - last functional change 2014 -canon - still has known users -directory - generic directory driver -pentax - pentax slr -ptp2 - PTP -sierra - still has users, also some cameras -st2205 - changes in 2014 -- cgit v1.2.1