This commit is contained in:
wiz 2007-08-02 23:34:08 +00:00
parent e22d5fa05f
commit 440dab353e
2 changed files with 8 additions and 8 deletions

View file

@ -141,8 +141,8 @@ OOPPTTIIOONNSS
containing the package (these usually ending with the ``.tgz'' suffix) or
a URL pointing at a file available on an ftp or web site. Thus you may
extract files directly from their anonymous ftp or WWW locations (e.g.,
ppkkgg__aadddd ftp://ftp.NetBSD.org/pub/NetBSD/pack-
ages/2.0/i386/shells/bash-3.0nb1.tgz or ppkkgg__aadddd http://www.exam-
ppkkgg__aadddd ftp://ftp.NetBSD.org/pub/pkgsrc/pack-
ages/NetBSD-3.1/i386/shells/bash-3.2.9.tgz or ppkkgg__aadddd http://www.exam-
ple.org/packages/screen-4.0.tbz). Note: For ftp transfers, if you wish
to use _p_a_s_s_i_v_e _m_o_d_e ftp in such transfers, set the variable _F_T_P___P_A_S_-
_S_I_V_E___M_O_D_E to some value in your environment. Otherwise, the more stan-
@ -303,9 +303,9 @@ EEXXAAMMPPLLEESS
You can grab a compiled binary package from remote location by specifying
a URL. The URL can be put into an environment variable, PKG_PATH.
# pkg_add -v ftp://ftp.NetBSD.org/pub/NetBSD/packages/2.0/i386/All/firefox-1.0.3.tgz
# pkg_add -v ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD-3.1/i386/All/firefox-2.0.0.4.tgz
# export PKG_PATH=ftp://ftp.NetBSD.org/pub/NetBSD/packages/2.0/i386/All
# export PKG_PATH=ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD-3.1/i386/All/
# pkg_add -v firefox
Over time, as problems are found in packages, they will be moved from the
@ -313,7 +313,7 @@ EEXXAAMMPPLLEESS
vulnerable packages by default (and know what you are doing), you can add
the _v_u_l_n_e_r_a_b_l_e directory to your PKG_PATH like this:
# export PKG_PATH="ftp://ftp.NetBSD.org/pub/NetBSD/packages/2.0/i386/All;ftp://ftp.NetBSD.org/pub/NetBSD/packages/2.0/i386/vulnerable"
# export PKG_PATH="ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD-3.1/i386/All/;ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD-3.1/i386/vulnerable/"
(The quotes are needed because semicolon (`;') is a shell meta-charac-
ter.) If you do this, consider installing and using the
@ -346,4 +346,4 @@ BBUUGGSS
Sure to be others.
NetBSD 4.0 March 2, 2007 NetBSD 4.0
NetBSD 4.0 August 2, 2007 NetBSD 4.0

View file

@ -14,7 +14,7 @@ DDEESSCCRRIIPPTTIIOONN
--bb _b_a_s_e_U_R_L
Specify a base URL from which to download binary packages. The
default URL is _f_t_p_:_/_/_f_t_p_._N_e_t_B_S_D_._o_r_g_/_p_u_b_/_N_e_t_B_S_D_/_p_a_c_k_a_g_e_s.
default URL is _f_t_p_:_/_/_f_t_p_._N_e_t_B_S_D_._o_r_g_/_p_u_b_/_p_k_g_s_r_c_/_p_a_c_k_a_g_e_s.
--hh Print a help message and then exit.
@ -58,4 +58,4 @@ SSEEEE AALLSSOO
AAUUTTHHOORRSS
The bbppmm utility was written by Alistair Crooks <agc@NetBSD.org>.
NetBSD 4.0 December 21, 2003 NetBSD 4.0
NetBSD 4.0 August 3, 2007 NetBSD 4.0