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

  Server: cvs.openpkg.org                  Name:   Steffen Weinreich
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   08-Jun-2005 22:46:18
  Branch: HEAD                             Handle: 2005060821461800

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

  Log:
    fixed some errors in the spec

  Summary:
    Revision    Changes     Path
    1.1         +14 -0      openpkg-src/sipsak/sipsak.patch
    1.2         +10 -4      openpkg-src/sipsak/sipsak.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/sipsak/sipsak.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 sipsak.patch
  --- /dev/null 2005-06-08 22:46:17 +0200
  +++ sipsak.patch      2005-06-08 22:46:18 +0200
  @@ -0,0 +1,14 @@
  +Index: sipsak.h
  +--- sipsak.h.orig    2005-04-11 22:27:12.000000000 +0200
  ++++ sipsak.h 2005-06-08 19:50:50.459523361 +0200
  +@@ -50,6 +50,10 @@
  + # include <string.h>
  + #endif
  +
  ++#ifdef HAVE_NETDB_H
  ++#include <netdb.h>
  ++#endif
  ++
  + #ifdef HAVE_SYS_PARAM_H
  + # define FQDN_SIZE   MAXHOSTNAMELEN + 1
  + #else
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/sipsak/sipsak.spec
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 sipsak.spec
  --- openpkg-src/sipsak/sipsak.spec    8 Jun 2005 16:55:37 -0000       1.1
  +++ openpkg-src/sipsak/sipsak.spec    8 Jun 2005 20:46:18 -0000       1.2
  @@ -24,7 +24,7 @@
   
   #   package information
   Name:         sipsak
  -Summary:      SIP swiss army knife
  +Summary:      SIP Swiss Army Knife
   URL:          http://www.sipsak.org/
   Vendor:       Nils Ohlmeier
   Packager:     OpenPKG
  @@ -37,17 +37,24 @@
   
   #   list of sources
   Source0:      http://download.berlios.de/sipsak/sipsak-%{version}.tar.gz
  +Patch0:       sipsak.patch
   
   #   build information
   Prefix:       %{l_prefix}
   BuildRoot:    %{l_buildroot}
   BuildPreReq:  OpenPKG, openpkg >= 20040130
   PreReq:       OpenPKG, openpkg >= 20040130
  +BuildPreReq:  openssl
  +PreReq:       openssl
   AutoReq:      no
   AutoReqProv:  no
   
   %description
  -    sipsak is the most badly packaged program in the OpenPKG world.
  +    Sipsak is a small comand line tool for developers and administrators
  +    of Session Initiation Protocol (SIP) applications. It can be used
  +    for some simple tests on SIP applications and devices, including
  +    sending OPTIONS requests, sending text files with SIP requests,
  +    traceroute, user location test, flooding test, etc.
   
   %track
       prog sipsak = {
  @@ -58,12 +65,11 @@
   
   %prep
       %setup -q
  +    %patch -p0
   
   %build
       CC="%{l_cc}" \
  -    CXX="%{l_cxx}" \
       CFLAGS="%{l_cflags -O}" \
  -    CXXFLAGS="%{l_cxxflags -O}" \
       CPPFLAGS="%{l_cppflags}" \
       LDFLAGS="%{l_ldflags}" \
       ./configure \
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to