packages: znc: update to 1.0

Update ZNC to newest version 1.0

 * Update config format to reflect new config format and allow
   multiple networks per user.
 * Update init script to create a 1.0 compatible config.
 * Add new modules introduced in 1.0, remove dropped ones.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@34659 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jogo
2012-12-13 14:07:57 +00:00
parent d37b83b518
commit 9e9d3900d4
6 changed files with 267 additions and 96 deletions

View File

@ -9,20 +9,18 @@ Subject: [PATCH] Add a uClibc++ build workaround
--- a/modules/webadmin.cpp
+++ b/modules/webadmin.cpp
@@ -15,11 +15,13 @@
#include "WebModules.h"
#include "ZNCString.h"
#include "Listener.h"
@@ -15,9 +15,11 @@
#include <znc/Listener.h>
#include <znc/IRCNetwork.h>
#include <znc/IRCSock.h>
+#include <string>
#include <sstream>
#include <utility>
+using std::string;
using std::stringstream;
using std::make_pair;
+using std::string;
/* Stuff to be able to write this:
// i will be name of local variable, see below
using std::set;
@@ -55,7 +57,7 @@ class CWebAdminMod : public CGlobalModul
public:
GLOBALMODCONSTRUCTOR(CWebAdminMod) {