368b3399cd
Made pkg_add -n less bitchy. Made -p in pkg_add override "default" package location in pkg_create. Added concept of "slave" and "master" modes, allowing many different things to be done to packing lists on the fly. This is really something for front-end drivers to use, but also something for the more expert user. rename()'ing files before trying to copy them, thus saving considerable time when targets and staging area are on same filesystem.
44 lines
1.2 KiB
C
44 lines
1.2 KiB
C
/* $Id: add.h,v 1.4 1993/09/04 05:06:25 jkh Exp $ */
|
|
|
|
/*
|
|
* 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
|
|
|
|
typedef enum { NORMAL, MASTER, SLAVE } add_mode_t;
|
|
|
|
extern char *Prefix;
|
|
extern Boolean NoInstall;
|
|
extern Boolean NoRecord;
|
|
extern char *Mode;
|
|
extern char *Owner;
|
|
extern char *Group;
|
|
extern char *Directory;
|
|
extern char *PkgName;
|
|
extern char *PlayPen;
|
|
extern add_mode_t AddMode;
|
|
|
|
int make_hierarchy(char *);
|
|
void extract_plist(char *, Package *);
|
|
void apply_perms(char *, char *);
|
|
|
|
#endif /* _INST_ADD_H_INCLUDE */
|