1 /* $NetBSD: add.h,v 1.4 2024/06/11 09:26:57 wiz Exp $ */ 2 3 /* from FreeBSD Id: add.h,v 1.8 1997/02/22 16:09:15 peter Exp */ 4 5 /* 6 * FreeBSD install - a package for the installation and maintainance 7 * of non-core utilities. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions 11 * are met: 12 * 1. Redistributions of source code must retain the above copyright 13 * notice, this list of conditions and the following disclaimer. 14 * 2. Redistributions in binary form must reproduce the above copyright 15 * notice, this list of conditions and the following disclaimer in the 16 * documentation and/or other materials provided with the distribution. 17 * 18 * Jordan K. Hubbard 19 * 18 July 1993 20 * 21 * Include and define various things wanted by the add command. 22 * 23 */ 24 25 #ifndef _INST_ADD_H_INCLUDE 26 #define _INST_ADD_H_INCLUDE 27 28 extern char *Destdir; 29 extern char *OverrideMachine; 30 extern char *OverrideOpsys; 31 extern char *OverrideOSVersion; 32 extern char *Prefix; 33 extern char *View; 34 extern char *Viewbase; 35 extern Boolean NoView; 36 extern Boolean NoInstall; 37 extern Boolean NoRecord; 38 extern Boolean Force; 39 extern Boolean Automatic; 40 extern int LicenseCheck; 41 extern int Replace; 42 extern int ReplaceSame; 43 44 extern Boolean ForceDepends; 45 extern Boolean ForceDepending; 46 47 void parse_cross(const char *, char **, char **, char **); 48 49 int make_hierarchy(char *); 50 void apply_perms(char *, char **, int); 51 52 int pkg_perform(lpkg_head_t *); 53 54 #endif /* _INST_ADD_H_INCLUDE */ 55