fix config error
[openwrt.git] / openwrt / package / psybnc / patches / psybnc.patch
1 diff -ur psybnc/config.h psybnc_finish/config.h
2 --- psybnc/config.h 2005-06-04 20:22:45.000000000 +0200
3 +++ psybnc_finish/config.h 2005-11-03 17:05:40.802998216 +0100
4 @@ -1,40 +1,7 @@
5 -/* $Id: config.h,v 1.2 2005/06/04 18:05:33 hisi Exp $ */
6 /*
7 * Configuration file for psyBNC, created by menuconf
8 */
9
10 -/* Encryption */
11 -
12 -#define CRYPT
13 -
14 -/* Encryption Type*/
15 -
16 -#define BLOWFISH
17 -
18 -/* Allow Translation */
19 -
20 -#define TRANSLATE
21 -
22 -/* Allow internal network */
23 -
24 -#define INTNET
25 -
26 -/* Allow traffic logging */
27 -
28 -#define TRAFFICLOG
29 -
30 -/* Allow linkage of bouncers */
31 -
32 -#define LINKAGE
33 -
34 -/* Allow the dcc File-Functions */
35 -
36 -#define DCCFILES
37 -
38 -/* Pipe dcc Chats */
39 -
40 -#define DCCCHAT
41 -
42 /* Allow to add more users */
43
44 #define MULTIUSER
45 @@ -47,28 +14,27 @@
46
47 #define MAXCONN 99
48
49 -/* Allow the usage of scripts */
50 +/* Use blocking DNS */
51
52 -#define SCRIPTING
53 +#define BLOCKDNS
54
55 /* Allow multiple irc connections per user */
56
57 #define NETWORK
58
59 -/* Allow Proxy Support */
60 +/* The logging level */
61
62 -#define PROXYS
63 +#define LOGLEVEL 2
64
65 -/* The logging level */
66 +/* The ctcp Version reply */
67
68 -#define LOGLEVEL 0
69 +#define CTCPVERSION "psyBNC 2.3.2-7 running on mipsel, ported by piie visit www.linuX-gamers.net"
70
71 -/* SSL-Security */
72 +/* The Path to SSL */
73
74 -#define SSLSEC 2
75 +#define SSLPATH "/tmp/"
76
77 -/* Blocking DNS is preferred. Non Blocking DNS is experimental */
78 +/* SSL-Security */
79 +
80 +#define SSLSEC 0
81
82 -#ifndef BLOCKDNS
83 -#define BLOCKDNS
84 -#endif
85 diff -ur psybnc/tools/autoconf.c psybnc_finish/tools/autoconf.c
86 --- psybnc/tools/autoconf.c 2005-06-04 20:22:45.000000000 +0200
87 +++ psybnc_finish/tools/autoconf.c 2005-10-29 14:46:49.000000000 +0200
88 @@ -425,7 +425,7 @@
89 printf("Can't create makefile.out .. aborting\n");
90 exit(0x1);
91 }
92 - fprintf(makefile,"CC = gcc\n");
93 + fprintf(makefile,"CC = mipsel-linux-gcc\n");
94 fprintf(makefile,"SRC = src/\n");
95 #ifdef BOUNDCHECK
96 fprintf(makefile,"CFLAGS = -O -fbounds-checking -fno-builtin\n");
97 @@ -450,7 +450,7 @@
98 fprintf(makefile,"\n");
99 fprintf(makefile,"all: $(OBJS)\n");
100 fprintf(makefile," $(CC) -o $(TARGET) $(CFLAGS) $(OBJS) $(LIBS)\n");
101 - fprintf(makefile," @strip $(TARGET)\n");
102 + /*fprintf(makefile," @strip $(TARGET)\n");*/
103 if(ssl==0)
104 {
105 if(!fexists("key/psybnc.cert.pem")) /* only create, if not exist */
This page took 0.052551 seconds and 5 git commands to generate.