* Martin Hejl <mar...@hejl.de> schrieb:

Hi,

> For an example, look at
> http://leaf.cvs.sourceforge.net/viewvc/leaf/src/bering-uclibc4/source/dropbear/
> 
> buildtool.cfg is the file that holds the package metadata, what needs to 
> go into the package, and the "links" to the sourcecode
> 
> See
> http://leaf.cvs.sourceforge.net/viewvc/leaf/src/bering-uclibc4/source/dropbear/buildtool.cfg?revision=1.1.1.1&view=markup
> for an example.
> 
> The "File" sections are the pointers to the files that need to be 
> downloaded for building the source, the "Package" section controls what 
> goes into the finished lrp package.
> 
> The other main file is buildtool.mk, which essentially is a Makefile, 
> controlling the actual build process.
> 
> See
> http://leaf.cvs.sourceforge.net/viewvc/leaf/src/bering-uclibc4/source/dropbear/buildtool.mk?revision=1.1.1.1&view=markup
> for an example.

hmm, one thing we could do is:

#1: adding download protocol specifiers, eg.:

    <file buildtool.mk>
        Protocol        curl
        URL             http://....
    </file>

(if no protocol is given, falling back to cvs)


#2: adding a new object type "tree"

<tree src>
    Protocol    git-tree
    URL         git://pubgit.metux.de/oss-qm/mypackage.git
    Ref         refs/tags/VENDOR/leaf/mypackage-1.2.3.77
</tree src>

That means: fetch the _tree_ (not tarball) via git from given url
and ref-name.

There could also be other protocol types, eg. directly fetching
via web and automatic decompression.


In longer terms, we should put all the separate files directly
into the source tree (which is then managed via git) - no patching,
no additional files.


cu
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weig...@metux.de
 mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to