Date: Fri, 27 Jan 2006 05:04:57 -0000 From: Shaun Amott <shaun@inerd.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/92404: [NEW PORT]: irc/ircd-ratbox Message-ID: <1138338297.52061@charon.picobyte.net> Resent-Message-ID: <200601270510.k0R5A2UC084027@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 92404 >Category: ports >Synopsis: [NEW PORT]: irc/ircd-ratbox >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jan 27 05:10:01 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Shaun Amott >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD 6.0-STABLE >Description: Here's ircd-ratbox; an Internet Relay Chat daemon, based on ircd-hybrid, and used heavily on EFnet. >How-To-Repeat: >Fix: --- ircd-ratbox-2.1.7.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # ircd-ratbox/ # ircd-ratbox/files # ircd-ratbox/files/pkg-install.in # ircd-ratbox/files/pkg-message.in # ircd-ratbox/files/ircd-ratbox.sh.in # ircd-ratbox/files/patch-Makefile.in # ircd-ratbox/files/patch-contrib_Makefile.in # ircd-ratbox/files/patch-help_Makefile.in # ircd-ratbox/files/patch-modules_Makefile.in # ircd-ratbox/files/patch-doc_Makefile.in # ircd-ratbox/files/patch-include_config.h # ircd-ratbox/files/patch-tools_Makefile.in # ircd-ratbox/files/patch-src_Makefile.in # ircd-ratbox/files/patch-doc_example.conf.in # ircd-ratbox/files/patch-doc_example.efnet.conf.in # ircd-ratbox/files/patch-servlink_Makefile.in # ircd-ratbox/pkg-descr # ircd-ratbox/pkg-plist # ircd-ratbox/Makefile # ircd-ratbox/distinfo # echo c - ircd-ratbox/ mkdir -p ircd-ratbox/ > /dev/null 2>&1 echo c - ircd-ratbox/files mkdir -p ircd-ratbox/files > /dev/null 2>&1 echo x - ircd-ratbox/files/pkg-install.in sed 's/^X//' >ircd-ratbox/files/pkg-install.in << 'END-of-ircd-ratbox/files/pkg-install.in' X#!/bin/sh X# X# Adapted from irc/ircd-hybrid's script X# X Xask() { X local question default answer X X question=$1 X default=$2 X if [ -z "${PACKAGE_BUILDING}" ]; then X read -p "${question} [${default}]? " answer X fi X if [ x${answer} = x ]; then X answer=${default} X fi X echo ${answer} X} X Xyesno() { X local dflt question answer X X question=$1 X dflt=$2 X while :; do X answer=$(ask "${question}" "${dflt}") X case "${answer}" in X [Yy]*) return 0;; X [Nn]*) return 1;; X esac X echo "Please answer yes or no." X done X} X X#----------------------------------------------------------------------- Xif [ "x$2" = "xPRE-INSTALL" ]; then X#----------------------------------------------------------------------- X Xif which -s pw ; then X : Xelse X cat <<EOF XYour system does not include the "pw" utility. You should upgrade Xto a newer version of FreeBSD. Without "pw" this script will not Xrun. XEOF X exit 1 Xfi X Xecho "" Xif pw groupshow ircd 2> /dev/null ; then X echo "You already have a group \"ircd\", so I will use it." Xelse X if pw groupshow 72 2> /dev/null ; then X echo "You already have a gid \"72\". Please create a user \"ircd\"" X echo "with a default group of \"ircd\"." X exit 1 X fi X echo "You need a group \"ircd\"." X if which -s pw && yesno "Would you like me to create it" y; then X pw groupadd ircd -g 72 || exit X echo "Done." X else X echo "Please create it, and try again." X if ! pw usershow ircd 2> /dev/null ; then X echo "While you're at it, please create a user \"ircd\"" X echo 'too, with a default group of "ircd".' X fi X exit 1 X fi Xfi X Xif pw usershow ircd 2> /dev/null ; then X echo "You already have a user \"ircd\", so I will use it." Xelse X if pw usershow 72 2> /dev/null ; then X echo "You already have a uid \"72\". Please create a user \"irc Xd\"" X echo "with a default group of \"ircd\"." X exit 1 X fi X echo "You need a user \"ircd\"." X if which -s pw && yesno "Would you like me to create it" y; then X pw useradd ircd -g ircd -u 72 -h - -d /nonexistent \ X -s /nonexistent -c "IRC Daemon" || exit X echo "Done." X else X echo "Please create it, and try again." X exit 1 X fi Xfi X X#----------------------------------------------------------------------- Xelif [ "x$2" = "xPOST-INSTALL" ]; then X#----------------------------------------------------------------------- X Xmkdir -p %%LOGDIR%% \ X&& chown ircd:ircd %%LOGDIR%% \ X&& chmod 750 %%LOGDIR%% X Xmkdir -p %%RUNDIR%% \ X&& chown ircd:ircd %%RUNDIR%% \ X&& chmod 750 %%RUNDIR%% X X# Secure permissions if we think this is a fresh install X Xif [ ! -f ${PKG_PREFIX}/etc/%%PORTNAME%%/ircd.conf ]; then X chown -R ircd:ircd ${PKG_PREFIX}/etc/%%PORTNAME%%/ X chmod 750 ${PKG_PREFIX}/etc/%%PORTNAME%%/ X chmod 640 ${PKG_PREFIX}/etc/%%PORTNAME%%/* Xfi X X#----------------------------------------------------------------------- Xfi X#----------------------------------------------------------------------- X Xexit 0 END-of-ircd-ratbox/files/pkg-install.in echo x - ircd-ratbox/files/pkg-message.in sed 's/^X//' >ircd-ratbox/files/pkg-message.in << 'END-of-ircd-ratbox/files/pkg-message.in' X------------------------------------------------------------------------ Xircd-ratbox has been successfully installed. X XYou should now copy %%PREFIX%%/etc/ircd-ratbox/ircd.conf.sample to X%%PREFIX%%/etc/ircd-ratbox/ircd.conf, and edit it as per the ratbox Xdocumentation. This file is required to start the server. X XOnce you have added ircd_ratbox_enable="YES" to /etc/rc.conf, the Xserver can be started by running: X X %%PREFIX%%/etc/rc.d/ircd-ratbox.sh start X XBe sure to check out 'ratbox-services' if you need a services package. X------------------------------------------------------------------------ END-of-ircd-ratbox/files/pkg-message.in echo x - ircd-ratbox/files/ircd-ratbox.sh.in sed 's/^X//' >ircd-ratbox/files/ircd-ratbox.sh.in << 'END-of-ircd-ratbox/files/ircd-ratbox.sh.in' X#!/bin/sh X X# PROVIDE: %%PORTNAME%% X# REQUIRE: DAEMON X# BEFORE: LOGIN X X. %%RC_SUBR%% X Xname="%%PORTRCNAME%%" Xrcvar=`set_rcvar` Xload_rc_config $name X X%%PORTRCNAME%%_enable=${%%PORTRCNAME%%_enable:-"NO"} X%%PORTRCNAME%%_user=${%%PORTRCNAME%%_user:-"ircd"} X%%PORTRCNAME%%_group=${%%PORTRCNAME%%_group:-"ircd"} X Xcommand="%%PREFIX%%/bin/ircd" Xpidfile=%%RUNDIR%%/ircd.pid Xrequired_files="%%PREFIX%%/etc/%%PORTNAME%%/ircd.conf" X Xstart_precmd=prestart Xstop_precmd=prestop X Xprestart() X{ X touch $pidfile X chown $%%PORTRCNAME%%_user:$%%PORTRCNAME%%_group $pidfile X} X Xprestop() X{ X rm -f $pidfile X} X Xrun_rc_command "$1" END-of-ircd-ratbox/files/ircd-ratbox.sh.in echo x - ircd-ratbox/files/patch-Makefile.in sed 's/^X//' >ircd-ratbox/files/patch-Makefile.in << 'END-of-ircd-ratbox/files/patch-Makefile.in' X--- Makefile.in.orig Fri Dec 10 21:28:20 2004 X+++ Makefile.in Mon Jan 23 17:10:28 2006 X@@ -46,7 +46,7 @@ X # the system one. X #CFLAGS= -DNDEBUG -g -O2 -D"FD_SETSIZE=1024" X SHELL=/bin/sh X-SUBDIRS=modules adns src tools servlink doc help X+SUBDIRS=modules adns src tools servlink doc help contrib X CLEANDIRS = ${SUBDIRS} contrib X RSA_FILES=rsa_respond/README rsa_respond/respond.c rsa_respond/Makefile X END-of-ircd-ratbox/files/patch-Makefile.in echo x - ircd-ratbox/files/patch-contrib_Makefile.in sed 's/^X//' >ircd-ratbox/files/patch-contrib_Makefile.in << 'END-of-ircd-ratbox/files/patch-contrib_Makefile.in' X--- contrib/Makefile.in.orig Thu Jun 17 23:19:00 2004 X+++ contrib/Makefile.in Mon Jan 23 17:17:00 2006 X@@ -43,8 +43,7 @@ X spy_stats_p_notice.c \ X spy_trace_notice.c \ X spy_whois_notice.c \ X- spy_whois_notice_global.c \ X- example_module.c X+ spy_whois_notice_global.c X X OBJS = ${SRCS:.c=.so} X END-of-ircd-ratbox/files/patch-contrib_Makefile.in echo x - ircd-ratbox/files/patch-help_Makefile.in sed 's/^X//' >ircd-ratbox/files/patch-help_Makefile.in << 'END-of-ircd-ratbox/files/patch-help_Makefile.in' X--- help/Makefile.in.orig Mon Sep 12 16:58:45 2005 X+++ help/Makefile.in Mon Jan 23 23:15:32 2006 X@@ -63,14 +63,6 @@ X rm -f opers/index.tmp X X install: X- -@if test -d $(DESTDIR)$(helpdir)-old; then \ X- rm -rf $(DESTDIR)$(helpdir)-old; \ X- fi X- -@if test -d $(DESTDIR)$(helpdir); then \ X- echo "ircd: backing up old help files"; \ X- mv $(DESTDIR)$(helpdir) $(DESTDIR)$(helpdir)-old; \ X- fi X- X @echo "ircd: setting up help directory structure" X @mkdir -p -m 755 $(DESTDIR)$(helpdir) X @mkdir -p -m 755 $(DESTDIR)$(helpdir)/opers END-of-ircd-ratbox/files/patch-help_Makefile.in echo x - ircd-ratbox/files/patch-modules_Makefile.in sed 's/^X//' >ircd-ratbox/files/patch-modules_Makefile.in << 'END-of-ircd-ratbox/files/patch-modules_Makefile.in' X--- modules/Makefile.in.orig Sun Jul 17 18:55:27 2005 X+++ modules/Makefile.in Mon Jan 23 23:19:03 2006 X@@ -147,13 +147,6 @@ X -@if test ! -d $(DESTDIR)$(moduledir); then \ X mkdir $(DESTDIR)$(moduledir); \ X fi X- -@if test -d $(DESTDIR)$(moduledir)-old; then \ X- rm -rf $(DESTDIR)$(moduledir)-old; \ X- fi X- -@if test -d $(DESTDIR)$(moduledir); then \ X- echo "ircd: backing up modules"; \ X- mv $(DESTDIR)$(moduledir) $(DESTDIR)$(moduledir)-old; \ X- fi X X @mkdir -p -m 755 $(DESTDIR)$(moduledir) X @mkdir -p -m 755 $(DESTDIR)$(automoduledir) END-of-ircd-ratbox/files/patch-modules_Makefile.in echo x - ircd-ratbox/files/patch-doc_Makefile.in sed 's/^X//' >ircd-ratbox/files/patch-doc_Makefile.in << 'END-of-ircd-ratbox/files/patch-doc_Makefile.in' X--- doc/Makefile.in.orig Thu Jun 17 23:19:00 2004 X+++ doc/Makefile.in Thu Jan 26 18:06:51 2006 X@@ -53,14 +53,6 @@ X fi X X install: install-mkdirs build X- @echo "ircd: installing example config files ($(CONFS))" X- @for i in $(CONFS); do \ X- if test -f $(DESTDIR)$(confdir)/$$i; then \ X- $(MV) $(DESTDIR)$(confdir)/$$i $(DESTDIR)$(confdir)/$$i.old; \ X- fi; \ X- $(INSTALL_DATA) $$i $(DESTDIR)$(confdir); \ X- done X- X @for i in $(DEFAULTCONFS); do \ X if test ! -f $(DESTDIR)$(confdir)/$$i; then \ X echo "ircd: creating config file ($$i)"; \ X@@ -70,7 +62,7 @@ X X -@if test ! -f $(DESTDIR)$(confdir)/ircd.motd; then \ X echo "ircd: installing motd file (ircd.motd)"; \ X- $(INSTALL_DATA) ircd.motd $(DESTDIR)$(confdir); \ X+ $(INSTALL_DATA) ircd.motd $(DESTDIR)$(confdir)/ircd.motd.sample; \ X fi X X -@if test -f $(DESTDIR)$(confdir)/links.txt; then \ END-of-ircd-ratbox/files/patch-doc_Makefile.in echo x - ircd-ratbox/files/patch-include_config.h sed 's/^X//' >ircd-ratbox/files/patch-include_config.h << 'END-of-ircd-ratbox/files/patch-include_config.h' X--- include/config.h.orig Thu Jan 20 11:04:40 2005 X+++ include/config.h Fri Jan 27 02:25:37 2006 X@@ -56,6 +56,7 @@ X #define LOGPATH LOG_DIR X #define UHPATH HELP_DIR "/users" X #define HPATH HELP_DIR "/opers" X+#define RUNPATH "%%RUNDIR%%" X X /* files */ X #define SPATH BINPATH "/ircd" /* ircd executable */ X@@ -68,7 +69,7 @@ X #define RPATH ETCPATH "/ircd.rsa" /* ircd rsa private keyfile */ X #define MPATH ETCPATH "/ircd.motd" /* MOTD file */ X #define LPATH LOGPATH "/ircd.log" /* ircd logfile */ X-#define PPATH ETCPATH "/ircd.pid" /* pid file */ X+#define PPATH RUNPATH "/ircd.pid" /* pid file */ X #define OPATH ETCPATH "/opers.motd" /* oper MOTD file */ X X /* IGNORE_BOGUS_TS END-of-ircd-ratbox/files/patch-include_config.h echo x - ircd-ratbox/files/patch-tools_Makefile.in sed 's/^X//' >ircd-ratbox/files/patch-tools_Makefile.in << 'END-of-ircd-ratbox/files/patch-tools_Makefile.in' X--- tools/Makefile.in.orig Thu Jun 17 23:19:00 2004 X+++ tools/Makefile.in Fri Jan 27 02:30:32 2006 X@@ -92,9 +92,6 @@ X install: install-mkdirs build X @echo "ircd: installing tools ($(PROGS))" X @for i in $(PROGS); do \ X- if test -f $(DESTDIR)$(bindir)/$$i; then \ X- $(MV) $(DESTDIR)$(bindir)/$$i $(DESTDIR)$(bindir)/$$i.old; \ X- fi; \ X $(INSTALL_BIN) $$i $(DESTDIR)$(bindir); \ X done; \ X $(RM) -f $(DESTDIR)$(bindir)/vimotd $(DESTDIR)$(bindir)/viklines END-of-ircd-ratbox/files/patch-tools_Makefile.in echo x - ircd-ratbox/files/patch-src_Makefile.in sed 's/^X//' >ircd-ratbox/files/patch-src_Makefile.in << 'END-of-ircd-ratbox/files/patch-src_Makefile.in' X--- src/Makefile.in.orig Thu Feb 24 01:48:06 2005 X+++ src/Makefile.in Fri Jan 27 02:29:08 2006 X@@ -125,9 +125,6 @@ X fi X @echo "ircd: installing ircd ($(PROGS))" X @for i in $(PROGS); do \ X- if test -f $(DESTDIR)$(bindir)/$$i; then \ X- $(MV) $(DESTDIR)$(bindir)/$$i $(DESTDIR)$(bindir)/$$i.old; \ X- fi; \ X $(INSTALL_BIN) $$i $(DESTDIR)$(bindir); \ X done X END-of-ircd-ratbox/files/patch-src_Makefile.in echo x - ircd-ratbox/files/patch-doc_example.conf.in sed 's/^X//' >ircd-ratbox/files/patch-doc_example.conf.in << 'END-of-ircd-ratbox/files/patch-doc_example.conf.in' X--- doc/example.conf.orig Sat Jun 11 20:26:01 2005 X+++ doc/example.conf Fri Jan 27 02:45:50 2006 X@@ -110,16 +110,16 @@ X * - operspylog: operspy usage X * - ioerrorlog: IO errors X */ X- fname_userlog = "logs/userlog"; X- #fname_fuserlog = "logs/fuserlog"; X- fname_operlog = "logs/operlog"; X- #fname_foperlog = "logs/foperlog"; X- fname_serverlog = "logs/serverlog"; X- fname_glinelog = "logs/glinelog"; X- #fname_klinelog = "logs/klinelog"; X- fname_killlog = "logs/killlog"; X- fname_operspylog = "logs/operspylog"; X- #fname_ioerrorlog = "logs/ioerror"; X+ fname_userlog = "%%LOGDIR%%/userlog"; X+ #fname_fuserlog = "%%LOGDIR%%/fuserlog"; X+ fname_operlog = "%%LOGDIR%%/operlog"; X+ #fname_foperlog = "%%LOGDIR%%/foperlog"; X+ fname_serverlog = "%%LOGDIR%%/serverlog"; X+ fname_glinelog = "%%LOGDIR%%/glinelog"; X+ #fname_klinelog = "%%LOGDIR%%/klinelog"; X+ fname_killlog = "%%LOGDIR%%/killlog"; X+ fname_operspylog = "%%LOGDIR%%/operspylog"; X+ #fname_ioerrorlog = "%%LOGDIR%%/ioerror"; X }; X X /* class {}: contain information about classes for users (OLD Y:) */ X@@ -309,7 +309,7 @@ X * A password should not be defined when this is used, see X * doc/challenge.txt for more information. X */ X- #rsa_public_key_file = "/usr/local/ircd/etc/oper.pub"; X+ #rsa_public_key_file = "%%PREFIX%%/etc/%%PORTNAME%%/oper.pub"; X X /* umodes: the specific umodes this oper gets when they oper. X * If this is specified an oper will not be given oper_umodes X@@ -878,7 +878,7 @@ X * X * only define if servlink is not in same directory as ircd itself. X */ X- #servlink_path = "/usr/local/ircd/bin/servlink"; X+ #servlink_path = "%%PREFIX%%/bin/servlink"; X X /* use egd: if your system does not have *random devices yet you X * want to use OpenSSL and encrypted links, enable this. Beware - X@@ -923,8 +923,9 @@ X /* module path: paths to search for modules specified below and X * in /modload. X */ X- path = "/usr/local/ircd/modules"; X- path = "/usr/local/ircd/modules/autoload"; X+ path = "%%PREFIX%%/share/%%PORTNAME%%-%%PORTVERSION%%/modules/"; X+ path = "%%PREFIX%%/share/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/"; X+ path = "%%PREFIX%%/share/%%PORTNAME%%-%%PORTVERSION%%/modules/contrib/"; X X /* module: the name of a module to load on startup/rehash */ X #module = "some_module.so"; END-of-ircd-ratbox/files/patch-doc_example.conf.in echo x - ircd-ratbox/files/patch-doc_example.efnet.conf.in sed 's/^X//' >ircd-ratbox/files/patch-doc_example.efnet.conf.in << 'END-of-ircd-ratbox/files/patch-doc_example.efnet.conf.in' X--- doc/example.efnet.conf.orig Sat Jun 11 20:26:01 2005 X+++ doc/example.efnet.conf Fri Jan 27 02:47:11 2006 X@@ -112,16 +112,16 @@ X * - operspylog: operspy usage X * - ioerrorlog: IO errors X */ X- fname_userlog = "logs/userlog"; X- #fname_fuserlog = "logs/fuserlog"; X- fname_operlog = "logs/operlog"; X- #fname_foperlog = "logs/foperlog"; X- fname_serverlog = "logs/serverlog"; X- fname_glinelog = "logs/glinelog"; X- #fname_klinelog = "logs/klinelog"; X- fname_killlog = "logs/killlog"; X- fname_operspylog = "logs/operspylog"; X- #fname_ioerrorlog = "logs/ioerror"; X+ fname_userlog = "%%LOGDIR%%/userlog"; X+ #fname_fuserlog = "%%LOGDIR%%/fuserlog"; X+ fname_operlog = "%%LOGDIR%%/operlog"; X+ #fname_foperlog = "%%LOGDIR%%/foperlog"; X+ fname_serverlog = "%%LOGDIR%%/serverlog"; X+ fname_glinelog = "%%LOGDIR%%/glinelog"; X+ #fname_klinelog = "%%LOGDIR%%/klinelog"; X+ fname_killlog = "%%LOGDIR%%/killlog"; X+ fname_operspylog = "%%LOGDIR%%/operspylog"; X+ #fname_ioerrorlog = "%%LOGDIR%%/ioerror"; X }; X X /* class {}: contain information about classes for users (OLD Y:) */ X@@ -311,7 +311,7 @@ X * A password should not be defined when this is used, see X * doc/challenge.txt for more information. X */ X- #rsa_public_key_file = "/usr/local/ircd/etc/oper.pub"; X+ #rsa_public_key_file = "%%PREFIX%%/etc/%%PORTNAME%%/oper.pub"; X X /* umodes: the specific umodes this oper gets when they oper. X * If this is specified an oper will not be given oper_umodes X@@ -897,7 +897,7 @@ X * X * only define if servlink is not in same directory as ircd itself. X */ X- #servlink_path = "/usr/local/ircd/bin/servlink"; X+ #servlink_path = "%%PREFIX%%/bin/servlink"; X X /* use egd: if your system does not have *random devices yet you X * want to use OpenSSL and encrypted links, enable this. Beware - X@@ -942,8 +942,9 @@ X /* module path: paths to search for modules specified below and X * in /modload. X */ X- path = "/usr/local/ircd/modules"; X- path = "/usr/local/ircd/modules/autoload"; X+ path = "%%PREFIX%%/share/%%PORTNAME%%-%%PORTVERSION%%/modules/"; X+ path = "%%PREFIX%%/share/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/"; X+ path = "%%PREFIX%%/share/%%PORTNAME%%-%%PORTVERSION%%/modules/contrib/"; X X /* module: the name of a module to load on startup/rehash */ X #module = "some_module.so"; END-of-ircd-ratbox/files/patch-doc_example.efnet.conf.in echo x - ircd-ratbox/files/patch-servlink_Makefile.in sed 's/^X//' >ircd-ratbox/files/patch-servlink_Makefile.in << 'END-of-ircd-ratbox/files/patch-servlink_Makefile.in' X--- servlink/Makefile.in.orig Thu Jun 17 23:19:00 2004 X+++ servlink/Makefile.in Fri Jan 27 02:29:59 2006 X@@ -51,9 +51,6 @@ X install: build X @echo "ircd: installing servlink ($(PROGS))" X @for i in $(PROGS); do \ X- if test -f $(DESTDIR)$(bindir)/$$i; then \ X- $(MV) $(DESTDIR)$(bindir)/$$i $(DESTDIR)$(bindir)/$$i.old; \ X- fi; \ X $(INSTALL_BIN) $$i $(DESTDIR)$(bindir); \ X done X END-of-ircd-ratbox/files/patch-servlink_Makefile.in echo x - ircd-ratbox/pkg-descr sed 's/^X//' >ircd-ratbox/pkg-descr << 'END-of-ircd-ratbox/pkg-descr' XThis is a port of the ircd-ratbox IRC daemon. X Xircd-ratbox is the primary ircd used on EFnet; it combines the stability Xof an ircd required for a large production network together with a rich Xset of features, making it also suitable for use on smaller networks. X XWWW: http://www.ircd-ratbox.org/ END-of-ircd-ratbox/pkg-descr echo x - ircd-ratbox/pkg-plist sed 's/^X//' >ircd-ratbox/pkg-plist << 'END-of-ircd-ratbox/pkg-plist' Xbin/ircd Xbin/viconf Xbin/mkpasswd Xbin/convertilines Xbin/convertklines Xbin/vimotd Xbin/viklines Xbin/servlink Xetc/%%PORTNAME%%/ircd.conf.sample Xetc/%%PORTNAME%%/ircd-efnet.conf.sample Xetc/%%PORTNAME%%/ircd.motd.sample Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_accept.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_admin.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_away.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_cap.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_capab.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_challenge.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_close.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_cmessage.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_connect.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_dline.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_encap.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_etrace.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_gline.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_help.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_info.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_invite.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_ison.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_kline.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_knock.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_links.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_list.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_locops.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_lusers.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_tb.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_map.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_monitor.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_motd.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_names.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_oper.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_operspy.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_pass.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_ping.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_pong.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_post.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_rehash.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_restart.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_resv.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_set.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_stats.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_svinfo.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_testline.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_testmask.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_time.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_topic.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_trace.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_user.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_userhost.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_users.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_version.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_wallops.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_who.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_whois.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_whowas.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_unreject.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload/m_xline.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/contrib/m_clearchan.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/contrib/m_flags.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/contrib/m_force.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/contrib/m_mkpasswd.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/contrib/m_ojoin.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/contrib/m_olist.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/contrib/m_okick.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/contrib/m_opme.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/contrib/spy_admin_notice.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/contrib/spy_info_notice.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/contrib/spy_links_notice.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/contrib/spy_motd_notice.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/contrib/spy_stats_notice.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/contrib/spy_stats_p_notice.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/contrib/spy_trace_notice.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/contrib/spy_whois_notice.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/contrib/spy_whois_notice_global.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/m_die.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/m_error.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/m_join.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/m_kick.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/m_kill.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/m_message.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/m_mode.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/m_nick.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/m_part.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/m_quit.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/m_server.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/m_sjoin.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/modules/m_squit.so Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/accept Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/admin Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/away Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/capab Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/challenge Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/close Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/cmode Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/cnotice Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/connect Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/cprivmsg Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/credits Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/die Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/dline Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/eob Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/error Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/etrace Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/gline Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/help Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/index Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/info Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/invite Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/ison Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/join Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/kick Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/kill Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/kline Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/knock Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/links Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/list Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/locops Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/lusers Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/map Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/modlist Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/modload Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/modrestart Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/modunload Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/motd Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/names Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/nick Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/notice Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/oper Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/operspy Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/operwall Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/part Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/pass Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/ping Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/pong Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/post Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/privmsg Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/quit Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/rehash Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/restart Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/resv Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/server Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/set Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/sjoin Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/squit Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/stats Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/svinfo Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/testgecos Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/testline Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/testmask Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/time Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/topic Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/trace Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/uhelp Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/umode Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/undline Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/ungline Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/unkline Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/unresv Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/unxline Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/user Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/userhost Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/users Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/version Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/wallops Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/who Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/whois Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/whowas Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/opers/xline Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/index Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/info Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/notice Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/privmsg Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/stats Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/umode Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/topic Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/accept Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/cmode Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/admin Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/names Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/links Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/away Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/whowas Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/version Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/kick Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/who Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/invite Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/quit Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/join Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/list Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/nick Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/oper Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/part Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/time Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/credits Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/motd Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/userhost Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/users Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/whois Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/ison Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/lusers Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/user Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/help Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/pass Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/error Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/challenge Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/knock Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/ping Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/pong Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/cprivmsg Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/cnotice Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/map Xshare/%%PORTNAME%%-%%PORTVERSION%%/help/users/trace X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/modules/autoload X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/modules/contrib X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/modules X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/help/users X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/help/opers X@dirrm share/%%PORTNAME%%-%%PORTVERSION%%/help X@dirrm share/%%PORTNAME%%-%%PORTVERSION%% X@unexec f="%D/etc/%%PORTNAME%%/dline.conf"; if [ ! -s "$f" ]; then rm -f "$f"; fi X@unexec f="%D/etc/%%PORTNAME%%/kline.conf"; if [ ! -s "$f" ]; then rm -f "$f"; fi X@unexec f="%D/etc/%%PORTNAME%%/resv.conf"; if [ ! -s "$f" ]; then rm -f "$f"; fi X@unexec f="%D/etc/%%PORTNAME%%/xline.conf"; if [ ! -s "$f" ]; then rm -f "$f"; fi X@dirrmtry etc/%%PORTNAME%% X@dirrmtry -Rf %%LOGDIR%% X@dirrmtry -Rf %%RUNDIR%% END-of-ircd-ratbox/pkg-plist echo x - ircd-ratbox/Makefile sed 's/^X//' >ircd-ratbox/Makefile << 'END-of-ircd-ratbox/Makefile' X# New ports collection makefile for: ircd-ratbox X# Date Created: 2006-01-27 X# Whom: Shaun Amott <shaun@inerd.com> X# X# $FreeBSD$ X# X# ex: ts=8 X XPORTNAME= ircd-ratbox XPORTVERSION= 2.1.7 XPORTREVISION= 0 XCATEGORIES= irc ipv6 XMASTER_SITES= ftp://ftp.ircd-ratbox.org/pub/ircd-ratbox/ \ X ftp://ftp.demon.co.uk/pub/mirrors/ircd-ratbox/ \ X http://www.ircd-ratbox.org/download/ \ X ftp://ftp.parodius.com/pub/ircd-ratbox/ XEXTRACT_SUFX= .tgz X XMAINTAINER= shaun@inerd.com XCOMMENT= An advanced, stable IRC daemon, used on many EFnet servers X XMAN8= ircd.8 XUSE_RC_SUBR= ircd-ratbox.sh X XLOGDIR= /var/log/${PORTNAME} XRUNDIR= /var/run/${PORTNAME} XSUB_FILES+= pkg-message pkg-install XPLIST_SUB+= PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} \ X LOGDIR=${LOGDIR} RUNDIR=${RUNDIR} XSUB_LIST+= PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} \ X LOGDIR=${LOGDIR} RUNDIR=${RUNDIR} PORTRCNAME="ircd_ratbox" X XPKGINSTALL= ${WRKDIR}/pkg-install X XGNU_CONFIGURE= yes X X#-- Options ------------------------------------------------------------ X XOPTIONS= KQUEUE "Use superior kqueue(2) instead of poll(2)" on \ X OPENSSL "Enable openssl support" on \ X IPV6 "Enable IPv6 support" off \ X ZIPLINKS "Enable ziplinks support" on \ X SHARED_MODULES "Enable shared modules support" on \ X ASSERT "Enable debugging code" off \ X SMALL_NET "Tune server for small networks" off \ X SERVICES "Enable ratbox-services compatibility code" off X X#---------------------------------------------------------------------- X X.include <bsd.port.pre.mk> X X.if defined(WITH_KQUEUE) XCONFIGURE_ARGS+= --enable-kqueue X.else XCONFIGURE_ARGS+= --enable-poll X.endif X X.if defined(WITH_OPENSSL) X.include "${PORTSDIR}/Mk/bsd.openssl.mk" XUSE_OPENSSL= yes XCONFIGURE_ARGS+= --enable-openssl X.else XUSE_OPENSSL= no XCONFIGURE_ARGS+= --disable-openssl X.endif X X.if defined(WITH_IPV6) XCONFIGURE_ARGS+= --enable-ipv6 X.endif X X.if defined(WITHOUT_ZIPLINKS) XCONFIGURE_ARGS+= --disable-zlib X.endif X X.if defined(WITHOUT_SHARED_MODULES) XCONFIGURE_ARGS+= --disable-shared-modules X.endif X X.if defined(WITH_ASSERT) XCONFIGURE_ARGS+= --enable-assert X.else XCONFIGURE_ARGS+= --disable-assert X.endif X X.if defined(WITH_SMALL_NET) XCONFIGURE_ARGS+= --enable-small-net X.endif X X.if defined(WITH_SERVICES) XCONFIGURE_ARGS+= --enable-services X.endif X XPORTDOCS= [^i]*.txt README.* technical/[^i]*.txt Tao-of-IRC.* X X#-- User Configuration ------------------------------------------------- X X.if defined(NICKLEN) XCONFIGURE_ARGS+= --with-nicklen=${NICKLEN} X.endif X X.if defined(TOPICLEN) XCONFIGURE_ARGS+= --with-topiclen=${TOPICLEN} X.endif X X.if defined(MAXCLIENTS) XCONFIGURE_ARGS+= --with-maxclients=${MAXCLIENTS} X.endif X X#----------------------------------------------------------------------- X XCONFIGURE_ARGS+= --prefix=${PREFIX} \ X --mandir=${MANPREFIX}/man \ X --sysconfdir=${PREFIX}/etc/${PORTNAME} \ X --with-confdir=${PREFIX}/etc/${PORTNAME} \ X --with-logdir=/var/log/${PORTNAME} \ X --with-moduledir=${PREFIX}/share/${PORTNAME}-${PORTVERSION}/modules \ X --with-helpdir=${PREFIX}/share/${PORTNAME}-${PORTVERSION}/help X X#----------------------------------------------------------------------- X Xpre-configure: X @${ECHO_MSG} "" X @${ECHO_MSG} "This port has additional options:" X @${ECHO_MSG} " NICKLEN [default 9, max 50] - Max nick length on server" X @${ECHO_MSG} " TOPICLEN [default 120, max 390] - Max topic length" X @${ECHO_MSG} " MAXCLIENTS [default 3000] - Max clients server can handle" X @${ECHO_MSG} "" X @${ECHO_MSG} "Press CTRL+C now if you wish to set them." X @${ECHO_MSG} "" X Xpost-patch: X @${REINPLACE_CMD} -e "s#%%PREFIX%%#${PREFIX}#g" \ X -e "s#%%PORTNAME%%#${PORTNAME}#g" \ X -e "s#%%PORTVERSION%%#${PORTVERSION}#g" \ X ${WRKSRC}/doc/example.conf \ X ${WRKSRC}/doc/example.efnet.conf X X @${REINPLACE_CMD} -e "s#%%RUNDIR%%#${RUNDIR}#g" ${WRKSRC}/include/config.h X Xpre-install: X @${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL X @${MKDIR} ${PREFIX}/etc/${PORTNAME} X @${MKDIR} ${PREFIX}/share/${PORTNAME}-${PORTVERSION} X @${MKDIR} ${PREFIX}/share/${PORTNAME}-${PORTVERSION}/help X @${MKDIR} ${PREFIX}/share/${PORTNAME}-${PORTVERSION}/modules X Xpost-install: X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} X.endif X @${INSTALL_DATA} ${WRKSRC}/doc/ircd.motd ${PREFIX}/etc/${PORTNAME}/ircd.motd.sample X @${INSTALL_DATA} ${WRKSRC}/doc/example.conf ${PREFIX}/etc/${PORTNAME}/ircd.conf.sample X @${INSTALL_DATA} ${WRKSRC}/doc/example.efnet.conf ${PREFIX}/etc/${PORTNAME}/ircd-efnet.conf.sample X X @${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL X @${CAT} ${PKGMESSAGE} X X#----------------------------------------------------------------------- X X.include <bsd.port.post.mk> END-of-ircd-ratbox/Makefile echo x - ircd-ratbox/distinfo sed 's/^X//' >ircd-ratbox/distinfo << 'END-of-ircd-ratbox/distinfo' XMD5 (ircd-ratbox-2.1.7.tgz) = 204b2125456c9b43600b2fb60f99286b XSHA256 (ircd-ratbox-2.1.7.tgz) = 3373c0423496a1270615a4d62c98cd8b0500efe994c96b0040815091e64a93d7 XSIZE (ircd-ratbox-2.1.7.tgz) = 683398 END-of-ircd-ratbox/distinfo exit --- ircd-ratbox-2.1.7.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1138338297.52061>