Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153474105
D28820.id84342.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D28820.id84342.diff
View Options
Index: sysutils/smartmontools/Makefile
===================================================================
--- sysutils/smartmontools/Makefile
+++ sysutils/smartmontools/Makefile
@@ -3,6 +3,7 @@
PORTNAME= smartmontools
PORTVERSION= 7.2
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF
@@ -21,8 +22,7 @@
--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
@@ -32,10 +32,13 @@
post-patch:
@${REINPLACE_CMD} -e 's| install-initdDATA| |' ${WRKSRC}/Makefile.in
+ @${CP} ${WRKSRC}/drivedb.h ${WRKSRC}/drivedb.h.sample
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
${INSTALL_SCRIPT} ${WRKDIR}/smart \
${STAGEDIR}${PREFIX}/etc/periodic/daily
+ ${MV} ${STAGEDIR}${PREFIX}/share/smartmontools/drivedb.h \
+ ${STAGEDIR}${PREFIX}/share/smartmontools/drivedb.h.sample
.include <bsd.port.mk>
Index: sysutils/smartmontools/pkg-plist
===================================================================
--- sysutils/smartmontools/pkg-plist
+++ sysutils/smartmontools/pkg-plist
@@ -4,7 +4,9 @@
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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 22, 9:05 AM (3 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31899233
Default Alt Text
D28820.id84342.diff (1 KB)
Attached To
Mode
D28820: Restore update-drive-db functionality
Attached
Detach File
Event Timeline
Log In to Comment