Add a local distribution under the "costum distribution" menu.

This allows to add local additions on install time..
This commit is contained in:
sos 1999-08-05 20:04:56 +00:00
parent 7117f963c2
commit abecc22881
7 changed files with 19 additions and 9 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.143 1999/07/19 11:58:01 jkh Exp $
* $Id: dist.c,v 1.144 1999/07/23 03:42:23 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -83,6 +83,7 @@ static Distribution DistTable[] = {
#endif
#endif
{ "ports", "/usr", &Dists, DIST_PORTS, NULL },
{ "local", "/", &Dists, DIST_LOCAL, NULL },
{ "XF86334", "/usr", &Dists, DIST_XF86, XF86DistTable },
{ NULL },
};

View File

@ -1,4 +1,4 @@
/* $Id: dist.h,v 1.37 1999/07/16 22:03:26 jkh Exp $ */
/* $Id: dist.h,v 1.38 1999/07/23 03:42:23 jkh Exp $ */
#ifndef _DIST_H_INCLUDE
#define _DIST_H_INCLUDE
@ -23,7 +23,8 @@
#define DIST_DES 0x04000
#define DIST_CATPAGES 0x08000
#define DIST_PORTS 0x10000
#define DIST_ALL 0x1FFFF
#define DIST_LOCAL 0x20000
#define DIST_ALL 0x3FFFF
/* 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.217 1999/07/29 06:23:17 jkh Exp $
* $Id: menus.c,v 1.218 1999/07/29 21:15:10 billf Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -838,6 +838,8 @@ DMenu MenuSubDistributions = {
srcFlagCheck, distSetSrc },
{ "ports", "The FreeBSD Ports collection",
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_PORTS },
{ "local", "Local additions collection",
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_LOCAL},
{ "XFree86", "The XFree86 3.3.4 distribution",
x11FlagCheck, distSetXF86 },
{ "All", "All sources, binaries and X Window System binaries",

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.217 1999/07/29 06:23:17 jkh Exp $
* $Id: menus.c,v 1.218 1999/07/29 21:15:10 billf Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -838,6 +838,8 @@ DMenu MenuSubDistributions = {
srcFlagCheck, distSetSrc },
{ "ports", "The FreeBSD Ports collection",
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_PORTS },
{ "local", "Local additions collection",
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_LOCAL},
{ "XFree86", "The XFree86 3.3.4 distribution",
x11FlagCheck, distSetXF86 },
{ "All", "All sources, binaries and X Window System binaries",

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.143 1999/07/19 11:58:01 jkh Exp $
* $Id: dist.c,v 1.144 1999/07/23 03:42:23 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -83,6 +83,7 @@ static Distribution DistTable[] = {
#endif
#endif
{ "ports", "/usr", &Dists, DIST_PORTS, NULL },
{ "local", "/", &Dists, DIST_LOCAL, NULL },
{ "XF86334", "/usr", &Dists, DIST_XF86, XF86DistTable },
{ NULL },
};

View File

@ -1,4 +1,4 @@
/* $Id: dist.h,v 1.37 1999/07/16 22:03:26 jkh Exp $ */
/* $Id: dist.h,v 1.38 1999/07/23 03:42:23 jkh Exp $ */
#ifndef _DIST_H_INCLUDE
#define _DIST_H_INCLUDE
@ -23,7 +23,8 @@
#define DIST_DES 0x04000
#define DIST_CATPAGES 0x08000
#define DIST_PORTS 0x10000
#define DIST_ALL 0x1FFFF
#define DIST_LOCAL 0x20000
#define DIST_ALL 0x3FFFF
/* 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.217 1999/07/29 06:23:17 jkh Exp $
* $Id: menus.c,v 1.218 1999/07/29 21:15:10 billf Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -838,6 +838,8 @@ DMenu MenuSubDistributions = {
srcFlagCheck, distSetSrc },
{ "ports", "The FreeBSD Ports collection",
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_PORTS },
{ "local", "Local additions collection",
dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_LOCAL},
{ "XFree86", "The XFree86 3.3.4 distribution",
x11FlagCheck, distSetXF86 },
{ "All", "All sources, binaries and X Window System binaries",