ソースを参照

upgrading package: jabberd 2.1.17 -> 2.1.18

Ralf S. Engelschall 18 年 前
コミット
d83f03abec
2 ファイル変更23 行追加23 行削除
  1. 21 21
      jabberd/jabberd.patch
  2. 2 2
      jabberd/jabberd.spec

+ 21 - 21
jabberd/jabberd.patch

@@ -1,6 +1,6 @@
 Index: configure
---- configure.orig	2007-10-02 01:21:21 +0200
-+++ configure	2007-10-02 08:12:59 +0200
+--- configure.orig	2007-10-17 21:15:51 +0200
++++ configure	2007-10-18 09:22:02 +0200
 @@ -30157,7 +30157,7 @@
  fi
  
@@ -20,8 +20,8 @@ Index: configure
  /* confdefs.h.  */
  _ACEOF
 Index: etc/c2s.xml.dist.in
---- etc/c2s.xml.dist.in.orig	2007-09-21 10:54:46 +0200
-+++ etc/c2s.xml.dist.in	2007-10-02 08:13:00 +0200
+--- etc/c2s.xml.dist.in.orig	2007-10-17 21:15:30 +0200
++++ etc/c2s.xml.dist.in	2007-10-18 09:22:02 +0200
 @@ -51,18 +51,16 @@
    </router>
  
@@ -53,7 +53,7 @@ Index: etc/c2s.xml.dist.in
  
      <!-- Port to bind to, or 0 to disable unencrypted access to the
           server (default: 5222) -->
-@@ -282,7 +280,7 @@
+@@ -285,7 +283,7 @@
      <path>@pkglibdir@</path>
  
      <!-- Backend module to use -->
@@ -63,8 +63,8 @@ Index: etc/c2s.xml.dist.in
      <!-- Available authentication mechanisms -->
      <mechanisms>
 Index: etc/resolver.xml.dist.in
---- etc/resolver.xml.dist.in.orig	2007-04-09 16:19:52 +0200
-+++ etc/resolver.xml.dist.in	2007-10-02 08:13:00 +0200
+--- etc/resolver.xml.dist.in.orig	2007-10-17 21:15:30 +0200
++++ etc/resolver.xml.dist.in	2007-10-18 09:22:02 +0200
 @@ -51,18 +51,16 @@
    </router>
  
@@ -88,8 +88,8 @@ Index: etc/resolver.xml.dist.in
  
    <!-- SRV records will be resolved in the following order. The first
 Index: etc/router.xml.dist.in
---- etc/router.xml.dist.in.orig	2007-04-09 16:19:52 +0200
-+++ etc/router.xml.dist.in	2007-10-02 08:13:00 +0200
+--- etc/router.xml.dist.in.orig	2007-10-17 21:15:30 +0200
++++ etc/router.xml.dist.in	2007-10-18 09:22:02 +0200
 @@ -9,24 +9,22 @@
    <pidfile>@localstatedir@/jabberd/pid/router.pid</pidfile>
  
@@ -120,8 +120,8 @@ Index: etc/router.xml.dist.in
      <!-- Port to bind to (default: 5347) -->
      <port>5347</port>
 Index: etc/s2s.xml.dist.in
---- etc/s2s.xml.dist.in.orig	2007-09-25 22:37:54 +0200
-+++ etc/s2s.xml.dist.in	2007-10-02 08:13:00 +0200
+--- etc/s2s.xml.dist.in.orig	2007-10-17 21:15:30 +0200
++++ etc/s2s.xml.dist.in	2007-10-18 09:22:02 +0200
 @@ -61,25 +61,23 @@
    </router>
  
@@ -153,8 +153,8 @@ Index: etc/s2s.xml.dist.in
  
      <!-- Helper DNS resolver component - if this component is not
 Index: etc/sm.xml.dist.in
---- etc/sm.xml.dist.in.orig	2007-09-07 18:18:44 +0200
-+++ etc/sm.xml.dist.in	2007-10-02 08:13:00 +0200
+--- etc/sm.xml.dist.in.orig	2007-10-17 21:15:30 +0200
++++ etc/sm.xml.dist.in	2007-10-18 09:22:02 +0200
 @@ -54,13 +54,13 @@
    </router>
  
@@ -182,8 +182,8 @@ Index: etc/sm.xml.dist.in
      <!-- Its also possible to explicitly list alternate drivers for
           specific data types. -->
 Index: sm/mod_iq_time.c
---- sm/mod_iq_time.c.orig	2007-09-25 22:34:24 +0200
-+++ sm/mod_iq_time.c	2007-10-02 08:14:59 +0200
+--- sm/mod_iq_time.c.orig	2007-10-17 21:15:26 +0200
++++ sm/mod_iq_time.c	2007-10-18 09:23:35 +0200
 @@ -39,6 +39,7 @@
  static mod_ret_t _iq_time_pkt_sm(mod_instance_t mi, pkt_t pkt)
  {
@@ -196,16 +196,16 @@ Index: sm/mod_iq_time.c
      datetime_out(t, dt_DATETIME, buf, 64);
      nad_insert_elem(pkt->nad, 2, NAD_ENS(pkt->nad, 1), "utc", buf);
  #ifdef HAVE_TZSET
--    snprintf(buf, 64, "%+03d:%02d", (int) -timezone/(60*60), (int) -timezone%(60*60));
+-    snprintf(buf, 64, "%+03d:%02d", -((int)timezone)/(60*60), -((int)timezone)%(60*60));
 +    tzone = (time_t)((long)mktime(gmtime(&t)) - (long)t);
 +    snprintf(buf, 64, "%+03d:%02d", (int) -tzone/(60*60), (int) -tzone%(60*60));
  #else
      snprintf(buf, 64, "%+03d:%02d", (int) tm->tm_gmtoff/(60*60), (int) tm->tm_gmtoff%(60*60));
  #endif
 Index: sm/mod_roster.c
---- sm/mod_roster.c.orig	2007-09-05 11:35:42 +0200
-+++ sm/mod_roster.c	2007-10-02 08:13:00 +0200
-@@ -642,6 +642,9 @@
+--- sm/mod_roster.c.orig	2007-10-17 21:15:26 +0200
++++ sm/mod_roster.c	2007-10-18 09:22:02 +0200
+@@ -643,6 +643,9 @@
      if(user->sessions == NULL)
          return mod_PASS;
  
@@ -216,8 +216,8 @@ Index: sm/mod_roster.c
      pkt = pkt_create(user->sm, "iq", "set", NULL, NULL);
      pkt_id_new(pkt);
 Index: util/util.h
---- util/util.h.orig	2007-09-21 02:33:08 +0200
-+++ util/util.h	2007-10-02 08:13:00 +0200
+--- util/util.h.orig	2007-10-17 21:15:30 +0200
++++ util/util.h	2007-10-18 09:22:02 +0200
 @@ -30,6 +30,8 @@
  #include <time.h>
  #include <errno.h>

+ 2 - 2
jabberd/jabberd.spec

@@ -24,7 +24,7 @@
 
 #   package version
 %define       V_major 2.1
-%define       V_minor 17
+%define       V_minor 18
 
 #   package information
 Name:         jabberd
@@ -37,7 +37,7 @@ Class:        PLUS
 Group:        InstantMessaging
 License:      JOSL/GPL
 Version:      %{V_major}.%{V_minor}
-Release:      20071002
+Release:      20071018
 
 #   package options
 %option       with_sqlite no