cef96c6e30
ircd-ratbox is an advanced, stable and fast ircd. It is the primary ircd used on EFNet, combining the stability of an ircd required for a large production network together with a rich set of features, making it also suitable for use on smaller networks. Features include: * optional SSL support to enable encrypted connections between clients and servers, as well as server to server links * support for SSL only channels (channel mode +S) * uses sqlite3 for handling and storing k/x/d lines * support for global CIDR limits * provides adminwall command allowing admins to broadcast messages to each other * support to force nick changes request, testing and feedback by Michiel van Baak setusercontext() idea from form@ via bernd@ tested on armish and ok by sthen@
67 lines
1.7 KiB
Makefile
67 lines
1.7 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2009/02/09 09:41:54 simon Exp $
|
|
|
|
SHARED_ONLY = Yes
|
|
COMMENT = advanced, stable and fast ircd
|
|
|
|
DISTNAME = ircd-ratbox-3.0.1
|
|
CATEGORIES = net
|
|
EXTRACT_SUFX = .tar.bz2
|
|
|
|
HOMEPAGE = http://www.ircd-ratbox.org/
|
|
MASTER_SITES = ${HOMEPAGE}download/testing/
|
|
|
|
MAINTAINER = Simon Bertrang <simon@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
WANTLIB = c crypto ssl z
|
|
|
|
LIB_DEPENDS = sqlite3::databases/sqlite3 \
|
|
ltdl:libltdl-*:devel/libtool,-ltdl
|
|
|
|
USE_LIBTOOL = Yes
|
|
|
|
CONFDIR = ${SYSCONFDIR}/ircd-ratbox
|
|
LOGDIR = /var/log/ircd-ratbox
|
|
|
|
SUBST_VARS += CONFDIR LOGDIR
|
|
|
|
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
AUTOCONF_VERSION = 2.62
|
|
|
|
CONFIGURE_STYLE = autoconf
|
|
CONFIGURE_ARGS = --enable-ipv6 \
|
|
--enable-openssl=/usr \
|
|
--enable-kqueue \
|
|
--with-confdir=${CONFDIR} \
|
|
--with-logdir=${LOGDIR} \
|
|
--with-rundir=/var/run/ircd-ratbox \
|
|
--with-helpdir=${PREFIX}/share/ircd-ratbox/help \
|
|
--with-moduledir=${PREFIX}/lib/ircd-ratbox/modules \
|
|
--enable-services \
|
|
--with-sqlite3=${LOCALBASE} \
|
|
--with-zlib-path=/usr
|
|
|
|
DOCS = README.cidr_bans challenge.txt modeg.txt \
|
|
modes.txt monitor.txt server-version-info services.txt \
|
|
tgchange.txt
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/doc/example.conf ${WRKSRC}/doc/example.efnet.conf
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ircd-ratbox
|
|
${INSTALL_DATA} ${WRKINST}${CONFDIR}/* \
|
|
${PREFIX}/share/examples/ircd-ratbox
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ircd-ratbox
|
|
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${DOCS} \
|
|
${PREFIX}/share/doc/ircd-ratbox
|
|
|
|
.include <bsd.port.mk>
|