On Wed, Jul 17, 2002 at 03:21:32PM -0500, Michael D. Schleif wrote:
> 
> Jeff Newmiller wrote:

> > CVS is designed to handle directories full of information... so a
> > directory tree of html documents is a natural thing to enter.
> > 
> > An idea...
> > 
> >   net-snmp/
> >     README.txt
> >     package/
> >       net-snmp.lrp
> >     target/
> >       etc/
> >         blahblah
> >       usr/
> >         bin/
> >           snmpbinary
> >       ...
> >     doc/
> >       index.html
> >       images/
> >         image1.jpg
> >       ...
> >     src/
> >       sourcefiles...
> 
> [ snip ]
> 
> I took a liking to this structure, which you can see here:
> 
> <http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/leaf/devel/helices/>
> 
> I appreciate *ALL* feedback on this infrastructure, before I get carried
> away with further additions to cvs.
> 
> What do you think?

My model has been the following:

    archives/
      <somearchive>.tar.gz
      <otherarchive>.bz2
      ...

    iproute2/
      distinfo
      Makefile
      patches/
        <somepatchname>.diff
        <somepatchname2>.diff
        ...
      work/     {temporary dir; created and used to compile within}
      binaries/ {temporary dir; created and stores binaries ONLY (no path)}
      world/    {temporary dir; created and used to store full paths
                 and all files needed within the structure}

    <otherpkg>/
    ...

My current lrp "package" setup was to have the following:

    iproute2-<sourcedir>/
      lrp/ {created}
        ...

Under lrp/ there is a Makefile which contains all of the targets to make packages, etc.
There is also a directory like world/ above which contains all paths and a Makefile
in each directory that needs to have a binary in it.

After this lrp/ directory is correctly configured, then the entire directory is
"wrapped up" into a *.diff file and saved with the unmodified source archive.  Examples
of this can be found in the Oxygen/LEAF Resource CDROM.

Perhaps what I will do is to use this patch as a regular patch in the CVS ports tree
and add the patch to the source code, then use it to create packages at will.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to