Teach sysinstall about the `compat4x' distribution.

Approved by:	jkh
This commit is contained in:
Murray Stokely 2001-02-09 19:01:49 +00:00
parent 9f7604aeef
commit 7f78342d7c
6 changed files with 33 additions and 6 deletions

View File

@ -764,6 +764,10 @@ DMenu MenuSubDistributions = {
{ " compat3x", "FreeBSD 3.x binary compatibility",
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_COMPAT3X },
#endif
#if __FreeBSD__ > 4
{ " compat4x", "FreeBSD 4.x binary compatibility",
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_COMPAT4X },
#endif
#endif
{ " crypto", "Basic encryption services",
dmenuFlagCheck, dmenuSetFlag, NULL, &CRYPTODists, '[', 'X', ']', DIST_CRYPTO_CRYPTO, },

View File

@ -412,6 +412,13 @@ Compatibility with
(available for
.Fx 4.0
systems only)
.It Li compat4x
Compatibility with
.Fx
4.x
(available for
.Fx 5.0
systems only)
.It Li ports
The ports collection.
.It Li krb4

View File

@ -79,6 +79,7 @@ static Distribution DistTable[] = {
{ "compat21", "/", &Dists, DIST_COMPAT21, NULL },
{ "compat22", "/", &Dists, DIST_COMPAT22, NULL },
{ "compat3x", "/", &Dists, DIST_COMPAT3X, NULL },
{ "compat4x", "/", &Dists, DIST_COMPAT4X, NULL },
#endif
{ "ports", "/usr", &Dists, DIST_PORTS, NULL },
{ "local", "/", &Dists, DIST_LOCAL, NULL },
@ -224,6 +225,9 @@ distVerifyFlags(void)
#if __FreeBSD__ > 3
Dists |= DIST_COMPAT3X;
#endif
#if __FreeBSD__ > 4
Dists |= DIST_COMPAT4X;
#endif
#endif
}
if (isDebug())

View File

@ -18,13 +18,14 @@
#define DIST_COMPAT21 0x00400
#define DIST_COMPAT22 0x00800
#define DIST_COMPAT3X 0x01000
#define DIST_COMPAT4X 0x02000
#endif
#define DIST_XF86 0x02000
#define DIST_CRYPTO 0x04000
#define DIST_CATPAGES 0x08000
#define DIST_PORTS 0x10000
#define DIST_LOCAL 0x20000
#define DIST_ALL 0x3FFFF
#define DIST_XF86 0x04000
#define DIST_CRYPTO 0x08000
#define DIST_CATPAGES 0x10000
#define DIST_PORTS 0x20000
#define DIST_LOCAL 0x40000
#define DIST_ALL 0x7FFFF
/* Subtypes for CRYPTO distribution */
#define DIST_CRYPTO_CRYPTO 0x0001

View File

@ -764,6 +764,10 @@ DMenu MenuSubDistributions = {
{ " compat3x", "FreeBSD 3.x binary compatibility",
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_COMPAT3X },
#endif
#if __FreeBSD__ > 4
{ " compat4x", "FreeBSD 4.x binary compatibility",
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_COMPAT4X },
#endif
#endif
{ " crypto", "Basic encryption services",
dmenuFlagCheck, dmenuSetFlag, NULL, &CRYPTODists, '[', 'X', ']', DIST_CRYPTO_CRYPTO, },

View File

@ -412,6 +412,13 @@ Compatibility with
(available for
.Fx 4.0
systems only)
.It Li compat4x
Compatibility with
.Fx
4.x
(available for
.Fx 5.0
systems only)
.It Li ports
The ports collection.
.It Li krb4