summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/add/add.h
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1993-09-05 04:53:51 +0000
committerjkh <jkh@FreeBSD.org>1993-09-05 04:53:51 +0000
commit443968adfa831a25c1830da2ba42acd56b84322f (patch)
treee2282a94e18e2732aa026600eb80afd3873deddb /usr.sbin/pkg_install/add/add.h
parent4ccfdf095318e7c716a6ad724300bca7bc6c831c (diff)
downloadFreeBSD-src-443968adfa831a25c1830da2ba42acd56b84322f.zip
FreeBSD-src-443968adfa831a25c1830da2ba42acd56b84322f.tar.gz
Made staging area configurable rather than assuming /tmp (-t)
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.
Diffstat (limited to 'usr.sbin/pkg_install/add/add.h')
-rw-r--r--usr.sbin/pkg_install/add/add.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/add/add.h b/usr.sbin/pkg_install/add/add.h
index 6c5d46f..019fc92 100644
--- a/usr.sbin/pkg_install/add/add.h
+++ b/usr.sbin/pkg_install/add/add.h
@@ -23,6 +23,8 @@
#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;
@@ -31,6 +33,8 @@ 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 *);
OpenPOWER on IntegriCloud