OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Michael van Elst
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-re                       Date:   26-Nov-2002 10:52:01
  Branch: HEAD                             Handle: 2002112609520100

  Modified files:
    openpkg-re              openpkg-index

  Log:
    added POD

  Summary:
    Revision    Changes     Path
    1.22        +80 -0      openpkg-re/openpkg-index
  ____________________________________________________________________________

  Index: openpkg-re/openpkg-index
  ============================================================
  $ cvs diff -u -r1.21 -r1.22 openpkg-index
  --- openpkg-re/openpkg-index  25 Nov 2002 16:50:59 -0000      1.21
  +++ openpkg-re/openpkg-index  26 Nov 2002 09:52:01 -0000      1.22
  @@ -864,3 +864,86 @@
       rename $tmpo,$opt_o
           or die "FATAL: cannot rename $tmpo to $opt_o ($!)\n";
   }
  +
  +=pod
  +
  +=head1 NAME
  +
  + openpkg-index
  +
  +=head1 VERSION
  +
  +$Id: openpkg-index,v 1.22 2002/11/26 09:52:01 mlelstv Exp $
  +$Log: openpkg-index,v $
  +Revision 1.22  2002/11/26 09:52:01  mlelstv
  +added POD
  +
  +
  +=head1 SYNOPSIS
  +
  +B<openpkg-index> [-r resource] [-p platform] [-C cache.db] [-o index.rdf] [-c] [-i] 
dir ...\n";
  +
  +=head1 DESCRIPTION
  +
  +B<openpkg-index> creates a resource index for spec files in a source tree
  +or from a RPM package repository. The index holds enough information to
  +support an automated build process.
  +
  +=head1 OPTIONS
  +
  +=over 4
  +
  +=item B<-r resource>
  +
  +The name of the resource stored in the index. The default is
  +'OpenPKG-CURRENT/Source/'.
  +
  +=item B<-p platform>
  +
  +B<openpkg-index> adds a platform attribute for binary RPMs. The attribute
  +is built as I<%{Arch}-$platform-%{Os}> where I<%{Arch}> and I<%{Os}> are
  +taken from the RPM header and I<$platform> is the value of the B<-p> option.
  +The default value is 'unkown'. This must be used to distinguish between
  +platforms that support the same Architecture and OS name like various
  +Linux distributions.
  +
  +=item B<-C cache.db>
  +
  +Cache all spec files into this Berkeley DB when indexing source RPMs.
  +The cache is refreshed automatically when the source RPMs are more
  +recent than the cache entry.
  +
  +=item B<-o index.rdf>
  +
  +Name of the output file, default is to write to stdout.
  +
  +=item B<-c>
  +
  +Compress output with bzip2. Use the B<-o> option to specify
  +a .bz2 suffix.
  +
  +=item B<-i>
  +
  +The specified directories are RPM repositories. Build index over
  +all .rpm-files in these directories and all subdirectories.
  +If a subdirectory already contains a 00INDEX.rdf or 00INDEX.rdf.*
  +file then skip scanning the subdirectory, instead add a reference
  +to the index file into the new index.
  +
  +Without this option the directories are source trees with a subdirectory
  +per package and a I<package.spec> file inside each subdirectory.
  +
  +=back
  +
  +=head1 SEE ALSO
  +
  +openpkg-build, rpm(1)
  +
  +=head1 HISTORY
  +
  +=head1 AUTHORS
  +
  + Michael van Elst
  + [EMAIL PROTECTED]
  +
  +=cut
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to