cygport: user-supplied download action?
Yaakov (Cygwin/X)
yselkowitz@users.sourceforge.net
Fri May 11 02:55:00 GMT 2012
On 2012-05-07 03:49, Corinna Vinschen wrote:
> Consider I would like to convert the cygwin package to cygport packed.
> So I create a tag and then...
>
> CVS_URI=":pserver:anoncvs@cygwin.com:/cvs/src"
> CVS_MODULE="winsup"
> CVS_BRANCH="cygwin-${PV//\./_}-release"
> inherit cvs
>
> `cygport fetch' fails, because it expects that the unpacked directory
> is called ${CVS_MODULE}. But in fact, the source code dir fetched
> from sourceware is called "src". "winsup" is just a subdirectory.
> So the call
>
> tar cf [...] ${CVS_MODULE}
>
> doesn't work.
Right; sourceware.org:/cvs/src is funny that way. AFAIK it is the only
time I have seen that with CVS, but do other exceptions exist?
> Using the `cvs checkout -d' option doesn't work either here. It's not
> working as one expects it, and the additional -N option makes it only
> marginally better.
So I noticed. :-( Is that a bug or am I misreading the manual?
> Here's a suggestion for a patch which allows to do exactly that. Before
> calling "inherit cvs", just set a variable $CVS_TOPLEVEL to the name of
> the toplevel directory of the repository you're trying to fetch from:
>
> CVS_URI=":pserver:anoncvs-rDBXBDvO6BXQT0dZR+AlfA@public.gmane.org:/cvs/src"
> CVS_MODULE="winsup"
> CVS_BRANCH="cygwin-${PV//\./_}-release"
> CVS_TOPLEVEL="src"
> inherit cvs
Did I mention that if we wouldn't have this problem if we used git? :-)
GTG now but this is in my queue.
Yaakov
More information about the Cygwin-apps
mailing list