1 /* $NetBSD: create.h,v 1.14 2009/11/05 16:22:32 joerg Exp $ */
3 /* from FreeBSD Id: create.h,v 1.13 1997/10/08 07:46:19 charnier Exp */
6 * FreeBSD install - a package for the installation and maintainance
7 * of non-core utilities.
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions
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.
21 * Include and define various things wanted by the create command.
25 #ifndef _INST_CREATE_H_INCLUDE
26 #define _INST_CREATE_H_INCLUDE
44 extern char *DeInstall
;
45 extern char *Contents
;
47 extern char *BuildPkgdeps
;
49 extern char *BuildVersion
;
50 extern char *BuildInfo
;
53 extern char *Preserve
;
54 extern char *realprefix
;
55 extern char *DefaultOwner
;
56 extern char *DefaultGroup
;
57 extern const char *CompressionType
;
59 extern int RelativeLinks
;
60 extern int update_pkgdb
;
61 extern int create_views
;
63 void check_list(package_t
*, const char *);
64 void copy_plist(char *, package_t
*);
67 *load_memory_file(const char *, const char *,
68 const char *, const char *, mode_t
);
70 *make_memory_file(const char *, void *, size_t,
71 const char *, const char *, mode_t
);
72 void free_memory_file(struct memory_file
*);
74 int pkg_perform(const char *);
75 int pkg_build(const char *, const char *, const char *, package_t
*plist
);
77 #endif /* _INST_CREATE_H_INCLUDE */