develooper Front page | perl.perl5.porters | Postings from February 2000

A tool to build current repository perl

Thread Next
February 26, 2000 12:22
A tool to build current repository perl
Message ID:
Whenever Sarathy says, ``Try this'', you might like to make use of

  file: $CPAN/authors/id/ANDK/CPAN-patchaperlup-0.002.tar.gz
  size: 3311 bytes
   md5: 0dfab239f4263fbf6568c34aff269599

This is a small script that applies all latest or selected patches
from Sarathy's repository to a devel perl. It applies them in the
correct order and fixes the CR/LF problem efficiently. The manpage
contains the following recipe to build the perl de jour:

  wget -m -nd -v$DEVPERL.tar.gz
  tar xzf $DEVPERL.tar.gz
  wget -r -m -v
  patchaperlup --perldir $DEVPERL > patchaperlup.out
  LPATCH=`awk '$1=="Lastpatch:"{print $2}' patchaperlup.out`
  cd $DEVPERL..$LPATCH && ./Configure -des && make test

I hope this helps P5P people to sync their code base during the last
few days before the release.

I'm not sure where the best place is to keep this script. It might fit
into Porting/ directory, and I wouldn't mind to have it there so the
pumpkin can always adjust the script to changing conventions.
Otherwise if the conventions change significantly, the whole script
may become obsolete. I leave it to Sarathy's judgement to decide.


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About