Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jul 1998 01:06:18 +0300 (EEST)
From:      Adrian Penisoara <ady@freebsd.ady.ro>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        desmo@bandwidth.org
Subject:   ports/7255: Update of ircd-hybrid-5 port
Message-ID:  <199807112206.BAA26332@ady.warpnet.ro>

next in thread | raw e-mail | index | archive | help

>Number:         7255
>Category:       ports
>Synopsis:       Update of ircd-hybrid-5 port
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 11 19:20:00 PDT 1998
>Last-Modified:
>Originator:     Adrian Penisoara
>Organization:
Warp Net Technologies
>Release:        FreeBSD 3.0-980520-SNAP i386
>Environment:

  This port has been tested under:
   * FreeBSD 3.0-980520-SNAP i386

>Description:

  The source tarball of the ircd-hybrid-5.2p1 isn't avaliable anymore,
instead a new 5.3 version appeared. Plus some extra patches (optional).

>How-To-Repeat:

  Try to fetch the distfile of the port.

>Fix:
	
  I've attached a shar archive that contains 2 files:
    * ircd-h5.diff		- patches for Makefile + files/md5
    * ircd-h5.extra.diff	- optional patches for patches/ directory

  ircd-h5.diff patches:
    * Makefile		- updates DISTNAME/PKGNAME and MASTER_SITES
    * files/md5		- updates the md5 checksum

  ircd-h5.extra.diff patches (these are optional and the maintainer
should have a word to say about them):
    * patches/patch-ab	- changes the place of two log files from
			  /usr/local/etc/ to /var/log
    * patches/patch-ad	- new file; patch against src/list.c ; read
			  ${WRKSRC}/README.small_nets to understand why;
			  basicly these numbers are too high for a regular
			  (small) site, wasting memory in vain...

  Thanks,
  Ady (@freebsd.ady.ro)

--8<--

# 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-h5.diff
#	ircd-h5.extra.diff
#
echo x - ircd-h5.diff
sed 's/^X//' >ircd-h5.diff << 'END-of-ircd-h5.diff'
X--- Makefile.orig	Mon Jun  8 01:38:35 1998
X+++ Makefile	Sat Jul 11 22:51:49 1998
X@@ -6,8 +6,8 @@
X # $Id: Makefile,v 1.5 1998/06/07 15:58:19 dburr Exp $
X #
X 
X-DISTNAME=	ircd-hybrid-5.2p1
X-PKGNAME=	ircd-hybrid-5.2.1
X+DISTNAME=	ircd-hybrid-5.3
X+PKGNAME=	ircd-hybrid-5.3
X CATEGORIES=	net
X MASTER_SITES=	ftp://ftp.vol.com/pub/ircd/
X 
X--- files/md5.orig	Mon Jun  8 01:38:35 1998
X+++ files/md5	Sat Jul 11 22:54:12 1998
X@@ -1 +1 @@
X-MD5 (ircd-hybrid-5.2p1.tar.gz) = dc7b91da8d14435ed075eed45cd6a4a5
X+MD5 (ircd-hybrid-5.3.tar.gz) = 7f22c603ac60d54e98e84bae2abd39d8
END-of-ircd-h5.diff
echo x - ircd-h5.extra.diff
sed 's/^X//' >ircd-h5.extra.diff << 'END-of-ircd-h5.extra.diff'
X--- patches/patch-ab.orig	Mon Jun  8 01:38:36 1998
X+++ patches/patch-ab	Sat Jul 11 23:56:36 1998
X@@ -1,5 +1,5 @@
X---- include/config.h.old	Sun Jun  7 07:08:17 1998
X-+++ include/config.h	Sun Jun  7 07:12:38 1998
X+--- include/config.h.orig	Tue Jul  7 17:40:42 1998
X++++ include/config.h	Sat Jul 11 23:52:40 1998
X @@ -27,8 +27,8 @@
X  /***************** MAKE SURE THIS IS CORRECT!!!!!!!!! **************/
X  /* ONLY EDIT "HARD_FDLIMIT_" and "INIT_MAXCLIENTS" */
X@@ -28,8 +28,8 @@
X   */
X -#define FNAME_USERLOG "/usr/local/ircd/users" /* */
X -#define FNAME_OPERLOG "/usr/local/ircd/opers" /* */
X-+#define FNAME_USERLOG "/usr/local/etc/ircd/users" /* */
X-+#define FNAME_OPERLOG "/usr/local/etc/ircd/opers" /* */
X++#define FNAME_USERLOG "/var/log/ircd.users" /* */
X++#define FNAME_OPERLOG "/var/log/ircd.opers" /* */
X  
X  /* FOLLOW_IDENT_RFC
X   * 
X--- patches/patch-ad.orig	Sun Jul 12 00:40:56 1998
X+++ patches/patch-ad	Sat Jul 11 23:14:08 1998
X@@ -0,0 +1,20 @@
X+--- src/list.c.orig	Tue Jul  7 17:40:52 1998
X++++ src/list.c	Sat Jul 11 23:12:41 1998
X+@@ -49,7 +49,7 @@
X+    for smaller nets who knows? -Dianora
X+    */
X+ 
X+-#define LINK_PREALLOCATE 1024
X++#define LINK_PREALLOCATE 64
X+ 
X+ /* Number of aClient structures to preallocate at a time
X+    for Efnet 1024 is reasonable 
X+@@ -60,7 +60,7 @@
X+    rather than 30k times -Dianora
X+ */
X+ 
X+-#define CLIENTS_PREALLOCATE 1024
X++#define CLIENTS_PREALLOCATE 64
X+ 
X+ void	outofmemory();
X+ 
END-of-ircd-h5.extra.diff
exit

--8<--
>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?199807112206.BAA26332>