The Yubico PIV tool is used for interacting with the Privilege and
Identification Card (PIV) application on a YubiKey.
With it you may generate keys on the device, importing keys and
certificates, and create certificate requests, and other operations. A
shared library and a command-line tool is included.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Clean up all commented PORTREVISION and PORTEPOCH lines
No revision bump tool that we have cleans them up or deals with
them, so we end up with duplicated lines. Instead of implementing
that just clean up the 51 ports that do this.
PORTREVISION and PORTEPOCH can be set to 0 explicitly instead if
you need a reminder or placeholder.
security/yubico-piv-tool: Unbreak build on FreeBSD 11 with
DEFAULT_VERSIONS=ssl=openssl
r541879 adds a patch that disables an openssl cmake module from
being invoked. But on 11.3 at least if some other package dependency
pulls in openssl (or DEFAULT_VERSIONS has ssl=openssl), yubico-piv-tool
is built with openssl 1.0 includes from base and openssl 1.1 libraries
from the port; this fails due to openssl API changes between 1.0
and 1.1 (e.g. EVP_MD_CTX_create() became EVP_MD_CTX_new()).
This is not a compile time problem on 12.1 because the base version
of openssl is 1.1 (but there is no guarantee there are not other
issues caused by the mixing of includes and libraries).
Replace the CMakeLists.txt patch with one for patch-cmake_openssl.cmake
that the cmake checks for openssl/libcrypto optional. This ensures
that openssl includes and libraries are not mixed between the base
and ports versions.
PR: 248049
Approved by: ume (maintainer timeout, 2 weeks)
Prepare for powerpc-on-clang by deleting hard-coded tests for libstdc++.so
as a stand-in for "are we running on gcc".
For people already testing powerpc on clang, it is possible that they
already have both compilers in base. Thus, the assumption that "gcc is
in base" (e.g. libstdc++.so exists) always means "force use of GCC" is
already broken. It will be for everyone on -CURRENT once the switch is
made.
While here, standardize on compiler:c++11-lang instead of -lib (they are
equivalent these days), pet portlint, and do some other cleanup.
Approved by: portmgr (tier-2 blanket)
Cleanup $() variables in ports Makefiles.
Mostly replace with ${}, but sometime, replace with $$() because it is
what was intended in the first place. (I think.)
Sponsored by: Absolight
Add new port -- Yubico PIV tool
The Yubico PIV tool is used for interacting with the Privilege and
Identification Card (PIV) application on a YubiKey.
With it you may generate keys on the device, importing keys and
certificates, and create certificate requests, and other operations. A
shared library and a command-line tool is included.