Date: 8 Oct 2001 02:07:07 -0000 From: David Taylor <davidt@yadt.co.uk> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/31116: Update Port: irc/ircd-hybrid to ircd-hybrid-6.2 Message-ID: <20011008020707.1078.qmail@gattaca.yadt.co.uk>
next in thread | raw e-mail | index | archive | help
>Number: 31116 >Category: ports >Synopsis: Update Port: irc/ircd-hybrid to ircd-hybrid-6.2 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Oct 07 19:10:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: David Taylor >Release: FreeBSD 5.0-CURRENT i386 >Organization: ircd-hybrid >Environment: System: FreeBSD gattaca.yadt.co.uk 5.0-CURRENT FreeBSD 5.0-CURRENT #9: Tue Oct 2 20:55:26 BST 2001 davidt@gattaca.yadt.co.uk:/usr/obj/usr/src/sys/GATTACA i386 >Description: The current ircd-hybrid port is very out of date, and the maintainer has no time to update it. This updates the port from ircd-hybrid-5.3p8 to ircd-hybrid-6.2, and sets me as the maintainer. (A diff would be roughly double the size of the shar) >How-To-Repeat: N/A >Fix: # 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-hybrid # ircd-hybrid/Makefile # ircd-hybrid/distinfo # ircd-hybrid/pkg-install # ircd-hybrid/pkg-comment # ircd-hybrid/pkg-descr # ircd-hybrid/pkg-message # ircd-hybrid/pkg-plist # ircd-hybrid/files # ircd-hybrid/files/patch-aa # ircd-hybrid/files/patch-ab # ircd-hybrid/files/patch-ac # ircd-hybrid/files/patch-ad # ircd-hybrid/files/ircd.sh # ircd-hybrid/files/patch-ae # echo c - ircd-hybrid mkdir -p ircd-hybrid > /dev/null 2>&1 echo x - ircd-hybrid/Makefile sed 's/^X//' >ircd-hybrid/Makefile << 'END-of-ircd-hybrid/Makefile' X# New ports collection makefile for: ircd-hybrid X# Date Created: 2001-10-07 X# Whom: David Taylor <davidt@yadt.co.uk> X# X# $FreeBSD$ X# X XPORTNAME= ircd-hybrid XPORTVERSION= 6.2 XCATEGORIES= irc XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ircd-hybrid XEXTRACT_SUFX= .tgz X XMAINTAINER= davidt@yadt.co.uk X XMAN8= ircd.8 X XPATCH_STRIP= -p1 XUSE_GMAKE= yes XGNU_CONFIGURE= yes XPLIST_SUB= PORTNAME=${PORTNAME} X X.if !defined(PACKAGE_BUILDING) && !defined(BATCH) XIS_INTERACTIVE= yes X.endif X Xpost-extract: X @${MV} ${WRKSRC}/include/config.h ${WRKSRC}/include/config.h.in X @${MV} ${WRKSRC}/tools/install_ircd ${WRKSRC}/tools/install_ircd.in X Xpost-configure: X ${CHMOD} +x ${WRKSRC}/tools/install_ircd X Xpre-install: X.if !defined(PACKAGE_BUILDING) && !defined(BATCH) X @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL X.endif X Xpost-install: X.if !defined(NOPORTDOCS) X @${MKDIR} ${PREFIX}/share/doc/${PORTNAME} X @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}/old X @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}/old/US-Admin X for i in old/US-Admin/Networking old/US-Admin/Operators \ X old/US-Admin/README old/Authors old/Etiquette old/README \ X CIDR.txt INDEX Makefile README.TSora Tao-of-IRC.940110 \ X blalloc.txt example.conf example.conf.trillian ircd.8 \ X mtrie.txt operguide.txt opermyth.txt rfc1459.txt \ X server-version-info simple.conf ts5.txt yline.txt; do \ X ${INSTALL_MAN} ${WRKSRC}/doc/$$i \ X ${PREFIX}/share/doc/${PORTNAME}/$$i; \ X done X.endif X @${SED} -e "s#%PREFIX%#${PREFIX}#" ${FILESDIR}/ircd.sh \ X > ${WRKDIR}/ircd.sh X @${INSTALL_SCRIPT} ${WRKDIR}/ircd.sh ${PREFIX}/etc/rc.d X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-ircd-hybrid/Makefile echo x - ircd-hybrid/distinfo sed 's/^X//' >ircd-hybrid/distinfo << 'END-of-ircd-hybrid/distinfo' XMD5 (ircd-hybrid-6.2.tgz) = 0c4f90b9d23674cb8ea809dde4d3b03a END-of-ircd-hybrid/distinfo echo x - ircd-hybrid/pkg-install sed 's/^X//' >ircd-hybrid/pkg-install << 'END-of-ircd-hybrid/pkg-install' X#!/bin/sh X X# This script is a slightly modified copy of the pkg-install script from the X# original ircd-hybrid port, by desmo@bandwidth.org. X Xif [ "x$2" != "xPRE-INSTALL" ]; then X exit 0; Xfi 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 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 END-of-ircd-hybrid/pkg-install echo x - ircd-hybrid/pkg-comment sed 's/^X//' >ircd-hybrid/pkg-comment << 'END-of-ircd-hybrid/pkg-comment' XAn irc daemon with a number of new features END-of-ircd-hybrid/pkg-comment echo x - ircd-hybrid/pkg-descr sed 's/^X//' >ircd-hybrid/pkg-descr << 'END-of-ircd-hybrid/pkg-descr' XA port of the ircd-hybrid IRC daemon. X Xircd-hybrid includes a number of improvements over a standard ircd-2.8 Xserver, including compressed server<->server links, chamode +e, and TS5 Xsupport. X XWWW: http://www.ircd-hybrid.org/ X X- David-T END-of-ircd-hybrid/pkg-descr echo x - ircd-hybrid/pkg-message sed 's/^X//' >ircd-hybrid/pkg-message << 'END-of-ircd-hybrid/pkg-message' Xircd-hybrid has now been installed. X XYou should now copy ${PREFIX}/etc/ircd/*.sample to X${PREFIX}/etc/ircd/*, and them to suit your needs. X XPlease note: you should copy _all_ the sample files to the corresponding Xconfiguration file, even if you just leave it empty, otherwise ircd-hybrid Xmay refuse to start. X XYou may then start the server by running: X X ${PREFIX}/etc/rc.d/ircd.sh start END-of-ircd-hybrid/pkg-message echo x - ircd-hybrid/pkg-plist sed 's/^X//' >ircd-hybrid/pkg-plist << 'END-of-ircd-hybrid/pkg-plist' Xbin/ircd Xbin/mkpasswd Xbin/viconf Xbin/viklines Xbin/vimotd X%%PORTDOCS%%share/doc/%%PORTNAME%%/old/US-Admin/Networking X%%PORTDOCS%%share/doc/%%PORTNAME%%/old/US-Admin/Operators X%%PORTDOCS%%share/doc/%%PORTNAME%%/old/US-Admin/README X%%PORTDOCS%%share/doc/%%PORTNAME%%/old/Authors X%%PORTDOCS%%share/doc/%%PORTNAME%%/old/Etiquette X%%PORTDOCS%%share/doc/%%PORTNAME%%/old/README X%%PORTDOCS%%share/doc/%%PORTNAME%%/CIDR.txt X%%PORTDOCS%%share/doc/%%PORTNAME%%/INDEX X%%PORTDOCS%%share/doc/%%PORTNAME%%/Makefile X%%PORTDOCS%%share/doc/%%PORTNAME%%/README.TSora X%%PORTDOCS%%share/doc/%%PORTNAME%%/Tao-of-IRC.940110 X%%PORTDOCS%%share/doc/%%PORTNAME%%/blalloc.txt X%%PORTDOCS%%share/doc/%%PORTNAME%%/example.conf X%%PORTDOCS%%share/doc/%%PORTNAME%%/example.conf.trillian X%%PORTDOCS%%share/doc/%%PORTNAME%%/ircd.8 X%%PORTDOCS%%share/doc/%%PORTNAME%%/mtrie.txt X%%PORTDOCS%%share/doc/%%PORTNAME%%/operguide.txt X%%PORTDOCS%%share/doc/%%PORTNAME%%/opermyth.txt X%%PORTDOCS%%share/doc/%%PORTNAME%%/rfc1459.txt X%%PORTDOCS%%share/doc/%%PORTNAME%%/server-version-info X%%PORTDOCS%%share/doc/%%PORTNAME%%/simple.conf X%%PORTDOCS%%share/doc/%%PORTNAME%%/ts5.txt X%%PORTDOCS%%share/doc/%%PORTNAME%%/yline.txt X%%PORTDOCS%%@dirrm share/doc/%%PORTNAME%%/old/US-Admin X%%PORTDOCS%%@dirrm share/doc/%%PORTNAME%%/old X%%PORTDOCS%%@dirrm share/doc/%%PORTNAME%% Xetc/ircd/ircd.conf.sample Xetc/ircd/ircd.motd.sample Xetc/ircd/kline.conf.sample Xetc/ircd/opers.txt.sample Xetc/rc.d/ircd.sh X@unexec rmdir %D/etc/ircd 2>/dev/null || true END-of-ircd-hybrid/pkg-plist echo c - ircd-hybrid/files mkdir -p ircd-hybrid/files > /dev/null 2>&1 echo x - ircd-hybrid/files/patch-aa sed 's/^X//' >ircd-hybrid/files/patch-aa << 'END-of-ircd-hybrid/files/patch-aa' Xdiff -Nru ircd-hybrid-6.2.orig/autoconf/configure.in ircd-hybrid-6.2/autoconf/configure.in X--- ircd-hybrid-6.2.orig/autoconf/configure.in Sun Oct 7 14:39:21 2001 X+++ ircd-hybrid-6.2/autoconf/configure.in Sun Oct 7 15:32:51 2001 X@@ -6,7 +6,7 @@ X AC_CONFIG_HEADER(include/setup.h zlib/setup.h) X X PACKAGE=ircd-hybrid X-VERSION=6.0 X+VERSION=6.2 X AC_SUBST(PACKAGE) X AC_SUBST(VERSION) X X@@ -180,5 +180,5 @@ X *) AC_MSG_RESULT(nothing special required) ;; X esac X X-AC_OUTPUT(Makefile src/Makefile tools/Makefile zlib/Makefile) X+AC_OUTPUT(Makefile src/Makefile tools/Makefile zlib/Makefile include/config.h tools/install_ircd) X END-of-ircd-hybrid/files/patch-aa echo x - ircd-hybrid/files/patch-ab sed 's/^X//' >ircd-hybrid/files/patch-ab << 'END-of-ircd-hybrid/files/patch-ab' Xdiff -Nru ircd-hybrid-6.2.orig/configure ircd-hybrid-6.2/configure X--- ircd-hybrid-6.2.orig/configure Sun Oct 7 14:39:22 2001 X+++ ircd-hybrid-6.2/configure Sun Oct 7 15:33:36 2001 X@@ -544,7 +544,7 @@ X X X PACKAGE=ircd-hybrid X-VERSION=6.0 X+VERSION=6.2 X X X X@@ -2342,7 +2342,7 @@ X ac_given_srcdir=$srcdir X ac_given_INSTALL="$INSTALL" X X-trap 'rm -fr `echo "Makefile src/Makefile tools/Makefile zlib/Makefile include/setup.h zlib/setup.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 X+trap 'rm -fr `echo "Makefile src/Makefile tools/Makefile zlib/Makefile include/config.h include/setup.h tools/install_ircd zlib/setup.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 X EOF X cat >> $CONFIG_STATUS <<EOF X X@@ -2440,7 +2440,7 @@ X X cat >> $CONFIG_STATUS <<EOF X X-CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile tools/Makefile zlib/Makefile"} X+CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile tools/Makefile zlib/Makefile include/config.h tools/install_ircd"} X EOF X cat >> $CONFIG_STATUS <<\EOF X for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then END-of-ircd-hybrid/files/patch-ab echo x - ircd-hybrid/files/patch-ac sed 's/^X//' >ircd-hybrid/files/patch-ac << 'END-of-ircd-hybrid/files/patch-ac' X--- ircd-hybrid-6.2/include/config.h.in.orig Wed Sep 26 04:04:02 2001 X+++ ircd-hybrid-6.2/include/config.h.in Mon Oct 8 02:31:28 2001 X@@ -109,8 +109,9 @@ X * X */ X X-#define DPATH "/usr/local/ircd/" X-#define SPATH "/usr/local/ircd/ircd" X+#define BPATH "@prefix@/bin/" X+#define DPATH "@prefix@/etc/ircd/" X+#define SPATH "@prefix@/bin/ircd" X #define CPATH "ircd.conf" X #define KPATH "kline.conf" X #define DLPATH "kline.conf" X@@ -561,8 +562,8 @@ X * define IRC_UID to that UID. This should only be defined if you are running X * as root and even then perhaps not. X */ X-#define IRC_UID 1001 X-#define IRC_GID 31 X+#define IRC_UID 72 X+#define IRC_GID 72 X X /* CLIENT_FLOOD - client excess flood threshold X * this controls the number of bytes the server will allow a client to END-of-ircd-hybrid/files/patch-ac echo x - ircd-hybrid/files/patch-ad sed 's/^X//' >ircd-hybrid/files/patch-ad << 'END-of-ircd-hybrid/files/patch-ad' X--- ircd-hybrid-6.2/tools/install_ircd.in.orig Mon Oct 8 02:37:40 2001 X+++ ircd-hybrid-6.2/tools/install_ircd.in Tue Jul 3 22:52:19 2001 X@@ -7,6 +7,14 @@ X # Fixed. X # X X+if [ "x@prefix@" != "x${PREFIX}" ]; then X+ echo "ERROR: Different prefix used to install than for configure/build." X+ echo "The prefix is compiled into the binary, thus this will not work." X+ echo "Please be sure to use the same \$PREFIX throughout building of" X+ echo "this port." X+ exit 1 X+fi X+ X # Path to install-sh X INSTALL_SH="autoconf/install-sh" X X@@ -39,6 +47,7 @@ X fi X } X X+BPATH=`grep '#define.BPATH' include/config.h|awk '{print $3}'|tr -d \"`; X DPATH=`grep '#define.DPATH' include/config.h|awk '{print $3}'|tr -d \"`; X SPATH=`grep '#define.SPATH' include/config.h|awk '{print $3}'|tr -d \"`; X CPATH=`grep '#define.CPATH' include/config.h|awk '{print $3}'|tr -d \"`; X@@ -48,6 +57,7 @@ X PPATH=`grep '#define.PPATH' include/config.h|awk '{print $3}'|tr -d \"`; X HPATH=`grep '#define.HPATH' include/config.h|awk '{print $3}'|tr -d \"`; X X+BPATH=`dir_concat ${BPATH}`; X SPATH=`dir_concat ${SPATH}`; X CPATH=`dir_concat ${CPATH}`; X KPATH=`dir_concat ${KPATH}`; X@@ -56,6 +66,7 @@ X PPATH=`dir_concat ${PPATH}`; X HPATH=`dir_concat ${HPATH}`; X X+# BPATH = binary directory X # DPATH = directory, X # SPATH = server executable, X # CPATH = conf file, X@@ -74,88 +85,47 @@ X fi X X # try to install their ircd.conf file, unless it already exists. X-# install ircd, save old one as ircd.old X dir_make `dirname ${SPATH}` X+echo installing ircd as ${SPATH}${EXESUFFIX} X+$INSTALL_SH -o 72 -g 72 -c src/ircd${EXESUFFIX} ${SPATH}${EXESUFFIX}; X+strip ${SPATH}${EXESUFFIX}; X-if [ ! -f ${SPATH}${EXESUFFIX} ]; then X- echo installing ircd as ${SPATH}${EXESUFFIX} X- $INSTALL_SH -c src/ircd${EXESUFFIX} ${SPATH}${EXESUFFIX}; X-else X- echo installing ircd as ${SPATH}${EXESUFFIX} X- echo previous ircd saved as ircd${EXESUFFIX}.old X- mv ${SPATH}${EXESUFFIX} ${SPATH}${EXESUFFIX}.old X- $INSTALL_SH -c src/ircd${EXESUFFIX} ${SPATH}${EXESUFFIX}; X-fi X X dir_make `dirname ${CPATH}` X+echo installing example.conf as ${CPATH}.sample X+$INSTALL_SH -o 72 -g 72 -c doc/example.conf ${CPATH}.sample; X-if [ ! -f ${CPATH} ]; then X- echo installing example.conf as ${CPATH} X- $INSTALL_SH -c doc/example.conf ${CPATH}; X-else X- echo You already have ${CPATH}.; X-fi X X # try to install their motd file, unless it already exists. X dir_make `dirname ${MPATH}` X+echo installing a sample MOTD in ${MPATH}.sample X+echo "This is ircd-hybrid MOTD replace it with something better" \ X+ > ${MPATH}.sample; X+chown 72:72 ${MPATH}.sample; X-if [ ! -f ${MPATH} ]; then X- echo installing a sample MOTD in ${MPATH} X- echo "This is ircd-hybrid MOTD replace it with something better" > ${MPATH}; X-else X- echo You already have an MOTD in ${MPATH}.; X-fi X X # try to install their kpath file unless it already exists. X dir_make `dirname ${KPATH}` X+touch ${KPATH}.sample; X+chown 72:72 ${KPATH}.sample; X-if [ ! -f ${KPATH} ]; then X- echo touching K-line file ${KPATH} X- touch ${KPATH}; X-else X- echo You already have a K-line file in ${KPATH}.; X-fi X X # try to install their opers.txt file, in all cases X dir_make `dirname ${HPATH}` X+echo installing opers.txt as ${HPATH}.sample X+$INSTALL_SH -o 72 -g 72 -c opers.txt ${HPATH}.sample; X-if [ ! -f ${HPATH} ]; then X- echo installing opers.txt as ${HPATH} X- $INSTALL_SH -c opers.txt ${HPATH}; X-else X- echo installing opers.txt as ${HPATH} X- echo previous opers.txt saved as opers.txt.old X- mv ${HPATH} ${HPATH}.old X- $INSTALL_SH -c opers.txt ${HPATH}; X-fi X X # install mkpasswd X+echo installing mkpasswd as ${BPATH}mkpasswd${EXESUFFIX} X+$INSTALL_SH -o 72 -g 72 -c tools/mkpasswd${EXESUFFIX} ${BPATH}mkpasswd${EXESUFFIX}; X-if [ ! -f ${DPATH}mkpasswd ]; then X- echo installing mkpasswd as ${DPATH}mkpasswd${EXESUFFIX} X- $INSTALL_SH -c tools/mkpasswd${EXESUFFIX} ${DPATH}mkpasswd${EXESUFFIX}; X-else X- echo installing mkpasswd as ${DPATH}mkpasswd${EXESUFFIX} X- echo previous mkpasswd saved as mkpasswd${EXESUFFIX}.old X- mv ${DPATH}mkpasswd${EXESUFFIX} ${DPATH}mkpasswd${EXESUFFIX}.old X- $INSTALL_SH -c tools/mkpasswd${EXESUFFIX} ${DPATH}mkpasswd${EXESUFFIX}; X-fi X X # install viconf X+echo installing viconf as ${BPATH}viconf${EXESUFFIX} X+$INSTALL_SH -o 72 -g 72 -c tools/viconf${EXESUFFIX} ${BPATH}viconf${EXESUFFIX} X+rm -f ${BPATH}vimotd${EXESUFFIX} ${BPATH}viklines${EXESUFFIX} X+ln ${BPATH}viconf${EXESUFFIX} ${BPATH}vimotd${EXESUFFIX} X+ln ${BPATH}viconf${EXESUFFIX} ${BPATH}viklines${EXESUFFIX}; X-if [ ! -f ${DPATH}viconf ]; then X- echo installing viconf as ${DPATH}viconf${EXESUFFIX} X- $INSTALL_SH -c tools/viconf${EXESUFFIX} ${DPATH}viconf${EXESUFFIX} X- rm -f ${DPATH}vimotd${EXESUFFIX} ${DPATH}viklines${EXESUFFIX} X- ln ${DPATH}viconf${EXESUFFIX} ${DPATH}vimotd${EXESUFFIX} X- ln ${DPATH}viconf${EXESUFFIX} ${DPATH}viklines${EXESUFFIX}; X-else X- echo installing viconf as ${DPATH}viconf${EXESUFFIX} X- echo previous viconf saved as viconf${EXESUFFIX}.old X- mv ${DPATH}viconf${EXESUFFIX} ${DPATH}viconf${EXESUFFIX}.old X- $INSTALL_SH -c tools/viconf${EXESUFFIX} ${DPATH}viconf${EXESUFFIX} X- rm -f ${DPATH}vimotd${EXESUFFIX} ${DPATH}viklines${EXESUFFIX} X- ln ${DPATH}viconf${EXESUFFIX} ${DPATH}vimotd${EXESUFFIX} X- ln ${DPATH}viconf${EXESUFFIX} ${DPATH}viklines${EXESUFFIX}; X-fi X X # install ircd.8 X+dir_make ${PREFIX}/man/man8 X+echo installing ircd.8 as ${PREFIX}/man/man8/ircd.8 X+$INSTALL_SH -o 72 -g 72 -c doc/ircd.8 ${PREFIX}/man/man8/ircd.8 X-dir_make ${DPATH}man8 X-echo installing ircd.8 as ${DPATH}man8/ircd.8 X-$INSTALL_SH -c doc/ircd.8 ${DPATH}man8/ircd.8 X X # finished. X echo install complete! END-of-ircd-hybrid/files/patch-ad echo x - ircd-hybrid/files/ircd.sh sed 's/^X//' >ircd-hybrid/files/ircd.sh << 'END-of-ircd-hybrid/files/ircd.sh' X#!/bin/sh Xif [ $# -eq 0 -o x$1 = xstart ]; then X if [ -x %PREFIX%/bin/ircd ]; then X su -fm ircd -c %PREFIX%/bin/ircd && echo ' ircd' X fi Xfi Xif [ x$1 = xstop ]; then X if [ -f %PREFIX%/etc/ircd.pid ]; then X kill `cat %PREFIX%/etc/ircd.pid` X else X # oh well X killall ircd X fi Xfi END-of-ircd-hybrid/files/ircd.sh echo x - ircd-hybrid/files/patch-ae sed 's/^X//' >ircd-hybrid/files/patch-ae << 'END-of-ircd-hybrid/files/patch-ae' X--- ircd-hybrid-6.2/Makefile.orig Sun Oct 7 17:58:34 2001 X+++ ircd-hybrid-6.2/Makefile.in Sun Oct 7 17:58:45 2001 X@@ -22,7 +22,7 @@ X RM=@RM@ X X # Default CFLAGS X-CFLAGS = -g -O2 -DNDEBUG X+CFLAGS += -DNDEBUG X X # Default make flags - you may want to uncomment this on a multicpu machine X #MFLAGS = -j 4 END-of-ircd-hybrid/files/patch-ae exit >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?20011008020707.1078.qmail>