Deleted Added
full compact
main.c (152210) main.c (157808)
1/*
2 * FreeBSD install - a package for the installation and maintainance
3 * of non-core utilities.
4 *
5 * Jordan K. Hubbard
6 * 18 July 1993
7 *
8 * This is the create module.
9 *
10 */
11
12#include <sys/cdefs.h>
1/*
2 * FreeBSD install - a package for the installation and maintainance
3 * of non-core utilities.
4 *
5 * Jordan K. Hubbard
6 * 18 July 1993
7 *
8 * This is the create module.
9 *
10 */
11
12#include <sys/cdefs.h>
13__FBSDID("$FreeBSD: head/usr.sbin/pkg_install/create/main.c 152210 2005-11-08 20:48:26Z krion $");
13__FBSDID("$FreeBSD: head/usr.sbin/pkg_install/create/main.c 157808 2006-04-17 10:58:45Z krion $");
14
15#include <err.h>
16#include "lib.h"
17#include "create.h"
18
19static char Options[] = "EGYNORhjvxyzf:p:P:C:c:d:i:I:k:K:r:t:X:D:m:s:S:o:b:";
20
21match_t MatchType = MATCH_GLOB;

--- 14 unchanged lines hidden (view full) ---

36char *Pkgdeps = NULL;
37char *Conflicts = NULL;
38char *Origin = NULL;
39char *InstalledPkg = NULL;
40char PlayPen[FILENAME_MAX];
41int Dereference = FALSE;
42int PlistOnly = FALSE;
43int Recursive = FALSE;
14
15#include <err.h>
16#include "lib.h"
17#include "create.h"
18
19static char Options[] = "EGYNORhjvxyzf:p:P:C:c:d:i:I:k:K:r:t:X:D:m:s:S:o:b:";
20
21match_t MatchType = MATCH_GLOB;

--- 14 unchanged lines hidden (view full) ---

36char *Pkgdeps = NULL;
37char *Conflicts = NULL;
38char *Origin = NULL;
39char *InstalledPkg = NULL;
40char PlayPen[FILENAME_MAX];
41int Dereference = FALSE;
42int PlistOnly = FALSE;
43int Recursive = FALSE;
44enum zipper Zipper = GZIP;
44#if defined(__FreeBSD_version) && __FreeBSD_version >= 500039
45enum zipper Zipper = BZIP2;
46#else
47enum zipper Zipper = GZIP;
48#endif
45
49
50
46static void usage __P((void));
47
48int
49main(int argc, char **argv)
50{
51 int ch;
52 char **pkgs, **start, *tmp;
53

--- 181 unchanged lines hidden ---
51static void usage __P((void));
52
53int
54main(int argc, char **argv)
55{
56 int ch;
57 char **pkgs, **start, *tmp;
58

--- 181 unchanged lines hidden ---