Ping http://marc.info/?l=openbsd-ports&m=140771169802733&w=2
On Mon, Aug 11, 2014 at 12:01:09AM +0100, Mikolaj Kucharski wrote: > Hi, > > Simple update, with my very limited testing. It seems to work for me. > I don't use this port, just found it out of date, when giving it a test > run. Port update includes: > > - mandoc -Tlint -Werror seems happy, drop groff dependency > - fix wantlibs to make port-lib-depends-check happy > - fix small typo > - add OpenBSD cvs tag, to make portcheck happy > - remove maintainer per his request > > > Below list is based on modifications to ChangeLog between 1.0pre2 and pre4: > > * Remove blinking cursor from UI > * Treat multicast packets as incoming, rather than incoming (IPv4) or not at > all (IPv6). > * Minor fixes to the man page > * Man page documentation of -t mode > * Added text output mode (-t option) > * Compile time warning fixes > * Fix for memory leak when DNS resolution is turned off > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677141 > * Multiple portability fixes > * Updates to licence text (change in FSF address) > * Avoid an assertion failure if an "invalid" (as in outside of IPv4 or IPv6) > address family is encountered (Red Hat bugs #839750, #847124, #868065, > #961236 > and #1007434) > * Fix to avoid system call in text mode wherever possible > * Enable building iftop with more recent versions of autoconf/automake > * Added missing docs for -m option. > > > This is based on my previous update to pre3: > > http://marc.info/?l=openbsd-ports&m=138966895717715&w=2 > > > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/net/iftop/Makefile,v > retrieving revision 1.10 > diff -u -r1.10 Makefile > --- Makefile 15 Nov 2013 14:23:14 -0000 1.10 > +++ Makefile 10 Aug 2014 21:52:45 -0000 > @@ -2,22 +2,18 @@ > > COMMENT = display bandwidth usage on an interface > > -DISTNAME = iftop-1.0pre2 > -REVISION = 0 > +DISTNAME = iftop-1.0pre4 > CATEGORIES = net > > HOMEPAGE = http://www.ex-parrot.com/~pdw/iftop/ > > -MAINTAINER = Girish Venkatachalam <girish1...@gmail.com> > - > # GPLv2 > PERMIT_PACKAGE_CDROM = Yes > > -WANTLIB = c ncursesw m pcap pthread > +WANTLIB = c curses m pcap pthread > > MASTER_SITES = ${HOMEPAGE}download/ > > -USE_GROFF = Yes > CONFIGURE_STYLE = gnu > > NO_TEST = Yes > Index: distinfo > =================================================================== > RCS file: /cvs/ports/net/iftop/distinfo,v > retrieving revision 1.2 > diff -u -r1.2 distinfo > --- distinfo 16 Jul 2012 08:49:38 -0000 1.2 > +++ distinfo 10 Aug 2014 21:52:45 -0000 > @@ -1,5 +1,2 @@ > -MD5 (iftop-1.0pre2.tar.gz) = /vUhpJ7AEiRY0CxkISrzxQ== > -RMD160 (iftop-1.0pre2.tar.gz) = ARrEOVFOvdF9RBwdlyUSQhTxkqw= > -SHA1 (iftop-1.0pre2.tar.gz) = 1NxHP4JjGSM02mKJtp4QKkrn354= > -SHA256 (iftop-1.0pre2.tar.gz) = GxkwN7swGa+uiM2UyHRoqsSwRdgauBbtjS9IlxaxQCc= > -SIZE (iftop-1.0pre2.tar.gz) = 172736 > +SHA256 (iftop-1.0pre4.tar.gz) = 9zPu6jcadXf4/jU9ht2I0W9bKi5wK9lvX/ssGX2bT5c= > +SIZE (iftop-1.0pre4.tar.gz) = 204665 > Index: patches/patch-iptop.c > =================================================================== > RCS file: /cvs/ports/net/iftop/patches/patch-iptop.c,v > retrieving revision 1.3 > diff -u -r1.3 patch-iptop.c > --- patches/patch-iptop.c 16 Jul 2012 08:49:38 -0000 1.3 > +++ patches/patch-iptop.c 10 Aug 2014 21:52:45 -0000 > @@ -1,5 +1,6 @@ > ---- iftop.c.orig Tue Oct 4 14:30:37 2011 > -+++ iftop.c Fri Jan 20 06:40:39 2012 > +$OpenBSD$ > +--- iftop.c.orig Wed Jan 1 15:20:10 2014 > ++++ iftop.c Tue Jan 14 00:51:01 2014 > @@ -28,6 +28,8 @@ > #include <string.h> > #include <unistd.h> > @@ -9,7 +10,16 @@ > > #include "iftop.h" > #include "addr_hash.h" > -@@ -763,10 +765,13 @@ void packet_loop(void* ptr) { > +@@ -768,7 +770,7 @@ void packet_init() { > + else { > + fprintf(stderr, "Unsupported datalink type: %d\n" > + "Please email p...@ex-parrot.com, quoting the datalink type > and what you were\n" > +- "trying to do at the time\n.", dlt); > ++ "trying to do at the time.\n", dlt); > + exit(1); > + } > + > +@@ -790,10 +792,13 @@ void packet_loop(void* ptr) { > * Entry point. See usage(). */ > int main(int argc, char **argv) { > pthread_t thread; > @@ -24,7 +34,7 @@ > /* TODO: tidy this up */ > /* read command line options and config file */ > config_init(); > -@@ -776,12 +781,16 @@ int main(int argc, char **argv) { > +@@ -803,12 +808,16 @@ int main(int argc, char **argv) { > read_config(options.config_file, options.config_file_specified); > options_make(); > -- best regards q#