diff options
author | jkh <jkh@FreeBSD.org> | 1997-03-25 03:12:59 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-03-25 03:12:59 +0000 |
commit | adeb640108cb8124d6d694c647a639eae7685f86 (patch) | |
tree | 497d454481e9a30bb2ec880d753d4cfae73cc16a /usr.sbin | |
parent | 75276ab04be431ac54b1bc1a24b88e0f29adff4f (diff) | |
download | FreeBSD-src-adeb640108cb8124d6d694c647a639eae7685f86.zip FreeBSD-src-adeb640108cb8124d6d694c647a639eae7685f86.tar.gz |
YAMF22
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sade/install.c | 3 | ||||
-rw-r--r-- | usr.sbin/sade/menus.c | 8 | ||||
-rw-r--r-- | usr.sbin/sysinstall/dist.c | 6 | ||||
-rw-r--r-- | usr.sbin/sysinstall/index.c | 31 | ||||
-rw-r--r-- | usr.sbin/sysinstall/install.c | 3 | ||||
-rw-r--r-- | usr.sbin/sysinstall/menus.c | 8 |
6 files changed, 34 insertions, 25 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c index eea143d..c84e44c 100644 --- a/usr.sbin/sade/install.c +++ b/usr.sbin/sade/install.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: install.c,v 1.177 1997/03/10 21:11:55 jkh Exp $ + * $Id: install.c,v 1.178 1997/03/18 07:02:32 mpp Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -971,6 +971,7 @@ installVarDefaults(dialogMenuItem *self) variable_set2(VAR_BROWSER_PACKAGE, PACKAGE_LYNX); variable_set2(VAR_BROWSER_BINARY, "/usr/local/bin/lynx"); variable_set2(VAR_FTP_STATE, "passive"); + variable_set2(VAR_NFS_SECURE, "YES"); variable_set2(VAR_PKG_TMPDIR, "/usr/tmp"); variable_set2(VAR_APACHE_PKG, PACKAGE_APACHE); variable_set2(VAR_SAMBA_PKG, PACKAGE_SAMBA); diff --git a/usr.sbin/sade/menus.c b/usr.sbin/sade/menus.c index d01ca36..44af088 100644 --- a/usr.sbin/sade/menus.c +++ b/usr.sbin/sade/menus.c @@ -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.127 1997/03/19 10:09:22 jkh Exp $ + * $Id: menus.c,v 1.128 1997/03/21 05:18:20 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -285,7 +285,7 @@ DMenu MenuIndex = { /* The initial installation menu */ DMenu MenuInitial = { DMENU_NORMAL_TYPE, - "Welcome to FreeBSD!", /* title */ + "Welcome to FreeBSD! [" RELEASE_NAME "]", /* title */ "This is the main menu of the FreeBSD installation system. Please\n" /* prompt */ "select one of the options below by using the arrow keys or typing the\n" "first character of the option name you're interested in. Invoke an\n" @@ -571,9 +571,9 @@ DMenu MenuMediaFTP = { { "UK", "ftp.uk.freebsd.org", NULL, dmenuSetVariable, NULL, VAR_FTP_PATH "=ftp://ftp.uk.freebsd.org/pub/FreeBSD/" }, { "UK #2", "ftp2.uk.freebsd.org", NULL, dmenuSetVariable, NULL, - VAR_FTP_PATH "=ftp://ftp2.uk.freebsd.org/mirrors/FreeBSD/" }, + VAR_FTP_PATH "=ftp://ftp2.uk.freebsd.org/pub/FreeBSD/" }, { "UK #3", "ftp3.uk.freebsd.org", NULL, dmenuSetVariable, NULL, - VAR_FTP_PATH "=ftp://ftp3.uk.freebsd.org/pub/unix/FreeBSD/" }, + VAR_FTP_PATH "=ftp://ftp3.uk.freebsd.org/pub/FreeBSD/" }, { "USA", "ftp.freebsd.org", NULL, dmenuSetVariable, NULL, VAR_FTP_PATH "=ftp://ftp.freebsd.org/pub/FreeBSD/" }, { "USA #2", "ftp2.freebsd.org", NULL, dmenuSetVariable, NULL, diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c index 516f540..3e3f91a 100644 --- a/usr.sbin/sysinstall/dist.c +++ b/usr.sbin/sysinstall/dist.c @@ -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.102 1997/03/11 17:50:59 jkh Exp $ + * $Id: dist.c,v 1.103 1997/03/15 18:01:35 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -665,7 +665,7 @@ distExtractAll(dialogMenuItem *self) /* paranoia */ if (!Dists) { - if (!dmenuOpenSimple(&MenuDistributions, FALSE) && !Dists) + if (!dmenuOpenSimple(&MenuDistributions, FALSE) || !Dists) return DITEM_FAILURE | DITEM_RESTORE; } @@ -691,5 +691,3 @@ distExtractAll(dialogMenuItem *self) } return DITEM_SUCCESS; } - - diff --git a/usr.sbin/sysinstall/index.c b/usr.sbin/sysinstall/index.c index 51bbfc1..fef4347 100644 --- a/usr.sbin/sysinstall/index.c +++ b/usr.sbin/sysinstall/index.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id$ + * $Id: index.c,v 1.45 1997/02/07 04:26:10 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -56,12 +56,11 @@ _strdup(char *ptr) } static char *descrs[] = { - "Package Selection", "To mark a package or select a category, move to it and press SPACE.\n" - "To unmark a package, press SPACE again. To go to a previous menu,\n" - "select the Cancel button. To search for a package by name, press ESC.\n" - "To finally extract packages, you should Cancel all the way out of any\n" - "submenus and then this top menu. NOTE: The All category selection\n" - "creates a very large submenu. If you select it, please be patient.", + "Package Selection", "To mark a package, move to it and press SPACE. If the package is\n" + "already marked, it will be unmarked or deleted (if installed).\n" + "To search for a package by name, press ESC. To select a category,\n" + "press RETURN. NOTE: The All category selection creates a very large\n" + "submenu. If you select it, please be patient while it comes up.", "Package Targets", "These are the packages you've selected for extraction.\n\n" "If you're sure of these choices, select OK.\n" "If not, select Cancel to go back to the package selection menu.\n", @@ -85,6 +84,7 @@ static char *descrs[] = { "games", "Various and sundry amusements.", "graphics", "Graphics libraries and utilities.", "japanese", "Ported software for the Japanese market.", + "korean", "Ported software for the Korean market.", "lang", "Computer languages.", "languages", "Computer languages.", "libraries", "Software development libraries.", @@ -482,12 +482,22 @@ index_menu(PkgNodePtr top, PkgNodePtr plist, int *pos, int *scroll) while (1) { n = 0; curr = max = 0; + use_helpline(NULL); + use_helpfile(NULL); kp = top->kids; + if (!hasPackages && plist) { + nitems = item_add(nitems, " OK ", NULL, NULL, NULL, NULL, NULL, 0, &curr, &max); + nitems = item_add(nitems, " Install ", NULL, NULL, NULL, NULL, NULL, 0, &curr, &max); + } while (kp && kp->name) { char buf[256]; + IndexEntryPtr ie = kp->data; /* Brutally adjust description to fit in menu */ - SAFE_STRCPY(buf, kp->desc); + if (kp->type == PACKAGE) + snprintf(buf, sizeof buf, "[%s]", ie->path ? ie->path : "External vendor"); + else + SAFE_STRCPY(buf, kp->desc); if (strlen(buf) > (_MAX_DESC - maxname)) buf[_MAX_DESC - maxname] = '\0'; nitems = item_add(nitems, kp->name, buf, pkg_checked, pkg_fire, pkg_selected, kp, (int)plist, &curr, &max); @@ -501,9 +511,8 @@ recycle: dialog_clear_norefresh(); if (hasPackages) rval = dialog_checklist(top->name, top->desc, -1, -1, n > MAX_MENU ? MAX_MENU : n, -n, nitems, NULL); - else /* It's a categories menu */ - rval = dialog_menu(top->name, top->desc, -1, -1, n > MAX_MENU ? MAX_MENU : n, -n, - nitems, NULL, pos, scroll); + else + rval = dialog_menu(top->name, top->desc, -1, -1, n > MAX_MENU ? MAX_MENU : n, -n, nitems + (plist ? 2 : 0), (char *)plist, pos, scroll); if (rval == -1 && plist) { static char *cp; PkgNodePtr menu; diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c index eea143d..c84e44c 100644 --- a/usr.sbin/sysinstall/install.c +++ b/usr.sbin/sysinstall/install.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: install.c,v 1.177 1997/03/10 21:11:55 jkh Exp $ + * $Id: install.c,v 1.178 1997/03/18 07:02:32 mpp Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -971,6 +971,7 @@ installVarDefaults(dialogMenuItem *self) variable_set2(VAR_BROWSER_PACKAGE, PACKAGE_LYNX); variable_set2(VAR_BROWSER_BINARY, "/usr/local/bin/lynx"); variable_set2(VAR_FTP_STATE, "passive"); + variable_set2(VAR_NFS_SECURE, "YES"); variable_set2(VAR_PKG_TMPDIR, "/usr/tmp"); variable_set2(VAR_APACHE_PKG, PACKAGE_APACHE); variable_set2(VAR_SAMBA_PKG, PACKAGE_SAMBA); diff --git a/usr.sbin/sysinstall/menus.c b/usr.sbin/sysinstall/menus.c index d01ca36..44af088 100644 --- a/usr.sbin/sysinstall/menus.c +++ b/usr.sbin/sysinstall/menus.c @@ -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.127 1997/03/19 10:09:22 jkh Exp $ + * $Id: menus.c,v 1.128 1997/03/21 05:18:20 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -285,7 +285,7 @@ DMenu MenuIndex = { /* The initial installation menu */ DMenu MenuInitial = { DMENU_NORMAL_TYPE, - "Welcome to FreeBSD!", /* title */ + "Welcome to FreeBSD! [" RELEASE_NAME "]", /* title */ "This is the main menu of the FreeBSD installation system. Please\n" /* prompt */ "select one of the options below by using the arrow keys or typing the\n" "first character of the option name you're interested in. Invoke an\n" @@ -571,9 +571,9 @@ DMenu MenuMediaFTP = { { "UK", "ftp.uk.freebsd.org", NULL, dmenuSetVariable, NULL, VAR_FTP_PATH "=ftp://ftp.uk.freebsd.org/pub/FreeBSD/" }, { "UK #2", "ftp2.uk.freebsd.org", NULL, dmenuSetVariable, NULL, - VAR_FTP_PATH "=ftp://ftp2.uk.freebsd.org/mirrors/FreeBSD/" }, + VAR_FTP_PATH "=ftp://ftp2.uk.freebsd.org/pub/FreeBSD/" }, { "UK #3", "ftp3.uk.freebsd.org", NULL, dmenuSetVariable, NULL, - VAR_FTP_PATH "=ftp://ftp3.uk.freebsd.org/pub/unix/FreeBSD/" }, + VAR_FTP_PATH "=ftp://ftp3.uk.freebsd.org/pub/FreeBSD/" }, { "USA", "ftp.freebsd.org", NULL, dmenuSetVariable, NULL, VAR_FTP_PATH "=ftp://ftp.freebsd.org/pub/FreeBSD/" }, { "USA #2", "ftp2.freebsd.org", NULL, dmenuSetVariable, NULL, |