swtpm: new port, version 0.10.1 - #33885
Open
trodemaster wants to merge 1 commit into
Open
Conversation
reneeotten
requested changes
Aug 4, 2026
reneeotten
requested changes
Aug 4, 2026
Contributor
|
@reneeotten Note, these ports were already submitted in #29634 Perhaps first consider merging that, unless the author does not respond at all. |
trodemaster
added a commit
to trodemaster/blakeports
that referenced
this pull request
Aug 5, 2026
* remove autoconf/automake/libtool from depends_build-append; use_autoreconf already adds them * use path-style declaration for pkgconfig * use path-style declaration for glib2 (swtpm only) Per reneeotten review on macports/macports-ports#33885.
Software TPM emulator based on libtpms, providing TPM 1.2 and TPM 2.0 emulation over a TCP/IP or Unix domain socket interface, intended primarily for use with hypervisors such as QEMU.
trodemaster
force-pushed
the
sysutils/swtpm-new-port
branch
from
August 5, 2026 00:13
0338c66 to
639cfdb
Compare
commitmaniac
reviewed
Aug 6, 2026
| port:gmp | ||
|
|
||
| use_autoreconf yes | ||
|
|
Contributor
There was a problem hiding this comment.
Add a compiler blacklist to allow building on legacy systems.
Suggested change
| # clang: error: unrecognized command line option "-fstack-protector-strong" | |
| compiler.blacklist-append \ | |
| *gcc.4.* {clang < 700} |
|
|
||
| PortSystem 1.0 | ||
| PortGroup github 1.0 | ||
| PortGroup openssl 1.0 |
Contributor
There was a problem hiding this comment.
Add the legacysupport PortGroup to link with MacPort's clock_gettime to allow building on OSX < 10.11.
Suggested change
| PortGroup openssl 1.0 | |
| PortGroup openssl 1.0 | |
| PortGroup legacysupport 1.1 | |
| # clock_gettime | |
| legacysupport.newest_darwin_requires_legacy 15 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
New port: swtpm, a software TPM emulator based on libtpms. It
provides TPM 1.2 and TPM 2.0 emulation over a TCP/IP or Unix domain
socket interface, intended primarily for use with hypervisors such
as QEMU.
Depends on the libtpms port, which has not merged yet:
#33884
Tested on
macOS 26.6 25G70 arm64 / Command Line Tools 26.6.0.0.1781586589
macOS 27.0 26A5388g arm64 / Command Line Tools 27.0.0.0.1784267383
Verification
Have you
port lint?sudo port -vs install?