Bumped to version 0.70.0

This commit is contained in:
Michiel Broek 2004-10-26 19:12:53 +00:00
parent 503a79bc53
commit 247c376436
4 changed files with 320 additions and 410 deletions

720
ChangeLog
View File

@ -1,415 +1,325 @@
$Id$ $Id$
v0.61.5 25-Sep-2004 v0.70.0 06-Jun-2004 - 26-Oct-2004.
general: upgrade:
In SETUP.sh better xinetd.d system detection. If you run a version older then 0.60.0, first upgrade to 0.60.0
On Linux SETUP.sh adds user mbse to group wheel and uucp. If you run a version older then 0.60.0, first upgrade to 0.60.0
SETUP.sh adds disabled telnet service to inetd.conf or xinetd. (That was twice).
Don't forget to backup /opt/mbse and all fle areas!
mbsetup:
In user setup, if user gets a new security level, his timelimit Check if /opt/mbse/var/msgs is empty before using this version.
is updated with your permission. Make sure that /opt/mbse/queue is empty, then close the
bbs with "mbstat close wait".
mbdiff: Kill mbtask, "kill `/sbin/pidof mbtask` might work.
Added EOF character as last character in the new created list. Now you may do the upgrade with "make install" as root. This
order is important because the files database moves to a new
location (~/var/fdb). Some other directories move too.
v0.61.4 11-Aug-2004 - 25-Sep-2004 Now you may start the bbs again.
upgrade: Start "mbsetup", enter 1, global setup, leave and save".
If you run a version older then 0.60.0, first upgrade to 0.60.0 Run "mbfile check" and then "mbfile index". This fixes the
If you run a version older then 0.60.0, first upgrade to 0.60.0 thumbnails if supported by your system.
(That was twice). Update all maintenance scripts to change the semafore directory
Don't forget to backup /opt/mbse. to ~/var/sema.
Before upgrade (make install) stop the bbs with "mbstat c w".
Kill mbtask, "kill `/sbin/pidof mbtask` might work. If you compiled with ./configure --enable-newsgate you may
This is important because the files database moves to a new need to erase the newsgroup names in the echomail areas you
location (~/var/fdb). Some other directories move too. don't want to gate to news.
Now you can run "make install" and start the bbs again.
Start "mbsetup", enter 1, global setup, leave and save". In mbsetup menu 1.14 update the TCP/IP connection details.
If you have BBBS uplinks and use automatic uplink requests then
change the setup of these nodes in screen 7.10. In the english txtfiles and menus the doors menu and screens
Run "mbfile check" and then "mbfile index". This fixes the are updated for the newer doors setup, you might want to
thumbnails if supported by your system. upgrade or use them as examples.
Update all maintenance scripts to change the semafore directory In the examples directory type "make macros" to update the
to ~/var/sema. macro templates. Be carefull if you have personalized versions.
To reinstall the corrected macro templates go into the examples
libmbse.a: directory and type "make macros".
The socket_connect function now sets the global nodenumber from
the reply of mbtask. In mbsetup menu 1.7 check the new items 15, 16 and 17.
libnodelist.a: If you want to switch running doors as user instead of via sudo
Removed some debug logging. then read doors.html and follow the instructions.
libdbase.a: If you have BBBS uplinks and use automatic uplink requests then
The files database is moved from ~/fdb to ~/var/fdb. change the setup of these nodes in screen 7.10.
Added debug logging to dbfdb to find the problem with not
cleaned magic aliases.
Fixed a problem with the files database were the temp file used general:
for sorting and inserting files didn't close the temp file. Added compile directive for full newsgate. If this switch is
Changed method of inserting new files so that old magic names used then mbfido behaves like it did upto version 0.50.0 and
are really cleared. mbnntp is disabled.
Added define for nodelist line length for all programs.
mbcico: Added -fno-strict-aliasing switch to gcc to prevent some
Removed a little debug logging. warnings.
With the newer versions of dosemu running doors as user finally
mbfido: works. To migrate you need to read doors.html.
No help was displayed when no valid command was given. Changed security of most directories and files to allow only
Echomail for non-existing areas now finally is stored in the bbs users.
badmail area. In SETUP.sh better xinetd.d system detection.
Echomail received from not connected nodes is stored in the On Linux SETUP.sh adds user mbse to group wheel and uucp.
badmail area unless the area allowes it. SETUP.sh adds disabled telnet service to inetd.conf or xinetd.
Can now send (hopefully) valid uplink requests to BBBS systems.
Removed some debug logging from un_attach, made one into a libmbse.a:
normal logmessage. In nodelist.conf changed the order of fields to search for ip
The postemail and scanemail functions are changed so that information, field 8 before field 6.
Outlook email addresses are parsed so that we can reply via Added a new keyword 'ipprefix' in nodelist.conf to define a
smtp. table with IP prefixes to use in field 6.
During scan the Msg_Read function is now called with a width When files are attached that should "leave" after sent (not
of 79 characters instead of 78. This fixes the missing address truncated or removed) they are now prepended with the @
on Origin lines of 79 characters long. character instead of no character. This is compatible with
The *.msg function now uses Fgets instead of fgets to read the ifcico but not with other mailers, but should do no harm
message. because most mailers only look for the ^ and # characters.
Fixed function to return full 5d address in the outbound when
mbfile: the address is in a different zone then our own zone.
The html index now uses html named character entities on the The socket_connect function now sets the global nodenumber from
area names on the main index page. the reply of mbtask.
With html index creation if the convert program for the
thumbnails failed, the html pages were wrong. libnodelist.a:
The thumbnails were created from the 8.3 name but the url was Implemented the ICM flag (FSP-1033).
created to the LFN. Depending on the settings of your apache Fixed IP port override if there is a port added to a protocol.
server you would see the thumbnails or not. Removed some debug logging.
The check for wrong thumbnails changed from LFN to 8.3 names.
Changed to use the new files database location. libmsgbase.a:
If a message area becomes empty after a pack, all lastread
mbindex: pointers are reset to zero.
Fixed compiling pointlists where on the Boss line when there Removed debug logmessage from jamPack.
is no last comma on the line.
libdbase.a:
mbmsg: Removed some debug logging from files database module.
Fixed counter in log that should show the number of linked The files database is moved from ~/fdb to ~/var/fdb.
messages. Added debug logging to dbfdb to find the problem with not
With the post command a check is done to see if the input file cleaned magic aliases.
has a tearline and origin line, if not mbmsg will add these Fixed a problem with the files database were the temp file used
lines, else the lines of the input file are used. for sorting and inserting files didn't close the temp file.
Changed method of inserting new files so that old magic names
mbsebbs: are really cleared.
The exec_nosuid function for doors now also has a extra small
delay just like all other execute functions to prevent problems mbcico:
on fast machines. Implemented the ICM flag (FSP-1033).
Added extra fflush in quickscan mail. In the binkp driver, when files were found to transmit and
When calling the external editor, the fromaddress if available didn't exist anymore, they are not added to the list of files
is given to joe. to sent but are marked as already transmitted so they will
In Quick_Bye reset all signal handlers to prevent that die() is be removed from the .flo file. Also, after a successfull
called in case something goes wrong during Quick_Bye. session .flo files with all files marked as transmitted are
The fake nodenumber is now obtained from mbtask instead of a removed. With nodes that were marked crash, this will prevent
count of tty line records so the used nodenumbers will be a lot continuous calling.
lower then before. Changed to use direct instead of immediate mail.
Changed Msg_Read from 78 to 79 characters. Changed binkp IsDoing info.
In menu the semafore directory was scanned direct instead of Removed a little debug logging.
using the library functions.
mbout:
mbstat: Implemented the ICM flag (FSP-1033).
In the wait function the semafore directory was scanned direct Code cleanup for nodelist processing.
instead of using the library functions. Changed to use direct instead of immediate mail.
mbnewusr: mbfido:
During program exit, it tried to remove the wrong socket to Added compile directive for full newsgate.
mbtask. Removed logmessage in addpkt function.
Added code to un_attach files during tic import that are
mbuser: deleted from the system by replace, or keep # magic actions,
Fixed permissions. but also for files with the same name that are replaced.
Removed debug logging from toberep function since all problems
mbtask: are solved.
Tried to call nodes during ZMH or during a Tyx window when mail In rfc2ftn added check for ".\n" to change to " .\n" instead of
was on hold. only check for ".\r\n".
The comm protocol reply to the AINI command now contains a fake Added support for *.msg files. If any are found, they are
node number. processed and put in a netmail area. From there the mbfido scan
The magic filenames directory is moved from ~/magic to function is automatic called so that the message is sent out or
~/var/magic. stays in the area if it has a local destination. File attaches
The semafore directory is moved from ~/sema to ~/var/sema. are supported. Note that this is not a gate, only put *.msg
When shutting down on UPS semafore "upsdown", the log was files in that directory that originate from one of your own
garbled. aka's.
When shutting down on an external event and there were users Fixed logging of 0 articles in scannews.
online, mbtask did not wait. With the command "mbfido areas" without the -q option the user
must confirm this action.
mbsetup: For netmails to uplinks for areamgr/filemgr changes, the wrong
Changed nodes screens to have a separate uplink managers setup password was used.
screen, and added switches for BBBS uplinks. In large areamgr/filemgr responses each 2048 bytes was an extra
If the convert program is found and was not found before, the <cr> inserted.
defaults are set in menu 1.15.6. No help was displayed when no valid command was given.
The files database is moved from ~/fdb to ~/var/fdb. Echomail for non-existing areas now finally is stored in the
The magic filenames directory is moved from ~/magic to badmail area.
~/var/magic. Echomail received from not connected nodes is stored in the
The semafore directory is moved from ~/sema to ~/var/sema. badmail area unless the area allowes it.
Can now send (hopefully) valid uplink requests to BBBS systems.
script: Removed some debug logging from un_attach, made one into a
In the editor script (that calls joe) made a fix for screens normal logmessage.
wider then 80 characters. Also fixed the joe path if it should The postemail and scanemail functions are changed so that
run in emacs mode. Added FromAddress in the header. Outlook email addresses are parsed so that we can reply via
Changed all init and maint scripts to move the semafore smtp.
directory from ~/sema to ~/var/sema. During scan the Msg_Read function is now called with a width
of 79 characters instead of 78. This fixes the missing address
on Origin lines of 79 characters long.
v0.61.3 25-Jul-2004 - 11-Aug-2004 The *.msg function now uses Fgets instead of fgets to read the
message.
upgrade:
To reinstall the corrected macro templates go into the examples mbmsg:
directory and type "make macros". With te post command, the right number of commandline options
In mbsetup menu 1.7 check the new items 15, 16 and 17. is checked, if this is wrong the help message is displayed.
If you want to switch running doors as user instead of via sudo If a message is posted in a local area, no echomail.jam is
then read doors.html and follow the instructions. updated and the mailout semafore is not set.
In the english txtfiles and menus the doors menu and screens Added checks in the mbmsg post command if the To parameter has
are updated for the newer doors setup, you might want to the correct syntax for netmail and all other areas.
upgrade or use them as examples. Will now return a non-zero error if the post() function
failed.
general: Fixed counter in logfile that should show the number of linked
With the newer versions of dosemu running doors as user finally messages.
works. To migrate you need to read doors.html. With the post command a check is done to see if the input file
Changed security of most directories and files to allow only has a tearline and origin line, if not mbmsg will add these
bbs users. lines, else the lines of the input file are used.
libmbse.a: mbfile:
Removed the fdn parameter from the attach and un_attach The filenames in the html pages are now the long filenames.
functions, not needed anymore. This fixes download problems with some mangled 8.3 filenames.
Fixed function to return full 5d address in the outbound when Fixed a bug where "mbfile k p i" didn't give the help screen.
the address is in a different zone then our own zone. The html index now uses html named character entities on the
area names on the main index page.
libnodelist.a: With html index creation if the convert program for the
Fixed IP port override if there is a port added to a protocol. thumbnails failed, the html pages were wrong.
The thumbnails were created from the 8.3 name but the url was
mbfido: created to the LFN. Depending on the settings of your apache
Changed netmail counters in the .msg import function. server you would see the thumbnails or not.
Fixed logging of 0 articles in scannews. The check for wrong thumbnails changed from LFN to 8.3 names.
With the command "mbfido areas" without the -q option the user Updated to use the new files database location.
must confirm this action.
For netmails to uplinks for areamgr/filemgr changes, the wrong mbindex:
password was used. Code cleanup for nodelist processing.
In large areamgr/filemgr responses each 2048 bytes was an extra Added a extra check to see if nodelist datalines are valid to
<cr> inserted. prevent segfaults on Skynet nodelists.
Does finally compile a username index.
mbfile: Fixed compiling pointlists where on the Boss line when there
Fixed a bug where "mbfile k p i" didn't give the help screen. is no last comma on the line.
mbnewuser: mbdiff:
Made questions for screenlen, newmail check and newfiles check Added EOF character as last character in the new created list.
dependant of settings in the setup.
mbaff:
mbsebbs: In newfiles and filefind reports with the tty info lines, also
When a netmail reply is done to a node without a valid address display TCP/IP connection details.
we ask the user if he wants to continue.
Changed menu logging mbstat:
In the wait function the semafore directory was scanned direct
mbtask: instead of using the library functions.
Added defaults for questions for screenlen, newmail chack and
newfiles check. mbsebbs:
When calling mbcico the address passed is now 5d. Added user@domain login for pop3 mailboxes.
If pop3 login fails, the bbs won't hang.
mbsetup: If a users homedirectory doesn't exist, a correct error message
In menu 1.7 added 3 new items to ask new users for screenlen, is displayed and logged.
newmail check and newfiles check. If a user replied to a email and the system was in Own
maildomain mode, the From address was changed to the Fidonet
examples: style address instead of Unix address.
Fixed 2 spelling errors in the dutch macro templates. When a netmail reply is done to a node without a valid address
Fixed another spelling error in the filemgr.help template of we ask the user if he wants to continue.
all languages. Changed menu logging.
The exec_nosuid function for doors now also has a extra small
script: delay just like all other execute functions to prevent problems
Changed bbsdoor.sh, it now hase a variable pointing to the dos on fast machines.
directory. Added extra fflush in quickscan mail.
Created runvirtual.sh, this replaces rundoor.sh for old systems When calling the external editor, the fromaddress if available
that run doors using the obsoleted sudo method. is given to joe.
Rewrote rundoor.sh for running dosemu with user privileges. In Quick_Bye reset all signal handlers to prevent that die() is
Changed all locations for dosemu so that we run in the mbse called in case something goes wrong during Quick_Bye.
environment with privileges of the user running the door. The fake nodenumber is now obtained from mbtask instead of a
count of tty line records so the used nodenumbers will be a lot
lang: lower then before.
Added language prompts 26 and 27. Changed Msg_Read from 78 to 79 characters.
In menu the semafore directory was scanned direct instead of
using the library functions.
v0.61.2 11-Jul-2004 - 25-Jul-2004
mbnewuser:
upgrade: Made questions for screenlen, newmail check and newfiles check
Check if /opt/mbse/var/msgs is empty before using this version. dependant of settings in the setup.
Make sure that /opt/mbse/queue is empty, then close the During program exit, it tried to remove the wrong socket to
bbs with "mbstat close wait". Then do the upgrade. mbtask.
In mbsetup menu 1.14 update the TCP/IP connection details.
In the examples directory type "make macros" to update the mbnntp:
macro templates. Be carefull if you have personalized versions. If compiled in full newsmode, this program acts like a dummy.
general: mbuser:
Added -fno-strict-aliasing switch to gcc to prevent some Fixed permissions.
warnings.
mbtask:
libmbse.a: Implemented the ICM flag (FSP-1033).
When files are attached that should "leave" after sent (not Added defaults for questions for screenlen, newmail check and
truncated or removed) they are now prepended with the @ newfiles check.
character instead of no character. This is compatible with Changed to use direct instead of immediate mail.
ifcico but not with other mailers, but should do no harm When calling mbcico the address passed is now 5d.
because most mailers only look for the ^ and # characters. Tried to call nodes during ZMH or during a Tyx window when mail
This is for test! Please check if you run mbcico together was on hold.
with other mailers. Russell?? The comm protocol reply to the AINI command now contains a fake
If you only use mbcico there will be no problems. node number.
The magic filenames directory is moved from ~/magic to
libmsgbase.a: ~/var/magic.
Removed debug logmessage from jamPack. The semafore directory is moved from ~/sema to ~/var/sema.
When shutting down on UPS semafore "upsdown", the log was
mbcico: garbled.
In the binkp driver, when files were found to transmit and When shutting down on an external event and there were users
didn't exist anymore, they are not added to the list of files online, mbtask did not wait.
to sent but are marked as already transmitted so they will
be removed from the .flo file. Also, after a successfull mbsetup:
session .flo files with all files marked as transmitted are In mail and files group edit screens, to make an area active
removed. With nodes that were marked crash, this will prevent existing connections check is skipped.
continuous calling. If a node record is deleted, the outbox and directory paths
Changed to use direct instead of immediate mail. are removed as well if they are empty.
Changed binkp IsDoing info. Added user@domain login for pop3 servers in screen 1.12.
Added compile directive for full newsgate to prevent newsgroup
mbfido: name creation in default compiled mode.
Added code to un_attach files during tic import that are When editing files, after leaving a file record the file range
deleted from the system by replace, or keep # magic actions, displayed stays around the last area.
but also for files with the same name that are replaced. If a message area is deleted and a rulefile is present, this
Currently tested: duplicate names - works. rulefile is deleted too.
keep # - works. When a new golded.inc file is written, only fidonet records
replace - in test. that are active are written.
Removed debug logging from toberep function since all problems When a file area is deleted, the file path wasn't removed.
are solved. In menu 2, added 3 checks to see if enough info is entered to
In rfc2ftn added check for ".\n" to change to " .\n" instead of make a valid network setup.
only check for ".\r\n". Changed in menu 1.14 some labels and help messages for TCP/IP
Added support for *.msg files. If any are found, they are global settings.
processed and put in a netmail area. From there the mbfido scan In menu 1.7 added 3 new items to ask new users for screenlen,
function is automatic called so that the message is sent out or newmail check and newfiles check.
stays in the area if it has a local destination. File attaches Changed nodes screens to have a separate uplink managers setup
are supported. screen, and added switches for BBBS uplinks.
If the convert program is found and was not found before, the
mbout: defaults are set in menu 1.15.6.
Changed to use direct instead of immediate mail. The files database is moved from ~/fdb to ~/var/fdb.
The magic filenames directory is moved from ~/magic to
mbaff: ~/var/magic.
In newfiles and filefind reports with the tty info lines, also The semafore directory is moved from ~/sema to ~/var/sema.
display TCP/IP connection details. In user setup, if user gets a new security level, his timelimit
is updated with your permission to the new levels.
mbsetup:
In menu 2, added 3 checks to see if enough info is entered to examples:
make a valid network setup. Changed the macro templates for filefind and newfiles.
Changed in menu 1.14 some labels and help messages for TCP/IP Fixed 2 spelling errors in the dutch macro templates.
global settings. Fixed another spelling error in the filemgr.help template of
all languages.
mbtask:
Changed to use direct instead of immediate mail. script:
Fixed NetBSD init script reload command.
examples: Changed bbsdoor.sh, it now hase a variable pointing to the dos
Changed the macro templates for filefind and newfiles. directory.
Created runvirtual.sh, this replaces rundoor.sh for old systems
script: that run doors using the obsoleted sudo method.
Fixed NetBSD init script reload command. Rewrote rundoor.sh for running dosemu with user privileges.
Changed all locations for dosemu so that we run in the mbse
environment with privileges of the user running the door.
v0.61.1 20-Jun-2004 - 11-Jul-2004 In the editor script (that calls joe) made a fix for screens
wider then 80 characters. Also fixed the joe path if it should
upgrade: run in emacs mode. Added FromAddress in the header.
If you compiled with ./configure --enable-newsgate you may Changed all init and maint scripts to move the semafore
need to erase the newsgroup names in the echomail areas you directory from ~/sema to ~/var/sema.
don't want to gate to news.
lang:
general: Added language prompts 26 and 27.
Added compile directive for full newsgate. If this switch is
used then mbfido behaves like it did upto version 0.50.0 and
mbnntp is disabled.
Added define for nodelist line length for all programs.
libmsgbase.a:
If a message area becomes empty after a pack, all lastread
pointers are reset to zero.
libdbase.a:
Removed some debug logging from files database module.
libmbse.a:
In nodelist.conf changed the order of fields to search for ip
information, field 8 before field 6.
Added a new keyword 'ipprefix' in nodelist.conf to define a
table with IP prefixes to use in field 6.
mbout:
Code cleanup for nodelist processing.
mbfido:
Added compile directive for full newsgate.
Removed logmessage in addpkt function.
mbindex:
Code cleanup for nodelist processing.
Added a extra check to see if nodelist datalines are valid to
prevent segfaults on Skynet nodelists.
Does finally compile a username index.
mbnntp:
If compiled in full newsmode, this program acts like a dummy.
mbsebbs:
Added user@domain login for pop3 mailboxes.
If pop3 login fails, the bbs won't hang.
If a users homedirectory doesn't exist, a correct error message
is displayed and logged.
If a user replied to a email and the system was in Own
maildomain mode, the From address was changed to the Fidonet
style address instead of Unix address.
mbsetup:
Added user@domain login for pop3 servers in screen 1.12.
Added compile directive for full newsgate to prevent newsgroup
name creation in default compiled mode.
When editing files, after leaving a file record the file range
displayed stays around the last area.
If a message area is deleted and a rulefile is present, this
rulefile is deleted too.
When a new golded.inc file is written, only fidonet records
that are active are written.
When a file area is deleted, the file path wasn't removed.
v0.61.0 06-Jun-2004 - 20-Jun-2004
libnodelist.a:
Implemented the ICM flag (FSP-1033).
mbmsg:
With te post command, the right number of commandline options
is checked, if this is wrong the help message is displayed.
If a message is posted in a local area, no echomail.jam is
updated and the mailout semafore is not set.
Added checks in the mbmsg post command if the To parameter has
the correct syntax for netmail and all other areas.
Fixed parameter count if post is used with the -q option.
Will now return a non-zero error if the post() function
failed.
mbout:
Implemented the ICM flag (FSP-1033).
mbcico:
Implemented the ICM flag (FSP-1033).
mbtask:
Implemented the ICM flag (FSP-1033).
mbfile:
The filenames in the html pages are now the long filenames.
This fixes download problems with some mangled 8.3 filenames.
mbsetup:
In mail and files group edit screens, to make an area active
existing connections check is skipped.
If a node record is deleted, the outbox and directory paths
are removed as well if they are empty.
v0.60.0 09-Feb-2004 - 04-Jun-2004 v0.60.0 09-Feb-2004 - 04-Jun-2004
upgrade: upgrade:
Before upgrade announce all new files! Before upgrade announce all new files!
Compile all programs. Compile all programs.

