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 create command.
20327Sjkh *
21327Sjkh */
22327Sjkh
23327Sjkh#ifndef _INST_CREATE_H_INCLUDE
24327Sjkh#define _INST_CREATE_H_INCLUDE
25327Sjkh
26152210Skrionextern match_t	MatchType;
27327Sjkhextern char	*Prefix;
28327Sjkhextern char	*Comment;
29327Sjkhextern char	*Desc;
304996Sjkhextern char	*Display;
31327Sjkhextern char	*Install;
3241866Sjkhextern char	*PostInstall;
33327Sjkhextern char	*DeInstall;
3441866Sjkhextern char	*PostDeInstall;
35327Sjkhextern char	*Contents;
36327Sjkhextern char	*Require;
3726473Sjkhextern char	*SrcDir;
38131277Seikextern char	*BaseDir;
39445Sjkhextern char	*ExcludeFrom;
404996Sjkhextern char	*Mtree;
417713Sjkhextern char	*Pkgdeps;
42113594Skrisextern char	*Conflicts;
4367454Ssobomaxextern char	*Origin;
4484670Ssobomaxextern char	*InstalledPkg;
4526473Sjkhextern char	PlayPen[];
461520Salmextern int	Dereference;
477986Sjkhextern int	PlistOnly;
48147043Ssobomaxextern int	Recursive;
49179352Skeramidaextern int	Regenerate;
50327Sjkh
51213718Sflzenum zipper {NONE, GZIP, BZIP, BZIP2, XZ };
5295161Sobrienextern enum zipper	Zipper;
5395161Sobrien
54131277Seikvoid		add_cksum(Package *, PackingList, const char *);
5584745Ssobomaxvoid		check_list(const char *, Package *);
5684745Ssobomaxvoid		copy_plist(const char *, Package *);
57327Sjkh
58327Sjkh#endif	/* _INST_CREATE_H_INCLUDE */
59