7f6bf1d8ce
register a list of other packages with which they conflict (via the -C option to pkg_create), and they will refuse to install (unless -f is specified) if one of the listed packages is already present. * Update documentation for the new feature as well as fleshing out some existing documentation. * Bump PKG_INSTALL_VERSION so this feature can be tested for. Submitted by: Sergey Matveychuk <sem@ciam.ru> PR: bin/47145 MFC after: 2 weeks
55 lines
1.5 KiB
C
55 lines
1.5 KiB
C
/* $FreeBSD$ */
|
|
|
|
/*
|
|
* 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 create command.
|
|
*
|
|
*/
|
|
|
|
#ifndef _INST_CREATE_H_INCLUDE
|
|
#define _INST_CREATE_H_INCLUDE
|
|
|
|
extern char *Prefix;
|
|
extern char *Comment;
|
|
extern char *Desc;
|
|
extern char *Display;
|
|
extern char *Install;
|
|
extern char *PostInstall;
|
|
extern char *DeInstall;
|
|
extern char *PostDeInstall;
|
|
extern char *Contents;
|
|
extern char *Require;
|
|
extern char *SrcDir;
|
|
extern char *ExcludeFrom;
|
|
extern char *Mtree;
|
|
extern char *Pkgdeps;
|
|
extern char *Conflicts;
|
|
extern char *Origin;
|
|
extern char *InstalledPkg;
|
|
extern char PlayPen[];
|
|
extern int Dereference;
|
|
extern int PlistOnly;
|
|
|
|
enum zipper {NONE, GZIP, BZIP, BZIP2 };
|
|
extern enum zipper Zipper;
|
|
|
|
void check_list(const char *, Package *);
|
|
int pkg_perform(char **);
|
|
void copy_plist(const char *, Package *);
|
|
|
|
#endif /* _INST_CREATE_H_INCLUDE */
|