1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Upgrade net-mgmt/iftop from 0.17 to 1.0pre4

This commit is contained in:
Vasil Dimov 2015-01-31 08:36:37 +00:00
parent dc3408f717
commit 825c3dca1d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378193
3 changed files with 7 additions and 16 deletions

View File

@ -2,25 +2,26 @@
# $FreeBSD$
PORTNAME= iftop
PORTVERSION= 0.17
DISTVERSION= 1.0pre4
CATEGORIES= net-mgmt
MASTER_SITES= http://www.ex-parrot.com/~pdw/iftop/download/
MAINTAINER= vd@FreeBSD.org
COMMENT= Display bandwidth usage on an interface by host
LICENSE= GPLv2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-resolver=netdb_1thread
PORTDOCS= README
PLIST_FILES= bin/iftop man/man8/iftop.8.gz
PLIST_FILES= sbin/iftop man/man8/iftop.8.gz
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

View File

@ -1,2 +1,2 @@
SHA256 (iftop-0.17.tar.gz) = d032547c708307159ff5fd0df23ebd3cfa7799c31536fa0aea1820318a8e0eac
SIZE (iftop-0.17.tar.gz) = 160381
SHA256 (iftop-1.0pre4.tar.gz) = f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97
SIZE (iftop-1.0pre4.tar.gz) = 204665

View File

@ -1,10 +0,0 @@
--- cfgfile.c.orig Tue Nov 11 22:10:29 2003
+++ cfgfile.c Tue Nov 11 22:10:43 2003
@@ -8,6 +8,7 @@
#include <stdio.h>
#include <string.h>
#include <errno.h>
+#include <sys/types.h>
#include "stringmap.h"
#include "iftop.h"