OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   16-May-2004 12:47:18
  Branch: HEAD                             Handle: 2004051611471700

  Added files:
    openpkg-src/tcpreplay   tcpreplay.patch
  Modified files:
    openpkg-src/tcpreplay   tcpreplay.spec

  Log:
    upgrading package: tcpreplay 2.1.1 -> 2.2.0

  Summary:
    Revision    Changes     Path
    1.1         +11 -0      openpkg-src/tcpreplay/tcpreplay.patch
    1.23        +12 -7      openpkg-src/tcpreplay/tcpreplay.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/tcpreplay/tcpreplay.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 tcpreplay.patch
  --- /dev/null 2004-05-16 12:47:17.000000000 +0200
  +++ tcpreplay.patch   2004-05-16 12:47:17.000000000 +0200
  @@ -0,0 +1,11 @@
  +Index: services.c
  +--- services.c.orig  2004-05-16 00:07:42.000000000 +0200
  ++++ services.c       2004-05-16 12:44:00.000000000 +0200
  +@@ -30,6 +30,7 @@
  +  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  +  */
  + 
  ++#include <sys/types.h>
  + #include <regex.h>
  + #include "tcpreplay.h"
  + #include "err.h"
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/tcpreplay/tcpreplay.spec
  ============================================================================
  $ cvs diff -u -r1.22 -r1.23 tcpreplay.spec
  --- openpkg-src/tcpreplay/tcpreplay.spec      2 May 2004 07:11:55 -0000       1.22
  +++ openpkg-src/tcpreplay/tcpreplay.spec      16 May 2004 10:47:17 -0000      1.23
  @@ -33,19 +33,20 @@
   Class:        EVAL
   Group:        Network
   License:      BSD-style
  -Version:      2.1.1
  -Release:      20040502
  +Version:      2.2.0
  +Release:      20040516
   
   #   list of sources
   Source0:      
http://osdn.dl.sourceforge.net/sourceforge/tcpreplay/tcpreplay-%{version}.tar.gz
  +Patch0:       tcpreplay.patch
   
   #   build information
   Prefix:       %{l_prefix}
   BuildRoot:    %{l_buildroot}
  -BuildPreReq:  OpenPKG, openpkg >= 20040130
  -PreReq:       OpenPKG, openpkg >= 20040130
  -BuildPreReq:  libnet, libpcap
  -PreReq:       libnet, libpcap
  +BuildPreReq:  OpenPKG, openpkg >= 20040130, tcpdump
  +PreReq:       OpenPKG, openpkg >= 20040130, tcpdump
  +BuildPreReq:  libnet, libpcap, libpcapnav
  +PreReq:       libnet, libpcap, libpcapnav
   AutoReq:      no
   AutoReqProv:  no
   
  @@ -62,6 +63,7 @@
   
   %prep
       %setup -q
  +    %patch -p0
   
   %build
       export CC="%{l_cc}"
  @@ -74,7 +76,10 @@
       export LDFLAGS="%{l_ldflags}"
       ./configure \
           --prefix=%{l_prefix} \
  -        --with-libnet=%{l_prefix}
  +        --with-libnet=%{l_prefix} \
  +        --with-libpcap=%{l_prefix} \
  +        --with-pcapnav-config=%{l_prefix}/bin/pcapnav-config \
  +        --with-tcpdump=%{l_prefix}/bin/tcpdump
       %{l_make} %{l_mflags}
   
   %install
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to