1999-08-28 01:35:59 +00:00
|
|
|
/* $FreeBSD$ */
|
1993-08-26 01:19:55 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* FreeBSD install - a package for the installation and maintainance
|
|
|
|
* of non-core utilities.
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
* modification, are permitted provided that the following conditions
|
|
|
|
* are met:
|
|
|
|
* 1. Redistributions of source code must retain the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer.
|
|
|
|
* 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer in the
|
|
|
|
* documentation and/or other materials provided with the distribution.
|
|
|
|
*
|
|
|
|
* Jordan K. Hubbard
|
|
|
|
* 18 July 1993
|
|
|
|
*
|
|
|
|
* Include and define various things wanted by the add command.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _INST_ADD_H_INCLUDE
|
|
|
|
#define _INST_ADD_H_INCLUDE
|
|
|
|
|
1993-09-05 04:53:51 +00:00
|
|
|
typedef enum { NORMAL, MASTER, SLAVE } add_mode_t;
|
|
|
|
|
1993-08-26 01:19:55 +00:00
|
|
|
extern char *Prefix;
|
|
|
|
extern Boolean NoInstall;
|
|
|
|
extern Boolean NoRecord;
|
|
|
|
extern char *Mode;
|
|
|
|
extern char *Owner;
|
|
|
|
extern char *Group;
|
|
|
|
extern char *Directory;
|
|
|
|
extern char *PkgName;
|
2004-06-29 19:06:42 +00:00
|
|
|
extern char *PkgAddCmd;
|
1995-10-25 15:38:37 +00:00
|
|
|
extern char FirstPen[];
|
1993-09-05 04:53:51 +00:00
|
|
|
extern add_mode_t AddMode;
|
1993-08-26 01:19:55 +00:00
|
|
|
|
|
|
|
int make_hierarchy(char *);
|
2001-10-10 06:58:42 +00:00
|
|
|
void extract_plist(const char *, Package *);
|
|
|
|
void apply_perms(const char *, const char *);
|
1993-08-26 01:19:55 +00:00
|
|
|
|
|
|
|
#endif /* _INST_ADD_H_INCLUDE */
|