FreeBSD way of installing old version from ports tree

Warren Block wblock at wonkity.com
Mon Jun 9 20:49:59 UTC 2008


On Mon, 9 Jun 2008, Bill Moran wrote:

> In response to "Simon Jolle" <urandomdev at gmail.com>:
>>
>> Currently in /usr/ports/sysutils/syslog-ng there is version syslog-ng
>> 1.6.12. I need version syslog-ng 1.6.5 (the same as in production
>> environment) to test configuration changes.
>>
>> Is there an archive of the ports tree? Whats the FreeBSD way to
>> install this old version integrated in the rest of the system?
>
> Looks through the CVS logs (you can use the web interface or Dan's
> freshports: http://www.freshports.org/sysutils/syslog-ng/)
>
> Find the date of the version you want, then configure your supfile
> to grab the ports tree from that date.  Something like:
> date=2004.08.28.10.00.00
> should get what you want.  When cvsup is done running, you'll be
> able to run make install from the syslog-ng directory to install
> that version

That's pretty much what /usr/ports/ports-mgmt/portdowngrade does, with a 
little bit of user interface on it.

> ... assuming that distfile is still readily available. If it's not, 
> you'll have to do some web searches until you find it manually.  Some 
> projects are really good about keeping old distfiles around, other are 
> not.

And there could be dependency and version issues.

-Warren Block * Rapid City, South Dakota USA


More information about the freebsd-questions mailing list