fetch_remote_src – fetch original sources of a package from remote place into local directory.

Description

The method retrieves sources for packages, treated as original, static or simply tarballed. They are fetched from remote host by some network protocol. If sources are already available locally in ANYSRCDIR, fetch_remote_src does not need implementation. These sources will be simply extracted to build directory S at further stages of the src_fetch(3) method. Original sources are unlike development sources, which contain some history of changes inside. That changes can be extracted and applied to original sources in some intellegent way. Original sources are single snapshot from the history point of view.

The method has no default implementation and may be actually useful with modules. Method must write its results into ANYSRCDIR. It does not rename source archives from MY_P to P.

Writing

The method must write to ANYSRCDIR.

Variables

The method is expected to use any-api(7) variables:
ANYSRCDIR
MY_P

Options

The following options are expected to affect the method:
any_remote_src_hashing
any_local_src_hashing
any_fetch_arch_ext

See also