Manually Updating Plex Media Server package on FreeBSD
Issue: Plex Media Server has released a critical bug fix, but the package has not hit the FreeBSD pkg/ports repos, yet.
Update the ports tree:
sh```
git clone https://git.freebsd.org/ports.git –branch main /usr/ports
-- or --
sh```
# cd /usr/ports
# git pull
Retrieve the Plex Media Server packages
Navigate to the Plex Downloads site: https://www.plex.tv/media-server-downloads/?cat=computer&plat=freebsd
Verify the version is correct, and write down the Version-string and suffix.
Modify the port:
sh```
cd /usr/ports/multimedia/plexmediaserver-plexpass
Update Makefile to match the version strings from the download:
DISTVERSION= 1.43.3.10896 DISTVERSIONSUFFIX= cb3ebc72d
Update port checksums and download files:
sh```
# make fetch && make checksum
Build and install the port:
sh```
make
make install