From owner-freebsd-ports@freebsd.org Wed Apr 29 14:43:49 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5532E2B6E31 for ; Wed, 29 Apr 2020 14:43:49 +0000 (UTC) (envelope-from carmel_ny@outlook.com) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12olkn20821.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5a::821]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49C1VB65Ywz4JXj; Wed, 29 Apr 2020 14:43:46 +0000 (UTC) (envelope-from carmel_ny@outlook.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lLYZKqmDTDgzCnNeRlIaqPSToYmcJVbCW/W8Qh8CdyHeq5OuGwCWuSaH18TdhZZUP2A/WigYRUt59iJB10YzJC1SIRj4FL4wQBwlhQG0/nKvIY1GNQIEUVITu0/RG2PM1wsO0eEQk3/b+ek00a0WfmL3aaTIpah6a4efX/hN8fntAaD2xQC8FviWgqOheXQdkcPwNrhon87ydW4MeQorFawQgSangKT0/5qycpAFHp62ZF6EyGE0egG1v2c69vqbd+lnHRFVYdJdWKsWhLoyonh+RAo2fLeSjixJyyHtKXmGnBRKnZx9rRunuXJ1NEt2BQsnsSLEog+rMS1bqefjJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=a3uxY0UjIKQUYJr+EcPKf0XcNmjQRU1viJ4KVtJzVpE=; b=g6HPDgrdvCx6iT/EqR2LiM/wM1+SRLhywG4PMmO2vKIAYA/zYEzc3eVX9VtE7CnKWil8RT28Pctj2r7b+8JSg7DI3z9r8MjrxUjhQvPfGrYReBJVomTToGnOgezERBy4SCpgVkXBbqmlcfREVmDf9IwBQcl8rKqVQ9iYfPHhTCJWPKVLXKh5KNDdyXKHOLLzGL3/1rcJz4KjRyM7HVmo2aHzJKC6q2oBIkbufXXtDwWue3hKR7gcSGYkF81CfQoYbSUGIgw3j4c3q30mKgalrfRkZFMJoUQbrnuoHV1c67mcfbZ14rkToKnEWebbmZZHelT9sbOnxT4ouHbyMF/UaQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=outlook.com; dmarc=pass action=none header.from=outlook.com; dkim=pass header.d=outlook.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=a3uxY0UjIKQUYJr+EcPKf0XcNmjQRU1viJ4KVtJzVpE=; b=bELfszBilWWP2gAM8NVeyLo7O/63x7Bl02iP+6h3X/eoXK0Z4WSRPaiC93hNJRbDa5/P4GLtzB0AqwMBNj9P/IuhPGtxH9hnMOwSJ3+gCVG1QawuhhbTDVGyplPhGIoUNH1JljIUBjJ5Kj8DOPpZ2aFwHxZo5u5oegrymK2llCwdpXSZ6pERcfWVEGXKUyZldJdn0AZzQrAdnfRVtK+4JRLdAGZtnEC5eVgcScCRYKXFwc4Ns+qFM887DgS3ODnmf9ptkZoie3WNoV0oHViwrMPhyGcj6g++pV4K9QNwoYsgPLO4Wgy2grbSRhmm7NBsYjR2PLwTRUFUw8l7+gSI+Q== Received: from BN8NAM12FT023.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc66::48) by BN8NAM12HT011.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc66::475) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.12; Wed, 29 Apr 2020 14:43:44 +0000 Received: from SN6PR04MB5021.namprd04.prod.outlook.com (2a01:111:e400:fc66::49) by BN8NAM12FT023.mail.protection.outlook.com (2a01:111:e400:fc66::349) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.12 via Frontend Transport; Wed, 29 Apr 2020 14:43:44 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:7928C6A75DF8BDCD559DA43247A22FD7942FBD6502EA8879621C1DF4ADBD4697; UpperCasedChecksum:C9B4C828D572E358CCE78533E6C5EA72C9AF364F13BE78EFEE63243CABDFDCFB; SizeAsReceived:9315; Count:53 Received: from SN6PR04MB5021.namprd04.prod.outlook.com ([fe80::197b:f771:bc49:97cd]) by SN6PR04MB5021.namprd04.prod.outlook.com ([fe80::197b:f771:bc49:97cd%6]) with mapi id 15.20.2937.028; Wed, 29 Apr 2020 14:43:43 +0000 Date: Wed, 29 Apr 2020 10:43:40 -0400 From: Carmel NY To: FreeBSD Ports Cc: samm@FreeBSD.org Subject: Re: smartmontools and update-smart-drivedb Message-ID: In-Reply-To: <20200429135204.1411a8cc@raksha.tavi.co.uk> References: <20200429135204.1411a8cc@raksha.tavi.co.uk> Reply-To: FreeBSD Ports Organization: seibercom.net X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; i686-w64-mingw32) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: BN8PR04CA0063.namprd04.prod.outlook.com (2603:10b6:408:d4::37) To SN6PR04MB5021.namprd04.prod.outlook.com (2603:10b6:805:9f::32) X-Microsoft-Original-Message-ID: <20200429104340.0000001f@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from scorpio.seibercom.net (174.109.225.250) by BN8PR04CA0063.namprd04.prod.outlook.com (2603:10b6:408:d4::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.19 via Frontend Transport; Wed, 29 Apr 2020 14:43:43 +0000 Received: from localhost (hp-envy.seibercom.net [192.168.0.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: carmel_ny@outlook.com) by scorpio.seibercom.net (Postfix) with ESMTPSA id 49C1V607VhzXQB; Wed, 29 Apr 2020 10:43:42 -0400 (EDT) X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; i686-w64-mingw32) X-Microsoft-Original-Message-ID: <20200429104340.0000001f@outlook.com> X-TMN: [EMWi/U9ejy1IiaIDFydqWybv5NID4Qty18/5672KnV0=] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 53 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: ac18cf9a-932e-415e-334c-08d7ec4bb70b X-MS-TrafficTypeDiagnostic: BN8NAM12HT011: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sa5u3VapyciCct2d4lgDwsVCr/DIot99AZmYI2FG7zkwUr12JofSZSuhU319vdldNHKoiXCc7L1Dlx+5PsGB8cYKNPe5aNhtOc/F34+P/s93ueH6oybvCpXo1x5OOt80Rb63v2HbufeUZcJHstGT2xBaJhD8bQ5ZQGm9MWxS+Mbn28yl993SMVlRLp01KESrmHLOUTI8DOs5WFvlv5qyIbhDCREF9jpYsmR/gUcLCsI8vkhYwo/7j87I+nS/EoyH X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR04MB5021.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; X-MS-Exchange-AntiSpam-MessageData: w6OYGRxv9dh595oeBLrCV6G8EMNiggFlFOjy5DGQ6HIBLK9rPhMRY6rYY5YrsttfROIMxPnvEJYR0oEpyTP4x33iz2yipBprBSBkOC66eH8zALQkz80k0KhP14KXcn6rLUKmoYfpaJ4jNrSEI7ZbVw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ac18cf9a-932e-415e-334c-08d7ec4bb70b X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Apr 2020 14:43:43.8468 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8NAM12HT011 X-Rspamd-Queue-Id: 49C1VB65Ywz4JXj X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=outlook.com header.s=selector1 header.b=bELfszBi; dmarc=pass (policy=none) header.from=outlook.com; spf=pass (mx1.freebsd.org: domain of carmel_ny@outlook.com designates 2a01:111:f400:fe5a::821 as permitted sender) smtp.mailfrom=carmel_ny@outlook.com X-Spamd-Result: default: False [1.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd-ports@freebsd.org]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; FREEMAIL_FROM(0.00)[outlook.com]; HAS_ORG_HEADER(0.00)[]; DKIM_TRACE(0.00)[outlook.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[outlook.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[250.225.109.174.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; ARC_ALLOW(-1.00)[i=1]; FREEMAIL_ENVFROM(0.00)[outlook.com]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; DWL_DNSWL_NONE(0.00)[outlook.com.dwl.dnswl.org : 127.0.3.0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[outlook.com:s=selector1]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ipnet: 2a01:111:f000::/36(-4.14), asn: 8075(-3.20), country: US(-0.05)]; REPLYTO_EQ_TO_ADDR(5.00)[]; IP_SCORE_FREEMAIL(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Apr 2020 14:43:49 -0000 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 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 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. -- Carmel