summaryrefslogtreecommitdiffstats
path: root/irc/tr-ircd
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-05-21 08:03:23 +0000
committerijliao <ijliao@FreeBSD.org>2002-05-21 08:03:23 +0000
commiteecab4ab3d327aa650841c6cd8af9fb152d2bd2b (patch)
tree148c47577bdb71cea6bc37f54b9db6da964ef608 /irc/tr-ircd
parent0286325ebad4f27b093fcb4f826a3eee09a23b54 (diff)
downloadFreeBSD-ports-eecab4ab3d327aa650841c6cd8af9fb152d2bd2b.zip
FreeBSD-ports-eecab4ab3d327aa650841c6cd8af9fb152d2bd2b.tar.gz
add tr-ircd 5.0.p6
An irc daeemon based on Bahamut and hybrid-7 PR: 37764 Submitted by: Alex Dupre <sysadmin@alexdupre.com>
Diffstat (limited to 'irc/tr-ircd')
-rw-r--r--irc/tr-ircd/Makefile48
-rw-r--r--irc/tr-ircd/distinfo1
-rw-r--r--irc/tr-ircd/files/patch-configure11
-rw-r--r--irc/tr-ircd/files/patch-doc::Makefile.in12
-rw-r--r--irc/tr-ircd/files/patch-help::Makefile.in13
-rw-r--r--irc/tr-ircd/files/patch-include::capabflag.h10
-rw-r--r--irc/tr-ircd/files/patch-include::config.h27
-rw-r--r--irc/tr-ircd/files/patch-include::memory.h15
-rw-r--r--irc/tr-ircd/files/patch-src::Makefile.in10
-rw-r--r--irc/tr-ircd/files/tr-ircd.sh20
-rw-r--r--irc/tr-ircd/pkg-comment1
-rw-r--r--irc/tr-ircd/pkg-descr6
-rw-r--r--irc/tr-ircd/pkg-plist304
13 files changed, 478 insertions, 0 deletions
diff --git a/irc/tr-ircd/Makefile b/irc/tr-ircd/Makefile
new file mode 100644
index 0000000..c2ee93f
--- /dev/null
+++ b/irc/tr-ircd/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: tr-ircd
+# Date created: Sat May 4 15:54:47 CET 2002
+# Whom: Alex Dupre <sysadmin@alexdupre.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tr-ircd
+PORTVERSION= 5.0.p6
+CATEGORIES= irc ipv6
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME:S/-//}-release-${PORTVERSION:S/.p/-pre/}
+
+MAINTAINER= sysadmin@alexdupre.com
+
+MAN1= md5sum.1
+MAN5= ircd.conf.5
+MAN8= ircd.8
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-kqueue
+
+.if !defined(WITHOUT_SSL)
+USE_OPENSSL= yes
+CONFIGURE_ARGS+=--enable-openssl=${OPENSSLBASE}
+.endif
+
+.if defined(SMALL_NET)
+CONFIGURE_ARGS+=--enable-small-nets
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400014
+CONFIGURE_ARGS+=--enable-ipv6
+.endif
+
+post-patch:
+ @${PERL} -pi -e 's|\[ "(`[^`]+`)" == "" \]|[ test \1 ]|g' \
+ ${WRKSRC}/*/Makefile.in
+
+post-install:
+ @${ECHO} "Installing ${PREFIX}/etc/rc.d/tr-ircd.sh.sample startup file."
+ @${INSTALL_SCRIPT} ${FILESDIR}/tr-ircd.sh \
+ ${PREFIX}/etc/rc.d/tr-ircd.sh.sample
+
+.include <bsd.port.post.mk>
diff --git a/irc/tr-ircd/distinfo b/irc/tr-ircd/distinfo
new file mode 100644
index 0000000..f70bdee
--- /dev/null
+++ b/irc/tr-ircd/distinfo
@@ -0,0 +1 @@
+MD5 (trircd-release-5.0-pre6.tar.gz) = 9100480b7e80e9b4b3a536ac69cd3fd7
diff --git a/irc/tr-ircd/files/patch-configure b/irc/tr-ircd/files/patch-configure
new file mode 100644
index 0000000..36fe023
--- /dev/null
+++ b/irc/tr-ircd/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Sun May 19 11:10:35 2002
++++ configure Sun May 19 11:10:57 2002
+@@ -2457,7 +2457,7 @@
+ ;;
+ esac
+ fi
+-MD5SUMS=$ac_cv_path_MD5SUMS
++MD5SUMS=../md5/$ac_cv_path_MD5SUMS
+
+ if test -n "$MD5SUMS"; then
+ echo "$as_me:2463: result: $MD5SUMS" >&5
diff --git a/irc/tr-ircd/files/patch-doc::Makefile.in b/irc/tr-ircd/files/patch-doc::Makefile.in
new file mode 100644
index 0000000..9044c80
--- /dev/null
+++ b/irc/tr-ircd/files/patch-doc::Makefile.in
@@ -0,0 +1,12 @@
+--- doc/Makefile.in.orig Sun May 5 11:01:56 2002
++++ doc/Makefile.in Sun May 5 11:03:18 2002
+@@ -60,7 +60,8 @@
+ install: build
+ @echo "Installing config files"
+ $(INSTALL) -d ${sysconfdir}
+- ${INSTALL} $(CONFS) $(DEFAULTCONFS) ${sysconfdir}
++ ${INSTALL} $(CONFS) ${sysconfdir}/ircd.conf.sample
++ ${INSTALL} $(DEFAULTCONFS) ${sysconfdir}
+ touch ${sysconfdir}/kline.conf
+ @echo "Installing manpages"
+ $(INSTALL) -d ${mandir}
diff --git a/irc/tr-ircd/files/patch-help::Makefile.in b/irc/tr-ircd/files/patch-help::Makefile.in
new file mode 100644
index 0000000..f261abd
--- /dev/null
+++ b/irc/tr-ircd/files/patch-help::Makefile.in
@@ -0,0 +1,13 @@
+--- help/Makefile.in.orig Sat May 18 17:36:29 2002
++++ help/Makefile.in Sun May 19 11:13:10 2002
+@@ -51,8 +51,8 @@
+
+ install:
+ @echo "Installing help files"
+- @${RM} -rf ${prefix}/help/en_us
+- @${CP} -dpR en_us ${prefix}/help/
++ @mkdir -p ${prefix}/share/tr-ircd/help
++ @${CP} -pR en_us ${prefix}/share/tr-ircd/help/
+
+ makesums:
+ @echo "Creating .md5sums..."
diff --git a/irc/tr-ircd/files/patch-include::capabflag.h b/irc/tr-ircd/files/patch-include::capabflag.h
new file mode 100644
index 0000000..4e9f97f
--- /dev/null
+++ b/irc/tr-ircd/files/patch-include::capabflag.h
@@ -0,0 +1,10 @@
+--- include/capabflag.h.orig Sat May 4 15:31:48 2002
++++ include/capabflag.h Sat May 4 15:32:07 2002
+@@ -396,6 +396,7 @@
+ * defined debugging levels
+ */
+ #define LOG_FATAL 0
++#define LOG_CRIT 0
+ #define LOG_ERROR 1 /* report_error() and other errors that
+ * are found */
+ #define LOG_NOTICE 2
diff --git a/irc/tr-ircd/files/patch-include::config.h b/irc/tr-ircd/files/patch-include::config.h
new file mode 100644
index 0000000..937dbe5
--- /dev/null
+++ b/irc/tr-ircd/files/patch-include::config.h
@@ -0,0 +1,27 @@
+--- include/config.h.orig Sat May 4 15:57:33 2002
++++ include/config.h Sat May 4 15:59:21 2002
+@@ -33,12 +33,12 @@
+ #define KLINEFILE IRCD_PREFIX "/etc/kline.conf"
+ #define MOTD IRCD_PREFIX "/etc/ircd.motd"
+ #define SHORTMOTD IRCD_PREFIX "/etc/ircd.smotd"
+-#define LOGFILE IRCD_PREFIX "/etc/ircd.log"
++#define LOGFILE "/var/log/ircd.log"
+ #define LINKSFILE IRCD_PREFIX "/etc/ircd.links"
+
+-#define IRCD_PIDFILE IRCD_PREFIX "/tmp/ircd.pid"
++#define IRCD_PIDFILE "/var/run/ircd.pid"
+
+-#define HELPPATH IRCD_PREFIX "/help/en_us"
++#define HELPPATH IRCD_PREFIX "/share/tr-ircd/help/en_us"
+
+ /*
+ * LOCKFILE - Exclusive use of ircd.conf and kline.conf during writes
+@@ -51,7 +51,7 @@
+ * minutes have elapsed.
+ */
+
+-#define LOCKFILE IRCD_PREFIX "/tmp/ircd.conf.lock"
++#define LOCKFILE "/tmp/ircd.conf.lock"
+
+ #define USE_FAKEHOST
+
diff --git a/irc/tr-ircd/files/patch-include::memory.h b/irc/tr-ircd/files/patch-include::memory.h
new file mode 100644
index 0000000..6fd6408
--- /dev/null
+++ b/irc/tr-ircd/files/patch-include::memory.h
@@ -0,0 +1,15 @@
+--- include/memory.h.orig Sun May 19 11:25:19 2002
++++ include/memory.h Sun May 19 11:25:32 2002
+@@ -17,12 +17,6 @@
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+-#ifndef HAVE_STDINT_H
+-#ifndef HAVE_UINTPTR_T
+-typedef unsigned long uintptr_t;
+-#endif
+-#endif
+-
+ #define MyFree(x) if ((x) != NULL) free(x)
+
+ extern char *MyMalloc(size_t);
diff --git a/irc/tr-ircd/files/patch-src::Makefile.in b/irc/tr-ircd/files/patch-src::Makefile.in
new file mode 100644
index 0000000..0b8b57d
--- /dev/null
+++ b/irc/tr-ircd/files/patch-src::Makefile.in
@@ -0,0 +1,10 @@
+--- src/Makefile.in.orig Sat May 4 16:20:36 2002
++++ src/Makefile.in Sat May 4 16:22:57 2002
+@@ -88,7 +88,6 @@
+ install:
+ @echo "Installing ircd"
+ $(INSTALL) -d ${bindir}
+- $(INSTALL) -d ${prefix}/tmp
+ $(INSTALL) $(PROGS) ${bindir}
+
+ makesums:
diff --git a/irc/tr-ircd/files/tr-ircd.sh b/irc/tr-ircd/files/tr-ircd.sh
new file mode 100644
index 0000000..9fc9fcf
--- /dev/null
+++ b/irc/tr-ircd/files/tr-ircd.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
+ echo "$0: Cannot determine the PREFIX" >&2
+ exit 1
+fi
+
+case "$1" in
+start)
+ [ -x ${PREFIX}/bin/ircd ] && ${PREFIX}/bin/ircd > /dev/null && echo -n ' tr-ircd'
+ ;;
+stop)
+ [ -r /var/run/ircd.pid ] && kill `cat /var/run/ircd.pid` && rm /var/run/ircd.pid && echo -n ' tr-ircd'
+ ;;
+*)
+ echo "Usage: `basename $0` {start|stop}" >&2
+ ;;
+esac
+
+exit 0
diff --git a/irc/tr-ircd/pkg-comment b/irc/tr-ircd/pkg-comment
new file mode 100644
index 0000000..2c3bea3
--- /dev/null
+++ b/irc/tr-ircd/pkg-comment
@@ -0,0 +1 @@
+An irc daeemon based on Bahamut and hybrid-7
diff --git a/irc/tr-ircd/pkg-descr b/irc/tr-ircd/pkg-descr
new file mode 100644
index 0000000..b3d9dd4
--- /dev/null
+++ b/irc/tr-ircd/pkg-descr
@@ -0,0 +1,6 @@
+TR-IRCD is an irc daeemon based on Bahamut and hybrid-7.
+
+WWW: http://tr-ircd.sourceforge.net/
+
+- Alex Dupre
+sysadmin@alexdupre.com
diff --git a/irc/tr-ircd/pkg-plist b/irc/tr-ircd/pkg-plist
new file mode 100644
index 0000000..6a61d0a
--- /dev/null
+++ b/irc/tr-ircd/pkg-plist
@@ -0,0 +1,304 @@
+bin/ircd
+bin/ircpasswd
+bin/md5sum
+etc/ircd.conf.sample
+etc/ircd.links
+etc/ircd.motd
+etc/kline.conf
+etc/rc.d/tr-ircd.sh.sample
+include/blalloc.h
+include/capabflag.h
+include/chanmode.h
+include/channel.h
+include/class.h
+include/client.h
+include/cmodetab.h
+include/common.h
+include/comply.h
+include/config.h
+include/confitem.h
+include/debug.h
+include/defaults.h
+include/dh.h
+include/event.h
+include/fd.h
+include/fileio.h
+include/find.h
+include/floodspam.h
+include/h.h
+include/hash.h
+include/hook.h
+include/hostmask.h
+include/identity.h
+include/init.h
+include/ircd_defs.h
+include/ircsprintf.h
+include/language.h
+include/linebuf.h
+include/listener.h
+include/md5/closeout.h
+include/md5/config.h
+include/md5/error.h
+include/md5/getline.h
+include/md5/getopt.h
+include/md5/gnukludge.h
+include/md5/md5.h
+include/md5/sys2.h
+include/md5/system.h
+include/md5/version-etc.h
+include/md5/xalloc.h
+include/memory.h
+include/modulelist.h
+include/modules.h
+include/motditem.h
+include/msg.h
+include/msgtok1.h
+include/numeric.h
+include/packet.h
+include/parse.h
+include/patchlevel.h
+include/protocol.h
+include/protodef.h
+include/queue.h
+include/resnew.h
+include/s_auth.h
+include/s_bsd.h
+include/s_conf.h
+include/s_service.h
+include/s_user.h
+include/send.h
+include/setup.h
+include/struct.h
+include/supported.h
+include/sys.h
+include/sysvar.h
+include/throttle.h
+include/tools.h
+include/zlink.h
+lib/chanmodes/cm_ban.so
+lib/chanmodes/cm_chanban.so
+lib/chanmodes/cm_chanop.so
+lib/chanmodes/cm_excepts.so
+lib/chanmodes/cm_flood.so
+lib/chanmodes/cm_halfops.so
+lib/chanmodes/cm_invites.so
+lib/chanmodes/cm_key.so
+lib/chanmodes/cm_limit.so
+lib/chanmodes/cm_modhost.so
+lib/chanmodes/cm_owner.so
+lib/chanmodes/cm_protect.so
+lib/chanmodes/cm_singles.so
+lib/chanmodes/cm_voice.so
+lib/contrib/m_admins.so
+lib/contrib/m_getlang.so
+lib/contrib/m_locops.so
+lib/contrib/m_rnotice.so
+lib/contrib/m_sadmins.so
+lib/contrib/rehash_more.so
+lib/contrib/wordfilter.so
+lib/languages/lang_eng_funny.so
+lib/languages/lang_eng_old.so
+lib/languages/lang_turkish.so
+lib/modules/m_admin.so
+lib/modules/m_akill.so
+lib/modules/m_away.so
+lib/modules/m_burst.so
+lib/modules/m_capab.so
+lib/modules/m_close.so
+lib/modules/m_connect.so
+lib/modules/m_dccallow.so
+lib/modules/m_die.so
+lib/modules/m_display.so
+lib/modules/m_dkey.so
+lib/modules/m_error.so
+lib/modules/m_exclude.so
+lib/modules/m_globops.so
+lib/modules/m_gnotice.so
+lib/modules/m_goper.so
+lib/modules/m_hash.so
+lib/modules/m_help.so
+lib/modules/m_info.so
+lib/modules/m_invite.so
+lib/modules/m_ircops.so
+lib/modules/m_ison.so
+lib/modules/m_join.so
+lib/modules/m_jupiter.so
+lib/modules/m_kick.so
+lib/modules/m_kill.so
+lib/modules/m_kline.so
+lib/modules/m_links.so
+lib/modules/m_list.so
+lib/modules/m_lusers.so
+lib/modules/m_map.so
+lib/modules/m_message.so
+lib/modules/m_mkpasswd.so
+lib/modules/m_mode.so
+lib/modules/m_motd.so
+lib/modules/m_myid.so
+lib/modules/m_names.so
+lib/modules/m_nick.so
+lib/modules/m_oper.so
+lib/modules/m_operdo.so
+lib/modules/m_part.so
+lib/modules/m_pass.so
+lib/modules/m_ping.so
+lib/modules/m_pong.so
+lib/modules/m_post.so
+lib/modules/m_quit.so
+lib/modules/m_rakill.so
+lib/modules/m_rehash.so
+lib/modules/m_restart.so
+lib/modules/m_rexclude.so
+lib/modules/m_rping.so
+lib/modules/m_samode.so
+lib/modules/m_server.so
+lib/modules/m_service.so
+lib/modules/m_services.so
+lib/modules/m_servlist.so
+lib/modules/m_servset.so
+lib/modules/m_set.so
+lib/modules/m_setlang.so
+lib/modules/m_sgline.so
+lib/modules/m_silence.so
+lib/modules/m_sjoin.so
+lib/modules/m_sqline.so
+lib/modules/m_squery.so
+lib/modules/m_squit.so
+lib/modules/m_stats.so
+lib/modules/m_svinfo.so
+lib/modules/m_svsjoin.so
+lib/modules/m_svskill.so
+lib/modules/m_svsmode.so
+lib/modules/m_svsnick.so
+lib/modules/m_svsnoop.so
+lib/modules/m_szline.so
+lib/modules/m_time.so
+lib/modules/m_topic.so
+lib/modules/m_trace.so
+lib/modules/m_unjupiter.so
+lib/modules/m_unkline.so
+lib/modules/m_unsgline.so
+lib/modules/m_unsqline.so
+lib/modules/m_unszline.so
+lib/modules/m_user.so
+lib/modules/m_userhost.so
+lib/modules/m_userip.so
+lib/modules/m_users.so
+lib/modules/m_version.so
+lib/modules/m_wallops.so
+lib/modules/m_watch.so
+lib/modules/m_who.so
+lib/modules/m_whois.so
+lib/modules/m_whowas.so
+lib/modules/m_zline.so
+lib/protocol/compat.so
+lib/protocol/halcyon.so
+lib/protocol/native.so
+lib/protocol/pelennor.so
+share/tr-ircd/help/en_us/admin
+share/tr-ircd/help/en_us/akill
+share/tr-ircd/help/en_us/away
+share/tr-ircd/help/en_us/burst
+share/tr-ircd/help/en_us/capab
+share/tr-ircd/help/en_us/channelmodes
+share/tr-ircd/help/en_us/close
+share/tr-ircd/help/en_us/connect
+share/tr-ircd/help/en_us/dccallow
+share/tr-ircd/help/en_us/die
+share/tr-ircd/help/en_us/display
+share/tr-ircd/help/en_us/dkey
+share/tr-ircd/help/en_us/error
+share/tr-ircd/help/en_us/exclude
+share/tr-ircd/help/en_us/gline
+share/tr-ircd/help/en_us/globops
+share/tr-ircd/help/en_us/gnotice
+share/tr-ircd/help/en_us/goper
+share/tr-ircd/help/en_us/hash
+share/tr-ircd/help/en_us/help
+share/tr-ircd/help/en_us/index
+share/tr-ircd/help/en_us/info
+share/tr-ircd/help/en_us/invite
+share/tr-ircd/help/en_us/ircops
+share/tr-ircd/help/en_us/ison
+share/tr-ircd/help/en_us/join
+share/tr-ircd/help/en_us/jupiter
+share/tr-ircd/help/en_us/kick
+share/tr-ircd/help/en_us/kill
+share/tr-ircd/help/en_us/kline
+share/tr-ircd/help/en_us/links
+share/tr-ircd/help/en_us/list
+share/tr-ircd/help/en_us/lusers
+share/tr-ircd/help/en_us/map
+share/tr-ircd/help/en_us/mkpasswd
+share/tr-ircd/help/en_us/mode
+share/tr-ircd/help/en_us/modules
+share/tr-ircd/help/en_us/motd
+share/tr-ircd/help/en_us/myid
+share/tr-ircd/help/en_us/names
+share/tr-ircd/help/en_us/netset
+share/tr-ircd/help/en_us/nick
+share/tr-ircd/help/en_us/notice
+share/tr-ircd/help/en_us/oper
+share/tr-ircd/help/en_us/operdo
+share/tr-ircd/help/en_us/part
+share/tr-ircd/help/en_us/pass
+share/tr-ircd/help/en_us/ping
+share/tr-ircd/help/en_us/pong
+share/tr-ircd/help/en_us/privmsg
+share/tr-ircd/help/en_us/quit
+share/tr-ircd/help/en_us/rakill
+share/tr-ircd/help/en_us/rehash
+share/tr-ircd/help/en_us/restart
+share/tr-ircd/help/en_us/rexclude
+share/tr-ircd/help/en_us/samode
+share/tr-ircd/help/en_us/server
+share/tr-ircd/help/en_us/service
+share/tr-ircd/help/en_us/services
+share/tr-ircd/help/en_us/servlist
+share/tr-ircd/help/en_us/servset
+share/tr-ircd/help/en_us/set
+share/tr-ircd/help/en_us/setlang
+share/tr-ircd/help/en_us/sgline
+share/tr-ircd/help/en_us/silence
+share/tr-ircd/help/en_us/sjoin
+share/tr-ircd/help/en_us/sqline
+share/tr-ircd/help/en_us/squery
+share/tr-ircd/help/en_us/squit
+share/tr-ircd/help/en_us/stats
+share/tr-ircd/help/en_us/svinfo
+share/tr-ircd/help/en_us/svsjoin
+share/tr-ircd/help/en_us/svskill
+share/tr-ircd/help/en_us/svsmode
+share/tr-ircd/help/en_us/svsnick
+share/tr-ircd/help/en_us/svsnoop
+share/tr-ircd/help/en_us/szline
+share/tr-ircd/help/en_us/time
+share/tr-ircd/help/en_us/topic
+share/tr-ircd/help/en_us/trace
+share/tr-ircd/help/en_us/ungline
+share/tr-ircd/help/en_us/unjupiter
+share/tr-ircd/help/en_us/unkline
+share/tr-ircd/help/en_us/unsgline
+share/tr-ircd/help/en_us/unsqline
+share/tr-ircd/help/en_us/unszline
+share/tr-ircd/help/en_us/user
+share/tr-ircd/help/en_us/userhost
+share/tr-ircd/help/en_us/userip
+share/tr-ircd/help/en_us/usermodes
+share/tr-ircd/help/en_us/users
+share/tr-ircd/help/en_us/version
+share/tr-ircd/help/en_us/wallops
+share/tr-ircd/help/en_us/watch
+share/tr-ircd/help/en_us/who
+share/tr-ircd/help/en_us/whois
+share/tr-ircd/help/en_us/whowas
+share/tr-ircd/help/en_us/zline
+@dirrm include/md5
+@dirrm lib/chanmodes
+@dirrm lib/contrib
+@dirrm lib/languages
+@dirrm lib/modules
+@dirrm lib/protocol
+@dirrm share/tr-ircd/help/en_us
+@dirrm share/tr-ircd/help
+@dirrm share/tr-ircd
OpenPOWER on IntegriCloud