Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
security/openssl-agent: New port: OpenSSL key agent and client utils
OpenSSL key agent and client utilities. The aim of these utilities is to provide an openssl-rsautl(1) drop-in replacement for performing cryptographic operations using a private key that is unlocked for the session, similar to OpenSSH's ssh-agent(1). The port's author is known to the maintainer but wishes not to be named. WWW: https://git.build2.org/cgit/openssl-agent/tree/README Obtained from: anonymous author Approved by: flo (mentor) Differential Revision: https://reviews.freebsd.org/D38630
- Loading branch information
1 parent
f68d0ee
commit b6a3351
Showing
5 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
PORTNAME= openssl-agent | ||
PORTVERSION= 0.15.0 | ||
CATEGORIES= security | ||
MASTER_SITES= https://pkg.cppget.org/1/alpha/build2/ | ||
|
||
MAINTAINER= fuz@FreeBSD.org | ||
COMMENT= OpenSSL key agent and client utilities | ||
WWW= https://git.build2.org/cgit/openssl-agent/tree/README | ||
|
||
LICENSE= MIT | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
BUILD_DEPENDS= build2>=0:devel/build2 | ||
LIB_DEPENDS= libbutl.so:devel/build2 | ||
|
||
PLIST_FILES= bin/openssl-agent-pkcs11 \ | ||
bin/openssl-client | ||
|
||
do-build: | ||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} b configure \ | ||
config.cxx=${CXX} \ | ||
config.cxx.coptions="${CXXFLAGS}" \ | ||
config.cxx.loptions="${LDFLAGS} ${STRIP}" \ | ||
config.bin.lib=shared \ | ||
config.bin.rpath=${PREFIX}/lib \ | ||
config.install.chroot=${STAGEDIR} \ | ||
config.install.root=${PREFIX} | ||
do-install: | ||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} b install -V -j ${MAKE_JOBS_NUMBER} -J ${MAKE_JOBS_NUMBER} | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1675956504 | ||
SHA256 (openssl-agent-0.15.0.tar.gz) = cad582c8e0bf3dd4fb55aedf502e6b83573a7097eee400fa785ed196c7ddcf42 | ||
SIZE (openssl-agent-0.15.0.tar.gz) = 49819 |
12 changes: 12 additions & 0 deletions
12
security/openssl-agent/files/patch-openssl_agent_pkcs11_agent.cxx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- openssl/agent/pkcs11/agent.cxx.orig 2023-02-09 15:36:17 UTC | ||
+++ openssl/agent/pkcs11/agent.cxx | ||
@@ -24,6 +24,9 @@ | ||
#include <openssl/agent/pkcs11/options.hxx> | ||
#include <openssl/agent/pkcs11/private-key.hxx> | ||
|
||
+#include <sys/signal.h> | ||
+#define _NSIG NSIG | ||
+ | ||
namespace openssl | ||
{ | ||
namespace agent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
OpenSSL key agent and client utilities | ||
|
||
The aim of these utilities is to provide an openssl-rsautl(1) drop-in | ||
replacement for performing cryptographic operations using a private key | ||
that is unlocked for the session, similar to OpenSSH's ssh-agent(1). |