Changed copyright notices to come from config.h

This commit is contained in:
Michiel Broek 2001-11-04 16:41:54 +00:00
parent d5739ef30c
commit 3bd0a45143
29 changed files with 540 additions and 784 deletions

View File

@ -1,4 +1,4 @@
$id$
$Id$
MBSEBBS History.

View File

@ -1,6 +1,7 @@
/* config.h.in. */
/* $Id$ */
#undef SHORTRIGHT
#undef COPYRIGHT
#undef VERSION

1169
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -10,6 +10,7 @@ dnl General settings for MBSE BBS
PACKAGE="mbsebbs"
VERSION="0.33.19"
COPYRIGHT="Copyright (C) 1997-2001 Michiel Broek, All Rights Reserved"
SHORTRIGHT="Copyright (C) 1997-2001 M. Broek"
GROUP="bbs"
OWNER="mbse"
AC_SUBST(PACKAGE)
@ -20,6 +21,7 @@ AC_SUBST(OWNER)
AC_PREFIX_DEFAULT(/opt/mbse)
AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
AC_DEFINE_UNQUOTED(COPYRIGHT, "$COPYRIGHT")
AC_DEFINE_UNQUOTED(SHORTRIGHT, "$SHORTRIGHT")
dnl Checks for programs.
AC_PROG_CC
@ -33,7 +35,7 @@ AC_CHECK_PROG(INSTALL, install, install)
AC_PROG_MAKE_SET
AC_PROG_RANLIB
AC_PROG_YACC
AC_PROG_LEX
dnl AC_PROG_LEX
AC_CHECK_PROG(TAR, tar, tar)
AC_CHECK_PROG(ZIP, zip, zip)
dnl AM_PROG_LEX

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: structs.h
* $Id$
* Purpose ...............: MBSE BBS Global structure
* Last modification date : 26-Oct-2001
*
*****************************************************************************
* Copyright (C) 1997-2001
@ -37,16 +36,12 @@
/*****************************************************************************
*
* Global definitions and structures.
* Global typedefs.
*
*/
#define Copyright "Copyright (C) 1997-2001 Michiel Broek, All Rights Reserved"
#define ShortRight "Copyright (C) 1997-2001 M. Broek"
typedef enum {YES, NO, ASK, ONLY} ASKTYPE;
typedef enum {LOCALMAIL, NETMAIL, ECHOMAIL, NEWS} MSGTYPE;
typedef enum {LOCALMAIL, NETMAIL, ECHOMAIL, NEWS, LIST} MSGTYPE;
typedef enum {BOTH, PRIVATE, PUBLIC, RONLY, FTNMOD, USEMOD} MSGKINDSTYPE;
typedef enum {IGNORE, CREATE, KILL} ORPHANTYPE;
typedef enum {SEND, RECV, BOTHDIR} NODETYPE;
@ -497,7 +492,8 @@ struct FILEIndex {
struct FILERecord {
char Name[13]; /* DOS style filename */
char LName[81]; /* Long filename */
char xTicArea[13]; /* Tic area file came in */
char xTicArea[9]; /* Tic area file came in */
unsigned long TicAreaCRC; /* CRC of TIC area name */
off_t Size; /* File Size */
unsigned long Crc32; /* File CRC-32 */
char Uploader[36]; /* Uploader name */

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mbcico/mbcico.c
* Purpose ...............: Fidonet mailer
* Last modification date : 07-Feb-2001
* $Id$
* Purpose: Fidonet mailer
*
*****************************************************************************
* Copyright (C) 1997-2001
@ -80,7 +79,7 @@ extern int mypid;
void usage(void)
{
fprintf(stderr,"ifcico; (c) Eugene G. Crosser, 1993-1997\n");
fprintf(stderr,"mbcico ver. %s; (c) %s\n\n", VERSION, ShortRight);
fprintf(stderr,"mbcico ver. %s; (c) %s\n\n", VERSION, SHORTRIGHT);
fprintf(stderr,"-r<role> -a<inetaddr> <node> ...\n");
fprintf(stderr,"-r 0|1 1 - master, 0 - slave [0]\n");
fprintf(stderr,"-n<phone> forced phone number\n");

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mbcico/mbout.c
* Purpose ...............: MBSE BBS Outbound Manager
* Last modification date : 31-Jan-2001
* $Id$
* Purpose: MBSE BBS Outbound Manager
*
*****************************************************************************
* Copyright (C) 1997-2001
@ -64,7 +63,7 @@ void ProgName()
colour(15, 0);
printf("\nMBOUT: MBSE BBS %s Outbound Manager\n", VERSION);
colour(14, 0);
printf(" %s\n", Copyright);
printf(" %s\n", COPYRIGHT);
}

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mbfido/forward.c
* $Id$
* Purpose ...............: File forward to a node
* Last modification date : 10-Aug-2001
*
*****************************************************************************
* Copyright (C) 1997-2001
@ -189,7 +188,7 @@ void ForwardFile(fidoaddr Node, fa_list *sbl)
for (i = 0; i < TIC.TicIn.TotLDesc; i++)
fprintf(fp, "LDesc %s\r\n", TIC.TicIn.LDesc[i]);
}
fprintf(fp, "Created by MBSE BBS %s %s\r\n", VERSION, ShortRight);
fprintf(fp, "Created by MBSE BBS %s %s\r\n", VERSION, SHORTRIGHT);
if (TIC.TicIn.TotPath)
for (i = 0; i < TIC.TicIn.TotPath; i++)
fprintf(fp, "Path %s\r\n", TIC.TicIn.Path[i]);

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mbfido/hatch.c
* $Id$
* Purpose ...............: Hatch files
* Last modification date : 08-Oct-2000
*
*****************************************************************************
* Copyright (C) 1997-2000
@ -152,7 +151,7 @@ int CheckHatch(char *temp)
WriteError("Can't create %s", tf);
else {
fprintf(Tf, "Hatch\r\n");
fprintf(Tf, "Created MBSE BBS v%s, %s\r\n", VERSION, ShortRight);
fprintf(Tf, "Created MBSE BBS v%s, %s\r\n", VERSION, SHORTRIGHT);
fprintf(Tf, "Area %s\r\n", hatch.Name);
if (SearchTic(hatch.Name)) {
fprintf(Tf, "Origin %s\r\n", aka2str(tic.Aka));

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mbfido/magic.c
* $Id$
* Purpose ...............: .TIC files magic processing.
* Last modification date : 16-Feb-2001
*
*****************************************************************************
* Copyright (C) 1997-2001
@ -387,7 +386,7 @@ void Magic_AdoptFile(void)
else {
fprintf(Tf, "Hatch\r\n");
fprintf(Tf, "NoMove\r\n");
fprintf(Tf, "Created MBSE BBS v%s, %s\r\n", VERSION, ShortRight);
fprintf(Tf, "Created MBSE BBS v%s, %s\r\n", VERSION, SHORTRIGHT);
fprintf(Tf, "Area %s\r\n", magic.ToArea);
fprintf(Tf, "Origin %s\r\n", aka2str(tic.Aka));
fprintf(Tf, "From %s\r\n", aka2str(tic.Aka));

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mbaff/mbaff.c
* $Id$
* Purpose ...............: Announce new files and FileFind
* Last modification date : 08-Oct-2000
*
*****************************************************************************
* Copyright (C) 1997-2000
@ -59,7 +58,7 @@ void ProgName(void)
colour(15, 0);
printf("\nMBAFF: MBSE BBS %s Announce new files and FileFind\n", VERSION);
colour(14, 0);
printf(" %s\n", Copyright);
printf(" %s\n", COPYRIGHT);
}

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mbdiff/mbdiff.c
* $Id$
* Purpose ...............: Nodelist diff processor
* Last modification date : 25-May-2001
* Original ideas ........: Eugene G. Crosser.
*
*****************************************************************************
@ -64,7 +63,7 @@ void ProgName(void)
colour(15, 0);
printf("\nMBDIFF: MBSE BBS %s Nodelist diff processor\n", VERSION);
colour(14, 0);
printf(" %s\n", Copyright);
printf(" %s\n", COPYRIGHT);
}

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mbfido/mbfido.c
* Purpose ...............: Process Fidonet style mail and files.
* Last modification date : 14-Aug-2001
* $Id$
* Purpose: Process Fidonet style mail and files.
*
*****************************************************************************
* Copyright (C) 1997-2001
@ -156,7 +155,7 @@ void ProgName(void)
colour(15, 0);
printf("\nMBFIDO: MBSE BBS %s - Fidonet File and Mail processor\n", VERSION);
colour(14, 0);
printf(" %s\n", Copyright);
printf(" %s\n", COPYRIGHT);
}

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mbfile/mbfile.c
* Purpose ...............: File Database Maintenance
* Last modification date : 19-Oct-2001
* $Id$
* Purpose: File Database Maintenance
*
*****************************************************************************
* Copyright (C) 1997-2001
@ -66,7 +65,7 @@ void ProgName(void)
colour(15, 0);
printf("\nMBFILE: MBSE BBS %s File maintenance utility\n", VERSION);
colour(14, 0);
printf(" %s\n", Copyright);
printf(" %s\n", COPYRIGHT);
}
@ -212,15 +211,16 @@ void Help(void)
colour(9, 0);
printf(" Commands are:\n\n");
colour(3, 0);
// printf(" a adopt <area> <file> [desc] Adopt file to area\n");
printf(" c check Check filebase\n");
// printf(" d delete <file> <area> Mark file in area for deletion\n");
// printf(" im import <file> <area> Import file in area\n");
// printf(" d delete <area> <file> Mark file in area for deletion\n");
// printf(" im import <area> Import files in current dir to area\n");
printf(" in index Create filerequest index\n");
printf(" k kill Kill/move old files\n");
printf(" l list List file areas\n");
// printf(" m move <file> <from> <to> Move file from to area\n");
// printf(" m move <from> <to> <file> Move file from to area\n");
printf(" p pack Pack filebase\n");
// printf(" r rearc <file> <area> <arc> Rearc file in area to new archiver\n");
// printf(" r rearc <area> [file] [arc] Rearc file(s) in area\n");
colour(9, 0);
printf("\n Options are:\n\n");
colour(3, 0);

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mbindex.c
* $Id$
* Purpose ...............: Nodelist Compiler
* Last modification date : 08-Aug-2001
*
*****************************************************************************
* Copyright (C) 1997-2001
@ -165,7 +164,7 @@ void ProgName(void)
colour(15, 0);
printf("\nMBINDEX: MBSE BBS %s Nodelist Index Compiler\n", VERSION);
colour(14, 0);
printf(" %s\n", Copyright);
printf(" %s\n", COPYRIGHT);
colour(3, 0);
}

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mbmsg/mbmsg.c
* $Id$
* Purpose ...............: Message Base Maintenance
* Last modification date : 27-Jun-2001
*
*****************************************************************************
* Copyright (C) 1997-2001
@ -73,7 +72,7 @@ void ProgName()
colour(15, 0);
printf("\nMBMSG: MBSE BBS %s - Message Base Maintenance Utility\n", VERSION);
colour(14, 0);
printf(" %s\n", Copyright);
printf(" %s\n", COPYRIGHT);
colour(7, 0);
}

