Downgrade port

Long ago I tried to downgrade perl5.10>5.8 because that time all the packages were build with 5.8 and only compiling from ports was possible having 5.10
However "everything" depends on perl and finally I chose just to reinstall everything (including FreeBSD itself:)) to get rid of mess I created trying to replace those 2 monsters.
Nowadays all the packages seem are built with 5.10. Just curious: why do you need the downgrade?
 
  • Thanks
Reactions: ccc
Downgrading in FreeBSD is simple..

#1 forcefully deinstall the package
#2 fetch an older version of port from FreeBSD CVS or get the older package and install it
 
  • Thanks
Reactions: ccc
expl said:
Downgrading in FreeBSD is simple..

#1 forcefully deinstall the package
#2 fetch an older version of port from FreeBSD CVS or get the older package and install it

Shouldn't be required add
#3 Rebuild all ports depending on downgraded port? Because those ports may depends on newer libraries installed with port, which has been forcefully deinstalled.

Or use pkg_libchk from sysutils/bsdadminscripts to check, if all library dependencies pro all installed ports are satisfied and act depending on output of this check.

In case there doesn't coexist two version of downgraded port like in case of perl 5.8/5.10 mentionded before, you may be interested in ports-mgmt/portdowngrade tool.
 
  • Thanks
Reactions: ccc
ondra_knezour said:
Shouldn't be required add
#3 Rebuild all ports depending on downgraded port? Because those ports may depends on newer libraries installed with port, which has been forcefully deinstalled.

Or use pkg_libchk from sysutils/bsdadminscripts to check, if all library dependencies pro all installed ports are satisfied and act depending on output of this check.

In case there doesn't coexist two version of downgraded port like in case of perl 5.8/5.10 mentionded before, you may be interested in ports-mgmt/portdowngrade tool.

In case of Perl you should only rebuild APIs for it.
 
  • Thanks
Reactions: ccc
Back
Top