Skip to content
This repository has been archived by the owner on Jan 30, 2021. It is now read-only.

Commit

Permalink
2012 refresh
Browse files Browse the repository at this point in the history
Added libpcap version detection courtesy of Ronald W. Henderson <rwhalb@nycap.rr.com>
  • Loading branch information
deri committed Jan 8, 2012
1 parent 3d82971 commit ac4412f
Show file tree
Hide file tree
Showing 44 changed files with 80 additions and 63 deletions.
2 changes: 1 addition & 1 deletion address.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>
* Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>
*
* http://www.ntop.org/
*
Expand Down
2 changes: 1 addition & 1 deletion admin.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>
* Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>
*
* http://www.ntop.org/
*
Expand Down
2 changes: 1 addition & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#
# Copyright (C) 2004-06 Rocco Carbone <rocco@ntop.org>
# 2006-10 Luca Deri <deri@ntop.org>
# 2006-12 Luca Deri <deri@ntop.org>
#
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#
Expand Down
30 changes: 21 additions & 9 deletions config.sub
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
# Free Software Foundation, Inc.

timestamp='2009-06-11'
timestamp='2009-11-20'

# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
Expand Down Expand Up @@ -32,13 +32,16 @@ timestamp='2009-06-11'


# Please send patches to <config-patches@gnu.org>. Submit a context
# diff and a properly formatted ChangeLog entry.
# diff and a properly formatted GNU ChangeLog entry.
#
# Configuration subroutine to validate and canonicalize a configuration type.
# Supply the specified configuration type as an argument.
# If it is invalid, we print an error message on stderr and exit with code 1.
# Otherwise, we print the canonical config type on stdout and succeed.

# You can get the latest version of this script from:
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

# This file is supposed to be the same for all GNU packages
# and recognize all the CPU types, system types and aliases
# that are meaningful with *any* GNU software.
Expand Down Expand Up @@ -149,7 +152,7 @@ case $os in
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
-apple | -axis | -knuth | -cray)
-apple | -axis | -knuth | -cray | -microblaze)
os=
basic_machine=$1
;;
Expand Down Expand Up @@ -284,20 +287,22 @@ case $basic_machine in
| pdp10 | pdp11 | pj | pjl \
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
| pyramid \
| rx \
| score \
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
| sh64 | sh64le \
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
| spu | strongarm \
| tahoe | thumb | tic4x | tic80 | tron \
| ubicom32 \
| v850 | v850e \
| we32k \
| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
| z8k | z80)
basic_machine=$basic_machine-unknown
;;
m6811 | m68hc11 | m6812 | m68hc12)
m6811 | m68hc11 | m6812 | m68hc12 | picochip)
# Motorola 68HC11/12.
basic_machine=$basic_machine-unknown
os=-none
Expand Down Expand Up @@ -340,7 +345,7 @@ case $basic_machine in
| lm32-* \
| m32c-* | m32r-* | m32rle-* \
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
| m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
| m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
| mips16-* \
| mips64-* | mips64el-* \
Expand Down Expand Up @@ -368,7 +373,7 @@ case $basic_machine in
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
| pyramid-* \
| romp-* | rs6000-* \
| romp-* | rs6000-* | rx-* \
| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
Expand All @@ -377,6 +382,7 @@ case $basic_machine in
| tahoe-* | thumb-* \
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
| tron-* \
| ubicom32-* \
| v850-* | v850e-* | vax-* \
| we32k-* \
| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
Expand Down Expand Up @@ -726,6 +732,9 @@ case $basic_machine in
basic_machine=ns32k-utek
os=-sysv
;;
microblaze)
basic_machine=microblaze-xilinx
;;
mingw32)
basic_machine=i386-pc
os=-mingw32
Expand Down Expand Up @@ -1247,6 +1256,9 @@ case $os in
# First match some system type aliases
# that might get confused with valid system types.
# -solaris* is a basic system type, with this one exception.
-auroraux)
os=-auroraux
;;
-solaris1 | -solaris1.*)
os=`echo $os | sed -e 's|solaris1|sunos4|'`
;;
Expand All @@ -1268,8 +1280,8 @@ case $os in
# -sysv* is not here because it comes later, after sysvr4.
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
| -kopensolaris* \
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
| -sym* | -kopensolaris* \
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
| -aos* | -aros* \
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
Expand All @@ -1290,7 +1302,7 @@ case $os in
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
| -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
Expand Down
7 changes: 4 additions & 3 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dnl> Solaris 8 -- libgcc_s -- need test

