[Pkg-voip-commits] r5078 - in /yxa/trunk/debian: changelog patches/to_lower.dpatch

mikma-guest at alioth.debian.org mikma-guest at alioth.debian.org
Sat Dec 8 11:39:51 UTC 2007


Author: mikma-guest
Date: Sat Dec  8 11:39:51 2007
New Revision: 5078

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=5078
Log:
* Replace all use of httpd_util:to_lower/1, to_upper/1, and
  httpd_util:encode_base64/1 (removed in OTP R12B-0).

Modified:
    yxa/trunk/debian/changelog
    yxa/trunk/debian/patches/to_lower.dpatch

Modified: yxa/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/yxa/trunk/debian/changelog?rev=5078&op=diff
==============================================================================
--- yxa/trunk/debian/changelog (original)
+++ yxa/trunk/debian/changelog Sat Dec  8 11:39:51 2007
@@ -1,8 +1,8 @@
 yxa (1.0-1) UNRELEASED; urgency=low
   * Initial release (Closes: #377617)
   * Auto-detect SSL-PKIX.hrl renamed to OTP-PKIX.hrl in OTP R12B-0.
-  * Replace all use of httpd:to_lower/1 (removed in OTP R12B-0) with
-    string:to_lower/1.
+  * Replace all use of httpd_util:to_lower/1, to_upper/1, and
+    httpd_util:encode_base64/1 (removed in OTP R12B-0).
 
- -- Mikael Magnusson <mikma at users.sourceforge.net>  Mon, 05 Nov 2007 15:43:45 +0100
+ -- Mikael Magnusson <mikma at users.sourceforge.net>  Sat, 08 Dec 2007 12:38:00 +0100
 

Modified: yxa/trunk/debian/patches/to_lower.dpatch
URL: http://svn.debian.org/wsvn/pkg-voip/yxa/trunk/debian/patches/to_lower.dpatch?rev=5078&op=diff
==============================================================================
--- yxa/trunk/debian/patches/to_lower.dpatch (original)
+++ yxa/trunk/debian/patches/to_lower.dpatch Sat Dec  8 11:39:51 2007
@@ -2,12 +2,14 @@
 ## to_lower.dpatch by  <mikma at users.sourceforge.net>
 ##
 ## All lines beginning with `## DP:' are a description of the patch.
-## DP: httpd_util:to_lower/1 is replaced with string:to_lower/1 in R12B-0
+## DP: httpd_util:to_lower/1 is replaced with string:to_lower/1 in R12B-0,
+## DP: httpd_util:to_upper/1 with string:to_upper/1, and
+## DP: httpd_util:encode_base64 with base64:encode_to_string().
 
 @DPATCH@
 diff -urNad yxa-1.0~/src/contact.erl yxa-1.0/src/contact.erl
---- yxa-1.0~/src/contact.erl	2007-10-17 16:41:21.000000000 +0200
-+++ yxa-1.0/src/contact.erl	2007-12-07 17:48:17.000000000 +0100
+--- yxa-1.0~/src/contact.erl	2007-12-08 01:08:59.000000000 +0100
++++ yxa-1.0/src/contact.erl	2007-12-08 01:09:22.000000000 +0100
 @@ -403,7 +403,7 @@
  	end,
      NameStripped = sipparse_util:strip(Name, both, [?SP,?HTAB]),
@@ -18,8 +20,8 @@
      case ParamName of
  	"expires" ->
 diff -urNad yxa-1.0~/src/contact_param.erl yxa-1.0/src/contact_param.erl
---- yxa-1.0~/src/contact_param.erl	2007-10-17 16:41:21.000000000 +0200
-+++ yxa-1.0/src/contact_param.erl	2007-12-07 17:48:17.000000000 +0100
+--- yxa-1.0~/src/contact_param.erl	2007-12-08 01:08:59.000000000 +0100
++++ yxa-1.0/src/contact_param.erl	2007-12-08 01:09:22.000000000 +0100
 @@ -79,9 +79,9 @@
  			[$\" | _] ->
  			    ValIn;  %% quoted value, don't lowercase
@@ -62,8 +64,8 @@
      ContactParam#contact_param{pairs = Res}.
  
 diff -urNad yxa-1.0~/src/cpl/interpret_backend.erl yxa-1.0/src/cpl/interpret_backend.erl
---- yxa-1.0~/src/cpl/interpret_backend.erl	2007-10-17 16:41:21.000000000 +0200
-+++ yxa-1.0/src/cpl/interpret_backend.erl	2007-12-07 17:48:20.000000000 +0100
+--- yxa-1.0~/src/cpl/interpret_backend.erl	2007-12-08 01:08:59.000000000 +0100
++++ yxa-1.0/src/cpl/interpret_backend.erl	2007-12-08 01:09:22.000000000 +0100
 @@ -173,7 +173,7 @@
  
  %% values are case insensitive
@@ -158,8 +160,8 @@
  
  %%--------------------------------------------------------------------
 diff -urNad yxa-1.0~/src/cpl/xml_parse.erl yxa-1.0/src/cpl/xml_parse.erl
---- yxa-1.0~/src/cpl/xml_parse.erl	2007-10-17 16:41:21.000000000 +0200
-+++ yxa-1.0/src/cpl/xml_parse.erl	2007-12-07 17:48:20.000000000 +0100
+--- yxa-1.0~/src/cpl/xml_parse.erl	2007-12-08 01:08:59.000000000 +0100
++++ yxa-1.0/src/cpl/xml_parse.erl	2007-12-08 01:09:22.000000000 +0100
 @@ -1605,7 +1605,7 @@
      case get_attribute(Cond, wkst) of
  	'#no_value' -> mo;
@@ -179,8 +181,8 @@
  freq_str_to_atom2("secondly") -> secondly;
  freq_str_to_atom2("minutely") -> minutely;
 diff -urNad yxa-1.0~/src/cpl/xml_parse_util.erl yxa-1.0/src/cpl/xml_parse_util.erl
---- yxa-1.0~/src/cpl/xml_parse_util.erl	2007-10-17 16:41:21.000000000 +0200
-+++ yxa-1.0/src/cpl/xml_parse_util.erl	2007-12-07 17:48:21.000000000 +0100
+--- yxa-1.0~/src/cpl/xml_parse_util.erl	2007-12-08 01:08:59.000000000 +0100
++++ yxa-1.0/src/cpl/xml_parse_util.erl	2007-12-08 01:09:22.000000000 +0100
 @@ -206,7 +206,7 @@
  %% @end
  %%--------------------------------------------------------------------
@@ -208,9 +210,21 @@
  	"emergency" -> emergency;
  	"urgent" -> urgent;
  	"normal" -> normal;
+diff -urNad yxa-1.0~/src/dnsutil.erl yxa-1.0/src/dnsutil.erl
+--- yxa-1.0~/src/dnsutil.erl	2007-10-17 16:41:21.000000000 +0200
++++ yxa-1.0/src/dnsutil.erl	2007-12-08 01:10:34.000000000 +0100
+@@ -782,7 +782,7 @@
+     Replacement = parsenaptr_replacement(Replacementlength, Rest4, []),
+     #naptrrecord{order=Order, preference=Preference,
+ 		 flags=binary_to_list(Flags),
+-		 services=httpd_util:to_upper(binary_to_list(Services)),
++		 services=string:to_upper(binary_to_list(Services)),
+ 		 regexp=binary_to_list(Regexp),
+ 		 replacement=Replacement
+ 		}.
 diff -urNad yxa-1.0~/src/keylist.erl yxa-1.0/src/keylist.erl
---- yxa-1.0~/src/keylist.erl	2007-10-17 16:41:21.000000000 +0200
-+++ yxa-1.0/src/keylist.erl	2007-12-07 17:48:17.000000000 +0100
+--- yxa-1.0~/src/keylist.erl	2007-12-08 01:08:59.000000000 +0100
++++ yxa-1.0/src/keylist.erl	2007-12-08 01:09:22.000000000 +0100
 @@ -359,7 +359,7 @@
  %% RFC3515 #7
  normalize("r") -> "refer-to";
@@ -221,8 +235,8 @@
  normalize(Key) when is_atom(Key) ->
      %% XXX perhaps check that it is one of the atoms we actually use?
 diff -urNad yxa-1.0~/src/sipdst.erl yxa-1.0/src/sipdst.erl
---- yxa-1.0~/src/sipdst.erl	2007-10-17 16:41:21.000000000 +0200
-+++ yxa-1.0/src/sipdst.erl	2007-12-07 17:48:17.000000000 +0100
+--- yxa-1.0~/src/sipdst.erl	2007-12-08 01:08:59.000000000 +0100
++++ yxa-1.0/src/sipdst.erl	2007-12-08 01:09:22.000000000 +0100
 @@ -409,7 +409,7 @@
  get_transport_param(URL) when is_record(URL, sipurl) ->
      case url_param:find(URL#sipurl.param_pairs, "transport") of
@@ -233,8 +247,8 @@
  		"udp" -> udp;
  		"tls" -> tls;
 diff -urNad yxa-1.0~/src/sipheader.erl yxa-1.0/src/sipheader.erl
---- yxa-1.0~/src/sipheader.erl	2007-10-17 16:41:21.000000000 +0200
-+++ yxa-1.0/src/sipheader.erl	2007-12-07 17:48:17.000000000 +0100
+--- yxa-1.0~/src/sipheader.erl	2007-12-08 01:08:59.000000000 +0100
++++ yxa-1.0/src/sipheader.erl	2007-12-08 01:09:22.000000000 +0100
 @@ -500,7 +500,7 @@
  	Index ->
  	    FirstWord = string:substr(In, 1, Index - 1),
@@ -257,8 +271,8 @@
  				  {Name, unescape(Value)}
  			  end
 diff -urNad yxa-1.0~/src/siphost.erl yxa-1.0/src/siphost.erl
---- yxa-1.0~/src/siphost.erl	2007-10-17 16:41:21.000000000 +0200
-+++ yxa-1.0/src/siphost.erl	2007-12-07 17:48:17.000000000 +0100
+--- yxa-1.0~/src/siphost.erl	2007-12-08 01:08:59.000000000 +0100
++++ yxa-1.0/src/siphost.erl	2007-12-08 01:09:22.000000000 +0100
 @@ -80,7 +80,7 @@
  	integer_to_list(A4);
  makeip({A1, A2, A3, A4, A5, A6, A7, A8}) ->
@@ -268,9 +282,21 @@
  
  
  %%====================================================================
+diff -urNad yxa-1.0~/src/siprequest.erl yxa-1.0/src/siprequest.erl
+--- yxa-1.0~/src/siprequest.erl	2007-10-17 16:41:21.000000000 +0200
++++ yxa-1.0/src/siprequest.erl	2007-12-08 01:10:18.000000000 +0100
+@@ -536,7 +536,7 @@
+ make_base64_md5_token(In) ->
+     MD5 = binary_to_list(erlang:md5(In)),
+     %% remove the trailing == from the result of encode_base64()
+-    Out = string:strip(httpd_util:encode_base64(MD5), right, $=),
++    Out = string:strip(base64:encode_to_string(MD5), right, $=),
+     make_3261_token(Out).
+ 
+ %% RFC 3261 chapter 25 BNF notation of token :
 diff -urNad yxa-1.0~/src/sipurl.erl yxa-1.0/src/sipurl.erl
---- yxa-1.0~/src/sipurl.erl	2007-10-17 16:41:21.000000000 +0200
-+++ yxa-1.0/src/sipurl.erl	2007-12-07 17:48:17.000000000 +0100
+--- yxa-1.0~/src/sipurl.erl	2007-12-08 01:08:59.000000000 +0100
++++ yxa-1.0/src/sipurl.erl	2007-12-08 01:09:22.000000000 +0100
 @@ -219,7 +219,7 @@
      case string:chr(URLStr, $:) of
  	N when is_integer(N), N > 0 ->
@@ -299,8 +325,8 @@
      set(T, URL#sipurl{host=Hostname});
  
 diff -urNad yxa-1.0~/src/unused/gssapi.erl yxa-1.0/src/unused/gssapi.erl
---- yxa-1.0~/src/unused/gssapi.erl	2005-08-24 14:59:51.000000000 +0200
-+++ yxa-1.0/src/unused/gssapi.erl	2007-12-07 17:48:21.000000000 +0100
+--- yxa-1.0~/src/unused/gssapi.erl	2007-12-08 01:08:59.000000000 +0100
++++ yxa-1.0/src/unused/gssapi.erl	2007-12-08 01:09:22.000000000 +0100
 @@ -14,7 +14,7 @@
  		   end,
      case {Data1, Data2} of
@@ -311,8 +337,8 @@
  	    {"", false}
      end.
 diff -urNad yxa-1.0~/src/url_param.erl yxa-1.0/src/url_param.erl
---- yxa-1.0~/src/url_param.erl	2007-10-17 16:41:21.000000000 +0200
-+++ yxa-1.0/src/url_param.erl	2007-12-07 17:48:17.000000000 +0100
+--- yxa-1.0~/src/url_param.erl	2007-12-08 01:08:59.000000000 +0100
++++ yxa-1.0/src/url_param.erl	2007-12-08 01:09:22.000000000 +0100
 @@ -77,11 +77,11 @@
      F = fun(E) ->
  		case string:tokens(E, "=") of
@@ -367,8 +393,8 @@
      Param#url_param{pairs = Res}.
  
 diff -urNad yxa-1.0~/src/util.erl yxa-1.0/src/util.erl
---- yxa-1.0~/src/util.erl	2007-10-17 16:41:21.000000000 +0200
-+++ yxa-1.0/src/util.erl	2007-12-07 17:48:18.000000000 +0100
+--- yxa-1.0~/src/util.erl	2007-12-08 01:08:59.000000000 +0100
++++ yxa-1.0/src/util.erl	2007-12-08 01:09:22.000000000 +0100
 @@ -144,8 +144,8 @@
  casecompare(_String, none) ->
      false;




More information about the Pkg-voip-commits mailing list