sysutils/swtpm: Fix incorrect rcorder requirement

If we add 'swtpm_enable="YES"' in /etc/rc.conf*, it fails to start with this error:

Starting SWTPM config tpm ...ld-elf.so.1: Shared object "libfuse.so.2" not found, required by "swtpm"

Add a proper "REQUIRE" line in the rc script to fix it.

PR:		284626
Approved by:	meka@tilda.center (maintainer)
This commit is contained in:
Jung-uk Kim 2025-02-07 18:39:50 -05:00
parent c14534874f
commit 9177e23236
2 changed files with 2 additions and 1 deletions

View file

@ -1,7 +1,7 @@
PORTNAME= swtpm
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils
MAINTAINER= meka@tilda.center

View file

@ -1,6 +1,7 @@
#!/bin/sh
# PROVIDE: swtpm
# REQUIRE: FILESYSTEMS ldconfig
# KEYWORD: shutdown
#