150479Speter/* $FreeBSD$ */ 2327Sjkh 3327Sjkh/* 4228990Suqs * FreeBSD install - a package for the installation and maintenance 5327Sjkh * of non-core utilities. 6327Sjkh * 7327Sjkh * Redistribution and use in source and binary forms, with or without 8327Sjkh * modification, are permitted provided that the following conditions 9327Sjkh * are met: 10327Sjkh * 1. Redistributions of source code must retain the above copyright 11327Sjkh * notice, this list of conditions and the following disclaimer. 12327Sjkh * 2. Redistributions in binary form must reproduce the above copyright 13327Sjkh * notice, this list of conditions and the following disclaimer in the 14327Sjkh * documentation and/or other materials provided with the distribution. 15327Sjkh * 16327Sjkh * Jordan K. Hubbard 17327Sjkh * 18 July 1993 18327Sjkh * 19327Sjkh * Include and define various things wanted by the add command. 20327Sjkh * 21327Sjkh */ 22327Sjkh 23327Sjkh#ifndef _INST_ADD_H_INCLUDE 24327Sjkh#define _INST_ADD_H_INCLUDE 25327Sjkh 26382Sjkhtypedef enum { NORMAL, MASTER, SLAVE } add_mode_t; 27382Sjkh 28327Sjkhextern char *Prefix; 29152329Skrionextern Boolean PrefixRecursive; 30327Sjkhextern Boolean NoInstall; 31327Sjkhextern Boolean NoRecord; 32156497Sphkextern Boolean FailOnAlreadyInstalled; 33154145Sflzextern Boolean KeepPackage; 34173513Skrionextern Boolean IgnoreDeps; 35327Sjkhextern char *Mode; 36327Sjkhextern char *Owner; 37327Sjkhextern char *Group; 38327Sjkhextern char *Directory; 39327Sjkhextern char *PkgName; 40131285Seikextern char *PkgAddCmd; 4111780Sjkhextern char FirstPen[]; 42382Sjkhextern add_mode_t AddMode; 43327Sjkh 44240476Sjkimint make_hierarchy(char *, Boolean); 4584745Ssobomaxvoid extract_plist(const char *, Package *); 4684745Ssobomaxvoid apply_perms(const char *, const char *); 47327Sjkh 48327Sjkh#endif /* _INST_ADD_H_INCLUDE */ 49