dnl> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
dnl>
dnl> Copyright (c) 1998 - 2010 Luca Deri <deri@ntop.org>
dnl> Copyright (c) 1998 - 2012 Luca Deri <deri@ntop.org>
dnl> Rocco Carbone <rocco@ntop.org>
dnl> and Burton M. Strauss III <burton@ntopsupport.com>
dnl>
Expand Down Expand Up @@ -50,7 +50,7 @@ AC_INIT([ntop],[4.1.2])
dnl> The prereq is really 2.53, i.e. automake 1.6, but Darwin uses 2.52...
AC_PREREQ([2.52])

SCRIPTVER="v4.1.2-28-11-2011"
SCRIPTVER="v4.1.2-08-01-2012"

dnl>
dnl> generate the config header
Expand All @@ -65,7 +65,7 @@ NTOP_VERSION_EXTRA=""

echo
echo "Welcome to $PACKAGE_NAME, Version $PACKAGE_VERSION $NTOP_VERSION_EXTRA"
echo "Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>"
echo "Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>"


THE_UID=`id -u`
Expand Down Expand Up @@ -629,6 +629,7 @@ else
fi
fi
AC_CHECK_LIB([pcap], [pcap_next_ex], AC_DEFINE_UNQUOTED(HAVE_PCAP_NEXT_EX, 1, [pcap has pcap_next_ex]))
AC_CHECK_LIB([pcap], [pcap_lib_version], AC_DEFINE_UNQUOTED(HAVE_PCAP_LIB_VERSION, 1, [pcap has pcap_lib_version]))

