Upgrading from Anope 2.0 to Anope 2.1 can be done by:
General
- Update any scripts you have that execute
servicesto executeanopeinstead.
services.conf
-
Rename
services.conftoanope.conf. -
Replace
uplink:ipv6withuplink:protocol(example)./* * The protocol that Anope should use when connecting to the uplink. Can * be set to "ipv4" (the default), "ipv6", or "unix". */ protocol = "ipv4" -
If you are using the
charybdisprotocol module then migrate to Solanum and replace it with thesolanummodule. -
If you are using the
inspircd3protocol module then replace it with theinspircdmodule. -
If you are using the
inspircd12orinspircd20protocol modules then upgrade your IRCd and replace it with theinspircdmodule. -
If you are using the
unreal4protocol module then replace it with theunrealircdmodule. -
If you are using the
unrealprotocol module then upgrade your IRCd and replace it with theunrealircdmodule. -
Move the
enc_md5,enc_noneandenc_sha1modules to be secondary encryption modules and addenc_bcryptorenc_sha256as a new primary encryption module (example)./* * [RECOMMENDED] Encryption modules. * * The encryption modules are used when dealing with passwords. This determines how * the passwords are stored in the databases, and does not add any security as * far as transmitting passwords over the network goes. * * Without any encryption modules loaded users will not be able to authenticate unless * there is another module loaded that provides authentication checking, such as * m_ldap_authentication or m_sql_authentication. * * With enc_none, passwords will be stored in plain text, allowing for passwords * to be recovered later but it isn't secure and therefore is not recommended. * * The other encryption modules use one-way encryption, so the passwords can not * be recovered later if those are used. * * The first encryption module loaded is the primary encryption module. All new passwords are * encrypted by this module. Old passwords stored in another encryption method are * automatically re-encrypted by the primary encryption module on next identify. * * enc_md5, enc_sha1, and enc_old are deprecated, and are provided for users * to upgrade to a newer encryption module. Do not use them as the primary * encryption module. They will be removed in a future release. * */ #module { name = "enc_bcrypt" } module { name = "enc_sha256" } /* * [DEPRECATED] Deprecated encryption modules. You can only use these for compatibility with * old databases and will need to load one of the above modules as your primary encryption * module. */ #module { name = "enc_md5" } #module { name = "enc_none" } #module { name = "enc_sha1" }
botserv.conf
- Add a description to the
GREETprivilege (example).privilege { name = "GREET" desc = _("Greet message displayed on join") rank = 40 level = 5 flag = "g" xop = "AOP" }
chanserv.conf
-
Add a description to the
ACCESS_CHANGE,ACCESS_LIST,AKICK,ASSIGN,AUTOHALFOP,AUTOOP,AUTOOWNER,AUTOPROTECT,AUTOVOICE,BADWORDS,BAN,FANTASIA,FOUNDER,GETKEY,HALFOP,HALFOPME,INFO,INVITE,KICK,MEMO,MODE,NOKICK,OP,OPME,OWNER,OWNERME,PROTECT,PROTECTME,SAY,SET,SIGNKICK,TOPIC,UNBAN,UNBANME,VOICE, andVOICEMEprivileges (example). -
Add the
UNBANMEprivilege forchanserv/unban(example)./* * UNBANME privilege. * * Used by chanserv/unban. * * Users with this permission can unban themself through ChanServ. */ privilege { name = "UNBANME" desc = _("Allowed to unban themself") rank = 200 level = 4 flag = "U" xop = "HOP" }
chanstats.conf
- Remove the
m_prefix from thechanstatsmodule.
nickserv.conf
-
Add the
nickserv/set/neveropandnickserv/saset/neveropcommands (example).command { service = "NickServ"; name = "SET NEVEROP"; command = "nickserv/set/neverop"; } command { service = "NickServ"; name = "SASET NEVEROP"; command = "nickserv/saset/neverop"; permission = "nickserv/saset/neverop"; } -
Remove the
ns_getpassmodule andnickserv/getpasscommand. -
Rename
nickserv:passlentonickserv:maxpasslen. -
Replace
nickserv:strictpasswordswithnickserv:minpasslen(example)./* * The minimum length of passwords * * This directive is optional. If not set it defaults to 8. */ minpasslen = 8
modules.conf
-
If enabled add
module:tlsv10,module:tlsv11, andmodule:tlsv12to thessl_opensslmodule (example)./* * If you wish to increase security you can disable support for older * versions of TLS with no known vulnerabilities but that provide less * security. For your security SSLv2 and SSLv3 are always disabled. */ #tlsv10 = no #tlsv11 = no #tlsv12 = yes -
If enabled remove the
module:sslv3from thessl_opensslmodule (now always disabled). -
If enabled remove the the
m_prefix from thedns,dnsbl,helpchan,httpd,ldap,ldap_oper,mysql,proxyscan,redis,regex_pcre2,regex_posix,regex_stdlib,regex_tre,rewrite,sasl,sql_log,sql_oper,sqlite,ssl_gnutls,ssl_openssl,xmlrpc, andxmlrpc_mainmodules. -
If enabled replace the
m_regex_pcremodule with theregex_pcre2module.
operserv.conf
- Remove the
os_olinemodule andoperserv/olinecommand./* * os_oline * * Provides the command operserv/oline. * * Used to set oper flags on users, and is specific to UnrealIRCd 3.2. * See /helpop ?svso on your IRCd for more information. */ #module { name = "os_oline" } #command { service = "OperServ"; name = "OLINE"; command = "operserv/oline"; permission = "operserv/oline"; }
stats.standalone.conf
- Remove the
m_prefix from themysqlmodule.
Saving configuration results in config.cache... done.
cmake -DINSTDIR:STRING=/home/sisrv/anope -DDEFUMASK:STRING=077 -DCMAKE_BUILD_TYPE:STRING=RELEASE ..
CMake Error at CMakeLists.txt:2 (cmake_minimum_required):
CMake 3.8 or higher is required. You are running version 3.0.2
check our tutorial on How to compile and install CMake on Linux
Did this tutorial help? How about buy me a cup of coffee?

