summaryrefslogtreecommitdiff
path: root/chat/unrealircd
diff options
context:
space:
mode:
authoradrianp <adrianp>2005-11-29 21:11:55 +0000
committeradrianp <adrianp>2005-11-29 21:11:55 +0000
commit7badcab7ba2f50103e04471d63a5495dad7e72df (patch)
treeeee110397e7c9cec40504bfef88d58e8a8a7f635 /chat/unrealircd
parent03848e640517ccd682e520d1f562e6a8b1427f70 (diff)
downloadpkgsrc-7badcab7ba2f50103e04471d63a5495dad7e72df.tar.gz
Add advanced options available in the default ./Config script
Change default to hub, enable showlistmodes and remove prefixaq in line with ./Config defaults No PKGREVISION bump (riding the initial import)
Diffstat (limited to 'chat/unrealircd')
-rw-r--r--chat/unrealircd/Makefile3
-rw-r--r--chat/unrealircd/options.mk62
2 files changed, 61 insertions, 4 deletions
diff --git a/chat/unrealircd/Makefile b/chat/unrealircd/Makefile
index f8125e9f5ee..20927df5e24 100644
--- a/chat/unrealircd/Makefile
+++ b/chat/unrealircd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2005/11/29 19:23:29 adrianp Exp $
+# $NetBSD: Makefile,v 1.3 2005/11/29 21:11:55 adrianp Exp $
DISTNAME= Unreal3.2.3
PKGNAME= unrealircd-3.2.3
@@ -30,7 +30,6 @@ CONFIGURE_ARGS+= --with-permissions=0660
CONFIGURE_ARGS+= --enable-dynamic-linking
CONFIGURE_ARGS+= --with-hostname=${UIRCD_HOST}
-CONFIGURE_ARGS+= --enable-prefixaq
CONFIGURE_ARGS+= --with-listen=${UIRCD_LISTEN}
CONFIGURE_ARGS+= --with-sendq=${UIRCD_SENDQ}
CONFIGURE_ARGS+= --with-bufferpool=${UIRCD_BUFFER}
diff --git a/chat/unrealircd/options.mk b/chat/unrealircd/options.mk
index 21effd056d6..be1d5a7682b 100644
--- a/chat/unrealircd/options.mk
+++ b/chat/unrealircd/options.mk
@@ -1,8 +1,10 @@
-# $NetBSD: options.mk,v 1.1.1.1 2005/11/29 19:17:03 adrianp Exp $
+# $NetBSD: options.mk,v 1.2 2005/11/29 21:11:55 adrianp Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.unrealircd
PKG_SUPPORTED_OPTIONS= inet6 nospoof hub leaf ziplinks remoteinc ssl chroot
-PKG_SUGGESTED_OPTIONS= leaf
+PKG_SUPPORTED_OPTIONS+= prefixaq showlistmodes topicisnuhost shunnotices
+PKG_SUPPORTED_OPTIONS+= no-operoverride disableusermod operoverride-verify
+PKG_SUGGESTED_OPTIONS= hub showlistmodes
.include "../../mk/bsd.options.mk"
@@ -75,3 +77,59 @@ CONFIGURE_ARGS+= --enable-libcurl
.if !empty(PKG_OPTIONS:Mchroot)
CFLAGS+= -DCHROOTDIR
.endif
+
+###
+### Enable prefixes for chanadmin and chanowner.
+### This will give +a the & prefix and ~ for +q (just like +o is @)
+### Supported by the major clients:
+### 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.
+###
+.if !empty(PKG_OPTIONS:Mprefixaq)
+CONFIGURE_ARGS+= --enable-prefixaq
+.endif
+
+###
+### Show the modes a channel has set in the /list output.
+###
+.if !empty(PKG_OPTIONS:Mshowlistmodes)
+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.
+###
+.if !empty(PKG_OPTIONS:Mtopicisnuhost)
+CONFIGURE_ARGS+= --with-topicisnuhost
+.endif
+
+###
+### Notify a user when they are no longer shunned.
+###
+.if !empty(PKG_OPTIONS:Mshunnotices)
+CONFIGURE_ARGS+= --with-shunnotices
+.endif
+
+###
+### Disable oper override.
+###
+.if !empty(PKG_OPTIONS:Mno-operoverride)
+CONFIGURE_ARGS+= --with-no-operoverride
+.endif
+
+###
+### Disable /sethost, /setident, /chgname, /chghost, and /chgident.
+###
+.if !empty(PKG_OPTIONS:Mdisableusermod)
+CONFIGURE_ARGS+= --with-disableusermod
+.endif
+
+###
+### Require opers to /invite themselves into a +s or +p channel.
+###
+.if !empty(PKG_OPTIONS:Moperoverride-verify)
+CONFIGURE_ARGS+= --with-operoverride-verify
+.endif