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

A tool to build current repository perl

Thread Next
From:
andreas.koenig
Date:
February 26, 2000 12:22
Subject:
A tool to build current repository perl
Message ID:
sfcwvnrn27b.fsf@hohenstaufen.in-berlin.de
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:

  DEVPERL=perl5.5.660
  wget -m -nd -v ftp://cpan.host.and.path/authors/id/GSAR/$DEVPERL.tar.gz
  tar xzf $DEVPERL.tar.gz
  wget -r -m -v ftp://ftp.linux.activestate.com/pub/staff/gsar/APC/diffs
  patchaperlup --perldir $DEVPERL > patchaperlup.out
  LPATCH=`awk '$1=="Lastpatch:"{print $2}' patchaperlup.out`
  mv $DEVPERL $DEVPERL..$LPATCH
  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.

Enjoy,
-- 
andreas

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About