Update to latest (although not new) upstream vendor version.

Fri, 13 Apr 2012 17:49:04 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 13 Apr 2012 17:49:04 +0200
changeset 417
76ceb617f880
parent 416
0bc1d0d1fe3a
child 418
680c3f7768b0

Update to latest (although not new) upstream vendor version.

stun/stun.patch file | annotate | diff | comparison | revisions
stun/stun.spec file | annotate | diff | comparison | revisions
     1.1 --- a/stun/stun.patch	Fri Mar 30 18:55:41 2012 +0200
     1.2 +++ b/stun/stun.patch	Fri Apr 13 17:49:04 2012 +0200
     1.3 @@ -1,22 +1,3 @@
     1.4 -Index: client.cxx
     1.5 ---- client.cxx.orig	2005-08-14 02:43:10 +0200
     1.6 -+++ client.cxx	2005-11-16 10:28:17 +0100
     1.7 -@@ -178,13 +178,13 @@
     1.8 -                retval[nic] = 0x02;
     1.9 -                break;
    1.10 -             case StunTypeDependentFilter:
    1.11 --               cout << "Independedt Mapping, Address Dependendent Filter";
    1.12 -+               cout << "Independedt Mapping, Address Dependent Filter";
    1.13 -                if ( presPort ) cout << ", preserves ports"; else cout << ", random port";
    1.14 -                if ( hairpin  ) cout << ", will hairpin"; else cout << ", no hairpin";
    1.15 -                retval[nic] = 0x04;
    1.16 -                break;
    1.17 -             case StunTypePortDependedFilter:
    1.18 --               cout << "Indepndent Mapping, Port Dependent Filter";
    1.19 -+               cout << "Independent Mapping, Port Dependent Filter";
    1.20 -                if ( presPort ) cout << ", preserves ports"; else cout << ", random port";
    1.21 -                if ( hairpin  ) cout << ", will hairpin"; else cout << ", no hairpin";
    1.22 -                retval[nic] = 0x06;
    1.23  Index: server.cxx
    1.24  --- server.cxx.orig	2005-08-13 22:19:29 +0200
    1.25  +++ server.cxx	2005-11-16 10:33:51 +0100
     2.1 --- a/stun/stun.spec	Fri Mar 30 18:55:41 2012 +0200
     2.2 +++ b/stun/stun.spec	Fri Apr 13 17:49:04 2012 +0200
     2.3 @@ -21,10 +21,6 @@
     2.4  ##  SUCH DAMAGE.
     2.5  ##
     2.6  
     2.7 -#   package version
     2.8 -%define       V_dist  0.96_Aug13
     2.9 -%define       V_opkg  0.96
    2.10 -
    2.11  #   package information
    2.12  Name:         stun
    2.13  Summary:      STUN Client & Server
    2.14 @@ -35,11 +31,11 @@
    2.15  Class:        EVAL
    2.16  Group:        VoIP
    2.17  License:      Open Source
    2.18 -Version:      %{V_opkg}
    2.19 -Release:      20090106
    2.20 +Version:      0.97
    2.21 +Release:      20120208
    2.22  
    2.23  #   list of sources
    2.24 -Source0:      http://switch.dl.sourceforge.net/stun/stund_%{V_dist}.tgz
    2.25 +Source0:      http://switch.dl.sourceforge.net/stun/stund-%{version}.tgz
    2.26  Source1:      rc.stun
    2.27  Patch0:       stun.patch
    2.28  
    2.29 @@ -65,7 +61,7 @@
    2.30  
    2.31  %track
    2.32      prog stun = {
    2.33 -        version   = %{V_dist}
    2.34 +        version   = %{version}
    2.35          url       = http://prdownloads.sourceforge.net/stun/
    2.36          regex     = stund_(.+?)\.tgz
    2.37      }
    2.38 @@ -77,7 +73,7 @@
    2.39          *-sunos* )
    2.40              %{l_shtool} subst \
    2.41                  -e 's;^\(LDFLAGS\)+=.*;\1=;' \
    2.42 -                -e 's;^#\(LDFLAGS+=\) -lnsl -lsocket;\1-lsocket -lnsl;' \
    2.43 +                -e 's;^#\(LDFLAGS+=\) -lnsl -lsocket;\1-lsocket -lnsl -ldl;' \
    2.44                  Makefile
    2.45              ;;
    2.46          * )
    2.47 @@ -88,7 +84,7 @@
    2.48      esac
    2.49  
    2.50  %build
    2.51 -    %{l_make} %{l_mflags} \
    2.52 +    %{l_make} %{l_mflags -O} \
    2.53          CXX="%{l_cxx}" \
    2.54          CXXFLAGS="%{l_cxxflags -O}"
    2.55  

mercurial