svn commit: r566183 - head/sysutils/smartmontools
Oleksii Samorukov
samm at FreeBSD.org
Sat Feb 20 19:40:27 UTC 2021
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
+ at sample %%DATADIR%%/drivedb.h.sample
@dir etc/smartd_warning.d
More information about the svn-ports-all
mailing list