]> jfr.im git - irc/blitzed-org/charybdis.git/commit
Add explicit support for being installed into a system triggered with --enable-fhs...
authorNathan Phillip Brink <redacted>
Thu, 1 Mar 2012 02:41:09 +0000 (02:41 +0000)
committerNathan Phillip Brink <redacted>
Thu, 1 Mar 2012 02:41:09 +0000 (02:41 +0000)
commitc74836dc4a5bde1e0bf38da58053bf5f28da8ff5
tree547c8047a9815dafda58055b41d59004967c861d
parentf2ee5e62195ff7267c66b8193141bb81b1550b46
Add explicit support for being installed into a system triggered with --enable-fhs-paths.

Add two mechanism for avoiding name-collisions in a system-wide
installation of charybdis. The ssld and bandb daemons, intended to be
directly used by ircd and not the user, install into libexec when
--enable-fhs-paths is set. For binaries which are meant to be in PATH
(bindir), such as ircd and viconf, there is now an option
--with-program-prefix=progprefix inspired by automake. If the user
specifies --with-program-prefix=charybdis, the ircd binary is named
charybdisircd when installed.

Add support for saving the pidfile to a rundir and storing the ban
database in localstatedir instead of in sysconfdir. This is, again,
conditional on --enable-fhs-paths.

Fix(?) genssl.sh to always write created SSL key/certificate/dh
parameters to the sysconfdir specified during ./configure. The
previous behavior was to assume that the user ran genssl.sh after
ensuring that his current working directory was either sysconfdir or a
sibling directory of sysconfdir.
19 files changed:
.gitignore
Makefile.in
aclocal.m4
bandb/Makefile.in
configure.ac
doc/Makefile.in
extensions/Makefile.in
help/Makefile.in
include/config.h
libratbox/acinclude.m4
modules/Makefile.in
src/Makefile.in
src/bandbi.c
src/sslproc.c
ssld/Makefile.in
tools/Makefile.in
tools/genssl.sh [deleted file]
tools/genssl.sh.in [new file with mode: 0755]
tools/viconf.c