mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
- Update to 5.41
- Sort CONFIGURE_ARGS Changes: http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/tags/RELEASE_5_41/smartmontools/CHANGELOG PR: ports/157762 Submitted by: Jin-Sih Lin <linpct@gmail.com> Approved by: Alex Samorukov <samm@os2.kiev.ua> (maintainer)
This commit is contained in:
parent
397176cfa3
commit
60792b3ad1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275575
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= smartmontools
|
||||
PORTVERSION= 5.40
|
||||
PORTVERSION= 5.41
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= SF
|
||||
|
||||
@ -21,8 +21,9 @@ USE_GMAKE= yes
|
||||
# hack to prevent gmake failure on 6.xx
|
||||
GMAKE= make
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-docdir=${DOCSDIR} --enable-sample \
|
||||
--disable-dependency-tracking --enable-drivedb
|
||||
CONFIGURE_ARGS= --disable-dependency-tracking \
|
||||
--enable-drivedb --enable-sample \
|
||||
--with-docdir=${DOCSDIR} --with-initscriptdir=${PREFIX}/etc/rc.d
|
||||
|
||||
SUB_FILES= pkg-message smart
|
||||
USE_RC_SUBR= smartd
|
||||
@ -33,11 +34,12 @@ MAN8= smartd.8 smartctl.8
|
||||
CFLAGS:= ${CFLAGS:S/-O2/-O/} -Wno-write-strings
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's| install-initdDATA | |' ${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's| install-initdDATA| |' ${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${PREFIX}/etc/periodic/daily
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/smart ${PREFIX}/etc/periodic/daily/smart
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/smartd.freebsd.initd ${PREFIX}/etc/rc.d/smartd
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (smartmontools-5.40.tar.gz) = 2a68ed20d5d6bd198e1aa6bf0b6037f0f216e3b14da022115244f1af9d248bfd
|
||||
SIZE (smartmontools-5.40.tar.gz) = 705592
|
||||
SHA256 (smartmontools-5.41.tar.gz) = 173eb14e3253a30230f38c7e684085bcae7fa021efff58bdf94c2702ac76fa32
|
||||
SIZE (smartmontools-5.41.tar.gz) = 740661
|
||||
|
@ -2,8 +2,9 @@ smartmontools has been installed
|
||||
|
||||
To check the status of drives, use the following:
|
||||
|
||||
%%PREFIX%%/sbin/smartctl -a /dev/ad0 for first ATA drive
|
||||
%%PREFIX%%/sbin/smartctl -a /dev/da0 for first SCSI drive
|
||||
%%PREFIX%%/sbin/smartctl -a /dev/ad0 for first ATA/SATA drive
|
||||
%%PREFIX%%/sbin/smartctl -a /dev/da0 for first SCSI drive
|
||||
%%PREFIX%%/sbin/smartctl -a /dev/ada0 for first SATA drive
|
||||
|
||||
To include drive health information in your daily status reports,
|
||||
add a line like the following to /etc/periodic.conf:
|
||||
|
Loading…
Reference in New Issue
Block a user