Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jan 2024 15:46:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 276180] sysutils/smartmontools: update-smart-drivedb: GnuPG is not available
Message-ID:  <bug-276180-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276180

            Bug ID: 276180
           Summary: sysutils/smartmontools: update-smart-drivedb: GnuPG is
                    not available
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: samm@FreeBSD.org
          Reporter: freebsd@m-eng.net
          Assignee: samm@FreeBSD.org
             Flags: maintainer-feedback?(samm@FreeBSD.org)

Related to package:
-------------------

Name           : smartmontools
Version        : 7.4
Origin         : sysutils/smartmontools
Architecture   : FreeBSD:14:amd64
FreeBSD_version: 1400097
build_timestamp: 2023-12-11T05:28:08+0000


Error Description:
------------------

root@host:~ # update-smart-drivedb
/usr/local/sbin/update-smart-drivedb: GnuPG is not available ('--no-verify'=
 to
ignore)
Try '/usr/local/sbin/update-smart-drivedb -h' for help

However the package security/gnupg is installed.


Proposed Fix:
-------------

In /usr/local/sbin/update-smart-drivedb change the following variable:

gpg=3D""

to

gpg=3D"/usr/local/bin/gpg"

As an alternative, the script could check if /usr/local/bin/gpg exists and =
just
set the gpg variable if true.

if -e "/usr/local/bin/gpg" then
  gpg=3D"/usr/local/bin/gpg"
fi

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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