2
TODO
View File

@ -1,6 +1,6 @@
$Id$ $Id$
MBSE BBS V0.61.5 TODO list. MBSE BBS V0.70.0 TODO list.
--------------------------- ---------------------------
These are a list of things that must be implemented one way or These are a list of things that must be implemented one way or

4
configure vendored
View File

@ -1309,8 +1309,8 @@ SUBDIRS="lib mbcico mbfido mbmon mbsebbs mbnntp mbtask mbsetup unix lang example
PACKAGE="mbsebbs" PACKAGE="mbsebbs"
MAJOR="0" MAJOR="0"
MINOR="61" MINOR="70"
REVISION="5" REVISION="0"
VERSION="$MAJOR.$MINOR.$REVISION" VERSION="$MAJOR.$MINOR.$REVISION"
COPYRIGHT="Copyright (C) 1997-2004 Michiel Broek, All Rights Reserved" COPYRIGHT="Copyright (C) 1997-2004 Michiel Broek, All Rights Reserved"
SHORTRIGHT="Copyright (C) 1997-2004 M. Broek" SHORTRIGHT="Copyright (C) 1997-2004 M. Broek"

View File

@ -12,8 +12,8 @@ dnl After changeing the version number, run autoconf!
dnl dnl
PACKAGE="mbsebbs" PACKAGE="mbsebbs"
MAJOR="0" MAJOR="0"
MINOR="61" MINOR="70"
REVISION="5" REVISION="0"
VERSION="$MAJOR.$MINOR.$REVISION" VERSION="$MAJOR.$MINOR.$REVISION"
COPYRIGHT="Copyright (C) 1997-2004 Michiel Broek, All Rights Reserved" COPYRIGHT="Copyright (C) 1997-2004 Michiel Broek, All Rights Reserved"
SHORTRIGHT="Copyright (C) 1997-2004 M. Broek" SHORTRIGHT="Copyright (C) 1997-2004 M. Broek"