diff --git a/sysutils/smartmontools/Makefile b/sysutils/smartmontools/Makefile index df87dc202ed3..6c3cb702daa3 100644 --- a/sysutils/smartmontools/Makefile +++ b/sysutils/smartmontools/Makefile @@ -1,40 +1,41 @@ PORTNAME= smartmontools DISTVERSION= 7.4 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= SF MAINTAINER= samm@FreeBSD.org COMMENT= S.M.A.R.T. disk monitoring tools WWW= https://www.smartmontools.org LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lib cpe shebangfix USE_RC_SUBR= smartd SHEBANG_FILES= examplescripts/Example5 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-dependency-tracking \ --enable-sample \ - --with-gnupg=no \ + --with-gnupg=yes \ --with-initscriptdir=${PREFIX}/etc/rc.d \ --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 diff --git a/sysutils/smartmontools/files/pkg-message.in b/sysutils/smartmontools/files/pkg-message.in index f34049696d84..9b7b4e982f97 100644 --- a/sysutils/smartmontools/files/pkg-message.in +++ b/sysutils/smartmontools/files/pkg-message.in @@ -1,26 +1,29 @@ [ { type: install message: <> /etc/rc.conf + +To enable verification of the drivedb updates, install the "security/gnupg" +package. EOM } ]