Index: head/sysutils/smartmontools/Makefile =================================================================== --- head/sysutils/smartmontools/Makefile (revision 566182) +++ head/sysutils/smartmontools/Makefile (revision 566183) @@ -1,41 +1,43 @@ # Created by: Eduard Martinescu # $FreeBSD$ PORTNAME= smartmontools PORTVERSION= 7.2 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= SF MAINTAINER= samm@FreeBSD.org COMMENT= S.M.A.R.T. disk monitoring tools LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= alias compiler:c++11-lib shebangfix USE_RC_SUBR= smartd SHEBANG_FILES= examplescripts/Example5 GNU_CONFIGURE= yes 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 PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's| install-initdDATA| |' ${WRKSRC}/Makefile.in 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 Index: head/sysutils/smartmontools/pkg-plist =================================================================== --- head/sysutils/smartmontools/pkg-plist (revision 566182) +++ head/sysutils/smartmontools/pkg-plist (revision 566183) @@ -1,10 +1,12 @@ etc/periodic/daily/smart etc/smartd.conf.sample 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