2008-06-14 01:15:33 +02:00
|
|
|
# $NetBSD: options.mk,v 1.10 2008/06/13 23:15:33 adrianp Exp $
|
UnrealIRCd is an IRC server based on the branch of IRCu called Dreamforge,
formerly used by the DALnet IRC Network. Since development started on it
(around May 1999) many new features has been added, modified, and many bugs
fixed. Unreal runs both on *nix platforms, Amiga & Windows 95/98/2k/NT.
Some features to mention: Channel Halfops, No-color channel mode,
Strip-colors channel mode, channelmode +q & +a - protect modes, Oper and
Admin only channels, exception bans, Nokicks mode (channel and user), Flood
limiter, Channel links, Host cloaking, Net* Tech and Co-Admin modes, Whois
notifies, Foreign connects monitor, Oper suspend, G:Lines, T:Lines, channel
restriction (people can only go to these channels if enabled), Trojan/DCC
Deny, RPING/RPONG, Sethost family, Token in server<->server etc.
FDlists/High Traffic Mode, SOCKS check on connect, Speeded up server
synchs, limited WebTV Client support, /vhost, and many dreamforge
optimations. UnrealIRCd is aimed to be an advanced, not an easy IRCd.
Also includes SSL and IPv6 support.
2005-11-29 20:17:03 +01:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.unrealircd
|
2005-12-01 19:09:37 +01:00
|
|
|
|
2006-03-07 18:23:51 +01:00
|
|
|
PKG_OPTIONS_REQUIRED_GROUPS= role
|
|
|
|
PKG_OPTIONS_GROUP.role= unrealircd-leaf unrealircd-hub
|
2005-12-01 19:09:37 +01:00
|
|
|
|
2005-12-02 18:59:53 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS= inet6 unrealircd-nospoof unrealircd-leaf
|
|
|
|
PKG_SUPPORTED_OPTIONS+= unrealircd-ziplinks unrealircd-remoteinc ssl
|
|
|
|
PKG_SUPPORTED_OPTIONS+= unrealircd-chroot unrealircd-prefixaq
|
|
|
|
PKG_SUPPORTED_OPTIONS+= unrealircd-showlistmodes unrealircd-topicisnuhost
|
|
|
|
PKG_SUPPORTED_OPTIONS+= unrealircd-shunnotices unrealircd-operoverride-verify
|
|
|
|
PKG_SUPPORTED_OPTIONS+= unrealircd-no-operoverride unrealircd-disableusermod
|
2006-07-19 00:43:36 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS= unrealircd-showlistmodes unrealircd-hub \
|
|
|
|
unrealircd-prefixaq
|
UnrealIRCd is an IRC server based on the branch of IRCu called Dreamforge,
formerly used by the DALnet IRC Network. Since development started on it
(around May 1999) many new features has been added, modified, and many bugs
fixed. Unreal runs both on *nix platforms, Amiga & Windows 95/98/2k/NT.
Some features to mention: Channel Halfops, No-color channel mode,
Strip-colors channel mode, channelmode +q & +a - protect modes, Oper and
Admin only channels, exception bans, Nokicks mode (channel and user), Flood
limiter, Channel links, Host cloaking, Net* Tech and Co-Admin modes, Whois
notifies, Foreign connects monitor, Oper suspend, G:Lines, T:Lines, channel
restriction (people can only go to these channels if enabled), Trojan/DCC
Deny, RPING/RPONG, Sethost family, Token in server<->server etc.
FDlists/High Traffic Mode, SOCKS check on connect, Speeded up server
synchs, limited WebTV Client support, /vhost, and many dreamforge
optimations. UnrealIRCd is aimed to be an advanced, not an easy IRCd.
Also includes SSL and IPv6 support.
2005-11-29 20:17:03 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
###
|
|
|
|
### Enable IPv6 support
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
|
|
CONFIGURE_ARGS+= --enable-inet6
|
|
|
|
MESSAGE_SRC+= ${WRKDIR}/.MESSAGE_SRC.inet6
|
|
|
|
.else
|
2006-03-07 18:23:51 +01:00
|
|
|
CONFIGURE_ENV+= ac_cv_ip6=no
|
UnrealIRCd is an IRC server based on the branch of IRCu called Dreamforge,
formerly used by the DALnet IRC Network. Since development started on it
(around May 1999) many new features has been added, modified, and many bugs
fixed. Unreal runs both on *nix platforms, Amiga & Windows 95/98/2k/NT.
Some features to mention: Channel Halfops, No-color channel mode,
Strip-colors channel mode, channelmode +q & +a - protect modes, Oper and
Admin only channels, exception bans, Nokicks mode (channel and user), Flood
limiter, Channel links, Host cloaking, Net* Tech and Co-Admin modes, Whois
notifies, Foreign connects monitor, Oper suspend, G:Lines, T:Lines, channel
restriction (people can only go to these channels if enabled), Trojan/DCC
Deny, RPING/RPONG, Sethost family, Token in server<->server etc.
FDlists/High Traffic Mode, SOCKS check on connect, Speeded up server
synchs, limited WebTV Client support, /vhost, and many dreamforge
optimations. UnrealIRCd is aimed to be an advanced, not an easy IRCd.
Also includes SSL and IPv6 support.
2005-11-29 20:17:03 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### Enable SSL support
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mssl)
|
|
|
|
. include "../../security/openssl/buildlink3.mk"
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-ssl=${SSLBASE:Q}
|
UnrealIRCd is an IRC server based on the branch of IRCu called Dreamforge,
formerly used by the DALnet IRC Network. Since development started on it
(around May 1999) many new features has been added, modified, and many bugs
fixed. Unreal runs both on *nix platforms, Amiga & Windows 95/98/2k/NT.
Some features to mention: Channel Halfops, No-color channel mode,
Strip-colors channel mode, channelmode +q & +a - protect modes, Oper and
Admin only channels, exception bans, Nokicks mode (channel and user), Flood
limiter, Channel links, Host cloaking, Net* Tech and Co-Admin modes, Whois
notifies, Foreign connects monitor, Oper suspend, G:Lines, T:Lines, channel
restriction (people can only go to these channels if enabled), Trojan/DCC
Deny, RPING/RPONG, Sethost family, Token in server<->server etc.
FDlists/High Traffic Mode, SOCKS check on connect, Speeded up server
synchs, limited WebTV Client support, /vhost, and many dreamforge
optimations. UnrealIRCd is aimed to be an advanced, not an easy IRCd.
Also includes SSL and IPv6 support.
2005-11-29 20:17:03 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### Enable Anti-Spoofing protection for older OS's with an insecure IPv4 stack
|
|
|
|
###
|
2005-12-02 18:59:53 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Munrealircd-nospoof)
|
UnrealIRCd is an IRC server based on the branch of IRCu called Dreamforge,
formerly used by the DALnet IRC Network. Since development started on it
(around May 1999) many new features has been added, modified, and many bugs
fixed. Unreal runs both on *nix platforms, Amiga & Windows 95/98/2k/NT.
Some features to mention: Channel Halfops, No-color channel mode,
Strip-colors channel mode, channelmode +q & +a - protect modes, Oper and
Admin only channels, exception bans, Nokicks mode (channel and user), Flood
limiter, Channel links, Host cloaking, Net* Tech and Co-Admin modes, Whois
notifies, Foreign connects monitor, Oper suspend, G:Lines, T:Lines, channel
restriction (people can only go to these channels if enabled), Trojan/DCC
Deny, RPING/RPONG, Sethost family, Token in server<->server etc.
FDlists/High Traffic Mode, SOCKS check on connect, Speeded up server
synchs, limited WebTV Client support, /vhost, and many dreamforge
optimations. UnrealIRCd is aimed to be an advanced, not an easy IRCd.
Also includes SSL and IPv6 support.
2005-11-29 20:17:03 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-nospoof
|
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### Compile as a hub or leaf server
|
|
|
|
###
|
2005-12-02 18:59:53 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Munrealircd-hub)
|
UnrealIRCd is an IRC server based on the branch of IRCu called Dreamforge,
formerly used by the DALnet IRC Network. Since development started on it
(around May 1999) many new features has been added, modified, and many bugs
fixed. Unreal runs both on *nix platforms, Amiga & Windows 95/98/2k/NT.
Some features to mention: Channel Halfops, No-color channel mode,
Strip-colors channel mode, channelmode +q & +a - protect modes, Oper and
Admin only channels, exception bans, Nokicks mode (channel and user), Flood
limiter, Channel links, Host cloaking, Net* Tech and Co-Admin modes, Whois
notifies, Foreign connects monitor, Oper suspend, G:Lines, T:Lines, channel
restriction (people can only go to these channels if enabled), Trojan/DCC
Deny, RPING/RPONG, Sethost family, Token in server<->server etc.
FDlists/High Traffic Mode, SOCKS check on connect, Speeded up server
synchs, limited WebTV Client support, /vhost, and many dreamforge
optimations. UnrealIRCd is aimed to be an advanced, not an easy IRCd.
Also includes SSL and IPv6 support.
2005-11-29 20:17:03 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-hub
|
2005-12-02 18:59:53 +01:00
|
|
|
. elif !empty(PKG_OPTIONS:Munrealircd-leaf)
|
UnrealIRCd is an IRC server based on the branch of IRCu called Dreamforge,
formerly used by the DALnet IRC Network. Since development started on it
(around May 1999) many new features has been added, modified, and many bugs
fixed. Unreal runs both on *nix platforms, Amiga & Windows 95/98/2k/NT.
Some features to mention: Channel Halfops, No-color channel mode,
Strip-colors channel mode, channelmode +q & +a - protect modes, Oper and
Admin only channels, exception bans, Nokicks mode (channel and user), Flood
limiter, Channel links, Host cloaking, Net* Tech and Co-Admin modes, Whois
notifies, Foreign connects monitor, Oper suspend, G:Lines, T:Lines, channel
restriction (people can only go to these channels if enabled), Trojan/DCC
Deny, RPING/RPONG, Sethost family, Token in server<->server etc.
FDlists/High Traffic Mode, SOCKS check on connect, Speeded up server
synchs, limited WebTV Client support, /vhost, and many dreamforge
optimations. UnrealIRCd is aimed to be an advanced, not an easy IRCd.
Also includes SSL and IPv6 support.
2005-11-29 20:17:03 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-leaf
|
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### Compile in support for ziplinks. This compresses data sent from
|
|
|
|
### server <-> server with zlib.
|
|
|
|
###
|
2005-12-02 18:59:53 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Munrealircd-ziplinks)
|
UnrealIRCd is an IRC server based on the branch of IRCu called Dreamforge,
formerly used by the DALnet IRC Network. Since development started on it
(around May 1999) many new features has been added, modified, and many bugs
fixed. Unreal runs both on *nix platforms, Amiga & Windows 95/98/2k/NT.
Some features to mention: Channel Halfops, No-color channel mode,
Strip-colors channel mode, channelmode +q & +a - protect modes, Oper and
Admin only channels, exception bans, Nokicks mode (channel and user), Flood
limiter, Channel links, Host cloaking, Net* Tech and Co-Admin modes, Whois
notifies, Foreign connects monitor, Oper suspend, G:Lines, T:Lines, channel
restriction (people can only go to these channels if enabled), Trojan/DCC
Deny, RPING/RPONG, Sethost family, Token in server<->server etc.
FDlists/High Traffic Mode, SOCKS check on connect, Speeded up server
synchs, limited WebTV Client support, /vhost, and many dreamforge
optimations. UnrealIRCd is aimed to be an advanced, not an easy IRCd.
Also includes SSL and IPv6 support.
2005-11-29 20:17:03 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-ziplinks
|
|
|
|
. include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### Compile in support for remote include files.
|
|
|
|
###
|
2005-12-02 18:59:53 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Munrealircd-remoteinc)
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-libcurl=${PREFIX:Q}
|
UnrealIRCd is an IRC server based on the branch of IRCu called Dreamforge,
formerly used by the DALnet IRC Network. Since development started on it
(around May 1999) many new features has been added, modified, and many bugs
fixed. Unreal runs both on *nix platforms, Amiga & Windows 95/98/2k/NT.
Some features to mention: Channel Halfops, No-color channel mode,
Strip-colors channel mode, channelmode +q & +a - protect modes, Oper and
Admin only channels, exception bans, Nokicks mode (channel and user), Flood
limiter, Channel links, Host cloaking, Net* Tech and Co-Admin modes, Whois
notifies, Foreign connects monitor, Oper suspend, G:Lines, T:Lines, channel
restriction (people can only go to these channels if enabled), Trojan/DCC
Deny, RPING/RPONG, Sethost family, Token in server<->server etc.
FDlists/High Traffic Mode, SOCKS check on connect, Speeded up server
synchs, limited WebTV Client support, /vhost, and many dreamforge
optimations. UnrealIRCd is aimed to be an advanced, not an easy IRCd.
Also includes SSL and IPv6 support.
2005-11-29 20:17:03 +01:00
|
|
|
. include "../../www/curl/buildlink3.mk"
|
2005-12-01 19:09:37 +01:00
|
|
|
. include "../../net/libcares/buildlink3.mk"
|
UnrealIRCd is an IRC server based on the branch of IRCu called Dreamforge,
formerly used by the DALnet IRC Network. Since development started on it
(around May 1999) many new features has been added, modified, and many bugs
fixed. Unreal runs both on *nix platforms, Amiga & Windows 95/98/2k/NT.
Some features to mention: Channel Halfops, No-color channel mode,
Strip-colors channel mode, channelmode +q & +a - protect modes, Oper and
Admin only channels, exception bans, Nokicks mode (channel and user), Flood
limiter, Channel links, Host cloaking, Net* Tech and Co-Admin modes, Whois
notifies, Foreign connects monitor, Oper suspend, G:Lines, T:Lines, channel
restriction (people can only go to these channels if enabled), Trojan/DCC
Deny, RPING/RPONG, Sethost family, Token in server<->server etc.
FDlists/High Traffic Mode, SOCKS check on connect, Speeded up server
synchs, limited WebTV Client support, /vhost, and many dreamforge
optimations. UnrealIRCd is aimed to be an advanced, not an easy IRCd.
Also includes SSL and IPv6 support.
2005-11-29 20:17:03 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### Compile in CHROOTDIR support.
|
|
|
|
### As far as pkgsrc goes this is just an expirement. You should read the
|
|
|
|
### unrealircd docs/source for further information on this. By default
|
|
|
|
### CHROOTDIR is defined as ${IRCD_HOME}.
|
|
|
|
###
|
2005-12-02 18:59:53 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Munrealircd-chroot)
|
2008-06-14 01:15:33 +02:00
|
|
|
CFLAGS+= -DCHROOTDIR
|
|
|
|
CFLAGS+= -DIRC_USER=\"${UIRCD_USER}\"
|
|
|
|
CFLAGS+= -DIRC_GROUP=\"${UIRCD_GROUP}\"
|
|
|
|
CONFIGURE_ARGS+= --disable-dynamic-linking
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --enable-dynamic-linking
|
UnrealIRCd is an IRC server based on the branch of IRCu called Dreamforge,
formerly used by the DALnet IRC Network. Since development started on it
(around May 1999) many new features has been added, modified, and many bugs
fixed. Unreal runs both on *nix platforms, Amiga & Windows 95/98/2k/NT.
Some features to mention: Channel Halfops, No-color channel mode,
Strip-colors channel mode, channelmode +q & +a - protect modes, Oper and
Admin only channels, exception bans, Nokicks mode (channel and user), Flood
limiter, Channel links, Host cloaking, Net* Tech and Co-Admin modes, Whois
notifies, Foreign connects monitor, Oper suspend, G:Lines, T:Lines, channel
restriction (people can only go to these channels if enabled), Trojan/DCC
Deny, RPING/RPONG, Sethost family, Token in server<->server etc.
FDlists/High Traffic Mode, SOCKS check on connect, Speeded up server
synchs, limited WebTV Client support, /vhost, and many dreamforge
optimations. UnrealIRCd is aimed to be an advanced, not an easy IRCd.
Also includes SSL and IPv6 support.
2005-11-29 20:17:03 +01:00
|
|
|
.endif
|
2005-11-29 22:11:55 +01:00
|
|
|
|
|
|
|
###
|
|
|
|
### Enable prefixes for chanadmin and chanowner.
|
|
|
|
### This will give +a the & prefix and ~ for +q (just like +o is @)
|
2005-12-01 19:09:37 +01:00
|
|
|
### Supported by the major clients:
|
2005-11-29 22:11:55 +01:00
|
|
|
### mIRC, xchat, epic, eggdrop, Klient, PJIRC, etc.
|
|
|
|
### with the notable exceptions of:
|
|
|
|
### irssi, KVIrc and CGI:IRC.
|
|
|
|
### This feature should be enabled/disabled network-wide.
|
|
|
|
###
|
2005-12-02 18:59:53 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Munrealircd-prefixaq)
|
2005-11-29 22:11:55 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-prefixaq
|
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### Show the modes a channel has set in the /list output.
|
|
|
|
###
|
2005-12-02 18:59:53 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Munrealircd-showlistmodes)
|
2005-11-29 22:11:55 +01:00
|
|
|
CONFIGURE_ARGS+= --with-showlistmodes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### /topic command to show the nick!user@host of the person
|
|
|
|
### who set the topic, rather than just the nickname.
|
|
|
|
###
|
2005-12-02 18:59:53 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Munrealircd-topicisnuhost)
|
2005-11-29 22:11:55 +01:00
|
|
|
CONFIGURE_ARGS+= --with-topicisnuhost
|
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### Notify a user when they are no longer shunned.
|
|
|
|
###
|
2005-12-02 18:59:53 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Munrealircd-shunnotices)
|
2005-11-29 22:11:55 +01:00
|
|
|
CONFIGURE_ARGS+= --with-shunnotices
|
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### Disable oper override.
|
|
|
|
###
|
2005-12-02 18:59:53 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Munrealircd-no-operoverride)
|
2005-11-29 22:11:55 +01:00
|
|
|
CONFIGURE_ARGS+= --with-no-operoverride
|
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### Disable /sethost, /setident, /chgname, /chghost, and /chgident.
|
|
|
|
###
|
2005-12-02 18:59:53 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Munrealircd-disableusermod)
|
2005-11-29 22:11:55 +01:00
|
|
|
CONFIGURE_ARGS+= --with-disableusermod
|
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### Require opers to /invite themselves into a +s or +p channel.
|
|
|
|
###
|
2005-12-02 18:59:53 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Munrealircd-operoverride-verify)
|
2005-11-29 22:11:55 +01:00
|
|
|
CONFIGURE_ARGS+= --with-operoverride-verify
|
|
|
|
.endif
|