Add compat3x to the mix.

Reviewed by:	jkh
This commit is contained in:
David E. O'Brien 1999-04-21 07:22:37 +00:00
parent bfc0d41b33
commit a0154df93c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45896
7 changed files with 59 additions and 39 deletions

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: dist.c,v 1.136 1999/02/14 18:53:17 jkh Exp $
* $Id: dist.c,v 1.137 1999/03/19 10:54:37 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -77,6 +77,9 @@ static Distribution DistTable[] = {
{ "compat20", "/", &Dists, DIST_COMPAT20, NULL },
{ "compat21", "/", &Dists, DIST_COMPAT21, NULL },
{ "compat22", "/", &Dists, DIST_COMPAT22, NULL },
#if __FreeBSD__ > 3
{ "compat3x", "/", &Dists, DIST_COMPAT3X, NULL },
#endif
{ "ports", "/usr", &Dists, DIST_PORTS, NULL },
{ "XF86333", "/usr", &Dists, DIST_XF86, XF86DistTable },
{ NULL },

View File

@ -2,23 +2,24 @@
#define _DIST_H_INCLUDE
/* Bitfields for distributions - hope we never have more than 32! :-) */
#define DIST_BIN 0x0001
#define DIST_GAMES 0x0002
#define DIST_MANPAGES 0x0004
#define DIST_PROFLIBS 0x0008
#define DIST_DICT 0x0010
#define DIST_SRC 0x0020
#define DIST_DOC 0x0040
#define DIST_INFO 0x0080
#define DIST_COMPAT1X 0x0100
#define DIST_COMPAT20 0x0200
#define DIST_COMPAT21 0x0400
#define DIST_COMPAT22 0x0800
#define DIST_XF86 0x1000
#define DIST_DES 0x2000
#define DIST_CATPAGES 0x4000
#define DIST_PORTS 0x8000
#define DIST_ALL 0xFFFF
#define DIST_BIN 0x00001
#define DIST_GAMES 0x00002
#define DIST_MANPAGES 0x00004
#define DIST_PROFLIBS 0x00008
#define DIST_DICT 0x00010
#define DIST_SRC 0x00020
#define DIST_DOC 0x00040
#define DIST_INFO 0x00080
#define DIST_COMPAT1X 0x00100
#define DIST_COMPAT20 0x00200
#define DIST_COMPAT21 0x00400
#define DIST_COMPAT22 0x00800
#define DIST_COMPAT3X 0x01000
#define DIST_XF86 0x02000
#define DIST_DES 0x04000
#define DIST_CATPAGES 0x08000
#define DIST_PORTS 0x10000
#define DIST_ALL 0xFFFFF
/* Canned distribution sets */
#define _DIST_DEVELOPER \

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: menus.c,v 1.192 1999/03/09 12:36:28 jkh Exp $
* $Id: menus.c,v 1.193 1999/03/19 10:54:37 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -764,6 +764,10 @@ DMenu MenuSubDistributions = {
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_COMPAT21 },
{ "compat22", "FreeBSD 2.2.x and 3.0 a.out binary compatibility",
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_COMPAT22 },
#if __FreeBSD__ > 3
{ "compat3x", "FreeBSD 3.x binary compatibility",
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_COMPAT3X },
#endif
{ "DES", "DES encryption code - NOT FOR EXPORT!",
DESFlagCheck, distSetDES },
{ "dict", "Spelling checker dictionary files",

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: menus.c,v 1.192 1999/03/09 12:36:28 jkh Exp $
* $Id: menus.c,v 1.193 1999/03/19 10:54:37 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -764,6 +764,10 @@ DMenu MenuSubDistributions = {
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_COMPAT21 },
{ "compat22", "FreeBSD 2.2.x and 3.0 a.out binary compatibility",
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_COMPAT22 },
#if __FreeBSD__ > 3
{ "compat3x", "FreeBSD 3.x binary compatibility",
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_COMPAT3X },
#endif
{ "DES", "DES encryption code - NOT FOR EXPORT!",
DESFlagCheck, distSetDES },
{ "dict", "Spelling checker dictionary files",

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: dist.c,v 1.136 1999/02/14 18:53:17 jkh Exp $
* $Id: dist.c,v 1.137 1999/03/19 10:54:37 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -77,6 +77,9 @@ static Distribution DistTable[] = {
{ "compat20", "/", &Dists, DIST_COMPAT20, NULL },
{ "compat21", "/", &Dists, DIST_COMPAT21, NULL },
{ "compat22", "/", &Dists, DIST_COMPAT22, NULL },
#if __FreeBSD__ > 3
{ "compat3x", "/", &Dists, DIST_COMPAT3X, NULL },
#endif
{ "ports", "/usr", &Dists, DIST_PORTS, NULL },
{ "XF86333", "/usr", &Dists, DIST_XF86, XF86DistTable },
{ NULL },

View File

@ -2,23 +2,24 @@
#define _DIST_H_INCLUDE
/* Bitfields for distributions - hope we never have more than 32! :-) */
#define DIST_BIN 0x0001
#define DIST_GAMES 0x0002
#define DIST_MANPAGES 0x0004
#define DIST_PROFLIBS 0x0008
#define DIST_DICT 0x0010
#define DIST_SRC 0x0020
#define DIST_DOC 0x0040
#define DIST_INFO 0x0080
#define DIST_COMPAT1X 0x0100
#define DIST_COMPAT20 0x0200
#define DIST_COMPAT21 0x0400
#define DIST_COMPAT22 0x0800
#define DIST_XF86 0x1000
#define DIST_DES 0x2000
#define DIST_CATPAGES 0x4000
#define DIST_PORTS 0x8000
#define DIST_ALL 0xFFFF
#define DIST_BIN 0x00001
#define DIST_GAMES 0x00002
#define DIST_MANPAGES 0x00004
#define DIST_PROFLIBS 0x00008
#define DIST_DICT 0x00010
#define DIST_SRC 0x00020
#define DIST_DOC 0x00040
#define DIST_INFO 0x00080
#define DIST_COMPAT1X 0x00100
#define DIST_COMPAT20 0x00200
#define DIST_COMPAT21 0x00400
#define DIST_COMPAT22 0x00800
#define DIST_COMPAT3X 0x01000
#define DIST_XF86 0x02000
#define DIST_DES 0x04000
#define DIST_CATPAGES 0x08000
#define DIST_PORTS 0x10000
#define DIST_ALL 0xFFFFF
/* Canned distribution sets */
#define _DIST_DEVELOPER \

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: menus.c,v 1.192 1999/03/09 12:36:28 jkh Exp $
* $Id: menus.c,v 1.193 1999/03/19 10:54:37 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -764,6 +764,10 @@ DMenu MenuSubDistributions = {
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_COMPAT21 },
{ "compat22", "FreeBSD 2.2.x and 3.0 a.out binary compatibility",
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_COMPAT22 },
#if __FreeBSD__ > 3
{ "compat3x", "FreeBSD 3.x binary compatibility",
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_COMPAT3X },
#endif
{ "DES", "DES encryption code - NOT FOR EXPORT!",
DESFlagCheck, distSetDES },
{ "dict", "Spelling checker dictionary files",