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:
25
unrealircd/patches/01-no_openssl_ripe.patch
Normal file
25
unrealircd/patches/01-no_openssl_ripe.patch
Normal 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
|
||||
13
unrealircd/patches/02-config.patch
Normal file
13
unrealircd/patches/02-config.patch
Normal 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";
|
||||
Reference in New Issue
Block a user