Checking wether perl ports are up to date
Mathieu Arnold
mat at mat.cc
Wed Jun 25 07:03:36 PDT 2003
+-le 25/06/2003 14:34 +0100, Matthew Seaman écrivait :
| On Wed, Jun 25, 2003 at 01:14:58PM +0200, Mathieu Arnold wrote:
|>
|>
|> +-le 25/06/2003 10:25 +0000, Philip Reynolds écrivait :
|> | Mathieu Arnold <m at absolight.net> 14 lines of wisdom included:
|> |> Hi,
|> |>
|> |> I have a few perl ports, and I was wondering of a way to check wether
|> |> they were up to date automatically so that i could update them.
|> |>
|> |> I can't believe it won't be useful to someone, so I've put it there :
|> |> <http://www.mat.cc/freebsd/check.pl>
|> |
|> | Uh, portupgrade? :)
|> |
|> | $PORTSDIR/sysutils/portupgrade
|>
|> I was talking about the ports being up to date with the last version of
|> the perl module (taken from cpan).
|>
|> --
|> Mathieu Arnold
|
| Even if you install perl modules exclusively from ports, you should
| still be able to run:
|
| % perl -MCPAN -e shell
|
| and then type the 'r' command to see which of your installed packages
| have updates available on CPAN. Using CPAN to overwrite a package
| initially installed as a FreeBSD port would be a mistake though:
| better to pkg_delete first and install the package from scratch with
| CPAN afterwards.
Well, if I've though of using CPAN too, but it was not the way I was seing
this. CPAN is more perl module aware than perl distribution (aka ports).
And I'd rather submit a PR than using CPAN :)
--
Mathieu Arnold
More information about the freebsd-ports
mailing list