Ticket #22921: nfdump.diff

File nfdump.diff, 2.3 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago)
  • Portfile

     
    33PortSystem      1.0
    44
    55name                    nfdump
    6 version                 1.5.6
    7 revision                4
     6version                 1.5.8
    87categories              net
    98maintainers             markd
     9license                 BSD
    1010platforms               darwin
    1111
    1212description             Part of the NfSen project, the nfdump tools are command-line programs to \
     
    1515
    1616homepage                http://nfdump.sourceforge.net/
    1717master_sites            sourceforge
    18 distfiles               ${distname}.tar.gz
    19 checksums               md5 2fb8b467cceb6f43bac5da4be8bed771
     18checksums               md5     f314513652df18259f8303c542918cbb \
     19                        sha1    73a18f3eabb7f928d8ed9c2a305914c953f9457e \
     20                        rmd160  3b91874088cec70eae697fa45f9e8c2832da43b9
    2021
    2122patchfiles      patch-configure \
    22                 patch-Makefile.in \
    2323                patch-ft2nfdump.c
    2424
    2525depends_lib     port:rrdtool
     
    2929                --with-rrdpath=${prefix}
    3030
    3131post-destroot {
    32         xinstall -m 640 -d ${destroot}${prefix}/share/doc/${name}
    33         xinstall -m 640 -W ${worksrcpath} INSTALL README ChangeLog ToDo \
     32        xinstall -d ${destroot}${prefix}/share/doc/${name}
     33        xinstall -m 644 -W ${worksrcpath} BSD-license.txt ChangeLog README ToDo \
    3434                ${destroot}${prefix}/share/doc/${name}
    3535}
    3636
     
    4141
    4242}
    4343
     44livecheck.regex {(?i)<title>stable nfdump-(.*) released.*</title>}
  • files/patch-configure

     
    1 --- configure.org       2007-10-14 23:34:23.000000000 -0700
    2 +++ configure   2008-02-15 14:12:58.000000000 -0800
    3 @@ -3971,7 +3971,7 @@
     1--- configure.org       2009-04-17 07:08:20.000000000 -0500
     2+++ configure   2009-12-16 23:28:17.000000000 -0600
     3@@ -3208,7 +3208,7 @@
    44 fi
    55 
    66 if test -d "$WHERE_FTPATH"; then
     
    99                { { echo "$as_me:$LINENO: error: ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH" >&5
    1010 echo "$as_me: error: ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH" >&2;}
    1111    { (exit 1); exit 1; }; }
    12 @@ -3981,7 +3981,7 @@
     12@@ -3218,7 +3218,7 @@
    1313 echo "$as_me: error: libft.a not found in flow-tools directory '$WHERE_FTPATH'. Build flow tools first" >&2;}
    1414    { (exit 1); exit 1; }; }
    1515        fi