Date: Wed, 29 Apr 2020 16:19:56 +0100 From: Bob Eager <rde@tavi.co.uk> To: freebsd-ports@freebsd.org Subject: Re: smartmontools and update-smart-drivedb Message-ID: <20200429161956.7525adaa@raksha.tavi.co.uk> In-Reply-To: <SN6PR04MB5021AF3DB9809DCDC2640EF680AD0@SN6PR04MB5021.namprd04.prod.outlook.com> References: <SN6PR04MB5021A8218A5D99DEC45291A780AD0@SN6PR04MB5021.namprd04.prod.outlook.com> <20200429135204.1411a8cc@raksha.tavi.co.uk> <SN6PR04MB5021AF3DB9809DCDC2640EF680AD0@SN6PR04MB5021.namprd04.prod.outlook.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 29 Apr 2020 10:43:40 -0400 Carmel NY <carmel_ny@outlook.com> wrote: > On Wed, 29 Apr 2020 13:52:04 +0100, Bob Eager stated: > >-----BEGIN PGP SIGNED MESSAGE----- > >Hash: SHA256 > > > >On Wed, 29 Apr 2020 08:30:31 -0400 > >Carmel NY <carmel_ny@outlook.com> wrote: > > > >> FreeBSD 11.3-RELEASE-p8 > >> > >> Output of smartctl -V > >> > >> smartctl 7.1 2019-12-30 r5022 [FreeBSD 11.3-RELEASE-p7 amd64] > >> (local build) Copyright (C) 2002-19, Bruce Allen, Christian Franke, > >> www.smartmontools.org > >> > >> smartctl comes with ABSOLUTELY NO WARRANTY. This is free > >> software, and you are welcome to redistribute it under > >> the terms of the GNU General Public License; either > >> version 2, or (at your option) any later version. > >> See http://www.gnu.org for further details. > >> > >> smartmontools release 7.1 dated 2019-12-30 at 15:00:11 UTC > >> smartmontools SVN rev 5022 dated 2019-12-30 at 15:00:49 > >> smartmontools build host: amd64-portbld-freebsd11.3 > >> smartmontools build with: C++14, GCC 4.2.1 Compatible FreeBSD Clang > >> 8.0.0 (tags/RELEASE_800/final 356365) smartmontools configure > >> arguments: '--disable-dependency-tracking' '--enable-sample' > >> '--with-gnupg=no' '--with-initscriptdir=/usr/local/etc/rc.d' > >> '--with-nvme-devicescan=yes' '--with-update-smart-drivedb=no' > >> '--prefix=/usr/local' '--localstatedir=/var' > >> '--mandir=/usr/local/man' '--disable-silent-rules' > >> '--infodir=/usr/local/share/info/' > >> '--build=amd64-portbld-freebsd11.3' > >> 'build_alias=amd64-portbld-freebsd11.3' 'CXX=c++' 'CXXFLAGS=-O2 > >> -pipe -fstack-protector-strong -fno-strict-aliasing ' 'LDFLAGS= > >> -fstack-protector-strong ' 'LIBS=' 'CPPFLAGS=' 'CC=cc' 'CFLAGS=-O2 > >> -pipe -fstack-protector-strong -fno-strict-aliasing ' > >> > >> This is from the sysutils/smartmontools/ Makefile: > >> > >> CONFIGURE_ARGS= --disable-dependency-tracking \ > >> --enable-sample \ > >> --with-gnupg=no \ > >> --with-initscriptdir=${PREFIX}/etc/rc.d \ > >> --with-nvme-devicescan=yes \ > >> --with-update-smart-drivedb=no > >> > >> As can be clearly seen, the "update-smart-drivedb" ability has been > >> eliminated from the port. Why is that? I am unable to update the > >> database to include my HD, which is available. There is a > >> "/usr/local/share/smartmontools/drivedb.h " present; however, it is > >> out of date. > >> > >> So, I guess my question is: > >> > >> 1) Why is the "update" procedure deliberately removed from the > >> port? > > > >I think it was broken for a while. > > > >> 2) What is the recommended procedure on FreeBSD to update this > >> file? > > > >All that command does is retrieve the header file drivedb.h. You can > >do that manually from: > > > > https://www.smartmontools.org/browser/branches/RELEASE_7_0_DRIVEDB/smartmontools/drivedb.h > > > >then put it in /usr/local/share/smartmontools/. > > > >It doesn't need compiling; it parses it! > > Thanks, I downloaded it and replaced the outdated file with the new > one. However, I would still like to know the rationale behind shipping > the port with an outdated 'drivedb.h' file The port doesn't get updated every time there is a new drive database; that would be unworkable. > and what is broken with the > "update-smart-drivedb" application. I guess I am going to have to get > a copy of that file and examine it myself. It's not the file; it seems to be a problem with github. https://www.smartmontools.org/wiki/Download#Updatethedrivedatabase
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200429161956.7525adaa>