Skip to content

Commit

Permalink
[openssl] Use bash from PATH rather then /bin (#32289)
Browse files Browse the repository at this point in the history
* [openssl] Use bash from PATH rather then /bin (#32288)

The configure script used to invoke python during the build process contains
a shebang that invokes /bin/bash independend of whatever bash would usually
resolve to.

This breaks compilation on FreeBSD, where bash isn't part of the operating
system.

Rather then /bin/bash, invoke /usr/bin/env bash, which resolves the bash
command by iterating PATH

* [openssl] regenerate versions registries (#32288)
  • Loading branch information
SchaichAlonso authored Jul 1, 2023
1 parent d10528c commit 4a3c366
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ports/openssl/unix/configure
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -e

Expand Down
1 change: 1 addition & 0 deletions ports/openssl/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "openssl",
"version": "3.1.1",
"port-version": 1,
"description": "OpenSSL is an open source project that provides a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. It is also a general-purpose cryptography library.",
"homepage": "https://www.openssl.org",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6030,7 +6030,7 @@
},
"openssl": {
"baseline": "3.1.1",
"port-version": 0
"port-version": 1
},
"openssl-unix": {
"baseline": "deprecated",
Expand Down
5 changes: 5 additions & 0 deletions versions/o-/openssl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "da3981b5b899f4e74db269ca4854f4bf05d9d387",
"version": "3.1.1",
"port-version": 1
},
{
"git-tree": "dc8edd2b6e1e1552688c29dc46d5cd5c9183804b",
"version": "3.1.1",
Expand Down

0 comments on commit 4a3c366

Please sign in to comment.