Move the DYNAMIC_MASTER_SITES explanation into it's own subsection of
Section 10, and also explain there about _FETCH_MESSAGE. There are a few things in Section 10 which would probably be better in Section 2, but that would entail some major churning, which I'm not prepared to do.
This commit is contained in:
parent
d0e6c0b7f4
commit
dbbb576326
1 changed files with 19 additions and 6 deletions
25
Packages.txt
25
Packages.txt
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Packages.txt,v 1.234 2002/02/18 17:07:20 wiz Exp $
|
||||
# $NetBSD: Packages.txt,v 1.235 2002/03/11 19:12:07 fredb Exp $
|
||||
###########################################################################
|
||||
|
||||
==========================
|
||||
|
@ -248,11 +248,6 @@ If you don't have a permanent Internet connection and you want to know
|
|||
which files to download, "make fetch-list" will tell you what you'll need.
|
||||
Put these distfiles into /usr/pkgsrc/distfiles.
|
||||
|
||||
If you need to download from a dynamic URL you can set DYNAMIC_MASTER_SITES
|
||||
and a 'make fetch' will call files/getsite.sh with the name of each file
|
||||
to download as an argument, expecting it to output the URL of the directory
|
||||
from which to download it. graphics/ns-cult3d is an example of this usage.
|
||||
|
||||
|
||||
2.4 How to build and install
|
||||
============================
|
||||
|
@ -2215,6 +2210,24 @@ one of the following, whichever is more appropriate:
|
|||
manipulation happen on some packages source files (see contents of
|
||||
mk/texinfo.mk).
|
||||
|
||||
10.24 Packages whose distfiles aren't available for plain downloading
|
||||
=====================================================================
|
||||
|
||||
If you need to download from a dynamic URL you can set DYNAMIC_MASTER_SITES
|
||||
and a 'make fetch' will call files/getsite.sh with the name of each file
|
||||
to download as an argument, expecting it to output the URL of the directory
|
||||
from which to download it. graphics/ns-cult3d is an example of this usage.
|
||||
|
||||
If the download can't be automated, because the user must submit personal
|
||||
information to apply for a password, or must pay for the source, or whatever,
|
||||
you can set _FETCH_MESSAGE to a macro which displays a message explaining
|
||||
the situation. _FETCH_MESSAGE must be executable shell commands, not just a
|
||||
message. (Generally, it executes ${ECHO}). As of this writing, the following
|
||||
packages use this: audio/realplayer, cad/simian, devel/ipv6socket,
|
||||
emulators/vmare-module, fonts/acroread-jpnfont, sysutils/storage-manager,
|
||||
www/ap-aolserver, www/openacs. Try to be consistent with them.
|
||||
|
||||
|
||||
11 Submitting & Committing
|
||||
==========================
|
||||
|
||||
|
|
Loading…
Reference in a new issue