This commit is contained in:
pdw
2002-04-16 20:16:39 +00:00
parent 2ecd52a563
commit f195c401c5
2 changed files with 13 additions and 4 deletions

10
CHANGES
View File

@@ -1,7 +1,15 @@
Change log for iftop Change log for iftop
$Id$ $Id$
0.3 0.4 16/04/02
No code changes
Added RPM spec file
Riku Meskanen <mesrik@cc.jyu.fi>
Fixes to "make install"
Steve Baker <sjb@ambrielconsulting.com>
0.3 13/04/02
Fixed segfault bug. Fixed segfault bug.
Added src/dest aggregation. Added src/dest aggregation.

View File

@@ -27,7 +27,7 @@ MANDIR = man
#MANDIR = share/man # FHS-ish #MANDIR = share/man # FHS-ish
# You shouldn't need to change anything below this point. # You shouldn't need to change anything below this point.
VERSION = 0.3 VERSION = 0.4
CFLAGS += -g -Wall "-DIFTOP_VERSION=\"$(VERSION)\"" CFLAGS += -g -Wall "-DIFTOP_VERSION=\"$(VERSION)\""
LDFLAGS += -g LDFLAGS += -g
LDLIBS += -lpcap -lpthread -lcurses -lm LDLIBS += -lpcap -lpthread -lcurses -lm
@@ -36,6 +36,7 @@ SRCS = iftop.c addr_hash.c hash.c ns_hash.c resolver.c ui.c util.c sorted_list.c
options.c options.c
HDRS = addr_hash.h hash.h iftop.h ns_hash.h resolver.h sorted_list.h ui.h options.h HDRS = addr_hash.h hash.h iftop.h ns_hash.h resolver.h sorted_list.h ui.h options.h
TXTS = README CHANGES INSTALL TODO iftop.8 COPYING TXTS = README CHANGES INSTALL TODO iftop.8 COPYING
SPECFILE = iftop.spec
OBJS = $(SRCS:.c=.o) OBJS = $(SRCS:.c=.o)
@@ -55,9 +56,9 @@ uninstall:
clean: clean:
rm -f *~ *.o core iftop rm -f *~ *.o core iftop
tarball: depend $(SRCS) $(HDRS) $(TXTS) tarball: depend $(SRCS) $(HDRS) $(TXTS) $(SPECFILE)
mkdir iftop-$(VERSION) mkdir iftop-$(VERSION)
set -e ; for i in Makefile depend $(SRCS) $(HDRS) $(TXTS) ; do cp $$i iftop-$(VERSION)/$$i ; done set -e ; for i in Makefile depend $(SRCS) $(HDRS) $(TXTS) $(SPECFILE) ; do cp $$i iftop-$(VERSION)/$$i ; done
tar cvf - iftop-$(VERSION) | gzip --best > iftop-$(VERSION).tar.gz tar cvf - iftop-$(VERSION) | gzip --best > iftop-$(VERSION).tar.gz
rm -rf iftop-$(VERSION) rm -rf iftop-$(VERSION)