/home/Yaakov/src/cygport/tests/cygport-0.20.2-1.noarch/src/cygport-0.20.2/lib/src_fetch.cygpart

Cygport Reference Manual

### TABLE OF CONTENTS

- Downloading

- SRC_URI
- PATCH_URI
- Mirrors

- mirror_apache
- mirror_berlios
- mirror_cpan
- mirror_cran
- mirror_ctan
- mirror_debian
- mirror_gcc
- mirror_gentoo
- mirror_gnome
- mirror_gnu
- mirror_gnustep
- mirror_kde
- mirror_mplayer
- mirror_mysql
- mirror_portage
- mirror_rubyforge
- mirror_savannah
- mirror_sourceforge
- mirror_sourceware
- mirror_qt
- mirror_trolltech
- mirror_vim
- mirror_xfce

## Downloading

[ Top ] [ Chapter 5 ] [ Concepts ]

## SRC_URI

[ Top ] [ Downloading ] [ Variables ]

DESCRIPTION

Download address(es) for the package source file(s), as a string. The first file in SRC_URI will be considered the primary source file and will determine the default SRC_DIR.

Individual source files maintained locally may also be used by adding their basenames to SRC_URI.

The basename of each URI is treated as the source filename, except that CGI query strings are dropped after downloading. If this would not yield a usable filename, then the file can be renamed by appending an artificial URI fragment in the form of #/FILENAME to the URI. Some examples where this may be useful or even necessary:

- an unversioned source tarball
- a file, patch, or snapshot from a gitweb interface (where all specific information is in the query string itself)
- a patch from a cgit interface (normally /patch?id=COMMIT)
- a file from a Bugzilla attachment (normally /attachment.cgi?id=NUMBER)

This variable is required, but many cygclasses automatically define a default SRC_URI based on the values of PN and PV.

SEE ALSO

bzr.cygclass, cvs.cygclass, fossil.cygclass, git.cygclass, hg.cygclass, mtn.cygclass, svn.cygclass, Mirrors.

## PATCH_URI

[ Top ] [ Downloading ] [ Variables ]

DESCRIPTION

Download address(es) for source patches which are to be applied immediately after unpacking sources, as a string.

Individual source patches maintained locally may also be used by adding their basenames to PATCH_URI. This provides an easy way to carry Cygwin-specific patches forward between releases.

NOTE

See SRC_URI for details about URI handling in cygport.