[patch] cygport-0.2.9 mixed-mode SRC_URIs
Charles Wilson
cygwin@cwilson.fastmail.fm
Mon Feb 5 22:01:00 GMT 2007
Forward port to latest release.
For further history and justifiation of this patch, see
http://cygwin.com/ml/cygwin/2007-01/msg00111.html and follow the
embedded links and threads.
--
Chuck
2007-02-05 Charles Wilson <...>
* bin/cygport.in (src_fetch_auto): new function refactored from
src_fetch(). Autodetects protocol of passed-in URI
(mirror|http|https|ftp) and errors if a protocol is specified
but is not recognized. URIs with no protocol specification
are silently ignored (e.g. not downloaded).
(src_fetch): call src_fetch_auto for 2nd..Nth SRC_URI and all
PATCH_URIs regardless of protocol used for the first SRC_URI
(cvs|svn|git|mirror|http|https|ftp). If !(cvs|svn|git), call
src_fetch_auto for first SRC_URI as well.
* lib/cvs.cygclass: extract first name from SRC_URI and use that
to generate tarball name. Ensure that working directory is
unchanged by a call to cvs_fetch.
* lib/svn.cygclass: extract first name from SRC_URI and use that
to generate tarball name. Ensure that working directory is
unchanged by a call to svn_fetch.
* lib/git.cygclass: extract first name from SRC_URI and use that
to generate tarball name. Ensure that working directory is
unchanged by a call to git_fetch.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygport-mixedmode.patch
URL: <http://cygwin.com/pipermail/cygwin/attachments/20070205/601abcb9/attachment.ksh>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list