| @@ -15,27 +15,27 @@ DDEESSCCRRIIPPTTIIOONN | | | @@ -15,27 +15,27 @@ DDEESSCCRRIIPPTTIIOONN |
15 | prepared collections of pre-built binaries, documentation, configura- | | 15 | prepared collections of pre-built binaries, documentation, configura- |
16 | tions, installation instructions and/or other files. ppkkgg__aadddd can recur- | | 16 | tions, installation instructions and/or other files. ppkkgg__aadddd can recur- |
17 | sively install other packages that the current package depends on or | | 17 | sively install other packages that the current package depends on or |
18 | requires from both local disk and via FTP or HTTP. | | 18 | requires from both local disk and via FTP or HTTP. |
19 | | | 19 | |
20 | WWAARRNNIINNGG | | 20 | WWAARRNNIINNGG |
21 | _S_i_n_c_e _t_h_e ppkkgg__aadddd _c_o_m_m_a_n_d _m_a_y _e_x_e_c_u_t_e _s_c_r_i_p_t_s _o_r _p_r_o_g_r_a_m_s _c_o_n_t_a_i_n_e_d | | 21 | _S_i_n_c_e _t_h_e ppkkgg__aadddd _c_o_m_m_a_n_d _m_a_y _e_x_e_c_u_t_e _s_c_r_i_p_t_s _o_r _p_r_o_g_r_a_m_s _c_o_n_t_a_i_n_e_d |
22 | _w_i_t_h_i_n _a _p_a_c_k_a_g_e _f_i_l_e_, _y_o_u_r _s_y_s_t_e_m _m_a_y _b_e _s_u_s_c_e_p_t_i_b_l_e _t_o _`_`_T_r_o_j_a_n | | 22 | _w_i_t_h_i_n _a _p_a_c_k_a_g_e _f_i_l_e_, _y_o_u_r _s_y_s_t_e_m _m_a_y _b_e _s_u_s_c_e_p_t_i_b_l_e _t_o _`_`_T_r_o_j_a_n |
23 | _h_o_r_s_e_s_'_' _o_r _o_t_h_e_r _s_u_b_t_l_e _a_t_t_a_c_k_s _f_r_o_m _m_i_s_c_r_e_a_n_t_s _w_h_o _c_r_e_a_t_e _d_a_n_g_e_r_o_u_s | | 23 | _h_o_r_s_e_s_'_' _o_r _o_t_h_e_r _s_u_b_t_l_e _a_t_t_a_c_k_s _f_r_o_m _m_i_s_c_r_e_a_n_t_s _w_h_o _c_r_e_a_t_e _d_a_n_g_e_r_o_u_s |
24 | _p_a_c_k_a_g_e _f_i_l_e_s_. | | 24 | _p_a_c_k_a_g_e _f_i_l_e_s_. |
25 | | | 25 | |
26 | _Y_o_u _a_r_e _a_d_v_i_s_e_d _t_o _v_e_r_i_f_y _t_h_e _c_o_m_p_e_t_e_n_c_e _a_n_d _i_d_e_n_t_i_t_y _o_f _t_h_o_s_e _w_h_o _p_r_o_- | | 26 | _Y_o_u _a_r_e _a_d_v_i_s_e_d _t_o _v_e_r_i_f_y _t_h_e _c_o_m_p_e_t_e_n_c_e _a_n_d _i_d_e_n_t_i_t_y _o_f _t_h_o_s_e _w_h_o _p_r_o_- |
27 | _v_i_d_e _i_n_s_t_a_l_l_a_b_l_e _p_a_c_k_a_g_e _f_i_l_e_s_. _F_o_r _e_x_t_r_a _p_r_o_t_e_c_t_i_o_n_, _u_s_e _t_h_e _d_i_g_i_t_a_l | | 27 | _v_i_d_e _i_n_s_t_a_l_l_a_b_l_e _p_a_c_k_a_g_e _f_i_l_e_s_. _F_o_r _e_x_t_r_a _p_r_o_t_e_c_t_i_o_n_, _u_s_e _t_h_e _d_i_g_i_t_a_l |
28 | _s_i_g_n_a_t_u_r_e_s _p_r_o_v_i_d_e_d _w_h_e_r_e _p_o_s_s_i_b_l_e _(_s_e_e _t_h_e pkg_install.conf(_5) _)_, _o_r_, | | 28 | _s_i_g_n_a_t_u_r_e_s _p_r_o_v_i_d_e_d _w_h_e_r_e _p_o_s_s_i_b_l_e _(_s_e_e _t_h_e pkg_install.conf(_5)_)_, _o_r_, |
29 | _f_a_i_l_i_n_g _t_h_a_t_, _u_s_e tar(_1) _t_o _e_x_t_r_a_c_t _t_h_e _p_a_c_k_a_g_e _f_i_l_e_, _a_n_d _i_n_s_p_e_c_t _i_t_s | | 29 | _f_a_i_l_i_n_g _t_h_a_t_, _u_s_e tar(_1) _t_o _e_x_t_r_a_c_t _t_h_e _p_a_c_k_a_g_e _f_i_l_e_, _a_n_d _i_n_s_p_e_c_t _i_t_s |
30 | _c_o_n_t_e_n_t_s _a_n_d _s_c_r_i_p_t_s _t_o _e_n_s_u_r_e _i_t _p_o_s_e_s _n_o _d_a_n_g_e_r _t_o _y_o_u_r _s_y_s_t_e_m_'_s | | 30 | _c_o_n_t_e_n_t_s _a_n_d _s_c_r_i_p_t_s _t_o _e_n_s_u_r_e _i_t _p_o_s_e_s _n_o _d_a_n_g_e_r _t_o _y_o_u_r _s_y_s_t_e_m_'_s |
31 | _i_n_t_e_g_r_i_t_y_. _P_a_y _p_a_r_t_i_c_u_l_a_r _a_t_t_e_n_t_i_o_n _t_o _a_n_y _+_I_N_S_T_A_L_L _o_r _+_D_E_I_N_S_T_A_L_L _f_i_l_e_s_, | | 31 | _i_n_t_e_g_r_i_t_y_. _P_a_y _p_a_r_t_i_c_u_l_a_r _a_t_t_e_n_t_i_o_n _t_o _a_n_y _+_I_N_S_T_A_L_L _o_r _+_D_E_I_N_S_T_A_L_L _f_i_l_e_s_, |
32 | _a_n_d _i_n_s_p_e_c_t _t_h_e _+_C_O_N_T_E_N_T_S _f_i_l_e _f_o_r @@ccwwdd_, @@mmooddee _(_c_h_e_c_k _f_o_r _s_e_t_u_i_d_)_, | | 32 | _a_n_d _i_n_s_p_e_c_t _t_h_e _+_C_O_N_T_E_N_T_S _f_i_l_e _f_o_r @@ccwwdd_, @@mmooddee _(_c_h_e_c_k _f_o_r _s_e_t_u_i_d_)_, |
33 | @@ddiirrrrmm_, @@eexxeecc_, _a_n_d @@uunneexxeecc _d_i_r_e_c_t_i_v_e_s_, _a_n_d_/_o_r _u_s_e _t_h_e pkg_info(_1) _c_o_m_m_a_n_d | | 33 | @@ddiirrrrmm_, @@eexxeecc_, _a_n_d @@uunneexxeecc _d_i_r_e_c_t_i_v_e_s_, _a_n_d_/_o_r _u_s_e _t_h_e pkg_info(_1) _c_o_m_m_a_n_d |
34 | _t_o _e_x_a_m_i_n_e _t_h_e _p_a_c_k_a_g_e _f_i_l_e_. | | 34 | _t_o _e_x_a_m_i_n_e _t_h_e _p_a_c_k_a_g_e _f_i_l_e_. |
35 | | | 35 | |
36 | OOPPTTIIOONNSS | | 36 | OOPPTTIIOONNSS |
37 | The following command line arguments are supported: | | 37 | The following command line arguments are supported: |
38 | | | 38 | |
39 | _p_k_g_-_n_a_m_e [_._._.] | | 39 | _p_k_g_-_n_a_m_e [_._._.] |
40 | The named packages are installed. _p_k_g_-_n_a_m_e may be either a URL | | 40 | The named packages are installed. _p_k_g_-_n_a_m_e may be either a URL |
41 | or a local pathname, a package name of "-" will cause ppkkgg__aadddd to | | 41 | or a local pathname, a package name of "-" will cause ppkkgg__aadddd to |
| @@ -270,52 +270,44 @@ EEXXAAMMPPLLEESS | | | @@ -270,52 +270,44 @@ EEXXAAMMPPLLEESS |
270 | | | 270 | |
271 | Over time, as problems are found in packages, they will be moved from the | | 271 | Over time, as problems are found in packages, they will be moved from the |
272 | _A_l_l subdirectory into the _v_u_l_n_e_r_a_b_l_e subdirectory. If you want to accept | | 272 | _A_l_l subdirectory into the _v_u_l_n_e_r_a_b_l_e subdirectory. If you want to accept |
273 | vulnerable packages by default (and know what you are doing), you can add | | 273 | vulnerable packages by default (and know what you are doing), you can add |
274 | the _v_u_l_n_e_r_a_b_l_e directory to your PKG_PATH like this: | | 274 | the _v_u_l_n_e_r_a_b_l_e directory to your PKG_PATH like this: |
275 | | | 275 | |
276 | # export PKG_PATH="ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/i386/3.1_2007Q2/All/;ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/i386/3.1_2007Q2/vulnerable/" | | 276 | # export PKG_PATH="ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/i386/3.1_2007Q2/All/;ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/i386/3.1_2007Q2/vulnerable/" |
277 | | | 277 | |
278 | (The quotes are needed because semicolon (`;') is a shell meta-charac- | | 278 | (The quotes are needed because semicolon (`;') is a shell meta-charac- |
279 | ter.) If you do this, consider installing and using the | | 279 | ter.) If you do this, consider installing and using the |
280 | _s_e_c_u_r_i_t_y_/_a_u_d_i_t_-_p_a_c_k_a_g_e_s package and running it after every ppkkgg__aadddd. | | 280 | _s_e_c_u_r_i_t_y_/_a_u_d_i_t_-_p_a_c_k_a_g_e_s package and running it after every ppkkgg__aadddd. |
281 | | | 281 | |
282 | CCOONNFFIIGGUURRAATTIIOONN VVAARRIIAABBLLEESS | | 282 | CCOONNFFIIGGUURRAATTIIOONN VVAARRIIAABBLLEESS |
283 | The following variables change the behaviour of ppkkgg__aadddd and are explained | | 283 | The following variables change the behaviour of ppkkgg__aadddd and are described |
284 | in pkg_install.conf(5): | | 284 | in pkg_install.conf(5): |
285 | | | 285 | |
286 | CERTIFICATE_ANCHOR_PKGS | | 286 | CERTIFICATE_ANCHOR_PKGS |
287 | | | 287 | |
288 | CERTIFICATE_CHAIN | | 288 | CERTIFICATE_CHAIN |
289 | | | 289 | |
290 | VERIFIED_INSTALLATION | | 290 | VERIFIED_INSTALLATION |
291 | | | 291 | |
292 | SSEEEE AALLSSOO | | 292 | SSEEEE AALLSSOO |
293 | pkg_admin(1), pkg_create(1), pkg_delete(1), pkg_info(1), | | 293 | pkg_admin(1), pkg_create(1), pkg_delete(1), pkg_info(1), tar(1), |
294 | pkg_install.conf(5), tar(1), mktemp(3), sysconf(3), pkgsrc(7) | | 294 | mktemp(3), sysconf(3), pkg_install.conf(5), pkgsrc(7) |
295 | | | 295 | |
296 | AAUUTTHHOORRSS | | 296 | AAUUTTHHOORRSS |
297 | Jordan Hubbard | | 297 | Jordan Hubbard |
298 | Initial work and ongoing development. | | 298 | Initial work and ongoing development. |
299 | John Kohl | | 299 | John Kohl |
300 | NetBSD refinements. | | 300 | NetBSD refinements. |
301 | Hubert Feyrer | | 301 | Hubert Feyrer |
302 | NetBSD wildcard dependency processing, pkgdb, upgrading, etc. | | 302 | NetBSD wildcard dependency processing, pkgdb, upgrading, etc. |
303 | Thomas Klausner | | 303 | Thomas Klausner |
304 | HTTP support. | | 304 | HTTP support. |
305 | Joerg Sonnenberger | | 305 | Joerg Sonnenberger |
306 | Rewrote most of the code base to work without external commands. | | 306 | Rewrote most of the code base to work without external commands. |
307 | | | 307 | |
308 | BBUUGGSS | | 308 | BBUUGGSS |
309 | Hard links between files in a distribution are only preserved if either | | | |
310 | (1) the staging area is on the same file system as the target directory | | | |
311 | of all the links to the file, or (2) all the links to the file are brack- | | | |
312 | eted by @@ccwwdd directives in the contents file, _a_n_d and the link names are | | | |
313 | extracted with a single ttaarr command (not split between invocations due to | | | |
314 | exec argument-space limitations--this depends on the value returned by | | | |
315 | ssyyssccoonnff(___S_C___A_R_G___M_A_X)). | | | |
316 | | | | |
317 | Package upgrading needs a lot more work to be really universal. | | 309 | Package upgrading needs a lot more work to be really universal. |
318 | | | 310 | |
319 | Sure to be others. | | 311 | Sure to be others. |
320 | | | 312 | |
321 | NetBSD 4.0 May 26, 2008 NetBSD 4.0 | | 313 | NetBSD 4.0 July 28, 2008 NetBSD 4.0 |