1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2025-04-21 12:27:27 +03:00

unrealircd: initial commit

This commit is contained in:
kyak
2013-08-01 16:18:09 +04:00
parent 2d18f0806c
commit 9b6e25c984
4 changed files with 110 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
--- a/include/struct.h
+++ b/include/struct.h
@@ -39,8 +39,10 @@
#include <openssl/evp.h>
#include <openssl/rand.h>
#include <openssl/md5.h>
+#ifndef OPENSSL_NO_RIPEMD
#include <openssl/ripemd.h>
#endif
+#endif
#include "common.h"
#include "sys.h"
#include "hash.h"
--- a/include/auth.h
+++ b/include/auth.h
@@ -37,7 +37,9 @@ typedef struct {
#ifdef USE_SSL
#define AUTHENABLE_SHA1
#define AUTHENABLE_SSL_CLIENTCERT
+#ifndef OPENSSL_NO_RIPEMD
#define AUTHENABLE_RIPEMD160
+#endif
#define AUTHENABLE_SSL_CLIENTCERTFP
/* OpenSSL provides a crypt() */
#ifndef AUTHENABLE_UNIXCRYPT

View File

@@ -0,0 +1,13 @@
--- a/doc/example.conf
+++ b/doc/example.conf
@@ -33,8 +33,8 @@
*/
/* FOR *NIX, uncomment the following 2lines: */
-//loadmodule "src/modules/commands.so";
-//loadmodule "src/modules/cloak.so";
+loadmodule "modules/commands.so";
+loadmodule "modules/cloak.so";
/* FOR Windows, uncomment the following 2 lines: */
//loadmodule "modules/commands.dll";