Deleted Added
full compact
main.c (24428) main.c (26473)
1#ifndef lint
1#ifndef lint
2static const char *rcsid = "$Id: main.c,v 1.14 1997/02/22 16:09:25 peter Exp $";
2static const char *rcsid = "$Id: main.c,v 1.15 1997/03/31 05:10:47 imp Exp $";
3#endif
4
5/*
6 * FreeBSD install - a package for the installation and maintainance
7 * of non-core utilities.
8 *
9 * Jordan K. Hubbard
10 * 18 July 1993
11 *
12 * This is the create module.
13 *
14 */
15
16#include "lib.h"
17#include "create.h"
18
3#endif
4
5/*
6 * FreeBSD install - a package for the installation and maintainance
7 * of non-core utilities.
8 *
9 * Jordan K. Hubbard
10 * 18 July 1993
11 *
12 * This is the create module.
13 *
14 */
15
16#include "lib.h"
17#include "create.h"
18
19static char Options[] = "YNOhvf:p:P:c:d:i:k:r:t:X:D:m:";
19static char Options[] = "YNOhvf:p:P:c:d:i:k:r:t:X:D:m:s:";
20
21char *Prefix = NULL;
22char *Comment = NULL;
23char *Desc = NULL;
20
21char *Prefix = NULL;
22char *Comment = NULL;
23char *Desc = NULL;
24char *SrcDir = NULL;
24char *Display = NULL;
25char *Install = NULL;
26char *DeInstall = NULL;
27char *Contents = NULL;
28char *Require = NULL;
25char *Display = NULL;
26char *Install = NULL;
27char *DeInstall = NULL;
28char *Contents = NULL;
29char *Require = NULL;
29char PlayPen[FILENAME_MAX];
30char *ExcludeFrom = NULL;
31char *Mtree = NULL;
32char *Pkgdeps = NULL;
30char *ExcludeFrom = NULL;
31char *Mtree = NULL;
32char *Pkgdeps = NULL;
33char PlayPen[FILENAME_MAX];
33int Dereference = 0;
34int PlistOnly = 0;
35
36int
37main(int argc, char **argv)
38{
39 int ch;
40 char **pkgs, **start;

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

58 case 'O':
59 PlistOnly = YES;
60 break;
61
62 case 'p':
63 Prefix = optarg;
64 break;
65
34int Dereference = 0;
35int PlistOnly = 0;
36
37int
38main(int argc, char **argv)
39{
40 int ch;
41 char **pkgs, **start;

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

59 case 'O':
60 PlistOnly = YES;
61 break;
62
63 case 'p':
64 Prefix = optarg;
65 break;
66
67 case 's':
68 SrcDir = optarg;
69 break;
70
66 case 'f':
67 Contents = optarg;
68 break;
69
70 case 'c':
71 Comment = optarg;
72 break;
73

--- 103 unchanged lines hidden ---
71 case 'f':
72 Contents = optarg;
73 break;
74
75 case 'c':
76 Comment = optarg;
77 break;
78

--- 103 unchanged lines hidden ---