ports/120280: [UPDATE] sysutils/htop

Felippe de Meirelles Motta lippemail at gmail.com
Tue Feb 5 03:50:01 UTC 2008


>Number:         120280
>Category:       ports
>Synopsis:       [UPDATE] sysutils/htop
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 05 03:50:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Felippe de Meirelles Motta
>Release:        FreeBSD 7.0-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD 7.0-PRERELEASE #0: Thu Jan 10 01:55:37 BRST 2008
    lippe at shire.freebsd.org:/usr/obj/usr/src/sys/GENERIC

>Description:
- Updated to 0.7;
- Add missing install depends(ncurses);
- Now respect PORTDOCS;
- Using OPTIONS to enable OpenVZ support.

This software is not compatible with 64-bit arch yet.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/htop/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	18 Nov 2007 08:45:35 -0000	1.3
+++ Makefile	5 Feb 2008 03:39:38 -0000
@@ -6,20 +6,36 @@
 #
 
 PORTNAME=	htop
-PORTVERSION=	0.6.6
+PORTVERSION=	0.7
 CATEGORIES=	sysutils
 MASTER_SITES=	SF
 
 MAINTAINER=	tshadwick at oss-solutions.com
 COMMENT=	A better top(1) - interactive process viewer
 
+BUILD_DEPENDS=	ncurses:${PORTSDIR}/devel/ncurses
+
 ONLY_FOR_ARCHS=	i386
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-proc=/compat/linux/proc
-MAN1=	htop.1
+
+PORTDOCS=	AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
+MAN1=		htop.1
+
+OPTIONS=	OPENVZ "Enable OpenVZ support" off
+
+.if defined(WITH_OPENVZ)
+CONFIGURE_ARGS+=	--enable-openvz
+.endif
 
 pre-configure:
 	@[ -f /compat/linux/proc/stat ] || { ${CAT} ${PKGMESSAGE}; ${FALSE}; }
 
+do-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
+.endif
+
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/sysutils/htop/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	30 Aug 2007 18:46:01 -0000	1.1
+++ distinfo	5 Feb 2008 03:39:38 -0000
@@ -1,3 +1,3 @@
-MD5 (htop-0.6.6.tar.gz) = 12c8e6e97bd50a4e0a4730d23675fc7b
-SHA256 (htop-0.6.6.tar.gz) = b2e2ef39afc870c9ef7228959b53fbd38fab02be74bb0d3e91ebf4fdbaa752e0
-SIZE (htop-0.6.6.tar.gz) = 141140
+MD5 (htop-0.7.tar.gz) = 4afc961fa709167e1b434682897991f9
+SHA256 (htop-0.7.tar.gz) = 1361f4f0b92d7e6bdac25a4b7ee138a7ee83b5a9368820f5aa518051ca82862b
+SIZE (htop-0.7.tar.gz) = 143896


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list