Hi Luca,

The revision number didn't got pickup other places of code, I am still
looking when went wrong.


On Tue, Aug 27, 2013 at 4:09 AM, T.J. Yang <[email protected]> wrote:

> Hi Luca
>
> I found  dashboard footer showing static SVN revision number after I am
> using latest 6713 version.
>
> Please review following patch to fix the issue.
>
> 1. add ntop_defines.h.in into configure.in
>
> [tjyang@localhost ntopng]$ svn diff configure.in
> Index: configure.in
> ===================================================================
> --- configure.in (revision 6713)
> +++ configure.in (working copy)
> @@ -156,10 +156,10 @@
>  AC_SUBST(PACKAGE_VERSION)
>  AC_SUBST(SVN_RELEASE)
>  AC_CONFIG_HEADERS(config.h)
> +AC_CONFIG_FILES(ntop_defines.h)
>  AC_CONFIG_FILES(packages/ntopng.spec)
>  AC_CONFIG_FILES(packages/ntopng-data.spec)
>  AC_CONFIG_FILES(Makefile)
> -
>  AC_OUTPUT
>
>  echo ""
> [tjyang@localhost ntopng]$
>
> 2. Create ntop_defines.h.in file with one line difference
>
> [tjyang@localhost ntopng]$ diff -u ntop_defines.h ntop_defines.h.in
> --- ntop_defines.h 2013-08-27 03:59:44.563436798 -0500
> +++ ntop_defines.h.in 2013-08-27 03:59:35.902632550 -0500
> @@ -54,7 +54,7 @@
>
>  /* ***************************************************** */
>
> -#define NTOP_SVN_REVISION         "$Revision: 6713 $"
> +#define NTOP_SVN_REVISION         "$Revision: @SVN_RELEASE@ $"
>  #define NTOP_SVN_REVISION_DATE    "$Date: 2013-08-23 15:30:44 -0500 (Fri,
> 23 Aug 2013) $"
>
>  #define NO_NDPI_PROTOCOL          ((u_int)-1)
> [tjyang@localhost ntopng]$
>
>
> --
> T.J. Yang
>



-- 
T.J. Yang
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to