AC_MSG_CHECKING([for gdbm])
AC_MSG_RESULT([])
Expand Down
2 changes: 1 addition & 1 deletion dataFormat.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>
* Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>
*
* http://www.ntop.org/
*
Expand Down
2 changes: 1 addition & 1 deletion globals-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* http://www.ntop.org
*
* Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>
* Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>
*
* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
*
Expand Down
2 changes: 1 addition & 1 deletion globals-core.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
* http://www.ntop.org
*
* Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>
* Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>
*
* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
*
Expand Down
2 changes: 1 addition & 1 deletion globals-defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
* http://www.ntop.org
*
* Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>
* Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>
*
* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
*
Expand Down
2 changes: 1 addition & 1 deletion globals-report.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>
* Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>
*
* http://www.ntop.org/
*
Expand Down
2 changes: 1 addition & 1 deletion globals-report.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>
* Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>
*
* http://www.ntop.org/
*
Expand Down
2 changes: 1 addition & 1 deletion globals-structtypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
* http://www.ntop.org
*
* Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>
* Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>
*
* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
*
Expand Down
2 changes: 1 addition & 1 deletion graph.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>
* Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>
*
* http://www.ntop.org/
*
Expand Down
2 changes: 1 addition & 1 deletion hash.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>
* Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>
*
* http://www.ntop.org/
*
Expand Down
6 changes: 3 additions & 3 deletions http.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* http://www.ntop.org
*
* Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>
* Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>
*
* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
*
Expand Down Expand Up @@ -841,7 +841,7 @@ static void ssiMenu_Body(void) {
" </tr>\n"
" </table></td>\n"

"<td align=right class=\"leftmenuitem\"><b>(C) 1998-2011 - " CONST_MAILTO_LUCA "</b>&nbsp;&nbsp;</td>"
"<td align=right class=\"leftmenuitem\"><b>(C) 1998-2012 - " CONST_MAILTO_LUCA "</b>&nbsp;&nbsp;</td>"

" </tr>\n"
" <tr>\n"
Expand Down Expand Up @@ -1345,7 +1345,7 @@ void printHTMLtrailer(void) {

safe_snprintf(__FILE__, __LINE__, buf, LEN_GENERAL_WORK_BUFFER,
"Generated by ntop v.%s (%d bit)\n[%s]<br>"
"&copy; 1998-2011 by Luca Deri, built: %s.<br>\n",
"&copy; 1998-2012 by Luca Deri, built: %s.<br>\n",
version, sizeof(long) == 8 ? 64 : 32, osName, buildDate);
sendString(buf);

Expand Down
2 changes: 1 addition & 1 deletion iface.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Copyright (C) 2003 Abdelkader Lahmadi <Abdelkader.Lahmadi@loria.fr>
* Olivier Festor <Olivier.Festor@loria.fr>
* Copyright (C) 2003-10 Luca Deri <deri@ntop.org>
* Copyright (C) 2003-12 Luca Deri <deri@ntop.org>
*
* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
*
Expand Down
5 changes: 3 additions & 2 deletions initialize.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/*
* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
* HutuBttp://www.ntop.org
*
* Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>
* http://www.ntop.org
*
* Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>
*
* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
*
Expand Down
2 changes: 1 addition & 1 deletion ip.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* http://www.ntop.org
*
* Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>
* Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>
*
* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
*
Expand Down
2 changes: 1 addition & 1 deletion leaks.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
* http://www.ntop.org
*
* Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>
* Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>
*
* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
*
Expand Down
6 changes: 3 additions & 3 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
* http://www.ntop.org
*
* Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>
* Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>
*
* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
*
Expand Down Expand Up @@ -44,7 +44,7 @@ void welcome (FILE * fp) {
myGlobals.program_name, version, sizeof(long) == 8 ? 64 : 32,
configureDate, buildDate);

fprintf (fp, "Copyright 1998-2011 by %s\n", ntop_author);
fprintf (fp, "Copyright 1998-2012 by %s\n", ntop_author);
fprintf (fp, "\nGet the freshest ntop from http://www.ntop.org/\n");
}

Expand Down Expand Up @@ -577,7 +577,7 @@ int main(int argc, char *argv[]) {

traceEvent(CONST_TRACE_ALWAYSDISPLAY, "ntop v.%s (%d bit)", version, sizeof(long) == 8 ? 64 : 32);
traceEvent(CONST_TRACE_ALWAYSDISPLAY, "Configured on %s, built on %s.", configureDate, buildDate);
traceEvent(CONST_TRACE_ALWAYSDISPLAY, "Copyright 1998-2011 by %s", ntop_author);
traceEvent(CONST_TRACE_ALWAYSDISPLAY, "Copyright 1998-2012 by %s", ntop_author);
traceEvent(CONST_TRACE_ALWAYSDISPLAY, "Get the freshest ntop from http://www.ntop.org/");

#ifndef WIN32
Expand Down
2 changes: 1 addition & 1 deletion ntop.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
* http://www.ntop.org
*
* Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>
* Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>
*
* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
*
Expand Down
2 changes: 1 addition & 1 deletion ntop.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
* http://www.ntop.org
*
* Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>
* Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>
*
* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
*
Expand Down
2 changes: 1 addition & 1 deletion ntop_darwin.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2001-04 Luca Deri <deri@ntop.org>
* Copyright (C) 2001-12 Luca Deri <deri@ntop.org>
*
* http://www.ntop.org/
*
Expand Down
2 changes: 1 addition & 1 deletion ntop_win32.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>
* Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>
*
* http://www.ntop.org/
*
Expand Down
2 changes: 1 addition & 1 deletion ntop_win32.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>
* Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>
*
* http://www.ntop.org/
*
Expand Down
2 changes: 1 addition & 1 deletion pbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* http://www.ntop.org
*
* Copyright (C) 1998-2011 Luca Deri <deri@ntop.org>
* Copyright (C) 1998-2012 Luca Deri <deri@ntop.org>
*
* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
*
Expand Down
Loading

0 comments on commit ac4412f

Please sign in to comment.