sysutils/smartmontools: sync with upstream

Taken from: HardenedBSD
This commit is contained in:
Franco Fichtner 2021-02-22 18:02:51 +01:00
parent de408fd9b3
commit 46340899fc
2 changed files with 7 additions and 3 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= smartmontools
PORTVERSION= 7.2
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF
@ -23,8 +24,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
@ -39,5 +39,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>

View file

@ -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