Created attachment 431126 [details, diff] Update the SRCEXPR in update-smart-drivedb.in smartmontools includes a utility to update the smartmontools drive database. See the on-line reference manual, UPDATE-SMART-DRIVEDB(8) for more information. update-smart-drivedb fetches the drivedb.h file from upstream which is frequently amended as drives are added to the database. Not so long ago, SourceForge moved the smartmontools repository to a new location which breaks the released update-smart-drivedb script, causing it to return in error. "rejected by /usr/sbin/smartctl, probably no longer compatible" The attached smartmontools.patch changes the SRCEXPR within update-smart-drivedb.in, leading to successful execution of update-smart-drivedb. Perhaps the correct approach is different than simply patching the SRCEXPR. At your discretion, maybe the trunk versions of update-smart-drivedb.8.in, update-smart-drivedb.in and their man pages should be included in the next revision of the in-tree sys-apps/smartmontools packages. I found this problem in sys-apps/smartmontools-6.4 and assume it is also present in sys-apps/smartmontools-6.3. For your reference, here is a link to a thread from the mailing list describing the SourceForge repository change breaking update-smart-drivedb. https://sourceforge.net/p/smartmontools/mailman/message/31696637/ Also, in case you're curious how new drives are added to the database, you may find the following FAQ answer useful. https://www.smartmontools.org/wiki/FAQ#SmartmontoolsDatabase The trunk versions of the above referenced update-smart-drivedb related files may be found at the following location. https://sourceforge.net/p/smartmontools/code/HEAD/tree/trunk/smartmontools/ Kind Regards, -Chicago
commit 1a1f6c1d1327664ccf81805b01cc435a4cd9fc69 Author: Lars Wendler <polynomial-c@gentoo.org> Date: Mon Apr 18 15:44:31 2016 sys-apps/smartmontools: Revbump to fix bugs #575292 and #580424 Don't install drivedb.h into /usr and don't add it to the PM's file database (#575292). Fix download location of latest drivedb.h file (#580424). Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>