Global Warming

It's basically all our fault... Accept it... Now let's help fix it!

On the 20th of June, 2008 work was completed on updating the irc/ircd-ratbox-devel port for the FreeBSD ports tree. This brings the port up to the most recent beta version released by the ratbox team.

Dependency on the sqlite3 port has temporarily been disabled due to sqlite detection problems in the ratbox auto-configure system, but should be back to normal in the next release. Ratbox will attempt to detect a system sqlite3 but should fail and instead link against its bundled sqlite library. The USE_LDCONFIG Makefile option has been added to allow the port to register the installed libratbox shared libraries with the linker.

Thanks to modifications to the ratbox build and install system, a --disable-backups configure option has been added that disables the backup functionality that would normally have to be removed by patching. This means the number of patches the port requires has been significantly reduced which in turn will make porting new releases much easier. Patches required to automate the build and install of the contrib modules have also been removed by adding custom make and install targets into the port's Makefile.

post-build:
    @cd ${INSTALL_WRKSRC}/contrib && ${SETENV} ${MAKE_ENV} ${MAKE} \
        ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS}
pre-su-install:
    @cd ${INSTALL_WRKSRC}/contrib && ${SETENV} ${MAKE_ENV} ${MAKE} \
        ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install

Inserted from the ratbox release notes, changes include:

  • Add admin only -lock klines, doing KLINE -lock will allow admins to add klines that normal opers cannot remove.
  • Modify bantool to have a -u option that updates the database schema if upgrading from previous betas, this needs to be run to support the -lock kline changes.
  • Fix cidr klines so they work again.
  • Update included sqlite3 to the latest revision.
  • Allow kline/unkline of a bare host or address, this gets treated as *@host.
  • Report when an invalid kline is passed, instead of silently ignoring.

ban.db Database Update

This release update contains a change to the ban database schema which requires an update. The 'bantool' utility now comes with a -u switch that will check and update the ban database as necessary.

A 'bantool -u' update is required when upgrading to the beta5 releases and must not be done while the old ircd is running, or after the new version is started.

At one stage the port was able to perform an automatic update of the ban.db upon installation, but it was thought safer to leave this as a manual process and therefore this functionality was removed.

Next Port Update

As with ircd-ratbox, the next version of the port should support the ircd-shortcut.pl script that allows people to specify the services shortcut commands they want to use during installation. The port then takes care of updating the script and the build & install of the services module.

Note that the ratbox ident helper daemon has been merged back into the ircd to solve a number of problems and therefore will no longer be installed into libexec or appear on the process list.

— posted by Moggie · 2008-06-28 00:32

|