Older version of a port?

aragats

Daemon

Reaction score: 502
Messages: 1,221

Is it possible to get an older version of a port?
I'll explain why I need it.

I built sysutils/u-boot-beaglebone and discovered an issue when I use it with BeagleBone Black.
I checked the version: now it's u-boot-2019.04. However, the official FreeBSD 12.0 image for the BBB comes with u-boot-2018.09 and it has no issues.

So, is it possible to find the corresponding port version? The patches are different.

Thanks!
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 7,409
Messages: 29,985

recluce

Active Member

Reaction score: 25
Messages: 120

And to make your life easier, you could install ports-mgmt/portdowngrade

Running this in a ports directory, like /usr/ports/sysutils/u-boot-beaglebone will give you a list of all versions (by build number) that exist for the port on subversion. You can then check out any of these builds directly with portdowngrade.

Note that it will create an identically named subdirectory in the ports directory, in our example, it would create /usr/ports/sysutils/u-boot-beaglebone/u-boot-beaglebone

cd into that directory and build as usual.
 
Top