- Update to 2.1.17

- Add small patch for sm/mod_iq_time.c
This commit is contained in:
Martin Matuska 2007-10-04 08:31:18 +00:00
parent 471bc17363
commit 71bb9fbfbe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200805
3 changed files with 16 additions and 6 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= jabberd
PORTVERSION= 2.1.15
PORTREVISION= 2
PORTVERSION= 2.1.17
CATEGORIES= net-im
MASTER_SITES= http://ftp.xiaoka.com/jabberd2/releases/
DIST_SUBDIR= jabber
@ -58,7 +57,7 @@ SUB_FILES+= pkg-install pkg-deinstall
PORTDOCS= *
DOCFILES= AUTHORS BUGS COPYING ChangeLog INSTALL NEWS PROTOCOL README \
DOCFILES= AUTHORS COPYING ChangeLog INSTALL NEWS PROTOCOL README \
TODO UPGRADE
.include <bsd.port.pre.mk>

View file

@ -1,3 +1,3 @@
MD5 (jabber/jabberd-2.1.15.tar.gz) = bf3e6596045e3f5018e75d5613c1f864
SHA256 (jabber/jabberd-2.1.15.tar.gz) = e9c3e03ae407913ddb0ceec827af71f9722da9e03ff6f6f979188c4f6ba6f4c9
SIZE (jabber/jabberd-2.1.15.tar.gz) = 1408858
MD5 (jabber/jabberd-2.1.17.tar.gz) = 1f2f8dd95e4a46692eaf54026fe84720
SHA256 (jabber/jabberd-2.1.17.tar.gz) = cadd27d18ff57105516bda02f8eb681d74124b86a6c4bcd8e25512c64130c5a8
SIZE (jabber/jabberd-2.1.17.tar.gz) = 808033

View file

@ -0,0 +1,11 @@
--- sm/mod_iq_time.c.orig 2007-09-25 22:34:24.000000000 +0200
+++ sm/mod_iq_time.c 2007-10-04 09:20:14.000000000 +0200
@@ -77,7 +77,7 @@
datetime_out(t, dt_DATETIME, buf, 64);
nad_insert_elem(pkt->nad, 2, NAD_ENS(pkt->nad, 1), "utc", buf);
-#ifdef HAVE_TZSET
+#ifdef HAVE_TZNAME
snprintf(buf, 64, "%+03d:%02d", (int) -timezone/(60*60), (int) -timezone%(60*60));
#else
snprintf(buf, 64, "%+03d:%02d", (int) tm->tm_gmtoff/(60*60), (int) tm->tm_gmtoff%(60*60));