From nobody@FreeBSD.org  Mon Jun  8 20:51:04 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 14C83106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  8 Jun 2009 20:51:04 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 035798FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  8 Jun 2009 20:51:04 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n58Kp3P2036498
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 8 Jun 2009 20:51:03 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n58Kp3bC036497;
	Mon, 8 Jun 2009 20:51:03 GMT
	(envelope-from nobody)
Message-Id: <200906082051.n58Kp3bC036497@www.freebsd.org>
Date: Mon, 8 Jun 2009 20:51:03 GMT
From: Edmondas Girkantas <eg@fbsd.lt>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [UPDATE] devel/libopkele to 2.0.2
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: zhoushuqun@gmail.com

>Number:         135385
>Category:       ports
>Synopsis:       [UPDATE] devel/libopkele to 2.0.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    amdmi3
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 08 21:00:12 UTC 2009
>Closed-Date:    Sun Jun 21 21:26:05 UTC 2009
>Last-Modified:  Sun Jun 21 21:30:08 UTC 2009
>Originator:     Edmondas Girkantas
>Release:        7.2-RELEASE
>Organization:
>Environment:
FreeBSD big.bug.lt 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009     root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
updated to 2.0.2 version
removed patches

excerpt from changelog
http://kin.klever.net/libopkele/changelog

version 2.0.2 (April 11th, 2009)

    * Handling of unknown encodings during discovery
    * Discovery robustness improvements
    * Workaround for OPs (e.g. livejournal.com) breaking specs
    * Build fixes and improvements

version 2.0.1 (November 22nd, 2008)

    * Compile-time fixes and improvements
    * Portability improvements for FreeBSD
    * Really suppress debugging message from htmltidy when --disable-debug is in effect
    * minor bugfixes
    * thread-safety improvements

>How-To-Repeat:

>Fix:
apply given patch

Patch attached with submission follows:

diff -ruN libopkele.orig/Makefile libopkele/Makefile
--- libopkele.orig/Makefile	2009-06-08 23:37:33.000000000 +0300
+++ libopkele/Makefile	2009-06-08 23:37:45.000000000 +0300
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	libopkele
-PORTVERSION=	2.0
-PORTREVISION=	1
+PORTVERSION=	2.0.2
 CATEGORIES=	devel
 MASTER_SITES=	http://kin.klever.net/dist/
 
diff -ruN libopkele.orig/distinfo libopkele/distinfo
--- libopkele.orig/distinfo	2009-06-08 23:37:33.000000000 +0300
+++ libopkele/distinfo	2009-06-08 23:38:50.000000000 +0300
@@ -1,3 +1,3 @@
-MD5 (libopkele-2.0.tar.gz) = 86cf5bdbdd1a129df1c947090f81adb4
-SHA256 (libopkele-2.0.tar.gz) = b89bbf1ddd08e69659cfc618278e22304c9e3e904f9d753e11fdaee868dc8485
-SIZE (libopkele-2.0.tar.gz) = 407509
+MD5 (libopkele-2.0.2.tar.gz) = f99bc4c4edd4d1ba095219c4e9302b8a
+SHA256 (libopkele-2.0.2.tar.gz) = 1941642c689667b58e7d18191c4900be4f08a7c72e9493d52fa8c652d1c1c86b
+SIZE (libopkele-2.0.2.tar.gz) = 393880
diff -ruN libopkele.orig/files/patch-lib-util.cc libopkele/files/patch-lib-util.cc
--- libopkele.orig/files/patch-lib-util.cc	2009-06-08 23:37:33.000000000 +0300
+++ libopkele/files/patch-lib-util.cc	1970-01-01 03:00:00.000000000 +0300
@@ -1,64 +0,0 @@
-From 12837594b705ad10fdadfd0ba1bfc2249b3b1264 Mon Sep 17 00:00:00 2001
-From: Michael Krelin <hacker@klever.net>
-Date: Sun, 29  Jun  2008  16:08:01  +0000
-Subject: Fixed w3c to unix timestamp conversion for FreeBSD
-
-Thanks to Göran Löwkrantz for pointing both to the problem and possible
-solution.
-
-Signed-off-by: Michael Krelin <hacker@klever.net>
----
-diff --git a/configure.ac b/configure.ac
-index 3194718..3484146 100644
---- configure.ac
-+++ configure.ac
-@@ -10,6 +10,7 @@ AC_PROG_LIBTOOL
- PKG_PROG_PKG_CONFIG
- 
- AC_HEADER_STDC
-+AC_CHECK_FUNCS([timegm])
- 
- AC_PATH_PROG([XSLTPROC],[xsltproc],[true])
- 
-diff --git a/lib/util.cc b/lib/util.cc
-index d979502..a46ba2a 100644
---- lib/util.cc
-+++ lib/util.cc
-@@ -122,6 +122,21 @@ namespace opkele {
- 	    return rv;
- 	}
- 
-+#ifndef HAVE_TIMEGM
-+	static time_t timegm(struct tm *t) {
-+	    char *tz = getenv("TZ");
-+	    setenv("TZ","",1); tzset();
-+	    time_t rv = mktime(t);
-+	    if(tz)
-+		setenv("TZ",tz,1);
-+	    else
-+		unsetenv("TZ");
-+	    tzset();
-+	    return rv;
-+	}
-+#	define timegm opkele::util::timegm
-+#endif /* HAVE_TIMEGM */
-+
- 	time_t w3c_to_time(const string& w) {
- 	    int fraction;
- 	    struct tm tm_t;
-@@ -145,10 +160,10 @@ namespace opkele {
- 		throw failed_conversion(OPKELE_CP_ "failed to sscanf()");
- 	    tm_t.tm_mon--;
- 	    tm_t.tm_year-=1900;
--	    time_t rv = mktime(&tm_t);
-+	    time_t rv = timegm(&tm_t);
- 	    if(rv==(time_t)-1)
--		throw failed_conversion(OPKELE_CP_ "failed to mktime()");
--	    return rv-timezone;
-+		throw failed_conversion(OPKELE_CP_ "failed to gmtime()");
-+	    return rv;
- 	}
- 
- 	/*
---
-cgit v0.7.1-118-g42ef


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Mon Jun 8 21:00:31 UTC 2009 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=135385 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: zhoushuqun@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/135385: [UPDATE] devel/libopkele to 2.0.2
Date: Mon, 8 Jun 2009 21:00:28 UT

 Maintainer of devel/libopkele,
 
 Please note that PR ports/135385 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/135385
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->amdmi3 
Responsible-Changed-By: amdmi3 
Responsible-Changed-When: Mon Jun 8 22:25:53 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=135385 
State-Changed-From-To: feedback->closed 
State-Changed-By: amdmi3 
State-Changed-When: Sun Jun 21 21:26:04 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=135385 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/135385: commit references a PR
Date: Sun, 21 Jun 2009 21:26:04 +0000 (UTC)

 amdmi3      2009-06-21 21:25:54 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/libopkele      Makefile distinfo 
   Removed files:
     devel/libopkele/files patch-lib-util.cc 
   Log:
   - Update to 2.0.2
   
   PR:             135385
   Submitted by:   Edmondas Girkantas <eg@fbsd.lt>
   Approved by:    maintainer timeout
   
   Revision  Changes    Path
   1.7       +1 -2      ports/devel/libopkele/Makefile
   1.3       +3 -3      ports/devel/libopkele/distinfo
   1.2       +0 -64     ports/devel/libopkele/files/patch-lib-util.cc (dead)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
