How do you go about upgrading ports??

Sorry for being such an absolute newbie when it comes to FreeBSD ports!

I have a TrueNAS 13.3 installation, in which I have a jail where I have installed net/serviio.
The version installed is Serviio 2.3 and I want to upgrade to the latest port which is Serviio 2.4.

What must I do to upgrade such a port??? Is there some manual section to read??
Should I expect FreeBSD ports to provide an upgrade option automatically??
 
I have a TrueNAS 13.3 installation, in which I have a jail where I have installed net/serviio.
The version installed is Serviio 2.3 and I want to upgrade to the latest port which is Serviio 2.4.
I can't imagine installing a port/pkg in TrueNAS because I don't know how TrueNAS handles it. In FreeBSD, we already have net/serviio 2.4. Don't you have the latest version that is can be installed through package manager? If you have port files of serviio and don't have the update yet, you can try updating it locally through patching it. You have to apply these commits on top of the net/serviio port. First is 11ec15532c8ab1ece5de92ab713db1176a5ebc8b and then 0835676e361bca74b28b09fe0425ed5ee958f26b.

Code:
# pwd
/usr/ports
# git remote -v
origin  https://git.FreeBSD.org/ports.git (fetch)
origin  https://git.FreeBSD.org/ports.git (push)
# git fetch origin 11ec15532c8ab1ece5de92ab713db1176a5ebc8b
# git fetch origin 0835676e361bca74b28b09fe0425ed5ee958f26b
# git cherry-pick 11ec15532c8ab1ece5de92ab713db1176a5ebc8b
# git cherry-pick 0835676e361bca74b28b09fe0425ed5ee958f26b
# make install clean
 
It might also depend on which TrueNAS you are actually using. IIRC TrueNAS used to be solely FreeBSD based. Nowadays that seems predominantly Linux based; for Linux I have no idea if FreeBSD's identical pkg(8) twin operates there.
 
It might also depend on which TrueNAS you are actually using. IIRC TrueNAS used to be solely FreeBSD based. Nowadays that seems predominantly Linux based; for Linux I have no idea if FreeBSD's identical pkg(8) twin operates there.
And that is the reason why we can't do much there - we don't know what they have done with the basic install and what special sauce they added.
 
OP is using a jail, so the host doesn’t really matter.

You should be able to change the repo from quarterly to latest INSIDE the jail, then

pkg update

and

pkg upgrade

should get you the latest package.
 
Back
Top