diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/askrunlevel/lilo.cc linuxconf-1.14r3/askrunlevel/lilo.cc *** linuxconf-1.14r2/askrunlevel/lilo.cc Wed Mar 3 14:28:44 1999 --- linuxconf-1.14r3/askrunlevel/lilo.cc Tue Apr 6 22:52:30 1999 *************** *** 594,598 **** ,"LILO is used to boot this system")); FSTAB fstab; - int field_boot_sector = dia.getnb(); FIELD_COMBO *comb = dia.newf_combo (MSG_U(F_INSTBOOT ,"Install boot sector on"),boot); --- 594,597 ---- *************** *** 632,646 **** if (code == MENU_CANCEL || code == MENU_ESCAPE){ break; - }else if (boot.cmp("/dev/fd0")!=0 - && boot.cmp("/dev/hda")!=0 - && boot.cmp("/dev/sda")!=0 - && parts->getitem(boot.get())==NULL){ - xconf_error (MSG_U(E_IVLSECTOR - ,"Invalid partition or device for boot sector\n" - "installation")); - nof = field_boot_sector; }else if (validate_parm(def,no_empty_root,nof) == -1){ nof += first_parm; }else{ ret = save(); break; --- 631,646 ---- if (code == MENU_CANCEL || code == MENU_ESCAPE){ break; }else if (validate_parm(def,no_empty_root,nof) == -1){ nof += first_parm; }else{ + if (boot.cmp("/dev/fd0")!=0 + && boot.cmp("/dev/hda")!=0 + && boot.cmp("/dev/sda")!=0 + && parts->getitem(boot.get())==NULL){ + xconf_notice (MSG_U(E_IVLSECTOR + ,"Unusual partition or device for boot sector\n" + "installation. This will probably yield a non\n" + "bootable system.")); + } ret = save(); break; diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/help.files/sources/main/intro-1.html linuxconf-1.14r3/help.files/sources/main/intro-1.html *** linuxconf-1.14r2/help.files/sources/main/intro-1.html Wed Mar 3 14:36:17 1999 --- linuxconf-1.14r3/help.files/sources/main/intro-1.html Fri Apr 2 12:51:43 1999 *************** *** 3,7 **** ! Linuxconf 1.13: What is Linuxconf --- 3,7 ---- ! Linuxconf 1.14: What is Linuxconf diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/help.files/sources/main/intro-2.html linuxconf-1.14r3/help.files/sources/main/intro-2.html *** linuxconf-1.14r2/help.files/sources/main/intro-2.html Wed Mar 3 14:36:19 1999 --- linuxconf-1.14r3/help.files/sources/main/intro-2.html Fri Apr 2 12:51:44 1999 *************** *** 3,7 **** ! Linuxconf 1.13: Command line usage --- 3,7 ---- ! Linuxconf 1.14: Command line usage diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/help.files/sources/main/intro-3.html linuxconf-1.14r3/help.files/sources/main/intro-3.html *** linuxconf-1.14r2/help.files/sources/main/intro-3.html Wed Mar 3 14:36:19 1999 --- linuxconf-1.14r3/help.files/sources/main/intro-3.html Fri Apr 2 12:51:44 1999 *************** *** 3,7 **** ! Linuxconf 1.13: The WWW interface --- 3,7 ---- ! Linuxconf 1.14: The WWW interface diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/help.files/sources/main/intro-4.html linuxconf-1.14r3/help.files/sources/main/intro-4.html *** linuxconf-1.14r2/help.files/sources/main/intro-4.html Wed Mar 3 14:36:19 1999 --- linuxconf-1.14r3/help.files/sources/main/intro-4.html Fri Apr 2 12:51:45 1999 *************** *** 3,7 **** ! Linuxconf 1.13: General information --- 3,7 ---- ! Linuxconf 1.14: General information diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/help.files/sources/main/intro-5.html linuxconf-1.14r3/help.files/sources/main/intro-5.html *** linuxconf-1.14r2/help.files/sources/main/intro-5.html Wed Mar 3 14:36:19 1999 --- linuxconf-1.14r3/help.files/sources/main/intro-5.html Fri Apr 2 12:51:45 1999 *************** *** 3,7 **** ! Linuxconf 1.13: Mailing list --- 3,7 ---- ! Linuxconf 1.14: Mailing list diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/help.files/sources/main/intro.html linuxconf-1.14r3/help.files/sources/main/intro.html *** linuxconf-1.14r2/help.files/sources/main/intro.html Wed Mar 3 14:36:19 1999 --- linuxconf-1.14r3/help.files/sources/main/intro.html Fri Apr 2 12:51:45 1999 *************** *** 3,7 **** ! Linuxconf 1.13 --- 3,7 ---- ! Linuxconf 1.14 *************** *** 13,17 **** Contents
!

Linuxconf 1.13

Introduction

--- 13,17 ---- Contents
!

Linuxconf 1.14

Introduction

diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/help.files/sources/main/intro.sgml linuxconf-1.14r3/help.files/sources/main/intro.sgml *** linuxconf-1.14r2/help.files/sources/main/intro.sgml Mon Mar 1 13:48:26 1999 --- linuxconf-1.14r3/help.files/sources/main/intro.sgml Fri Apr 2 12:51:14 1999 *************** *** 1,5 ****
! Linuxconf 1.13 Introduction --- 1,5 ----
! Linuxconf 1.14 Introduction diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/help.files/sources/main/introweb.html linuxconf-1.14r3/help.files/sources/main/introweb.html *** linuxconf-1.14r2/help.files/sources/main/introweb.html Wed Dec 31 19:00:00 1969 --- linuxconf-1.14r3/help.files/sources/main/introweb.html Fri Apr 2 12:51:21 1999 *************** *** 0 **** --- 1,48 ---- + + + Linuxconf 1.14r2 + + +

Linuxconf 1.14r2

+
+

1. What is Linuxconf

+ +

+ Welcome to Linuxconf, an interactive configuration and administration + utility for the Linux operating system. +

+ Linuxconf has been created both to help administer + a linux server or workstation and to highlight the underlying + power of the Linux operating system. +

+ It lets you manage + +

    +
  • Boot and boot services +
  • Date & time +
  • DNS +
  • Email (sendmail) +
  • File systems and file services +
  • Firewalls +
  • Network connectivity +
  • User accounts +
  • UUCP +
+

+

Start
+

+

+

Special entries to linuxconf
+

+
+
Email the author +

+ + Managed by linuxconf + + + Powered by Linux + + + + diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/messages/sources/apache.dic linuxconf-1.14r3/messages/sources/apache.dic *** linuxconf-1.14r2/messages/sources/apache.dic Wed Mar 3 15:57:30 1999 --- linuxconf-1.14r3/messages/sources/apache.dic Wed Apr 7 01:39:21 1999 *************** *** 1,3 **** ! @version 2 !M_DEFAULT :E Defaults --- 1,3 ---- ! @version 3 !M_DEFAULT :E Defaults diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/messages/sources/askrunlevel.dic linuxconf-1.14r3/messages/sources/askrunlevel.dic *** linuxconf-1.14r2/messages/sources/askrunlevel.dic Tue Sep 29 14:46:03 1998 --- linuxconf-1.14r3/messages/sources/askrunlevel.dic Tue Apr 6 22:52:34 1999 *************** *** 117,121 **** :E You must specify the root partition !E_IVLSECTOR ! :E Invalid partition or device for boot sector\ninstallation !T_ACTLILO :E Activating LILO configuration --- 117,123 ---- :E You must specify the root partition !E_IVLSECTOR ! :E Unusual partition or device for boot sector\n ! +installation. This will probably yield a non\n ! +bootable system. !T_ACTLILO :E Activating LILO configuration diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/messages/sources/dnsconf.dic linuxconf-1.14r3/messages/sources/dnsconf.dic *** linuxconf-1.14r2/messages/sources/dnsconf.dic Sat Mar 27 11:22:10 1999 --- linuxconf-1.14r3/messages/sources/dnsconf.dic Wed Apr 7 02:19:01 1999 *************** *** 1,3 **** ! @version 14 !F_IPADR :E IP address --- 1,3 ---- ! @version 15 !F_IPADR :E IP address *************** *** 290,295 **** !E_EXPECTARG1 :E Expect argument followed by a semi-colon - !E_IVLDTOKEN - :E Invalid keyword %s !E_EXPECTTYPE :E Expected either master, slave or hint --- 290,293 ---- *************** *** 372,373 **** --- 370,373 ---- !F_ACLNAME :E Name + !F_NOTIFY + :E Notify diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/messages/sources/mailconf.dic linuxconf-1.14r3/messages/sources/mailconf.dic *** linuxconf-1.14r2/messages/sources/mailconf.dic Mon Mar 8 21:08:20 1999 --- linuxconf-1.14r3/messages/sources/mailconf.dic Sun Apr 4 09:55:33 1999 *************** *** 25,31 **** :E Edit global mail aliases !IEDITALIASES ! :E You are allowed to edit/add/deleted\nsystem wide aliases for electronic mail !I_NEWALIAS ! :E Select [Add] to add a new aliase !P_WRITE :E write %s --- 25,31 ---- :E Edit global mail aliases !IEDITALIASES ! :E You are allowed to edit/add/delete\nsystem wide aliases for electronic mail !I_NEWALIAS ! :E Select [Add] to add a new alias !P_WRITE :E write %s *************** *** 538,539 **** --- 538,541 ---- !F_QUOTA :E Limit user inbox to (k) + !H_MALIASES + :E Aliases diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/messages/sources/status.dic linuxconf-1.14r3/messages/sources/status.dic *** linuxconf-1.14r2/messages/sources/status.dic Wed Mar 3 14:43:44 1999 --- linuxconf-1.14r3/messages/sources/status.dic Wed Apr 7 01:55:25 1999 *************** *** 37,38 **** --- 37,40 ---- !E_NOTDONE :E Not done yet! + !M_MD + :E RAID (MD) usage diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/misc/ipstuff.cc linuxconf-1.14r3/misc/ipstuff.cc *** linuxconf-1.14r2/misc/ipstuff.cc Thu Jul 31 00:29:51 1997 --- linuxconf-1.14r3/misc/ipstuff.cc Wed Apr 7 02:43:14 1999 *************** *** 63,67 **** char *pt = buf; for (int i=0; i<4 && a[i] != -1; i++){ ! pt += sprintf (pt,ctl,a[i]); ctl = ".%d"; } --- 63,67 ---- char *pt = buf; for (int i=0; i<4 && a[i] != -1; i++){ ! pt += ::sprintf (pt,ctl,a[i]); ctl = ".%d"; } *************** *** 78,82 **** { for (int i=nbn-1; i>=0; i--){ ! str += sprintf (str,"%u.",a[i]); } strcpy (str,"IN-ADDR.ARPA"); --- 78,82 ---- { for (int i=nbn-1; i>=0; i--){ ! str += ::sprintf (str,"%u.",a[i]); } strcpy (str,"IN-ADDR.ARPA"); *************** *** 93,97 **** for (int i=3; i>=0; i--){ if (a[i] != -1){ ! str += sprintf (str,"%d.",a[i]); } } --- 93,97 ---- for (int i=3; i>=0; i--){ if (a[i] != -1){ ! str += ::sprintf (str,"%d.",a[i]); } } diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/misc/timestr.cc linuxconf-1.14r3/misc/timestr.cc *** linuxconf-1.14r2/misc/timestr.cc Tue Jan 6 03:02:01 1998 --- linuxconf-1.14r3/misc/timestr.cc Wed Apr 7 02:42:44 1999 *************** *** 42,46 **** int secs = remain % 60; char buf[20]; ! sprintf (buf,"%ld:%02ld:%02d:%02d",days,hours,minutes,secs); SSTRING::setfrom (buf); }else{ --- 42,46 ---- int secs = remain % 60; char buf[20]; ! ::sprintf (buf,"%ld:%02ld:%02d:%02d",days,hours,minutes,secs); SSTRING::setfrom (buf); }else{ diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/modules/apache/apache.m linuxconf-1.14r3/modules/apache/apache.m *** linuxconf-1.14r2/modules/apache/apache.m Wed Mar 3 15:57:30 1999 --- linuxconf-1.14r3/modules/apache/apache.m Wed Apr 7 01:39:21 1999 *************** *** 3,7 **** #define DICTIONARY_REQUEST \ const char **_dictionary_apache;\ ! TRANSLATE_SYSTEM_REQ _dictionary_req_apache("apache",_dictionary_apache,67,2);\ void dummy_dict_apache(){} #endif --- 3,7 ---- #define DICTIONARY_REQUEST \ const char **_dictionary_apache;\ ! TRANSLATE_SYSTEM_REQ _dictionary_req_apache("apache",_dictionary_apache,67,3);\ void dummy_dict_apache(){} #endif diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/modules/apache/httpd.cc linuxconf-1.14r3/modules/apache/httpd.cc *** linuxconf-1.14r2/modules/apache/httpd.cc Mon Mar 29 11:53:22 1999 --- linuxconf-1.14r3/modules/apache/httpd.cc Wed Apr 7 01:38:14 1999 *************** *** 47,50 **** --- 47,51 ---- static const char MAXREQUESTSPERCHILD[]="MaxRequestsPerChild"; static const char VIRTUALHOST[]="VirtualHost"; + static const char NAMEVIRTUALHOST[]="nameVirtualHost"; static const char TIMEOUT[]="Timeout"; static const char MINSPARESERVERS[]="MinSpareServers"; diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/modules/dnsconf/dns.cc linuxconf-1.14r3/modules/dnsconf/dns.cc *** linuxconf-1.14r2/modules/dnsconf/dns.cc Sun Mar 28 11:02:55 1999 --- linuxconf-1.14r3/modules/dnsconf/dns.cc Wed Apr 7 02:17:47 1999 *************** *** 215,218 **** --- 215,220 ---- }else if (strcmp(tok,K_RECURSION)==0){ options.no_recursion = !lex.getarg_yesno(); + }else if (strcmp(tok,K_NOTIFY)==0){ + options.notify = lex.getarg_yesno(); }else{ UNKNOWN *un = new UNKNOWN; *************** *** 260,264 **** SSTRING zone,file; SSTRINGS masters,allowtrans,allowquery,allowupdate,alsonotify; ! bool notify = false; zone.setfrom (lex.gettoken()); const char *tok = lex.gettoken(); --- 262,266 ---- SSTRING zone,file; SSTRINGS masters,allowtrans,allowquery,allowupdate,alsonotify; ! char notify = NOTIFY_DEFAULT; zone.setfrom (lex.gettoken()); const char *tok = lex.gettoken(); *************** *** 446,449 **** --- 448,452 ---- options.query_log=0; options.fake_iquery=0; + options.notify=true; //notify is enabled by default (bind8) pathcfg.setfrom ("/var/named"); /* #Specification: dns / bind4 and bind8 *************** *** 507,510 **** --- 510,518 ---- } + PUBLIC bool DNS::getnotify() const + { + return options.notify; + } + PUBLIC void DNS::basiccheck() { *************** *** 626,629 **** --- 634,640 ---- fprintf (fout,"\t%s no;\n",K_RECURSION); } + if (options.notify==false){ + fprintf (fout,"\t%s no;\n",K_NOTIFY); + } dns_writeopts (forwarders,K_FORWARDERS,fout); dns_writeopts (options.allowtrans,K_ALLOW_TRANSFER,fout); *************** *** 642,647 **** } const char *named_dir = pathcfg.get(); ! ret = primarys.write(true,fout,named_dir); ! ret |= primarys_rev.write(true,fout,named_dir); secondarys.write(true,fout,named_dir); ret |= fclose (fout); --- 653,658 ---- } const char *named_dir = pathcfg.get(); ! ret = primarys.write(true,fout,named_dir,this); ! ret |= primarys_rev.write(true,fout,named_dir,this); secondarys.write(true,fout,named_dir); ret |= fclose (fout); *************** *** 658,663 **** } const char *named_dir = pathcfg.get(); ! ret = primarys.write(false,fout,named_dir); ! ret = primarys_rev.write(false,fout,named_dir); secondarys.write(false,fout,named_dir); if (forwarders.getnb() > 0){ --- 669,674 ---- } const char *named_dir = pathcfg.get(); ! ret = primarys.write(false,fout,named_dir,this); ! ret = primarys_rev.write(false,fout,named_dir,this); secondarys.write(false,fout,named_dir); if (forwarders.getnb() > 0){ diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/modules/dnsconf/dnsconf.h linuxconf-1.14r3/modules/dnsconf/dnsconf.h *** linuxconf-1.14r2/modules/dnsconf/dnsconf.h Sun Mar 28 11:05:50 1999 --- linuxconf-1.14r3/modules/dnsconf/dnsconf.h Wed Apr 7 02:19:07 1999 *************** *** 26,29 **** --- 26,31 ---- #endif + #define NOTIFY_DEFAULT 2 + enum RECORD_TYPE{ RTYPE_COMMENT, *************** *** 285,289 **** int write (bool bind8, FILE *fout, ! const char *named_dir)const; /*~PROTOEND~ PRIMARY */ }; --- 287,292 ---- int write (bool bind8, FILE *fout, ! const char *named_dir, ! const DNS *dns)const; /*~PROTOEND~ PRIMARY */ }; *************** *** 328,332 **** int write (bool bind8, FILE *fout, ! const char *named_dir)const; /*~PROTOEND~ PRIMARYS */ }; --- 331,336 ---- int write (bool bind8, FILE *fout, ! const char *named_dir, ! const DNS *dns)const; /*~PROTOEND~ PRIMARYS */ }; *************** *** 418,421 **** --- 422,426 ---- char query_log; char fake_iquery; + char notify; SSTRINGS listenon; SSTRINGS allowtrans; *************** *** 525,528 **** --- 530,534 ---- SECONDARY *findsecond (const char *name)const; void getalladr (IP_ADDRS&adrs); + bool getnotify (void)const; long getrevdate (void); private: diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/modules/dnsconf/dnsconf.m linuxconf-1.14r3/modules/dnsconf/dnsconf.m *** linuxconf-1.14r2/modules/dnsconf/dnsconf.m Sat Mar 27 11:22:10 1999 --- linuxconf-1.14r3/modules/dnsconf/dnsconf.m Wed Apr 7 02:19:01 1999 *************** *** 3,7 **** #define DICTIONARY_REQUEST \ const char **_dictionary_dnsconf;\ ! TRANSLATE_SYSTEM_REQ _dictionary_req_dnsconf("dnsconf",_dictionary_dnsconf,158,14);\ void dummy_dict_dnsconf(){} #endif --- 3,7 ---- #define DICTIONARY_REQUEST \ const char **_dictionary_dnsconf;\ ! TRANSLATE_SYSTEM_REQ _dictionary_req_dnsconf("dnsconf",_dictionary_dnsconf,158,15);\ void dummy_dict_dnsconf(){} #endif *************** *** 133,173 **** #define E_BIND8LEX 117 #define E_EXPECTARG1 118 ! #define E_IVLDTOKEN 119 ! #define E_EXPECTTYPE 120 ! #define E_IVLDIP 121 ! #define E_ZONETYPE 122 ! #define E_EXPECTED 123 ! #define E_IVLDHOSTIP 124 ! #define E_SETHOSTPART 125 ! #define F_ALLOWTRANS 126 ! #define F_ALLOWQUERY 127 ! #define F_LISTENON 128 ! #define T_ACCESS 129 ! #define F_ALLOWUPDATE 130 ! #define F_ALSONOTIFY 131 ! #define H_ACLS 132 ! #define I_ADDMATCH 133 ! #define T_ACL 134 ! #define I_ADDACL 135 ! #define T_ACLS 136 ! #define M_ACL 137 ! #define M_LOGGING 138 ! #define H_ACL 139 ! #define I_DELACL 140 ! #define M_SECURITY 141 ! #define F_NETHOSTACL 142 ! #define F_NETSIZE 143 ! #define I_DELADDR 144 ! #define T_ADDRMATCH 145 ! #define I_ADDRMATCH 146 ! #define E_HOSTIP 147 ! #define E_IVLDACL 148 ! #define E_NETWORKIP 149 ! #define E_NETSIZE 150 ! #define M_ACCESS 151 ! #define T_DNSACCESS 152 ! #define B_EDITNAME 153 ! #define T_ACLNAME 154 ! #define I_ACLNAME 155 ! #define E_NOSPACE 156 ! #define F_ACLNAME 157 --- 133,173 ---- #define E_BIND8LEX 117 #define E_EXPECTARG1 118 ! #define E_EXPECTTYPE 119 ! #define E_IVLDIP 120 ! #define E_ZONETYPE 121 ! #define E_EXPECTED 122 ! #define E_IVLDHOSTIP 123 ! #define E_SETHOSTPART 124 ! #define F_ALLOWTRANS 125 ! #define F_ALLOWQUERY 126 ! #define F_LISTENON 127 ! #define T_ACCESS 128 ! #define F_ALLOWUPDATE 129 ! #define F_ALSONOTIFY 130 ! #define H_ACLS 131 ! #define I_ADDMATCH 132 ! #define T_ACL 133 ! #define I_ADDACL 134 ! #define T_ACLS 135 ! #define M_ACL 136 ! #define M_LOGGING 137 ! #define H_ACL 138 ! #define I_DELACL 139 ! #define M_SECURITY 140 ! #define F_NETHOSTACL 141 ! #define F_NETSIZE 142 ! #define I_DELADDR 143 ! #define T_ADDRMATCH 144 ! #define I_ADDRMATCH 145 ! #define E_HOSTIP 146 ! #define E_IVLDACL 147 ! #define E_NETWORKIP 148 ! #define E_NETSIZE 149 ! #define M_ACCESS 150 ! #define T_DNSACCESS 151 ! #define B_EDITNAME 152 ! #define T_ACLNAME 153 ! #define I_ACLNAME 154 ! #define E_NOSPACE 155 ! #define F_ACLNAME 156 ! #define F_NOTIFY 157 diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/modules/dnsconf/dnsconf.p linuxconf-1.14r3/modules/dnsconf/dnsconf.p *** linuxconf-1.14r2/modules/dnsconf/dnsconf.p Sun Mar 28 11:05:50 1999 --- linuxconf-1.14r3/modules/dnsconf/dnsconf.p Wed Apr 7 02:19:06 1999 *************** *** 2,6 **** /* acl.cc 27/03/99 11.12.28 */ /* bind8.cc 26/03/99 23.12.20 */ ! /* dns.cc 28/03/99 11.02.54 */ void dns_writeopts (const SSTRINGS&tb, const char *keyword, --- 2,6 ---- /* acl.cc 27/03/99 11.12.28 */ /* bind8.cc 26/03/99 23.12.20 */ ! /* dns.cc 07/04/99 02.17.46 */ void dns_writeopts (const SSTRINGS&tb, const char *keyword, *************** *** 21,25 **** void dns_lexcheck (SSTRING&s, int &nof, int new_nof, int &err); void dns_lexcheck (SSTRINGS&tb, int &nof, int new_nof, int &err); ! /* features.cc 27/03/99 11.15.16 */ void feature_editlist (DIALOG&dia, int level, --- 21,25 ---- void dns_lexcheck (SSTRING&s, int &nof, int new_nof, int &err); void dns_lexcheck (SSTRINGS&tb, int &nof, int new_nof, int &err); ! /* features.cc 07/04/99 02.15.06 */ void feature_editlist (DIALOG&dia, int level, *************** *** 32,36 **** void ipmap_edit (void); int ipmap_allocateip (const char *range, char *ip, DNS&dns); ! /* logging.cc 28/03/99 11.05.38 */ /* misc.cc 30/07/97 23.45.38 */ void dns_cnv2abs (SSTRING&s); --- 32,36 ---- void ipmap_edit (void); int ipmap_allocateip (const char *range, char *ip, DNS&dns); ! /* logging.cc 28/03/99 11.25.22 */ /* misc.cc 30/07/97 23.45.38 */ void dns_cnv2abs (SSTRING&s); *************** *** 40,44 **** void dnsconf_updatedns (bool silent); /* origin.cc 20/03/99 08.10.52 */ ! /* primary.cc 26/03/99 20.41.32 */ /* primbydom.cc 20/12/98 14.41.44 */ /* primquery.cc 23/07/97 22.55.18 */ --- 40,44 ---- void dnsconf_updatedns (bool silent); /* origin.cc 20/03/99 08.10.52 */ ! /* primary.cc 07/04/99 02.18.54 */ /* primbydom.cc 20/12/98 14.41.44 */ /* primquery.cc 23/07/97 22.55.18 */ diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/modules/dnsconf/dnsconf.pm linuxconf-1.14r3/modules/dnsconf/dnsconf.pm *** linuxconf-1.14r2/modules/dnsconf/dnsconf.pm Sun Mar 28 11:05:50 1999 --- linuxconf-1.14r3/modules/dnsconf/dnsconf.pm Wed Apr 7 02:19:06 1999 *************** *** 36,40 **** PUBLIC int BIND8_LEXPARSE::expect (const char *s); PUBLIC const char *BIND8_LEXPARSE::getcomment (void); ! /* dns.cc 28/03/99 11.02.54 */ PUBLIC CONFIG_FILE_DNS::CONFIG_FILE_DNS (const char *_path); PUBLIC int CONFIG_FILE_DNS::extract (SSTREAM&ss); --- 36,40 ---- PUBLIC int BIND8_LEXPARSE::expect (const char *s); PUBLIC const char *BIND8_LEXPARSE::getcomment (void); ! /* dns.cc 07/04/99 02.17.46 */ PUBLIC CONFIG_FILE_DNS::CONFIG_FILE_DNS (const char *_path); PUBLIC int CONFIG_FILE_DNS::extract (SSTREAM&ss); *************** *** 56,59 **** --- 56,60 ---- PUBLIC DNS::DNS (bool extract); PUBLIC int DNS::empty (void); + PUBLIC bool DNS::getnotify (void)const; PUBLIC void DNS::basiccheck (void); PRIVATE void DNS::mkzonedir (void); *************** *** 113,117 **** PUBLIC void DNS::editone (const char *name); PUBLIC void DNS::editrecs (const char *preset); ! /* features.cc 27/03/99 11.15.16 */ PUBLIC void DNS::editaccess (void); PUBLIC void DNS::editfeatures (void); --- 114,118 ---- PUBLIC void DNS::editone (const char *name); PUBLIC void DNS::editrecs (const char *preset); ! /* features.cc 07/04/99 02.15.06 */ PUBLIC void DNS::editaccess (void); PUBLIC void DNS::editfeatures (void); *************** *** 140,144 **** char *ip, DNS&dns); ! /* logging.cc 28/03/99 11.05.38 */ PUBLIC void UNKNOWN::add (const char *token, const char *comment); PUBLIC void UNKNOWN::write (FILE *fout, int level); --- 141,145 ---- char *ip, DNS&dns); ! /* logging.cc 28/03/99 11.25.22 */ PUBLIC void UNKNOWN::add (const char *token, const char *comment); PUBLIC void UNKNOWN::write (FILE *fout, int level); *************** *** 182,186 **** PUBLIC int ORIGINS::save (const char *named_dir, const char *fname)const; ! /* primary.cc 26/03/99 20.41.32 */ PUBLIC PRIMARY::PRIMARY (const char *_domain, const char *_file, --- 183,187 ---- PUBLIC int ORIGINS::save (const char *named_dir, const char *fname)const; ! /* primary.cc 07/04/99 02.18.54 */ PUBLIC PRIMARY::PRIMARY (const char *_domain, const char *_file, *************** *** 212,216 **** PUBLIC int PRIMARY::write (bool bind8, FILE *fout, ! const char *named_dir)const; PUBLIC void PRIMARY::addrec (RECORD *rec); PUBLIC void PRIMARY::setupdia (DIALOG&dia, --- 213,218 ---- PUBLIC int PRIMARY::write (bool bind8, FILE *fout, ! const char *named_dir, ! const DNS *dns)const; PUBLIC void PRIMARY::addrec (RECORD *rec); PUBLIC void PRIMARY::setupdia (DIALOG&dia, *************** *** 228,232 **** PUBLIC int PRIMARYS::write (bool bind8, FILE *fout, ! const char *named_dir)const; PUBLIC VIRTUAL PRIMARY *PRIMARYS::new_PRIMARY (void); PUBLIC PRIMARY *PRIMARYS_REV::new_PRIMARY (void); --- 230,235 ---- PUBLIC int PRIMARYS::write (bool bind8, FILE *fout, ! const char *named_dir, ! const DNS *dns)const; PUBLIC VIRTUAL PRIMARY *PRIMARYS::new_PRIMARY (void); PUBLIC PRIMARY *PRIMARYS_REV::new_PRIMARY (void); diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/modules/dnsconf/features.cc linuxconf-1.14r3/modules/dnsconf/features.cc *** linuxconf-1.14r2/modules/dnsconf/features.cc Sat Mar 27 11:15:16 1999 --- linuxconf-1.14r3/modules/dnsconf/features.cc Wed Apr 7 02:15:07 1999 *************** *** 79,82 **** --- 79,86 ---- dia.newf_str (MSG_U(F_SEARCHLIST,"Search list"),searchlist); } + if (bind8){ + dia.newf_chk (MSG_U(F_NOTIFY,"Notify"),options.notify + ,""); + } int nof = 0; while (1){ diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/modules/dnsconf/primary.cc linuxconf-1.14r3/modules/dnsconf/primary.cc *** linuxconf-1.14r2/modules/dnsconf/primary.cc Fri Mar 26 20:41:32 1999 --- linuxconf-1.14r3/modules/dnsconf/primary.cc Wed Apr 7 02:18:54 1999 *************** *** 306,310 **** Return -1 if any error. */ ! PUBLIC int PRIMARY::write (bool bind8, FILE *fout, const char *named_dir) const { int ret = origins.save (named_dir,file.get()); --- 306,310 ---- Return -1 if any error. */ ! PUBLIC int PRIMARY::write (bool bind8, FILE *fout, const char *named_dir, const DNS * dns) const { int ret = origins.save (named_dir,file.get()); *************** *** 313,317 **** fprintf (fout,"\t%s %s;\n",K_TYPE,K_MASTER); fprintf (fout,"\t%s \"%s\";\n",K_FILE,file.get()); ! fprintf (fout,"\t%s %s;\n",K_NOTIFY,notify ? "yes" : "no"); dns_writeopts (allowtrans,K_ALLOW_TRANSFER,fout); dns_writeopts (allowquery,K_ALLOW_QUERY,fout); --- 313,319 ---- fprintf (fout,"\t%s %s;\n",K_TYPE,K_MASTER); fprintf (fout,"\t%s \"%s\";\n",K_FILE,file.get()); ! if (notify!=NOTIFY_DEFAULT) { ! fprintf (fout,"\t%s %s;\n",K_NOTIFY,notify ? "yes" : "no"); ! } dns_writeopts (allowtrans,K_ALLOW_TRANSFER,fout); dns_writeopts (allowquery,K_ALLOW_QUERY,fout); *************** *** 397,406 **** dia.newf_title ("",MSG_U(F_EVERYHOSTS,"Every hosts requirements")); dia.newf_str (MSG_U(F_TTL,"Time to live"),info.soa->default_ttl); ! dia.newf_title (MSG_U(T_ACCESS,"Access control"),level,"",MSG_R(T_ACCESS)); ! int level2 = level + 1; ! feature_editlist (dia,level2,MSG_R(F_ALLOWTRANS),allowtrans); ! feature_editlist (dia,level2,MSG_R(F_ALLOWQUERY),allowquery); ! feature_editlist (dia,level2,MSG_U(F_ALLOWUPDATE,"Allow update from"),allowupdate); ! feature_editlist (dia,level2,MSG_U(F_ALSONOTIFY,"Also notify"),alsonotify); } --- 399,410 ---- dia.newf_title ("",MSG_U(F_EVERYHOSTS,"Every hosts requirements")); dia.newf_str (MSG_U(F_TTL,"Time to live"),info.soa->default_ttl); ! if (dns.bind8){ ! dia.newf_title (MSG_U(T_ACCESS,"Access control"),level,"",MSG_R(T_ACCESS)); ! int level2 = level + 1; ! feature_editlist (dia,level2,MSG_R(F_ALLOWTRANS),allowtrans); ! feature_editlist (dia,level2,MSG_R(F_ALLOWQUERY),allowquery); ! feature_editlist (dia,level2,MSG_U(F_ALLOWUPDATE,"Allow update from"),allowupdate); ! feature_editlist (dia,level2,MSG_U(F_ALSONOTIFY,"Also notify"),alsonotify); ! } } *************** *** 580,588 **** ! PUBLIC int PRIMARYS::write (bool bind8, FILE *fout, const char *named_dir) const { int ret = 0; for (int i=0; iwrite(bind8,fout,named_dir) == -1) ret = -1; } return ret; --- 584,592 ---- ! PUBLIC int PRIMARYS::write (bool bind8, FILE *fout, const char *named_dir, const DNS* dns) const { int ret = 0; for (int i=0; iwrite(bind8,fout,named_dir,dns) == -1) ret = -1; } return ret; diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/modules/mailconf/alias.cc linuxconf-1.14r3/modules/mailconf/alias.cc *** linuxconf-1.14r2/modules/mailconf/alias.cc Mon Mar 22 15:08:08 1999 --- linuxconf-1.14r3/modules/mailconf/alias.cc Sun Apr 4 09:55:28 1999 *************** *** 410,413 **** --- 410,414 ---- dia = new DIALOG_LISTE; tbsort.remove_all(); + dia->newf_head ("",MSG_U(H_MALIASES,"Aliases")); for (int i=0; inew_menuitem("",tbsort.getitem(i)->get()); } ! dia->addwhat (MSG_U(I_NEWALIAS,"Select [Add] to add a new aliase")); } MENU_STATUS code = dia->editmenu (title ,MSG_U(IEDITALIASES ! ,"You are allowed to edit/add/deleted\n" "system wide aliases for electronic mail") ,help_aliases --- 419,429 ---- tbsort.sort(); for (int i=0; inew_menuitem(tbsort.getitem(i)->get(),""); } ! dia->addwhat (MSG_U(I_NEWALIAS,"Select [Add] to add a new alias")); } MENU_STATUS code = dia->editmenu (title ,MSG_U(IEDITALIASES ! ,"You are allowed to edit/add/delete\n" "system wide aliases for electronic mail") ,help_aliases *************** *** 430,434 **** ALIAS *item = NULL; if (choice >=0 && choice < nb){ ! int no = locate(dia->getmenustr(choice)); item = getitem(no); } --- 431,435 ---- ALIAS *item = NULL; if (choice >=0 && choice < nb){ ! int no = locate(tbsort.getitem(choice)->get()); item = getitem(no); } diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/modules/mailconf/mailconf.m linuxconf-1.14r3/modules/mailconf/mailconf.m *** linuxconf-1.14r2/modules/mailconf/mailconf.m Mon Mar 8 21:08:20 1999 --- linuxconf-1.14r3/modules/mailconf/mailconf.m Sun Apr 4 09:55:33 1999 *************** *** 3,7 **** #define DICTIONARY_REQUEST \ const char **_dictionary_mailconf;\ ! TRANSLATE_SYSTEM_REQ _dictionary_req_mailconf("mailconf",_dictionary_mailconf,242,18);\ void dummy_dict_mailconf(){} #endif --- 3,7 ---- #define DICTIONARY_REQUEST \ const char **_dictionary_mailconf;\ ! TRANSLATE_SYSTEM_REQ _dictionary_req_mailconf("mailconf",_dictionary_mailconf,243,18);\ void dummy_dict_mailconf(){} #endif *************** *** 256,257 **** --- 256,258 ---- #define E_IVLDCHAR 240 #define F_QUOTA 241 + #define H_MALIASES 242 diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/modules/redhatppp/ppp.cc linuxconf-1.14r3/modules/redhatppp/ppp.cc *** linuxconf-1.14r2/modules/redhatppp/ppp.cc Tue Dec 8 00:25:28 1998 --- linuxconf-1.14r3/modules/redhatppp/ppp.cc Fri Apr 2 15:19:19 1999 *************** *** 210,216 **** static const char *tbpppdev[]={ "/dev/modem", ! "/dev/cua0", ! "/dev/cua1", ! "/dev/cua2", NULL }; --- 210,216 ---- static const char *tbpppdev[]={ "/dev/modem", ! "/dev/ttyS0", ! "/dev/ttyS1", ! "/dev/ttyS2", NULL }; diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/modules/status/status.cc linuxconf-1.14r3/modules/status/status.cc *** linuxconf-1.14r2/modules/status/status.cc Mon Jan 4 22:32:37 1999 --- linuxconf-1.14r3/modules/status/status.cc Wed Apr 7 01:55:18 1999 *************** *** 45,48 **** --- 45,49 ---- static const char *ioports; static const char *interrupts; + static const char *md; static void ft (void *p) *************** *** 57,60 **** --- 58,63 ---- }else if (key == disk){ sys_disk_show(); + }else if (key == md){ + sys_md_show(); }else if (key == inter){ sys_inter_show(); *************** *** 83,86 **** --- 86,90 ---- memory = MSG_U(M_MEMORY,"memory usage(RAM)"); disk = MSG_U(M_DISK,"disk usage"); + md = MSG_U(M_MD,"RAID (MD) usage"); inter = MSG_U(M_INTERFACE,"network devices"); iprouting = MSG_U(M_IPROUTING,"IP routing table"); *************** *** 95,98 **** --- 99,103 ---- "", memory, "", disk, + "", md, "", inter, "", iprouting, diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/modules/status/status.m linuxconf-1.14r3/modules/status/status.m *** linuxconf-1.14r2/modules/status/status.m Wed Mar 3 14:43:44 1999 --- linuxconf-1.14r3/modules/status/status.m Wed Apr 7 01:55:25 1999 *************** *** 3,7 **** #define DICTIONARY_REQUEST \ const char **_dictionary_status;\ ! TRANSLATE_SYSTEM_REQ _dictionary_req_status("status",_dictionary_status,18,1);\ void dummy_dict_status(){} #endif --- 3,7 ---- #define DICTIONARY_REQUEST \ const char **_dictionary_status;\ ! TRANSLATE_SYSTEM_REQ _dictionary_req_status("status",_dictionary_status,19,1);\ void dummy_dict_status(){} #endif *************** *** 32,33 **** --- 32,34 ---- #define M_IOPORTS 16 #define E_NOTDONE 17 + #define M_MD 18 diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/modules/status/status.p linuxconf-1.14r3/modules/status/status.p *** linuxconf-1.14r2/modules/status/status.p Thu Nov 5 20:38:32 1998 --- linuxconf-1.14r3/modules/status/status.p Wed Apr 7 01:55:28 1999 *************** *** 1,9 **** /* _dict.cc 11/09/98 13.07.32 */ ! /* report.cc 17/09/98 11.00.02 */ void status_report (void); ! /* status.cc 05/11/98 20.37.08 */ ! /* sys.cc 05/11/98 20.38.22 */ void sys_memory_show (void); void sys_disk_show (void); void sys_inter_show (void); void sys_iprouting_show (void); --- 1,10 ---- /* _dict.cc 11/09/98 13.07.32 */ ! /* report.cc 03/03/99 14.43.38 */ void status_report (void); ! /* status.cc 07/04/99 01.55.18 */ ! /* sys.cc 07/04/99 01.55.18 */ void sys_memory_show (void); void sys_disk_show (void); + void sys_md_show (void); void sys_inter_show (void); void sys_iprouting_show (void); diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/modules/status/status.pm linuxconf-1.14r3/modules/status/status.pm *** linuxconf-1.14r2/modules/status/status.pm Thu Nov 5 20:38:32 1998 --- linuxconf-1.14r3/modules/status/status.pm Wed Apr 7 01:55:28 1999 *************** *** 1,5 **** /* _dict.cc 11/09/98 13.07.32 */ ! /* report.cc 17/09/98 11.00.02 */ ! /* status.cc 05/11/98 20.37.08 */ PUBLIC MODULE_status::MODULE_status (void); PUBLIC void MODULE_status::setmenu (DIALOG&dia, MENU_CONTEXT context); --- 1,5 ---- /* _dict.cc 11/09/98 13.07.32 */ ! /* report.cc 03/03/99 14.43.38 */ ! /* status.cc 07/04/99 01.55.18 */ PUBLIC MODULE_status::MODULE_status (void); PUBLIC void MODULE_status::setmenu (DIALOG&dia, MENU_CONTEXT context); *************** *** 8,10 **** PUBLIC int MODULE_status::dohtml (const char *key); PUBLIC int MODULE_status::execmain (int argc, char *argv[]); ! /* sys.cc 05/11/98 20.38.22 */ --- 8,10 ---- PUBLIC int MODULE_status::dohtml (const char *key); PUBLIC int MODULE_status::execmain (int argc, char *argv[]); ! /* sys.cc 07/04/99 01.55.18 */ diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/modules/status/sys.cc linuxconf-1.14r3/modules/status/sys.cc *** linuxconf-1.14r2/modules/status/sys.cc Mon Nov 23 02:05:08 1998 --- linuxconf-1.14r3/modules/status/sys.cc Wed Apr 7 01:55:18 1999 *************** *** 75,78 **** --- 75,79 ---- sys_command_title (MSG_R(M_MEMORY),"free",""); } + void sys_disk_show() { *************** *** 80,91 **** --- 81,102 ---- } + void sys_md_show() + { + SSTRINGS tb; + if (sys_showfile ("/proc/mdstat",tb) != -1){ + dialog_textbox (MSG_R(M_MD),tb); + } + } + void sys_inter_show() { sys_command_title (MSG_R(M_INTERFACE),"ifconfig",""); } + void sys_iprouting_show() { sys_command_title (MSG_R(M_IPROUTING),"route","-n"); } + void sys_ipxrouting_show() { *************** *** 103,106 **** --- 114,118 ---- } } + void sys_ioports_show() { diff -rc2P -x *.o -x *.a -x *.bak -x *~ -x *.help -x *.old -x *.nap -x *.nar -x *.nas -x *.gif -x *.class linuxconf-1.14r2/rules.mak linuxconf-1.14r3/rules.mak *** linuxconf-1.14r2/rules.mak Mon Mar 29 13:00:43 1999 --- linuxconf-1.14r3/rules.mak Wed Apr 7 01:44:35 1999 *************** *** 11,15 **** CC=gcc LINUXCONF_REV=1.14 ! LINUXCONF_SUBREV=2 LINUXCONF_SUBSUBREV=0 ifeq ($(LINUXCONF_SUBSUBREV),0) --- 11,15 ---- CC=gcc LINUXCONF_REV=1.14 ! LINUXCONF_SUBREV=3 LINUXCONF_SUBSUBREV=0 ifeq ($(LINUXCONF_SUBSUBREV),0)