View File

@ -34,8 +34,6 @@
#include "common.h"
#include "mutil.h"
#define Copyright "Copyright (C) 1997-2001 Michiel Broek, All Rights Reserved"
static void die(int onsig)
{
@ -379,7 +377,7 @@ void soft_info(void)
center_addstr( 6, (char *)"MBSE BBS (Unknown)");
#endif
set_color(WHITE, BLACK);
center_addstr( 8, (char *)Copyright);
center_addstr( 8, (char *)COPYRIGHT);
set_color(YELLOW, BLACK);
center_addstr(10, (char *)"Made in the Netherlands.");
set_color(WHITE, BLACK);

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mutil.c
* $Id$
* Purpose ...............: Utilities
* Last modification date : 07-Aug-2001
*
*****************************************************************************
* Copyright (C) 1997-2001
@ -425,7 +424,7 @@ void screen_start(char *name)
printf((char *)"%s for MBSE BBS version %s", name, VERSION);
set_color(YELLOW, BLUE);
locate(2, 1);
printf((char *)"(c) Copyright Michiel Broek");
printf((char *)SHORTRIGHT);
set_color(LIGHTGRAY, BLACK);
show_date(LIGHTGRAY, BLACK, 0, 0);
fflush(stdout);

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mbsebbs/mball.c
* $Id$
* Purpose ...............: Creates allfiles listings
* Last modification date : 09-Aug-2001
*
*****************************************************************************
* Copyright (C) 1997-2001
@ -65,7 +64,7 @@ void ProgName()
colour(15, 0);
printf("\nMBALL: MBSE BBS %s Allfiles Listing Creator\n", VERSION);
colour(14, 0);
printf(" %s\n", Copyright);
printf(" %s\n", COPYRIGHT);
}

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mbsebbs/mbchat.c
* $Id$
* Purpose ...............: Sysop chat utility.
* Last modification date : 27-Nov-2000
*
*****************************************************************************
* Copyright (C) 1997-2000
@ -95,7 +94,7 @@ int main(int argc, char **argv)
if(argc != 2) {
printf("\nSCHAT: MBSE BBS %s Sysop chat facilty\n", VERSION);
printf(" %s\n", Copyright);
printf(" %s\n", COPYRIGHT);
printf("\nCommand-line parameters:\n\n");

View File

@ -1,9 +1,8 @@
/*****************************************************************************
*
* File ..................: mbfbgen.c
* $Id$
* Purpose ...............: mbfbgen generates file databases from the old
* style files.bbs.
* Last modification date : 28-Jun-2001
*
*****************************************************************************
* Copyright (C) 1997-2001
@ -68,7 +67,7 @@ int main(void)
colour(15, 0);
printf("\nMBFBGEN: MBSE BBS %s FileBase Generator Utility\n", VERSION);
colour(14, 0);
printf(" %s\n\n", Copyright);
printf(" %s\n\n", COPYRIGHT);
colour(7, 0);
pw = getpwuid(getuid());

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mbsebbs/mblang.c
* $Id$
* Purpose ...............: Language Compiler
* Last modification date : 28-Jun-2001
*
*****************************************************************************
* Copyright (C) 1997-2001
@ -47,7 +46,7 @@ int main(int argc, char **argv)
temp1 = calloc(PATH_MAX, sizeof(char));
printf("\nMBLANG: MBSE BBS %s Quick Language Data File Creator\n", VERSION);
printf(" %s\n", Copyright);
printf(" %s\n", COPYRIGHT);
if (argc < 3) {
printf("\nUsage: %s [language data file] [language text file]\n\n", *(argv));

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mbsebbs/mbsebbs.c
* $Id$
* Purpose ...............: Main startup
* Last modification date : 27-Oct-2001
*
*****************************************************************************
* Copyright (C) 1997-2001
@ -200,7 +199,7 @@ int main(int argc, char **argv)
colour(YELLOW, BLACK);
printf("MBSE BBS v%s (Release: %s)\n", VERSION, ReleaseDate);
colour(WHITE, BLACK);
printf("%s\n\n", Copyright);
printf("%s\n\n", COPYRIGHT);
/*
* Check if this port is available.

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mbstat/mbstat.c
* $id$
* Purpose ...............: Change BBS status
* Last modification date : 10-Jul-2001
*
*****************************************************************************
* Copyright (C) 1997-2001
@ -74,7 +73,7 @@ void ProgName(void)
colour(15, 0);
printf("\nMBSTAT: MBSE BBS %s Status Changer\n", VERSION);
colour(14, 0);
printf(" %s\n", Copyright);
printf(" %s\n", COPYRIGHT);
colour(3, 0);
}

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mbuser/mbuser.c
* $Id$
* Purpose ...............: User Pack Util
* Last modification date : 12-Aug-2001
*
*****************************************************************************
* Copyright (C) 1997-2001
@ -136,7 +135,7 @@ void ProgName(void)
colour(15, 0);
printf("\nMBUSER: MBSE BBS %s - User maintenance utility\n", VERSION);
colour(14, 0);
printf(" %s\n\n", Copyright);
printf(" %s\n\n", COPYRIGHT);
colour(7, 0);
}

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: bbs/pinfo.c
* $Id$
* Purpose ...............: Product information
* Last modification date : 08-Oct-2000
*
*****************************************************************************
* Copyright (C) 1997-2000
@ -101,7 +100,7 @@ void cr(void)
rs(a);
wl(a);
ls(a);
sprintf(temp, "%s", Copyright);
sprintf(temp, "%s", COPYRIGHT);
pout(11, 0, padleft(temp, 76, ' '));
rs(a);
wl(a);

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mbsetup.c
* $Id$
* Purpose ...............: Setup Program
* Last modification date : 25-Oct-2001
*
*****************************************************************************
* Copyright (C) 1997-2001
@ -144,7 +143,7 @@ void soft_info(void)
center_addstr( 6, (char *)"MBSE BBS (Unknown)");
#endif
set_color(WHITE, BLACK);
center_addstr( 8, (char *)Copyright);
center_addstr( 8, (char *)COPYRIGHT);
set_color(YELLOW, BLACK);
center_addstr(10, (char *)"Made in the Netherlands");
set_color(WHITE, BLACK);

View File

@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: screen.c
* $Id$
* Purpose ...............: Screen functions for setup.
* Last modification date : 25-Oct-2000
*
*****************************************************************************
* Copyright (C) 1997-2000
@ -148,7 +147,7 @@ void screen_start(char *name)
printf((char *)"%s for MBSE BBS version %s", name, VERSION);
set_color(YELLOW, BLUE);
locate(2, 1);
printf((char *)ShortRight);
printf((char *)SHORTRIGHT);
set_color(LIGHTGRAY, BLACK);
show_date(LIGHTGRAY, BLACK, 0, 0);
fflush(stdout);

View File

@ -53,7 +53,6 @@
#define ICMP_BASEHDR_LEN 8
#define ICMP_MAX_ERRS 5
#define SET_SOCKA_LEN4(socka)
#define Copyright "Copyright (C) 1997-2001 Michiel Broek, All Rights Reserved"
typedef enum {P_INIT, P_SENT, P_FAIL, P_OK, P_ERROR, P_NONE} PINGSTATE;
@ -1377,7 +1376,7 @@ int main(int argc, char **argv)
* Print copyright notices and setup logging.
*/
printf("MBTASK: MBSE BBS v%s Task Manager Daemon\n", VERSION);
printf(" %s\n\n", Copyright);
printf(" %s\n\n", COPYRIGHT);
/*
* Catch all the signals we can, and ignore the rest. Note that SIGKILL can't be ignored