Teach sysinstall about the `compat4x' distribution.
Approved by: jkh
This commit is contained in:
parent
13332bdbc7
commit
3326a20d0b
@ -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, },
|
||||
|
@ -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
|
||||
|
@ -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())
|
||||
|
@ -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
|
||||
|
@ -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, },
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user