开发者

How to install a deprecated ports on FreeBSD [closed]

开发者 https://www.devze.com 2022-12-17 10:20 出处:网络
Closed. This question is off-topic. It is not currently acce开发者_高级运维pting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently acce开发者_高级运维pting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

Improve this question

I'm looking for a way to install php 5.2.8 using ports on freebsd 7.0. I just don't know how to choose php 5.2.8, make under /usr/ports/lang/php5 begins by fetching php-5.2.10.tar.bz2.


Basically, port is version record and some patches corresponded to the version. The easiest way to make an old version is to modify distinfo file: put 5.2.8 records in it, and try to build it. The bad things that may happen is that the port won't compile. That means you'll need patches for that version too. Now, cvs way of grabbing the whole port is almost impossible nowadays. That was the way to grab whatever you needed as what existed on a specified date with a single command. But if you don't mind to pick the required files by hand, grab them from http://cvsweb.freebsd.org/ports/lang/php5 You'd need to grab all the files in it as of 5 Mar 2009. The next day (6th) the port was updated to .9 version. So walk through the files history and download the right revisions. Back up the existent /usr/ports/lang/php5 directory, put the downloaded files there. You're ready to try building the thing.

0

精彩评论

暂无评论...
验证码 换一张
取 消