summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-06-29 02:22:48 +0000
committerjkh <jkh@FreeBSD.org>1996-06-29 02:22:48 +0000
commit090d9e95466ae470991c6f6e22e2e111c0236728 (patch)
treebe414feb50fbe8649ad8b2dac3b5424395d2813a /usr.sbin/sysinstall
parent9619e29bbae46a535e84c64c85cc0d6311599e8a (diff)
downloadFreeBSD-src-090d9e95466ae470991c6f6e22e2e111c0236728.zip
FreeBSD-src-090d9e95466ae470991c6f6e22e2e111c0236728.tar.gz
Copy the documentation files up into the release area - I've been doing
this by hand all along. Silly.
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r--usr.sbin/sysinstall/config.c18
-rw-r--r--usr.sbin/sysinstall/dist.h2
-rw-r--r--usr.sbin/sysinstall/menus.c4
-rw-r--r--usr.sbin/sysinstall/package.c7
-rw-r--r--usr.sbin/sysinstall/sysinstall.h13
5 files changed, 33 insertions, 11 deletions
diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c
index 870491f..474f706 100644
--- a/usr.sbin/sysinstall/config.c
+++ b/usr.sbin/sysinstall/config.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: config.c,v 1.37 1996/06/15 17:58:51 jkh Exp $
+ * $Id: config.c,v 1.38 1996/06/25 04:28:20 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -578,6 +578,22 @@ configGated(dialogMenuItem *self)
return ret;
}
+/* Load novell client/server package */
+int
+configNovell(dialogMenuItem *self)
+{
+ int ret = DITEM_SUCCESS;
+
+ if (variable_get(VAR_NOVELL))
+ variable_unset(VAR_NOVELL);
+ else {
+ ret = package_add("commerce/netcon/bsd60");
+ if (DITEM_STATUS(ret) == DITEM_SUCCESS)
+ variable_set2(VAR_NOVELL, "YES");
+ }
+ return ret;
+}
+
/* Load pcnfsd package */
int
configPCNFSD(dialogMenuItem *self)
diff --git a/usr.sbin/sysinstall/dist.h b/usr.sbin/sysinstall/dist.h
index c288c3d..5c1fce1 100644
--- a/usr.sbin/sysinstall/dist.h
+++ b/usr.sbin/sysinstall/dist.h
@@ -24,7 +24,7 @@
(DIST_BIN | DIST_DOC | DIST_MANPAGES | DIST_DICT | DIST_PROFLIBS | DIST_INFO | DIST_SRC)
#define _DIST_USER \
- (DIST_BIN | DIST_DOC | DIST_MANPAGES | DIST_DICT | DIST_COMPAT1X | DIST_COMPAT20)
+ (DIST_BIN | DIST_DOC | DIST_MANPAGES | DIST_DICT | DIST_COMPAT1X | DIST_COMPAT20 | DIST_COMPAT21)
#define _DIST_XDEV \
(DIST_XF86_BIN | DIST_XF86_LIB | DIST_XF86_PROG | DIST_XF86_MAN | DIST_XF86_SERVER | DIST_XF86_FONTS)
diff --git a/usr.sbin/sysinstall/menus.c b/usr.sbin/sysinstall/menus.c
index e9ddc05..3979657 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.72 1996/06/26 09:09:30 jkh Exp $
+ * $Id: menus.c,v 1.73 1996/06/27 07:03:44 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -1037,6 +1037,8 @@ aspects of your system's network configuration.",
dmenuVarCheck, dmenuToggleVariable, NULL, "gateway=YES" },
{ "Gated", "This machine wants to run gated instead of routed",
dmenuVarCheck, configGated, NULL, "gated" },
+ { "Novell", "Install the Novell client/server demo package",
+ dmenuVarCheck, configNovell, NULL, "novell" },
{ "Ntpdate", "Select a clock-syncronization server",
dmenuVarCheck, dmenuSubmenu, NULL, &MenuNTP, '[', 'X', ']', (int)"ntpdate" },
{ "Routed", "Set flags for routed (default: -q)",
diff --git a/usr.sbin/sysinstall/package.c b/usr.sbin/sysinstall/package.c
index b87adb3..a0bc1e4 100644
--- a/usr.sbin/sysinstall/package.c
+++ b/usr.sbin/sysinstall/package.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: package.c,v 1.38 1996/05/27 22:12:05 jkh Exp $
+ * $Id: package.c,v 1.39 1996/06/25 04:28:23 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -110,7 +110,10 @@ package_extract(Device *dev, char *name, Boolean depended)
variable_set2("PKG_TMPDIR", "/usr/tmp");
}
- sprintf(path, "packages/All/%s%s", name, strstr(name, ".tgz") ? "" : ".tgz");
+ if (!index(name, '/'))
+ sprintf(path, "packages/All/%s%s", name, strstr(name, ".tgz") ? "" : ".tgz");
+ else
+ sprintf(path, "%s%s", name, strstr(name, ".tgz") ? "" : ".tgz");
fd = dev->get(dev, path, TRUE);
if (fd >= 0) {
int i, tot, pfd[2];
diff --git a/usr.sbin/sysinstall/sysinstall.h b/usr.sbin/sysinstall/sysinstall.h
index 6905168..8dbf31a 100644
--- a/usr.sbin/sysinstall/sysinstall.h
+++ b/usr.sbin/sysinstall/sysinstall.h
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated to essentially a complete rewrite.
*
- * $Id: sysinstall.h,v 1.63 1996/06/16 23:17:35 jkh Exp $
+ * $Id: sysinstall.h,v 1.64 1996/06/17 21:48:33 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -117,6 +117,7 @@
#define VAR_NFS_SECURE "nfsSecure"
#define VAR_NFS_SERVER "nfs_server"
#define VAR_NO_CONFIRM "noConfirm"
+#define VAR_NOVELL "novell"
#define VAR_NTPDATE "ntpDate"
#define VAR_PCNFSD "pcnfsd"
#define VAR_PKG_TMPDIR "PKG_TMPDIR"
@@ -364,6 +365,11 @@ extern int configSaverTimeout(dialogMenuItem *self);
extern int configNTP(dialogMenuItem *self);
extern int configXFree86(dialogMenuItem *self);
extern int configRoutedFlags(dialogMenuItem *self);
+extern int configGated(dialogMenuItem *self);
+extern int configSamba(dialogMenuItem *self);
+extern int configPCNFSD(dialogMenuItem *self);
+extern int configNFSServer(dialogMenuItem *self);
+extern int configNovell(dialogMenuItem *self);
/* crc.c */
extern int crc(int, unsigned long *, unsigned long *);
@@ -470,11 +476,6 @@ extern int installFilesystems(dialogMenuItem *self);
extern int installVarDefaults(dialogMenuItem *self);
extern Boolean copySelf(void);
-/* installFinal.c */
-extern int configGated(dialogMenuItem *self);
-extern int configSamba(dialogMenuItem *self);
-extern int configPCNFSD(dialogMenuItem *self);
-extern int configNFSServer(dialogMenuItem *self);
/* label.c */
extern int diskLabelEditor(dialogMenuItem *self);
OpenPOWER on IntegriCloud