Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2014 18:41:04 GMT
From:      Joseph Benden <joe@thrallingpenguin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189033: [patch] Updated port devel/poco to latest release 1.4.6p4.
Message-ID:  <201404261841.s3QIf4iJ098098@cgiserv.freebsd.org>
Resent-Message-ID: <201404261850.s3QIo0tT017873@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189033
>Category:       ports
>Synopsis:       [patch] Updated port devel/poco to latest release 1.4.6p4.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 26 18:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Joseph Benden
>Release:        FreeBSD 11
>Organization:
>Environment:
FreeBSD lucy 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r264887: Thu Apr 24 12:43:46 MST 2014     root@lucy:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
The attached patch updates the port to the latest released code.

Some notes about the patch:

1. Added staging support.
2. Tested against all supported FreeBSD versions.
3. Items that depend on devel/poco are listed as BROKEN.
4. I'd be happy to take over maintainership of both devel/poco and devel/poco-ssl if it is something that the current maintainer agrees to.

Best Regards,
-Joe

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/devel/poco/Makefile b/devel/poco/Makefile
index 121f9e3..863fda3 100644
--- a/devel/poco/Makefile
+++ b/devel/poco/Makefile
@@ -2,10 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	poco
-PORTVERSION=	1.4.3
+PORTVERSION=	1.4.6
 CATEGORIES=	devel net
-MASTER_SITES=	SF/${PORTNAME}/sources/${PORTNAME}-${PORTVERSION}
-DISTNAME=	${PORTNAME}-${PORTVERSION}p1
+MASTER_SITES=	http://pocoproject.org/releases/${PORTNAME}-${PORTVERSION}/
+DISTNAME=	${PORTNAME}-${PORTVERSION}p4
 
 MAINTAINER=	wes@FreeBSD.org
 COMMENT=	C++ Portable Components library
@@ -18,7 +18,6 @@ SAMPLES_DESC=	Build sample programs
 CONFIGURE_ARGS= --config=FreeBSD
 USES=		gmake
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ! ${PORT_OPTIONS:MTEST}
@@ -30,7 +29,6 @@ CONFIGURE_ARGS+= --no-samples
 .endif
 
 GNU_CONFIGURE=	yes
-USE_BZIP2=	yes
 USE_LDCONFIG=	yes
 
 post-patch:
diff --git a/devel/poco/distinfo b/devel/poco/distinfo
index d8946f3..949db67 100644
--- a/devel/poco/distinfo
+++ b/devel/poco/distinfo
@@ -1,2 +1,2 @@
-SHA256 (poco-1.4.3p1.tar.bz2) = 7ee0087a656062da2b5647375ff59932d1d848dddb759f7c466e48f3ace01ded
-SIZE (poco-1.4.3p1.tar.bz2) = 1371774
+SHA256 (poco-1.4.6p4.tar.gz) = 02420f07626c601cd6dd75f62f7d1e3d43edda92faaefecf0e96a68aee55cdc7
+SIZE (poco-1.4.6p4.tar.gz) = 2129766
diff --git a/devel/poco/files/patch-Net-src-DNS.cpp b/devel/poco/files/patch-Net-src-DNS.cpp
new file mode 100644
index 0000000..1645ba8
--- /dev/null
+++ b/devel/poco/files/patch-Net-src-DNS.cpp
@@ -0,0 +1,11 @@
+--- Net/src/DNS.cpp.orig	2014-04-26 09:29:47.000000000 -0700
++++ Net/src/DNS.cpp	2014-04-26 09:30:33.000000000 -0700
+@@ -275,7 +275,7 @@
+ 		throw DNSException("Temporary DNS error while resolving", arg);
+ 	case EAI_FAIL:
+ 		throw DNSException("Non recoverable DNS error while resolving", arg);
+-#if !defined(_WIN32) // EAI_NODATA and EAI_NONAME have the same value
++#if !defined(_WIN32) && defined(EAI_NODATA) // EAI_NODATA and EAI_NONAME have the same value
+ 	case EAI_NODATA:
+ 		throw NoAddressFoundException(arg);
+ #endif
diff --git a/devel/poco/pkg-plist b/devel/poco/pkg-plist
index dbadbb4..77de9c5 100644
--- a/devel/poco/pkg-plist
+++ b/devel/poco/pkg-plist
@@ -360,7 +360,6 @@ include/Poco/SAX/XMLFilter.h
 include/Poco/SAX/XMLFilterImpl.h
 include/Poco/SAX/Attributes.h
 include/Poco/ValidArgs.h
-include/Poco/._Version.h
 include/Poco/Version.h
 include/Poco/Void.h
 include/Poco/Windows1252Encoding.h
@@ -504,8 +503,11 @@ include/Poco/Net/WebSocket.h
 include/Poco/Net/TCPServerParams.h
 include/Poco/Net/TCPServerDispatcher.h
 include/Poco/Net/AbstractHTTPRequestHandler.h
-lib/libPocoFoundationd.so.12
-lib/libPocoFoundation.so.12
+include/Poco/DirectoryWatcher.h
+include/Poco/ObjectPool.h
+include/Poco/Optional.h
+lib/libPocoFoundationd.so.16
+lib/libPocoFoundation.so.16
 lib/libPocoFoundationd.so
 lib/libPocoFoundation.so
 lib/libPocoXMLd.so
@@ -514,12 +516,12 @@ lib/libPocoUtild.so
 lib/libPocoUtil.so
 lib/libPocoNetd.so
 lib/libPocoNet.so
-lib/libPocoXMLd.so.12
-lib/libPocoXML.so.12
-lib/libPocoUtild.so.12
-lib/libPocoUtil.so.12
-lib/libPocoNetd.so.12
-lib/libPocoNet.so.12
+lib/libPocoXMLd.so.16
+lib/libPocoXML.so.16
+lib/libPocoUtild.so.16
+lib/libPocoUtil.so.16
+lib/libPocoNetd.so.16
+lib/libPocoNet.so.16
 @dirrmtry include/Poco/DOM
 @dirrmtry include/Poco/SAX
 @dirrmtry include/Poco/XML


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404261841.s3QIf4iJ098098>