Prechádzať zdrojové kódy

modifying package: openser-1.2.2 20071120 -> 20071124

Ralf S. Engelschall 18 rokov pred
rodič
commit
e2d9dc0279
2 zmenil súbory, kde vykonal 14 pridanie a 14 odobranie
  1. 12 12
      openser/openser.patch
  2. 2 2
      openser/openser.spec

+ 12 - 12
openser/openser.patch

@@ -1,6 +1,6 @@
 Index: Makefile.defs
 --- Makefile.defs.orig	2007-08-16 16:23:20 +0200
-+++ Makefile.defs	2007-11-12 08:39:32 +0100
++++ Makefile.defs	2007-11-24 19:39:03 +0100
 @@ -983,6 +983,8 @@
  
  endif #mode=release
@@ -23,7 +23,7 @@ Index: Makefile.defs
  ifneq ($(found_lock_method), yes)
 Index: modules/permissions/parse_config.c
 --- modules/permissions/parse_config.c.orig	2007-08-16 16:22:57 +0200
-+++ modules/permissions/parse_config.c	2007-11-12 08:39:32 +0100
++++ modules/permissions/parse_config.c	2007-11-24 19:39:03 +0100
 @@ -114,8 +114,11 @@
  	except = strstr(str, " EXCEPT ");
  	if (except) {
@@ -49,8 +49,8 @@ Index: modules/permissions/parse_config.c
  	}
  
 Index: rtpproxy/main.c
---- rtpproxy/main.c.orig	2007-11-12 03:17:02 +0100
-+++ rtpproxy/main.c	2007-11-12 08:43:47 +0100
+--- rtpproxy/main.c.orig	2007-11-23 11:17:02 +0100
++++ rtpproxy/main.c	2007-11-24 19:39:55 +0100
 @@ -40,7 +40,7 @@
  #include <sys/select.h>
  #include <sys/stat.h>
@@ -60,7 +60,7 @@ Index: rtpproxy/main.c
  #include <err.h>
  #endif
  #include <errno.h>
-@@ -139,7 +139,11 @@
+@@ -113,7 +113,11 @@
  	bindhost = NULL;
  
      if ((n = resolve(ia, pf, bindhost, servname, AI_PASSIVE)) != 0)
@@ -72,9 +72,9 @@ Index: rtpproxy/main.c
  }
  
  static void
-@@ -399,10 +403,9 @@
+@@ -371,10 +375,9 @@
  
-     rtpp_log_write(RTPP_LOG_DBUG, glog, "received command \"%s\"", buf);
+     rtpp_log_write(RTPP_LOG_DBUG, cf->glog, "received command \"%s\"", buf);
  
 -    cp = buf;
      argc = 0;
@@ -84,10 +84,10 @@ Index: rtpproxy/main.c
  	if (**ap != '\0') {
  	    argc++;
  	    if (++ap >= &argv[10])
-@@ -660,7 +663,11 @@
+@@ -651,7 +654,11 @@
  		}
  	    } else {
- 		rtpp_log_write(RTPP_LOG_ERR, glog, "getaddrinfo: %s",
+ 		rtpp_log_write(RTPP_LOG_ERR, cf->glog, "getaddrinfo: %s",
 +#if defined(__sun__)
 +		  "unknown");
 +#else
@@ -96,7 +96,7 @@ Index: rtpproxy/main.c
  	    }
  	}
      }
-@@ -1181,7 +1188,7 @@
+@@ -1222,7 +1229,7 @@
      if (cf->umode == 0) {
  	unlink(cmd_sock);
  	memset(&ifsun, '\0', sizeof ifsun);
@@ -105,7 +105,7 @@ Index: rtpproxy/main.c
  	ifsun.sun_len = strlen(cmd_sock);
  #endif
  	ifsun.sun_family = AF_LOCAL;
-@@ -1483,7 +1490,7 @@
+@@ -1537,7 +1544,7 @@
  
      controlfd = init_controlfd(&cf);
  
@@ -116,7 +116,7 @@ Index: rtpproxy/main.c
  	    err(1, "can't switch into daemon mode");
 Index: rtpproxy/rtpp_util.h
 --- rtpproxy/rtpp_util.h.orig	2007-07-28 10:17:02 +0200
-+++ rtpproxy/rtpp_util.h	2007-11-12 08:39:32 +0100
++++ rtpproxy/rtpp_util.h	2007-11-24 19:39:03 +0100
 @@ -84,7 +84,7 @@
  #define	DEFFILEMODE	(S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
  #endif

+ 2 - 2
openser/openser.spec

@@ -24,7 +24,7 @@
 
 #   package options
 %define       V_openser  1.2.2
-%define       V_rtpproxy 20071120-021701
+%define       V_rtpproxy 20071123-101701
 
 #   package information
 Name:         openser
@@ -37,7 +37,7 @@ Class:        PLUS
 Group:        VoIP
 License:      GPL
 Version:      %{V_openser}
-Release:      20071120
+Release:      20071124
 
 #   package options
 %option       with_fsl  yes