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
This commit is contained in:
Oleksii Samorukov 2024-01-07 20:51:37 +01:00
parent eb61ed7557
commit 3cff2677ea
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -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
}
]