[openbnc-cvs] openbnc/tools autoconf.c,1.1.1.1,1.2 chkbind.c,1.1.1.1,1.2 chkenv.c,1.1.1.1,1.2 chkipv
Status: Beta
Brought to you by:
andrereis
From: Nuno A. <nun...@us...> - 2004-06-04 15:26:23
|
Update of /cvsroot/openbnc/openbnc/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6589/openbnc/tools Modified Files: autoconf.c chkbind.c chkenv.c chkipv6.c chkresolv.c chksock.c chkssl.c chktime.c convconf.c makesalt.c Log Message: Log Index: chksock.c =================================================================== RCS file: /cvsroot/openbnc/openbnc/tools/chksock.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- chksock.c 24 May 2004 16:44:18 -0000 1.1.1.1 +++ chksock.c 4 Jun 2004 15:26:13 -0000 1.2 @@ -1,5 +1,5 @@ /************************************************************************ - * psybnc2.2.2, tools/chksock.c + * openbnc0.0.1, tools/chksock.c * Copyright (C) 2001 the most psychoid and * the cool lam3rz IRC Group, IRCnet * http://www.psychoid.lam3rz.de Index: makesalt.c =================================================================== RCS file: /cvsroot/openbnc/openbnc/tools/makesalt.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- makesalt.c 24 May 2004 16:44:17 -0000 1.1.1.1 +++ makesalt.c 4 Jun 2004 15:26:13 -0000 1.2 @@ -1,5 +1,5 @@ /************************************************************************ - * psybnc2.2.2, tools/makesalt.c + * openbnc0.0.1, tools/makesalt.c * Copyright (C) 2001 the most psychoid and * the cool lam3rz IRC Group, IRCnet * http://www.psychoid.lam3rz.de @@ -100,7 +100,7 @@ fprintf(salt,"\n"); fclose(salt); printf("Salt File created. Move the Salt File to a safe location after\n"); - printf("psyBNC was compiled and delete it on your shell. You will need\n"); + printf("OpenBNC was compiled and delete it on your shell. You will need\n"); printf("the File later for update Compiling.\n"); exit (0x0); } Index: chkenv.c =================================================================== RCS file: /cvsroot/openbnc/openbnc/tools/chkenv.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- chkenv.c 24 May 2004 16:44:18 -0000 1.1.1.1 +++ chkenv.c 4 Jun 2004 15:26:13 -0000 1.2 @@ -1,5 +1,5 @@ /************************************************************************ - * psybnc2.2.2, tools/chkenv.c + * openbnc0.0.1, tools/chkenv.c * Copyright (C) 2001 the most psychoid and * the cool lam3rz IRC Group, IRCnet * http://www.psychoid.lam3rz.de Index: autoconf.c =================================================================== RCS file: /cvsroot/openbnc/openbnc/tools/autoconf.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- autoconf.c 24 May 2004 16:44:18 -0000 1.1.1.1 +++ autoconf.c 4 Jun 2004 15:26:13 -0000 1.2 @@ -1,5 +1,5 @@ /************************************************************************ - * psybnc2.3, tools/autoconf.c + * openbnc0.1, tools/autoconf.c * Copyright (C) 2001 the most psychoid and * the cool lam3rz IRC Group, IRCnet * http://www.psychoid.lam3rz.de @@ -410,7 +410,7 @@ } else printf("No openssl found. Get openssl at www.openssl.org\n"); - config=fopen("/psybnc/config.h","r"); + config=fopen("/openbnc/config.h","r"); if(config!=NULL) { fclose(config); @@ -440,19 +440,19 @@ #endif else fprintf(makefile,"INCLUDE = -I./src/ -I.\n"); - fprintf(makefile,"OBJS = src/psybnc.o src/match.o src/p_client.o src/p_crypt.o src/p_dcc.o src/p_hash.o src/p_idea.o src/p_inifunc.o src/p_link.o src/p_log.o src/p_memory.o src/p_network.o src/p_parse.o src/p_peer.o src/p_server.o src/p_socket.o src/p_string.o src/p_sysmsg.o src/p_userfile.o src/p_uchannel.o src/p_script.o src/p_topology.o src/p_intnet.o src/p_blowfish.o src/p_translate.o src/p_coredns.o src/snprintf.o %s\n",env); + fprintf(makefile,"OBJS = src/openbnc.o src/match.o src/p_client.o src/p_crypt.o src/p_dcc.o src/p_hash.o src/p_idea.o src/p_inifunc.o src/p_link.o src/p_log.o src/p_memory.o src/p_network.o src/p_parse.o src/p_peer.o src/p_server.o src/p_socket.o src/p_string.o src/p_sysmsg.o src/p_userfile.o src/p_uchannel.o src/p_script.o src/p_topology.o src/p_intnet.o src/p_blowfish.o src/p_translate.o src/p_coredns.o src/snprintf.o %s\n",env); if(provi==0) fprintf(makefile,"DEFINE = -DHAVE_CONFIG %s%s%s%s%s%s\n",sunosopt,bigopt,ipv6opt,timeopt,sslopt,dnsopt); else fprintf(makefile,"DEFINE = -DHAVE_PROV_CONFIG %s%s%s%s%s%s\n",sunosopt,bigopt,ipv6opt,timeopt,sslopt,dnsopt); - fprintf(makefile,"TARGET = psybnc\n"); + fprintf(makefile,"TARGET = openbnc\n"); fprintf(makefile,"\n"); fprintf(makefile,"all: $(OBJS)\n"); fprintf(makefile," $(CC) -o $(TARGET) $(CFLAGS) $(OBJS) $(LIBS)\n"); fprintf(makefile," @strip $(TARGET)\n"); if(ssl==0) { - if(!fexists("key/psybnc.cert.pem")) /* only create, if not exist */ + if(!fexists("key/openbnc.cert.pem")) /* only create, if not exist */ { mkdir("key",0700); fprintf(makefile," @echo \"*** GENERATING SSL-KEYS FROM CERTIFICATE **\"\n"); @@ -462,14 +462,14 @@ fprintf(makefile," @echo \"* for the sake of correct Cert-Checking *\"\n"); fprintf(makefile," @echo \"*******************************************\"\n"); fprintf(makefile," @echo \"Generating certificate request .. \"\n"); - fprintf(makefile," @%s req -new -config src/ssl.cnf -out key/psybnc.req.pem \\\n",sslbin); - fprintf(makefile," -keyout key/psybnc.key.pem -nodes\n"); + fprintf(makefile," @%s req -new -config src/ssl.cnf -out key/openbnc.req.pem \\\n",sslbin); + fprintf(makefile," -keyout key/openbnc.key.pem -nodes\n"); fprintf(makefile," @echo \"Generating self-signed certificate .. \"\n"); - fprintf(makefile," @%s req -x509 -days 365 -in key/psybnc.req.pem \\\n",sslbin); - fprintf(makefile," -key key/psybnc.key.pem -out key/psybnc.cert.pem\n"); + fprintf(makefile," @%s req -x509 -days 365 -in key/openbnc.req.pem \\\n",sslbin); + fprintf(makefile," -key key/openbnc.key.pem -out key/openbnc.cert.pem\n"); fprintf(makefile," @echo \"Generating fingerprint ..\"\n"); fprintf(makefile," @%s x509 -subject -dates -fingerprint -noout \\\n",sslbin); - fprintf(makefile," -in key/psybnc.cert.pem\n"); + fprintf(makefile," -in key/openbc.cert.pem\n"); } if(!fexists("src/ssl.rnd")) { @@ -503,7 +503,7 @@ } } } - fprintf(makefile," @echo " APPNAME APPVER "-%s ready. Please read the README before you run psybnc.\n",os); + fprintf(makefile," @echo " APPNAME APPVER "-%s ready. Please read the README before you run openbnc.\n",os); fprintf(makefile,"\n"); fprintf(makefile,"include ./targets.mak\n"); fclose(makefile); Index: chktime.c =================================================================== RCS file: /cvsroot/openbnc/openbnc/tools/chktime.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- chktime.c 24 May 2004 16:44:18 -0000 1.1.1.1 +++ chktime.c 4 Jun 2004 15:26:13 -0000 1.2 @@ -1,5 +1,5 @@ /************************************************************************ - * psybnc2.2.2, tools/chktime.c + * openbnc0.0.1, tools/chktime.c * Copyright (C) 2001 the most psychoid and * the cool lam3rz IRC Group, IRCnet * http://www.psychoid.lam3rz.de Index: chkipv6.c =================================================================== RCS file: /cvsroot/openbnc/openbnc/tools/chkipv6.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- chkipv6.c 24 May 2004 16:44:18 -0000 1.1.1.1 +++ chkipv6.c 4 Jun 2004 15:26:13 -0000 1.2 @@ -1,5 +1,5 @@ /************************************************************************ - * psybnc2.2.2, tools/chkipv6.c + * openbnc0.0.1, tools/chkipv6.c * Copyright (C) 2001 the most psychoid and * the cool lam3rz IRC Group, IRCnet * http://www.psychoid.lam3rz.de Index: chkssl.c =================================================================== RCS file: /cvsroot/openbnc/openbnc/tools/chkssl.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- chkssl.c 24 May 2004 16:44:18 -0000 1.1.1.1 +++ chkssl.c 4 Jun 2004 15:26:13 -0000 1.2 @@ -1,5 +1,5 @@ /************************************************************************ - * psybnc2.3, tools/chkssl.c + * openbnc0.0.1, tools/chkssl.c * Copyright (C) 2001 the most psychoid and * the cool lam3rz IRC Group, IRCnet * http://www.psychoid.lam3rz.de Index: convconf.c =================================================================== RCS file: /cvsroot/openbnc/openbnc/tools/convconf.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- convconf.c 24 May 2004 16:44:17 -0000 1.1.1.1 +++ convconf.c 4 Jun 2004 15:26:13 -0000 1.2 @@ -1,5 +1,5 @@ /************************************************************************ - * psybnc2.2.2, tools/convconf.c + * openbnc0.0.1, tools/convconf.c * Copyright (C) 2001 the most psychoid and * the cool lam3rz IRC Group, IRCnet * http://www.psychoid.lam3rz.de @@ -153,14 +153,14 @@ if(handle!=NULL) { fclose(handle); - printf("psyBNC2.1 -> psyBNC2.2 Conversion Utility\nChecking old Ini-Files\n"); - fconfif=fopen("psybnc.conf","a"); + printf("OpenBNC0.0.1 -> OpenBNC Conversion Utility\nChecking old Ini-Files\n"); + fconfif=fopen("openbnc.conf","a"); if(fconfif==NULL) { - printf("Can't open psybnc.conf, aborting\n"); + printf("Can't open openbnc.conf, aborting\n"); exit(0x1); /* error, break making. */ } - handle=fopen("psbnc.ini","r"); + handle=fopen("pnbnc.ini","r"); cofile(handle,fconfif,"PSYBNC",1); fclose(handle); unlink("psbnc.ini"); @@ -187,13 +187,13 @@ convertlist("HOSTALLOWS","ENTRY%d","PSYBNC","psbnc.hosts",fconfif); fclose(fconfif); } else { - fconfif=fopen("psybnc.conf","r"); + fconfif=fopen("openbnc.conf","r"); if(fconfif!=NULL) { printf("Using existent configuration File.\n"); fclose(fconfif); } else { - fconfif=fopen("psybnc.conf","w"); + fconfif=fopen("openbnc.conf","w"); fprintf(fconfif,"PSYBNC.SYSTEM.PORT1=31337\n"); fprintf(fconfif,"PSYBNC.SYSTEM.HOST1=*\n"); fprintf(fconfif,"PSYBNC.HOSTALLOWS.ENTRY0=*;*\n"); Index: chkresolv.c =================================================================== RCS file: /cvsroot/openbnc/openbnc/tools/chkresolv.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- chkresolv.c 24 May 2004 16:44:18 -0000 1.1.1.1 +++ chkresolv.c 4 Jun 2004 15:26:13 -0000 1.2 @@ -1,5 +1,5 @@ /************************************************************************ - * psybnc2.3.1, tools/chkresolv.c + * openbnc0.0.1, tools/chkresolv.c * Copyright (C) 2001 the most psychoid and * the cool lam3rz IRC Group, IRCnet * http://www.psychoid.lam3rz.de Index: chkbind.c =================================================================== RCS file: /cvsroot/openbnc/openbnc/tools/chkbind.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- chkbind.c 24 May 2004 16:44:18 -0000 1.1.1.1 +++ chkbind.c 4 Jun 2004 15:26:13 -0000 1.2 @@ -1,5 +1,5 @@ /************************************************************************ - * psybnc2.2.2, tools/chksock.c + * openbnc0.0.1, tools/chksock.c * Copyright (C) 2001 the most psychoid and * the cool lam3rz IRC Group, IRCnet * http://www.psychoid.lam3rz.de |