On Sat, 2 Dec 2006 07:24:18 +0300 Anton Vorontsov wrote:
On Fri, Dec 01, 2006 at 09:08:16PM -0500, Brett Goulder wrote:
Here's an example of how a CVS/SVN/etc Pkgfile would look: # Description: Foobar # URL: Foobar # Maintainer: XYZ <XYZ@XYZ.XYS> # Packager: XYZ <XYZ@XYZ.XYS> # Depends on: foo
name=bar version=4543 release=1 source=() svntrunk="svn://svn.foobar.com/$name/trunk"
This can be done that way:
version=revision-or-tag source=(git://.../project/@$version) source=(svn://.../project/@$version) source=(cvs://.../project/@$version)
And pkgmk would deal with it -> run svn/cvs/git for us.
The problem is this requires hacking in pkgmk and breaks backwards compatibility, old versions of pkgmk couldn't run such files. Note: Sorry sending the first reply directly to you, Anton, I'm a little tired. -- ~predatorfreak GnuPG Public key: http://pred.dcaf-security.org/dcafsec-pub-gpgkey.asc