cd / usr / ports / ports-mgmt / portdowngrade make
Press CTRL-C and define DEFAULT_CVS_SERVER (eg make DEFAULT_CVS_SERVER = ": pserver: anoncvs @ anoncvs. ... .FreeBSD.org: / home / ncvs" install) if you want to use a special CVS server as default. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html for a list of possible cvs server
make install clean
cd / usr / ports
portdowngrade -s: pserver: anoncvs@anoncvs.fr.FreeBSD.org: / home / ncvs www / eaccelerator
portdowngrade 0.6 by Heiner Eichmann
Please note that nothing is changed in the ports tree
unless it is explicitly permitted in step 6!
Seeking port www / eaccelerator ... found: www / eaccelerator
Step 1: Checking out port from CVS repository
CVS root directory:: pserver: anoncvs@anoncvs.fr.FreeBSD.org: / home / ncvs
Step 2: Reading the port history from the CVS repository
Step 3: Analyzing the port history from the CVS repository
Step 4: Load port numbers and present results
Keys: <space>: next page d: details
p: previous page
<enter>: leave presentation and downdgrade if wanted
================================================= =======================================
number date portversion comment
1 2010/06/01 08:37:37 0.9.6.1 Update to 0.9.6.1 release.
2 2010/04/11 08:10:38 0.9.6 Update to 0.9.6 release:
3 2008/06/18 12:26:58 0.9.5.3 Update to 0.9.5.3 release.
4 2008/02/11 07:12:33 unknown Enable shared memory and content caching api.
.................................................. .......................................
48 2003/04/04 09:49:28 2.3.8 [New Port] Turck MMCache 2.3.6 (An opcode cache for PHP)
Total lines: 48. Command: Enter version number to change port to (0: exit): 3 Step 5: Checking out the CVS repository Step 6: Modifying the port Port: www / eaccelerator at: 2008/06/18 12:26:58 The date of the date above or 'no' to exit without changing anything. Note, that this only changes the port, not the installed software! yes or no: yes The port has been set to the selected version.
portsdb -Uu
portupgrade -f eaccelerator
Source: https://habr.com/ru/post/98946/