summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>2000-07-24 18:46:47 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>2000-07-24 18:46:47 +0000
commit0f37b82f56ce7fb7a298b88a501f5be09f289441 (patch)
tree13188ef0fb4a00ef341f28379b33b905be86f0a1
parent00fc993ecdf9b457670483aad50d470f6fd8bed3 (diff)
Notes
-rw-r--r--release/sysinstall/config.c35
-rw-r--r--release/sysinstall/dist.c11
-rw-r--r--release/sysinstall/globals.c2
-rw-r--r--release/sysinstall/help/distributions.hlp22
-rw-r--r--release/sysinstall/install.c38
-rw-r--r--release/sysinstall/sysinstall.h2
6 files changed, 2 insertions, 108 deletions
diff --git a/release/sysinstall/config.c b/release/sysinstall/config.c
index c0320c6bf17c..9805b094d3a0 100644
--- a/release/sysinstall/config.c
+++ b/release/sysinstall/config.c
@@ -364,41 +364,6 @@ configEnvironmentResolv(char *config)
}
}
-/* Set up the make.conf file */
-void
-configMake_conf(char *config)
-{
- char *lines[MAX_LINES];
- int i, nlines;
- FILE *fp;
-
- if (!file_readable(config)) {
- char *line = malloc(21);
- sprintf(line, "USA_RESIDENT=%s\n", USAResident ? "YES" : "NO");
- lines[0] = line;
- nlines = 1;
- }
- else {
- nlines = readConfig(config, lines, MAX_LINES);
- if (nlines == -1)
- return;
- for (i = 0; i < nlines; i++) {
- if (!strncmp(lines[i], "USA_RESIDENT", 12)) {
- free(lines[i]);
- lines[i] = malloc(21); /* big enough */
- sprintf(lines[i], "USA_RESIDENT=%s\n", USAResident ? "YES" : "NO");
- }
- }
- }
- if ((fp = fopen(config, "w")) != NULL) {
- for (i = 0; i < nlines; i++) {
- fprintf(fp, "%s", lines[i]);
- free(lines[i]);
- }
- fclose(fp);
- }
-}
-
/* Version of below for dispatch routines */
int
configRC(dialogMenuItem *unused)
diff --git a/release/sysinstall/dist.c b/release/sysinstall/dist.c
index ed54c2bdf44c..cae87cb9401a 100644
--- a/release/sysinstall/dist.c
+++ b/release/sysinstall/dist.c
@@ -391,21 +391,14 @@ distMaybeSetCRYPTO(dialogMenuItem *self)
"If you choose No, FreeBSD will use an MD5-based password scheme which,\n"
"while more secure, is not interoperable with the traditional\n"
"DES-based passwords used on other Unix systems.\n\n"
- "Please do NOT choose Yes at this point if you are outside the United\n"
- "States and Canada and are installing from a U.S. FTP server (installing\n"
- "from the CD is fine). Instead, install everything but the crypto bits\n"
- "from the U.S. site and then switch to an international FTP server to\n"
- "install crypto on a second pass with the Custom Installation option.\n\n"
"Note that the international crypto distribution has a better\n"
- "implementation of the RSA algorithm, which cannot be used in the U.S.\n"
- "for patent reasons.\n")) {
+ "implementation of the RSA algorithm, which is patented in the U.S.\n"
+ "If you are in the USA, use crypto + the rsaref port/package\n.")) {
if (!dmenuOpenSimple(&MenuCRYPTODistributions, FALSE))
i = DITEM_FAILURE;
}
dialog_clear_norefresh();
- USAResident = !msgYesNo("Are you actually resident in the United States?");
-
distVerifyFlags();
return i | DITEM_REDRAW | DITEM_RESTORE;
}
diff --git a/release/sysinstall/globals.c b/release/sysinstall/globals.c
index 2dccef2ab6fc..b12dbd89c9b7 100644
--- a/release/sysinstall/globals.c
+++ b/release/sysinstall/globals.c
@@ -47,7 +47,6 @@ Boolean RunningAsInit; /* Are we running as init? */
Boolean DialogActive; /* Is libdialog initialized? */
Boolean ColorDisplay; /* Are we on a color display? */
Boolean OnVTY; /* Are we on a VTY? */
-Boolean USAResident; /* Are we cryptographically challenged? */
Variable *VarHead; /* The head of the variable chain */
Device *mediaDevice; /* Where we're installing from */
int BootMgr; /* Which boot manager we're using */
@@ -69,5 +68,4 @@ globalsInit(void)
VarHead = NULL;
mediaDevice = NULL;
RunningAsInit = FALSE;
- USAResident = FALSE;
}
diff --git a/release/sysinstall/help/distributions.hlp b/release/sysinstall/help/distributions.hlp
index 393aceef88f7..53b691f9ec1c 100644
--- a/release/sysinstall/help/distributions.hlp
+++ b/release/sysinstall/help/distributions.hlp
@@ -40,25 +40,3 @@ Custom: Allows you to create or modify your distribution set on
a piece-by-piece basis.
Reset: Clear all currently selected distributions.
-
----
-
-ENCRYPTION SOFTWARE:
---------------------
-You may notice that certain distributions, like "crypto" are marked
-"NOT FOR EXPORT!" This is because it's illegal to export them from
-the United States (or any other country which considers encryption
-technology to be on its restricted export list) and/or the technologies
-are covered by certain patents. Since breaking this law only gets
-the _originating_ site (US!) in trouble, please do not load these
-distributions from U.S. servers! We don't like these restrictions
-any more than you do, but can't do much about it (write your U.S.
-congress person or wait for the RSA patent to expire).
-
-A number of "foreign" servers do exist for the benefit of
-non-U.S. sites, the official site being:
-
- ftp://ftp.internat.freebsd.org/pub/FreeBSD
-
-Please get all such export restricted software from there
-if you are outside the U.S., thanks!
diff --git a/release/sysinstall/install.c b/release/sysinstall/install.c
index 281cfeb4aa95..afe059f54022 100644
--- a/release/sysinstall/install.c
+++ b/release/sysinstall/install.c
@@ -575,43 +575,6 @@ nodisks:
(void)configLinux(self);
#endif
-#ifdef notyet
- dialog_clear();
- if (USAResident) {
- if (!msgYesNo("I see that you are \"USA_RESIDENT\" according to your earlier\n"
- "response to the CRYPTO distribution dialog. Do you want to try and\n"
- "load the rsaref package from the current media? Some restrictions on\n"
- "usage may apply, so be sure to read the package installation output!")) {
- dialog_clear();
- _interactiveHack = 1;
- if (DITEM_STATUS(package_add("rsaref")) != DITEM_SUCCESS) {
- msgConfirm("Unable to find an rsaref package on the current intallation media.\n"
- "This is probably because you are installing from a CDROM which\n"
- "was produced for world-wide use, in which case the RSA patent\n"
- "prevents distribution of RSA code on CD. Please change your\n"
- "media device to point to an International FTP server and install\n"
- "the rsaref package manually through the Packages menu.");
- }
- dialog_clear();
- _interactiveHack = 0;
- }
- }
- else {
- if (!msgYesNo("I see that you are not \"USA_RESIDENT\" according to your earlier\n"
- "response to the CRYPTO distribution dialog. Do you want to try and\n"
- "load the rsaintl package from the current media?")) {
- if (DITEM_STATUS(package_add("rsaintl")) != DITEM_SUCCESS) {
- msgConfirm("Unable to find an rsaintl package on the current intallation media.\n"
- "This is probably because you are installing from a CDROM which\n"
- "was produced for use in the USA, in which case the RSA patent\n"
- "prevents distribution of RSA code on CD. Please change your\n"
- "media device to point to an International FTP server and install\n"
- "the rsaintl package manually through the Packages menu.");
- }
- }
- }
-#endif /* notyet */
-
dialog_clear_norefresh();
if (!msgYesNo("Does this system have a non-USB mouse attached to it?"))
dmenuOpenSimple(&MenuMouse, FALSE);
@@ -1109,7 +1072,6 @@ installEnvironment(void)
configEnvironmentRC_conf();
if (file_readable("/etc/resolv.conf"))
configEnvironmentResolv("/etc/resolv.conf");
- configMake_conf("/etc/make.conf");
}
/* Copy the boot floppy contents into /stand */
diff --git a/release/sysinstall/sysinstall.h b/release/sysinstall/sysinstall.h
index 0ff848085800..a0f9fcc362e9 100644
--- a/release/sysinstall/sysinstall.h
+++ b/release/sysinstall/sysinstall.h
@@ -346,7 +346,6 @@ extern Boolean RunningAsInit; /* Are we running stand-alone? */
extern Boolean DialogActive; /* Is the dialog() stuff up? */
extern Boolean ColorDisplay; /* Are we on a color display? */
extern Boolean OnVTY; /* On a syscons VTY? */
-Boolean USAResident; /* Are we cryptographically challenged? */
extern Variable *VarHead; /* The head of the variable chain */
extern Device *mediaDevice; /* Where we're getting our distribution from */
extern unsigned int Dists; /* Which distributions we want */
@@ -428,7 +427,6 @@ extern void command_func_add(char *key, commandFunc func, void *data);
extern void configEnvironmentRC_conf(void);
extern void configEnvironmentResolv(char *config);
extern void configRC_conf(void);
-extern void configMake_conf(char *config);
extern int configFstab(dialogMenuItem *self);
extern int configRC(dialogMenuItem *self);
extern int configResolv(dialogMenuItem *self);