Google

IRC Services Manual

Important information for users upgrading from previous versions of Services

Table of Contents


1. Executable and configuration files

In previous versions of Services, the main executable file (program file) was called "services"; in version 5.0 it has been renamed to "ircservices" to match the package name. Once you are satisfied that you don't need the old services executable file, you should delete it (make install will leave it alone).

Also, previous versions of Services (since 4.1.0) used a file called "services.conf" to control various aspects of the behavior of Services. Services 5.0 also uses such a file, but it has been renamed to "ircservices.conf" and its format has changed from previous versions. In particular, many of the options from previous versions are now module options, and must be placed in a separate file called "modules.conf". Please see the manual, and the example-ircservices.conf and example-modules.conf files in the data directory, for details.


2. Running the configure script

The configure script has been redesigned to require as little input as possible; many of the options that previously required user input during the configuration process have been moved to the ircservices.conf file, and the script can now be completely automated if you provide the -prefix option or both of the -bindest and -datdest options to specify the pathnames for installation. Run configure with the -help option for details on available command-line options.

The configure script also now accepts all options in the GNU long-option (two leading hyphens) style, so if you are used to the GNU autoconf-style configure, you can now type ./configure --prefix=/usr (for example) to get the same effect with Services.


3. listnicks and listchans

Earlier versions of Services provided two additional programs, "listnicks" and "listchans", to show nickname and channel data from the command line. These programs have been removed in version 5.0 in favor of the new HTTP interface; the httpd/dbaccess module provides the same functionality and much, much more.


4. Encrypted passwords

Unlike previous versions of Services, encryption is no longer an "on/off" setting; instead, encryption is enabled by specifying an encryption module in ircservices.conf. See the manual (section 3-7) for details.

If you are upgrading from version 4.4.x or earlier, and you use MD5-encrypted passwords, your passwords will no longer work due to a bug in those versions of Services. Support is available in version 4.5 for reading the broken passwords and allowing them to be reset; if you want to give users a chance to change their passwords, you should first upgrade to the most recent 4.5.x release, then when most or all of the users have reset their passwords, upgrade to version 5.0. For details, see the What's New notes for version 4.5.


5. Nickname linking system changes

The nickname linking system used in Services 5.0 is different from that used in previous versions. Rather than a multiple-level "tree" of linked nicknames, nicknames are now organized into groups, and the LINK and UNLINK commands add nicknames to or remove nicknames from this group. Functionally, there is little difference between this system and using only one level of links in the previous system. However, the LINK and UNLINK commands work in the opposite direction from version 4.x, taking a nickname parameter and adding or removing that nickname (for example, "LINK OtherNick"), and nicknames to be linked must be unregistered nicknames, which is also a change from version 4.x; make sure your users are aware of these changes.


6. Memo expiration

Version 5.0 of Services provides the ability to automatically delete (expire) memos after a certain period of time. Since this feature was not present in previous versions and users may have important information saved in memos, Services will not expire any memos which were sent before upgrading to version 5.0; thus, it is safe to enable memo expiration without having to warn users about loss of saved memos or taking other preventative measures. (However, it would be prudent to inform users that any future memos will expire after a certain period of time, if you choose to enable memo expiration.)


7. Channel access levels

Channel access levels have been rescaled in this version of Services to make better use of the available range of values; instead of a range of -9999 through 9999 where only values -2 through 10 are used, the range has been reduced to -999 through 999, and default levels now range from -100 to 100 (all defaults have been increased by a factor of 10, with the exception of AUTODEOP and NOJOIN, which are no longer changeable in version 5.0 but are fixed internally at -1 and -100 respectively). Level values from version 4.x databases will be properly converted to use the new range, so that all users will still have the same privileges as they did in previous versions. However, be aware that in some cases involving two users with levels outside the range -50 through 50 in version 4.x, if the levels are different but close (e.g. 1001 and 1002), then the users will have the same access level in version 5.0. The exact conversion function is stepwise linear, as follows (negative levels are converted to the negative of the conversion of the absolute value of the level):

Old level (o) New level (n) Conversion function
0. . .25 0. . .250 n = 10o
25. . .50 250. . .300 n = 2o + 200
50. . .100 300. . .320 n = 2o/5 + 280
100. . .1000 320. . .500 n = o/5 + 300
1000. . .2000 500. . .600 n = o/10 + 400
  2000. . .9999      600. . .999    n = o/20 + 500


Table of Contents | Top