The net-im/jabberd port installs /usr/local/etc/rc.d/jabberd with
a standard "REQUIRE: DAEMON" line.
net-im/jabberd has numerous storage backend knobs: MySQL, Postgres,
BDB, SQlite, LDAP, etc. Enabling a backend that requires a separate
daemon to be running, including the default MySQL, should add that
to the REQUIRE: line so that the backend starts before jabberd.
Currently, jabberd fails to start when the system boots because rcorder
places mysql-server after jabberd.
Modify files/jabberd.in and the Makefile and whatever else is needed
to tweak the REQUIRE: line based on the selected storage backend.
(unless it doesn't need a daemon running, like SQLite or BDB)
The net/freeradius port has some logic to do this, so that could be
the basis for creating a patch. I'm not completely up on all the
different rcorder keywords so I haven't created a patch myself.
How-To-Repeat: Install net-im/jabberd port, configure it with MySQL as the backend,
and reboot: jabberd will try and fail to start before mysql-server
Over to maintainer (via the GNATS Auto Assign Tool)
mm 2008-01-03 15:32:41 UTC
FreeBSD ports repository
- Remove optional support for Cyrus SASL (unsupported from 2.1.20) 
- Add support for backend daemon requires to startup script (WITH_REQUIRES) 
- Bump PORTREVISION
PR: ports/119287 , ports/119247 
Submitted by: Denis Eremenko , Mike Andrews 
Revision Changes Path
1.53 +14 -14 ports/net-im/jabberd/Makefile
1.2 +2 -3 ports/net-im/jabberd/files/jabberd.in
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"