Date: Sat, 20 Feb 2021 19:40:26 +0000 (UTC) From: Oleksii Samorukov <samm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r566183 - head/sysutils/smartmontools Message-ID: <202102201940.11KJeQbB024560@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: samm Date: Sat Feb 20 19:40:26 2021 New Revision: 566183 URL: https://svnweb.freebsd.org/changeset/ports/566183 Log: sysutils/smartmontools: restore update-drive-db functionality Differential Revision: https://reviews.freebsd.org/D28820 Modified: head/sysutils/smartmontools/Makefile head/sysutils/smartmontools/pkg-plist Modified: head/sysutils/smartmontools/Makefile ============================================================================== --- head/sysutils/smartmontools/Makefile Sat Feb 20 19:30:55 2021 (r566182) +++ head/sysutils/smartmontools/Makefile Sat Feb 20 19:40:26 2021 (r566183) @@ -3,6 +3,7 @@ PORTNAME= smartmontools PORTVERSION= 7.2 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= SF @@ -21,8 +22,7 @@ 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 + --with-nvme-devicescan=yes SUB_FILES= pkg-message smart @@ -37,5 +37,7 @@ post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily ${INSTALL_SCRIPT} ${WRKDIR}/smart \ ${STAGEDIR}${PREFIX}/etc/periodic/daily + ${MV} ${STAGEDIR}${DATADIR}/drivedb.h \ + ${STAGEDIR}${DATADIR}/drivedb.h.sample .include <bsd.port.mk> Modified: head/sysutils/smartmontools/pkg-plist ============================================================================== --- head/sysutils/smartmontools/pkg-plist Sat Feb 20 19:30:55 2021 (r566182) +++ head/sysutils/smartmontools/pkg-plist Sat Feb 20 19:40:26 2021 (r566183) @@ -4,7 +4,9 @@ etc/smartd_warning.sh man/man5/smartd.conf.5.gz man/man8/smartd.8.gz man/man8/smartctl.8.gz +man/man8/update-smart-drivedb.8.gz sbin/smartctl sbin/smartd -%%DATADIR%%/drivedb.h +sbin/update-smart-drivedb +@sample %%DATADIR%%/drivedb.h.sample @dir etc/smartd_warning.d
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102201940.11KJeQbB024560>