Vamos iniciar o post buscando e instalando o portupgrade.
Primeiro passo
root@pdc:/usr/ports # cd /usr/ports/
Segundo passo
root@pdc:/usr/ports # make search name=portupgrade
Port: portupgrade-2.4.11.2_1,2
Path: /usr/ports/ports-mgmt/portupgrade
Info: FreeBSD ports/packages administration and management tool suite
Maint: [email protected]
B-deps: libexecinfo-1.1_3 libffi-3.0.13 libyaml-0.1.4_2 ruby-1.9.3.448,1
R-deps: db41-4.1.25_4 libexecinfo-1.1_3 libffi-3.0.13 libyaml-0.1.4_2 ruby-1.9.3.448,1 ruby19-bdb-0.6.6_1
WWW: http://pkgtools.github.com/
Port: portupgrade-devel-20130921,3
Path: /usr/ports/ports-mgmt/portupgrade-devel
Info: FreeBSD ports/packages management tool (devel version)
Maint: [email protected]
B-deps: libexecinfo-1.1_3 libffi-3.0.13 libyaml-0.1.4_2 ruby-1.9.3.448,1
R-deps: db41-4.1.25_4 libexecinfo-1.1_3 libffi-3.0.13 libyaml-0.1.4_2 ruby-1.9.3.448,1 ruby19-bdb-0.6.6_1
WWW: http://pkgtools.github.com/
root@pdc:/usr/ports #
Terceiro passo
root@pdc:/usr/ports # cd /usr/ports/ports-mgmt/portupgrade
Quarto passo
root@pdc:/usr/ports/ports-mgmt/portupgrade # make install && make distclean
Quinto passo
Pressione ‘OK’ em todas as telas abaixo, caso apareçam: (elas só irão aparecer para os que estiverem com uma instalação ‘default’, pois, do contrário, os pacotes já estarão instalados)
[autoAlbums directory=”Galeria/Portupgrade”]
Instalação finalizada:
===> Cleaning for ruby-1.9.3.448,1
===> Cleaning for ruby19-bdb-0.6.6_1
===> Cleaning for autoconf-2.69
===> Cleaning for libffi-3.0.13
===> Cleaning for libyaml-0.1.4_2
===> Cleaning for libexecinfo-1.1_3
===> Cleaning for db41-4.1.25_4
===> Cleaning for m4-1.4.17,1
===> Cleaning for help2man-1.43.3
===> Cleaning for gmake-3.82_1
===> Cleaning for perl-5.14.4_2
===> Cleaning for autoconf-wrapper-20130530
===> Cleaning for pkgconf-0.9.3
===> Cleaning for p5-Locale-gettext-1.05_3
===> Cleaning for gettext-0.18.3
===> Cleaning for libiconv-1.14_1
===> Cleaning for portupgrade-2.4.11.2_1,2
===> Deleting distfiles for portupgrade-2.4.11.2_1,2
root@pdc:/usr/ports/ports-mgmt/portupgrade #
Ufa! Agora temos o portupgrade instalado.
Execute o comando:
root@pdc:/usr/ports/ports-mgmt/portupgrade # portupgrade -a
Vídeo da compilação do portupgrade no FreeBSD:
Feito!