Date: Sun, 5 May 2002 12:33:55 +0200 (CEST) From: Alex Dupre <sysadmin@alexdupre.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/37764: [New Port] irc/tr-ircd (An IRC Daemon) Message-ID: <200205051033.g45AXtUp010988@vaio.alexdupre.com>
next in thread | raw e-mail | index | archive | help
>Number: 37764 >Category: ports >Synopsis: [New Port] irc/tr-ircd (An IRC Daemon) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 05 03:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Alex Dupre >Release: FreeBSD 4.5-ALEXDUPRE i386 >Organization: >Environment: System: FreeBSD vaio.alexdupre.com 4.5-ALEXDUPRE FreeBSD 4.5-ALEXDUPRE #0: Fri Apr 12 14:12:57 CEST 2002 alex@vaio.alexdupre.com:/usr/obj/usr/src/sys/VAIO i386 >Description: TR-IRCD is a new irc daemon based on Bahamut and Hybrid-7. It's the only irc daemon that quite follows the GNU layout and doesn't require its own install dir. >How-To-Repeat: >Fix: --- tr-ircd.sh 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: # # tr-ircd/ # tr-ircd/Makefile # tr-ircd/distinfo # tr-ircd/files # tr-ircd/files/patch-configure # tr-ircd/files/patch-doc::Makefile.in # tr-ircd/files/patch-help::Makefile.in # tr-ircd/files/patch-include::capabflag.h # tr-ircd/files/patch-include::config.h # tr-ircd/files/patch-include::memory.h # tr-ircd/files/patch-src::Makefile.in # tr-ircd/files/tr-ircd.sh # tr-ircd/pkg-comment # tr-ircd/pkg-descr # tr-ircd/pkg-plist # echo c - tr-ircd/ mkdir -p tr-ircd/ > /dev/null 2>&1 echo x - tr-ircd/Makefile sed 's/^X//' >tr-ircd/Makefile << 'END-of-tr-ircd/Makefile' X# New ports collection makefile for: tr-ircd X# Date created: Sat May 4 15:54:47 CET 2002 X# Whom: Alex Dupre <sysadmin@alexdupre.com> X# X# $FreeBSD$ X# X XPORTNAME= tr-ircd XPORTVERSION= 5.0.p5 XCATEGORIES= irc ipv6 XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} XDISTNAME= ${PORTNAME:S/-//}-release-${PORTVERSION:S/.p/-pre/} X XMAINTAINER= sysadmin@alexdupre.com X XMAN1= md5sum.1 XMAN5= ircd.conf.5 XMAN8= ircd.8 X XGNU_CONFIGURE= yes XCONFIGURE_ARGS= --enable-kqueue X X.if !defined(WITHOUT_SSL) XUSE_OPENSSL= yes XCONFIGURE_ARGS+=--enable-openssl X.endif X X.if defined(WITH_SMALL_NET) XCONFIGURE_ARGS+=--enable-small-nets X.endif X X.include <bsd.port.pre.mk> X X.if ${OSVERSION} >= 400014 XCONFIGURE_ARGS+=--enable-ipv6 X.endif X Xpost-patch: X @${PERL} -pi -e 's|\[ "(`[^`]+`)" == "" \]|[ test \1 ]|g' \ X ${WRKSRC}/*/Makefile.in X Xpost-install: X @${ECHO} "Installing ${PREFIX}/etc/rc.d/tr-ircd.sh.sample startup file." X @${INSTALL_SCRIPT} ${FILESDIR}/tr-ircd.sh \ X ${PREFIX}/etc/rc.d/tr-ircd.sh.sample X X.include <bsd.port.post.mk> END-of-tr-ircd/Makefile echo x - tr-ircd/distinfo sed 's/^X//' >tr-ircd/distinfo << 'END-of-tr-ircd/distinfo' XMD5 (trircd-release-5.0-pre5.tar.gz) = 2331106aca3d137d5ff8998d9cb008d6 END-of-tr-ircd/distinfo echo c - tr-ircd/files mkdir -p tr-ircd/files > /dev/null 2>&1 echo x - tr-ircd/files/patch-configure sed 's/^X//' >tr-ircd/files/patch-configure << 'END-of-tr-ircd/files/patch-configure' X--- configure.orig Sat May 4 15:25:37 2002 X+++ configure Sat May 4 15:26:16 2002 X@@ -2459,7 +2459,7 @@ X ;; X esac X fi X-MD5SUMS=$ac_cv_path_MD5SUMS X+MD5SUMS=../md5/$ac_cv_path_MD5SUMS X X if test -n "$MD5SUMS"; then X echo "$as_me:2465: result: $MD5SUMS" >&5 END-of-tr-ircd/files/patch-configure echo x - tr-ircd/files/patch-doc::Makefile.in sed 's/^X//' >tr-ircd/files/patch-doc::Makefile.in << 'END-of-tr-ircd/files/patch-doc::Makefile.in' X--- doc/Makefile.in.orig Sun May 5 11:01:56 2002 X+++ doc/Makefile.in Sun May 5 11:03:18 2002 X@@ -59,7 +59,8 @@ X install: build X @echo "Installing config files" X $(INSTALL) -d ${sysconfdir} X- ${INSTALL} $(CONFS) $(DEFAULTCONFS) ${sysconfdir} X+ ${INSTALL} $(CONFS) ${sysconfdir}/ircd.conf.sample X+ ${INSTALL} $(DEFAULTCONFS) ${sysconfdir} X touch ${sysconfdir}/kline.conf X @echo "Installing manpages" X $(INSTALL) -d ${mandir} END-of-tr-ircd/files/patch-doc::Makefile.in echo x - tr-ircd/files/patch-help::Makefile.in sed 's/^X//' >tr-ircd/files/patch-help::Makefile.in << 'END-of-tr-ircd/files/patch-help::Makefile.in' X--- help/Makefile.in.orig Sat May 4 15:48:40 2002 X+++ help/Makefile.in Sat May 4 15:52:36 2002 X@@ -50,8 +50,8 @@ X X install: X @echo "Installing help files" X- @rm -rf ${prefix}/help/en_us X- @cp -dpR en_us ${prefix}/help/ X+ @mkdir -p ${prefix}/share/tr-ircd/help X+ @cp -pR en_us ${prefix}/share/tr-ircd/help/ X X makesums: X @echo "Creating .md5sums..." END-of-tr-ircd/files/patch-help::Makefile.in echo x - tr-ircd/files/patch-include::capabflag.h sed 's/^X//' >tr-ircd/files/patch-include::capabflag.h << 'END-of-tr-ircd/files/patch-include::capabflag.h' X--- include/capabflag.h.orig Sat May 4 15:31:48 2002 X+++ include/capabflag.h Sat May 4 15:32:07 2002 X@@ -396,6 +396,7 @@ X * defined debugging levels X */ X #define LOG_FATAL 0 X+#define LOG_CRIT 0 X #define LOG_ERROR 1 /* report_error() and other errors that X * are found */ X #define LOG_NOTICE 2 END-of-tr-ircd/files/patch-include::capabflag.h echo x - tr-ircd/files/patch-include::config.h sed 's/^X//' >tr-ircd/files/patch-include::config.h << 'END-of-tr-ircd/files/patch-include::config.h' X--- include/config.h.orig Sat May 4 15:57:33 2002 X+++ include/config.h Sat May 4 15:59:21 2002 X@@ -33,12 +33,12 @@ X #define KLINEFILE IRCD_PREFIX "/etc/kline.conf" X #define MOTD IRCD_PREFIX "/etc/ircd.motd" X #define SHORTMOTD IRCD_PREFIX "/etc/ircd.smotd" X-#define LOGFILE IRCD_PREFIX "/etc/ircd.log" X+#define LOGFILE "/var/log/ircd.log" X #define LINKSFILE IRCD_PREFIX "/etc/ircd.links" X X-#define IRCD_PIDFILE IRCD_PREFIX "/tmp/ircd.pid" X+#define IRCD_PIDFILE "/var/run/ircd.pid" X X-#define HELPPATH IRCD_PREFIX "/help/en_us" X+#define HELPPATH IRCD_PREFIX "/share/tr-ircd/help/en_us" X X /* X * LOCKFILE - Exclusive use of ircd.conf and kline.conf during writes X@@ -51,7 +51,7 @@ X * minutes have elapsed. X */ X X-#define LOCKFILE IRCD_PREFIX "/tmp/ircd.conf.lock" X+#define LOCKFILE "/tmp/ircd.conf.lock" X X #define USE_FAKEHOST X END-of-tr-ircd/files/patch-include::config.h echo x - tr-ircd/files/patch-include::memory.h sed 's/^X//' >tr-ircd/files/patch-include::memory.h << 'END-of-tr-ircd/files/patch-include::memory.h' X--- include/memory.h.orig Sat May 4 15:26:50 2002 X+++ include/memory.h Sat May 4 15:27:07 2002 X@@ -17,12 +17,6 @@ X * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. X */ X X-#ifndef HAVE_STDINT_H X-#ifndef HAVE_INTPTR_T X-typedef unsigned long uintptr_t; X-#endif X-#endif X- X #define MyFree(x) if ((x) != NULL) free(x) X X extern char *MyMalloc(size_t); END-of-tr-ircd/files/patch-include::memory.h echo x - tr-ircd/files/patch-src::Makefile.in sed 's/^X//' >tr-ircd/files/patch-src::Makefile.in << 'END-of-tr-ircd/files/patch-src::Makefile.in' X--- src/Makefile.in.orig Sat May 4 16:20:36 2002 X+++ src/Makefile.in Sat May 4 16:22:57 2002 X@@ -88,7 +88,6 @@ X install: X @echo "Installing ircd" X $(INSTALL) -d ${bindir} X- $(INSTALL) -d ${prefix}/tmp X $(INSTALL) $(PROGS) ${bindir} X X makesums: END-of-tr-ircd/files/patch-src::Makefile.in echo x - tr-ircd/files/tr-ircd.sh sed 's/^X//' >tr-ircd/files/tr-ircd.sh << 'END-of-tr-ircd/files/tr-ircd.sh' X#!/bin/sh X Xif ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then X echo "$0: Cannot determine the PREFIX" >&2 X exit 1 Xfi X Xcase "$1" in Xstart) X [ -x ${PREFIX}/bin/ircd ] && ${PREFIX}/bin/ircd > /dev/null && echo -n ' tr-ircd' X ;; Xstop) X [ -r /var/run/ircd.pid ] && kill `cat /var/run/ircd.pid` && rm /var/run/ircd.pid && echo -n ' tr-ircd' X ;; X*) X echo "Usage: `basename $0` {start|stop}" >&2 X ;; Xesac X Xexit 0 END-of-tr-ircd/files/tr-ircd.sh echo x - tr-ircd/pkg-comment sed 's/^X//' >tr-ircd/pkg-comment << 'END-of-tr-ircd/pkg-comment' XAn irc daeemon based on Bahamut and hybrid-7 END-of-tr-ircd/pkg-comment echo x - tr-ircd/pkg-descr sed 's/^X//' >tr-ircd/pkg-descr << 'END-of-tr-ircd/pkg-descr' XTR-IRCD is an irc daeemon based on Bahamut and hybrid-7. X XWWW: http://tr-ircd.sourceforge.net/ X X- Alex Dupre Xsysadmin@alexdupre.com END-of-tr-ircd/pkg-descr echo x - tr-ircd/pkg-plist sed 's/^X//' >tr-ircd/pkg-plist << 'END-of-tr-ircd/pkg-plist' Xbin/ircd Xbin/ircpasswd Xbin/md5sum Xetc/ircd.conf.sample Xetc/ircd.links Xetc/ircd.motd Xetc/kline.conf Xetc/rc.d/tr-ircd.sh.sample Xinclude/blalloc.h Xinclude/capabflag.h Xinclude/chanmode.h Xinclude/channel.h Xinclude/class.h Xinclude/client.h Xinclude/cmodetab.h Xinclude/common.h Xinclude/comply.h Xinclude/config.h Xinclude/confitem.h Xinclude/debug.h Xinclude/defaults.h Xinclude/dh.h Xinclude/event.h Xinclude/fd.h Xinclude/fileio.h Xinclude/find.h Xinclude/floodspam.h Xinclude/h.h Xinclude/hash.h Xinclude/hook.h Xinclude/hostmask.h Xinclude/identity.h Xinclude/init.h Xinclude/ircd_defs.h Xinclude/ircsprintf.h Xinclude/language.h Xinclude/linebuf.h Xinclude/listener.h Xinclude/md5/closeout.h Xinclude/md5/config.h Xinclude/md5/error.h Xinclude/md5/getline.h Xinclude/md5/getopt.h Xinclude/md5/gnukludge.h Xinclude/md5/md5.h Xinclude/md5/sys2.h Xinclude/md5/system.h Xinclude/md5/version-etc.h Xinclude/md5/xalloc.h Xinclude/memory.h Xinclude/modulelist.h Xinclude/modules.h Xinclude/motditem.h Xinclude/msg.h Xinclude/msgtok1.h Xinclude/numeric.h Xinclude/packet.h Xinclude/parse.h Xinclude/patchlevel.h Xinclude/protocol.h Xinclude/protodef.h Xinclude/queue.h Xinclude/resnew.h Xinclude/s_auth.h Xinclude/s_bsd.h Xinclude/s_conf.h Xinclude/s_service.h Xinclude/s_user.h Xinclude/send.h Xinclude/setup.h Xinclude/struct.h Xinclude/supported.h Xinclude/sys.h Xinclude/sysvar.h Xinclude/throttle.h Xinclude/tools.h Xinclude/zlink.h Xlib/chanmodes/cm_ban.so Xlib/chanmodes/cm_chanban.so Xlib/chanmodes/cm_chanop.so Xlib/chanmodes/cm_excepts.so Xlib/chanmodes/cm_flood.so Xlib/chanmodes/cm_halfops.so Xlib/chanmodes/cm_invites.so Xlib/chanmodes/cm_key.so Xlib/chanmodes/cm_limit.so Xlib/chanmodes/cm_modhost.so Xlib/chanmodes/cm_owner.so Xlib/chanmodes/cm_protect.so Xlib/chanmodes/cm_singles.so Xlib/chanmodes/cm_voice.so Xlib/contrib/m_admins.so Xlib/contrib/m_getlang.so Xlib/contrib/m_locops.so Xlib/contrib/m_rnotice.so Xlib/contrib/m_sadmins.so Xlib/contrib/rehash_more.so Xlib/contrib/wordfilter.so Xlib/languages/lang_eng_funny.so Xlib/languages/lang_eng_old.so Xlib/languages/lang_turkish.so Xlib/modules/m_admin.so Xlib/modules/m_akill.so Xlib/modules/m_away.so Xlib/modules/m_burst.so Xlib/modules/m_capab.so Xlib/modules/m_close.so Xlib/modules/m_connect.so Xlib/modules/m_dccallow.so Xlib/modules/m_die.so Xlib/modules/m_display.so Xlib/modules/m_dkey.so Xlib/modules/m_error.so Xlib/modules/m_exclude.so Xlib/modules/m_globops.so Xlib/modules/m_gnotice.so Xlib/modules/m_goper.so Xlib/modules/m_hash.so Xlib/modules/m_help.so Xlib/modules/m_info.so Xlib/modules/m_invite.so Xlib/modules/m_ircops.so Xlib/modules/m_ison.so Xlib/modules/m_join.so Xlib/modules/m_jupiter.so Xlib/modules/m_kick.so Xlib/modules/m_kill.so Xlib/modules/m_kline.so Xlib/modules/m_links.so Xlib/modules/m_list.so Xlib/modules/m_lusers.so Xlib/modules/m_map.so Xlib/modules/m_message.so Xlib/modules/m_mkpasswd.so Xlib/modules/m_mode.so Xlib/modules/m_motd.so Xlib/modules/m_myid.so Xlib/modules/m_names.so Xlib/modules/m_nick.so Xlib/modules/m_oper.so Xlib/modules/m_operdo.so Xlib/modules/m_part.so Xlib/modules/m_pass.so Xlib/modules/m_ping.so Xlib/modules/m_pong.so Xlib/modules/m_post.so Xlib/modules/m_quit.so Xlib/modules/m_rakill.so Xlib/modules/m_rehash.so Xlib/modules/m_restart.so Xlib/modules/m_rexclude.so Xlib/modules/m_rping.so Xlib/modules/m_samode.so Xlib/modules/m_server.so Xlib/modules/m_service.so Xlib/modules/m_services.so Xlib/modules/m_servlist.so Xlib/modules/m_servset.so Xlib/modules/m_set.so Xlib/modules/m_setlang.so Xlib/modules/m_sgline.so Xlib/modules/m_silence.so Xlib/modules/m_sjoin.so Xlib/modules/m_sqline.so Xlib/modules/m_squery.so Xlib/modules/m_squit.so Xlib/modules/m_stats.so Xlib/modules/m_svinfo.so Xlib/modules/m_svsjoin.so Xlib/modules/m_svskill.so Xlib/modules/m_svsmode.so Xlib/modules/m_svsnick.so Xlib/modules/m_svsnoop.so Xlib/modules/m_szline.so Xlib/modules/m_time.so Xlib/modules/m_topic.so Xlib/modules/m_trace.so Xlib/modules/m_unjupiter.so Xlib/modules/m_unkline.so Xlib/modules/m_unsgline.so Xlib/modules/m_unsqline.so Xlib/modules/m_unszline.so Xlib/modules/m_user.so Xlib/modules/m_userhost.so Xlib/modules/m_userip.so Xlib/modules/m_users.so Xlib/modules/m_version.so Xlib/modules/m_wallops.so Xlib/modules/m_watch.so Xlib/modules/m_who.so Xlib/modules/m_whois.so Xlib/modules/m_whowas.so Xlib/modules/m_zline.so Xlib/protocol/compat.so Xlib/protocol/halcyon.so Xlib/protocol/native.so Xlib/protocol/pelennor.so Xshare/tr-ircd/help/en_us/admin Xshare/tr-ircd/help/en_us/akill Xshare/tr-ircd/help/en_us/away Xshare/tr-ircd/help/en_us/burst Xshare/tr-ircd/help/en_us/capab Xshare/tr-ircd/help/en_us/channelmodes Xshare/tr-ircd/help/en_us/close Xshare/tr-ircd/help/en_us/connect Xshare/tr-ircd/help/en_us/dccallow Xshare/tr-ircd/help/en_us/die Xshare/tr-ircd/help/en_us/dkey Xshare/tr-ircd/help/en_us/error Xshare/tr-ircd/help/en_us/exclude Xshare/tr-ircd/help/en_us/gline Xshare/tr-ircd/help/en_us/globops Xshare/tr-ircd/help/en_us/gnotice Xshare/tr-ircd/help/en_us/goper Xshare/tr-ircd/help/en_us/hash Xshare/tr-ircd/help/en_us/help Xshare/tr-ircd/help/en_us/index Xshare/tr-ircd/help/en_us/info Xshare/tr-ircd/help/en_us/invite Xshare/tr-ircd/help/en_us/ircops Xshare/tr-ircd/help/en_us/ison Xshare/tr-ircd/help/en_us/join Xshare/tr-ircd/help/en_us/jupiter Xshare/tr-ircd/help/en_us/kick Xshare/tr-ircd/help/en_us/kill Xshare/tr-ircd/help/en_us/kline Xshare/tr-ircd/help/en_us/links Xshare/tr-ircd/help/en_us/list Xshare/tr-ircd/help/en_us/lusers Xshare/tr-ircd/help/en_us/map Xshare/tr-ircd/help/en_us/mkpasswd Xshare/tr-ircd/help/en_us/mode Xshare/tr-ircd/help/en_us/modules Xshare/tr-ircd/help/en_us/motd Xshare/tr-ircd/help/en_us/myid Xshare/tr-ircd/help/en_us/names Xshare/tr-ircd/help/en_us/netset Xshare/tr-ircd/help/en_us/nick Xshare/tr-ircd/help/en_us/notice Xshare/tr-ircd/help/en_us/oper Xshare/tr-ircd/help/en_us/operdo Xshare/tr-ircd/help/en_us/part Xshare/tr-ircd/help/en_us/pass Xshare/tr-ircd/help/en_us/ping Xshare/tr-ircd/help/en_us/pong Xshare/tr-ircd/help/en_us/privmsg Xshare/tr-ircd/help/en_us/quit Xshare/tr-ircd/help/en_us/rakill Xshare/tr-ircd/help/en_us/rehash Xshare/tr-ircd/help/en_us/restart Xshare/tr-ircd/help/en_us/rexclude Xshare/tr-ircd/help/en_us/samode Xshare/tr-ircd/help/en_us/server Xshare/tr-ircd/help/en_us/service Xshare/tr-ircd/help/en_us/services Xshare/tr-ircd/help/en_us/servlist Xshare/tr-ircd/help/en_us/servset Xshare/tr-ircd/help/en_us/set Xshare/tr-ircd/help/en_us/setlang Xshare/tr-ircd/help/en_us/sgline Xshare/tr-ircd/help/en_us/silence Xshare/tr-ircd/help/en_us/sjoin Xshare/tr-ircd/help/en_us/sqline Xshare/tr-ircd/help/en_us/squery Xshare/tr-ircd/help/en_us/squit Xshare/tr-ircd/help/en_us/stats Xshare/tr-ircd/help/en_us/svinfo Xshare/tr-ircd/help/en_us/svsjoin Xshare/tr-ircd/help/en_us/svskill Xshare/tr-ircd/help/en_us/svsmode Xshare/tr-ircd/help/en_us/svsnick Xshare/tr-ircd/help/en_us/svsnoop Xshare/tr-ircd/help/en_us/szline Xshare/tr-ircd/help/en_us/time Xshare/tr-ircd/help/en_us/topic Xshare/tr-ircd/help/en_us/trace Xshare/tr-ircd/help/en_us/ungline Xshare/tr-ircd/help/en_us/unjupiter Xshare/tr-ircd/help/en_us/unkline Xshare/tr-ircd/help/en_us/unsgline Xshare/tr-ircd/help/en_us/unsqline Xshare/tr-ircd/help/en_us/unszline Xshare/tr-ircd/help/en_us/user Xshare/tr-ircd/help/en_us/userhost Xshare/tr-ircd/help/en_us/userip Xshare/tr-ircd/help/en_us/usermodes Xshare/tr-ircd/help/en_us/users Xshare/tr-ircd/help/en_us/version Xshare/tr-ircd/help/en_us/wallops Xshare/tr-ircd/help/en_us/watch Xshare/tr-ircd/help/en_us/who Xshare/tr-ircd/help/en_us/whois Xshare/tr-ircd/help/en_us/whowas Xshare/tr-ircd/help/en_us/zline X@dirrm include/md5 X@dirrm lib/chanmodes X@dirrm lib/contrib X@dirrm lib/languages X@dirrm lib/modules X@dirrm lib/protocol X@dirrm share/tr-ircd/help/en_us X@dirrm share/tr-ircd/help X@dirrm share/tr-ircd END-of-tr-ircd/pkg-plist exit --- tr-ircd.sh ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205051033.g45AXtUp010988>