Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jan 2024 19:57:56 GMT
From:      Oleksii Samorukov <samm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3cff2677eadf - main - sysutils/smartmontools: enable gpg check in configure
Message-ID:  <202401071957.407JvuwP033033@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by samm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3cff2677eadf97a3a0460e036ef5021456b4d432

commit 3cff2677eadf97a3a0460e036ef5021456b4d432
Author:     Oleksii Samorukov <samm@FreeBSD.org>
AuthorDate: 2024-01-07 19:51:37 +0000
Commit:     Oleksii Samorukov <samm@FreeBSD.org>
CommitDate: 2024-01-07 19:57:48 +0000

    sysutils/smartmontools: enable gpg check in configure
    
    This is required to ensure that if gpg tool is installed database is
    validated. Also added hint to pkg-install message about
    security/gnupg port.
    
    PR: 276180
---
 sysutils/smartmontools/Makefile             | 3 ++-
 sysutils/smartmontools/files/pkg-message.in | 3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/sysutils/smartmontools/Makefile b/sysutils/smartmontools/Makefile
index df87dc202ed3..6c3cb702daa3 100644
--- a/sysutils/smartmontools/Makefile
+++ b/sysutils/smartmontools/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	smartmontools
 DISTVERSION=	7.4
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	SF
 
@@ -17,7 +18,7 @@ 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
 
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
@@ -21,6 +21,9 @@ Copy this file to %%PREFIX%%/etc/smartd.conf and edit appropriately
 
 To have smartd start at boot
 	echo 'smartd_enable="YES"' >> /etc/rc.conf
+
+To enable verification of the drivedb updates, install the "security/gnupg"
+package.
 EOM
 }
 ]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401071957.407JvuwP033033>