Upgrade sysutils/apachetop to 0.11

esn at x123.info esn at x123.info
Fri Mar 5 04:51:01 PST 2004


Ya it's ok, and thanx


Quoting Jun Kuriyama <kuriyama at imgsrc.co.jp>:

> Hi,
>
> I made a patch to upgrade apachetop port to 0.11.  Is it okay to
> commit this in?
>
> And if you are not interested in maintaining this port, I'll reset
> $MAINTAINER to ports at .
>
> Regards,
>
>
> Index: Makefile
> ===================================================================
> RCS file: /home/ncvs/ports/sysutils/apachetop/Makefile,v
> retrieving revision 1.8
> diff -u -r1.8 Makefile
> --- Makefile	26 Feb 2004 23:44:04 -0000	1.8
> +++ Makefile	5 Mar 2004 01:41:19 -0000
> @@ -6,8 +6,7 @@
>  #
>
>  PORTNAME=	apachetop
> -PORTVERSION=	0.9
> -PORTREVISION=	2
> +PORTVERSION=	0.11
>  CATEGORIES=	sysutils
>  MASTER_SITES=	http://clueful.shagged.org/apachetop/files/
>  DISTNAME=	${PORTNAME}-${PORTVERSION}
> Index: distinfo
> ===================================================================
> RCS file: /home/ncvs/ports/sysutils/apachetop/distinfo,v
> retrieving revision 1.5
> diff -u -r1.5 distinfo
> --- distinfo	26 Dec 2003 13:21:47 -0000	1.5
> +++ distinfo	5 Mar 2004 01:25:51 -0000
> @@ -1 +1,2 @@
> -MD5 (apachetop-0.9.tar.gz) = 6a6d27d78915e1d7923ecdcc4573adfe
> +MD5 (apachetop-0.11.tar.gz) = cd83ad174f792d971361093a04f82b07
> +SIZE (apachetop-0.11.tar.gz) = 124473
> Index: files/patch-display.cc
> ===================================================================
> RCS file: /home/ncvs/ports/sysutils/apachetop/files/patch-display.cc,v
> retrieving revision 1.1
> diff -u -r1.1 patch-display.cc
> --- files/patch-display.cc	26 Feb 2004 23:44:04 -0000	1.1
> +++ files/patch-display.cc	5 Mar 2004 01:28:24 -0000
> @@ -1,17 +0,0 @@
> ---- src/display.cc.orig	Sun Feb 22 22:53:52 2004
> -+++ src/display.cc	Sun Feb 22 22:54:16 2004
> -@@ -238,8 +238,12 @@
> - 	 * I'm fairly sure, realistically, it'll never get high enough to be
> - 	 * a problem, so uInt should be ok */
> - 	if (items) free(items); /* get rid of the last one */
> --	items = (struct itemlist *)
> --	    calloc((unsigned int)items_size, sizeof(itemlist));
> -+	if (items_size == 0) {
> -+		items = NULL;
> -+	} else {
> -+		items = (struct itemlist *)
> -+		    calloc((unsigned int)items_size, sizeof(itemlist));
> -+	}
> -
> - 	/* another thread may change the contents of cf while we're running,
> - 	 * and it would be undesirable to have most of this change on us, so
>
>
> --
> Jun Kuriyama <kuriyama at imgsrc.co.jp> // IMG SRC, Inc.
>              <kuriyama at FreeBSD.org> // FreeBSD Project



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the freebsd-ports mailing list