Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Mar 2017 15:27:13 +0000 (UTC)
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r435993 - in head/devel/poco: . files
Message-ID:  <201703121527.v2CFRD0w012760@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jrm
Date: Sun Mar 12 15:27:13 2017
New Revision: 435993
URL: https://svnweb.freebsd.org/changeset/ports/435993

Log:
  devel/poco: update to 1.7.8
  
  Upstream release notes: https://pocoproject.org/blog/?p=1037
  
  PR:		217714
  Submitted by:	henry.hu.sh@gmail.com (new maintainer)
  Approved by:	swills (mentor, implicit)

Added:
  head/devel/poco/files/patch-Net_src_SocketImpl.cpp   (contents, props changed)
Modified:
  head/devel/poco/Makefile
  head/devel/poco/distinfo
  head/devel/poco/pkg-plist

Modified: head/devel/poco/Makefile
==============================================================================
--- head/devel/poco/Makefile	Sun Mar 12 15:00:07 2017	(r435992)
+++ head/devel/poco/Makefile	Sun Mar 12 15:27:13 2017	(r435993)
@@ -2,27 +2,28 @@
 # $FreeBSD$
 
 PORTNAME=	poco
-PORTVERSION=	1.7.2
+PORTVERSION=	1.7.8
 DISTVERSIONSUFFIX=	-all
 CATEGORIES=	devel net
 MASTER_SITES=	http://pocoproject.org/releases/${PORTNAME}-${PORTVERSION}/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	henry.hu.sh@gmail.com
 COMMENT=	C++ libraries with a network/internet focus
 
 LICENSE=	BSL
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libpcre.so:devel/pcre \
 		libexpat.so:textproc/expat2
 
 CONFLICTS=	poco-ssl-[0-9]*
 
-USES=		cmake pkgconfig
+USES=		cmake localbase pkgconfig
 CMAKE_ARGS=	-DPOCO_UNBUNDLED:BOOL=ON
 USE_LDCONFIG=	yes
 
-CFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+SHLIB_MAJOR=	48
+PLIST_SUB=	SHLIB_MAJOR=${SHLIB_MAJOR}
 
 OPTIONS_DEFINE=		MYSQL SQLITE SSL TEST
 OPTIONS_RADIO=		ODBC
@@ -30,14 +31,14 @@ OPTIONS_RADIO_ODBC=	IODBC UNIXODBC
 OPTIONS_DEFAULT=	MYSQL SQLITE SSL
 OPTIONS_SUB=		yes
 
-MYSQL_USE=		mysql=yes
+MYSQL_USES=		mysql
 MYSQL_CMAKE_OFF=	-DENABLE_DATA_MYSQL:BOOL=OFF
 IODBC_LIB_DEPENDS=	libiodbc.so:databases/libiodbc
 IODBC_CMAKE_ON=		-DODBC_INCLUDE_DIRECTORIES:PATH=${LOCALBASE}/include/libiodbc \
 			-DODBC_LIBRARIES:FILEPATH=${LOCALBASE}/lib/libiodbc.so
 SQLITE_USES=		sqlite
 SQLITE_CMAKE_OFF=	-DENABLE_DATA_SQLITE:BOOL=OFF
-SSL_USE=		openssl=yes
+SSL_USES=		ssl
 SSL_CMAKE_OFF=		-DENABLE_CRYPTO:BOOL=OFF \
 			-DENABLE_NETSSL:BOOL=OFF
 UNIXODBC_LIB_DEPENDS=	libodbc.so:databases/unixODBC

Modified: head/devel/poco/distinfo
==============================================================================
--- head/devel/poco/distinfo	Sun Mar 12 15:00:07 2017	(r435992)
+++ head/devel/poco/distinfo	Sun Mar 12 15:27:13 2017	(r435993)
@@ -1,2 +1,3 @@
-SHA256 (poco-1.7.2-all.tar.gz) = 926eaf5cb7c61ead0450b1cd9ec7a2c074a3e26620bffcb78e22ad3b2d9f0630
-SIZE (poco-1.7.2-all.tar.gz) = 5871882
+TIMESTAMP = 1488777811
+SHA256 (poco-1.7.8-all.tar.gz) = 4e426b4870a79fb42511f6aeadbb688b4047bdc3c9a21ac31deb364ce49ec69f
+SIZE (poco-1.7.8-all.tar.gz) = 6175164

Added: head/devel/poco/files/patch-Net_src_SocketImpl.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/poco/files/patch-Net_src_SocketImpl.cpp	Sun Mar 12 15:27:13 2017	(r435993)
@@ -0,0 +1,11 @@
+--- Net/src/SocketImpl.cpp.orig	2017-03-06 05:45:17 UTC
++++ Net/src/SocketImpl.cpp
+@@ -473,7 +473,7 @@ bool SocketImpl::poll(const Poco::Timesp
+ 		}
+ 	}
+ 	while (rc < 0 && lastError() == POCO_EINTR);
+-	if (rc < 0) error(errorCode);
++	if (rc < 0) error();
+ 	return rc > 0; 
+ 
+ #else

Modified: head/devel/poco/pkg-plist
==============================================================================
--- head/devel/poco/pkg-plist	Sun Mar 12 15:00:07 2017	(r435992)
+++ head/devel/poco/pkg-plist	Sun Mar 12 15:27:13 2017	(r435993)
@@ -794,28 +794,28 @@ lib/cmake/Poco/PocoZipConfigVersion.cmak
 lib/cmake/Poco/PocoZipTargets.cmake
 lib/cmake/Poco/PocoZipTargets-%%CMAKE_BUILD_TYPE%%.cmake
 %%SSL%%lib/libPocoCrypto.so
-%%SSL%%lib/libPocoCrypto.so.42
+%%SSL%%lib/libPocoCrypto.so.%%SHLIB_MAJOR%%
 lib/libPocoData.so
-lib/libPocoData.so.42
+lib/libPocoData.so.%%SHLIB_MAJOR%%
 %%MYSQL%%lib/libPocoDataMySQL.so
-%%MYSQL%%lib/libPocoDataMySQL.so.42
+%%MYSQL%%lib/libPocoDataMySQL.so.%%SHLIB_MAJOR%%
 %%ODBC%%lib/libPocoDataODBC.so
-%%ODBC%%lib/libPocoDataODBC.so.42
+%%ODBC%%lib/libPocoDataODBC.so.%%SHLIB_MAJOR%%
 %%SQLITE%%lib/libPocoDataSQLite.so
-%%SQLITE%%lib/libPocoDataSQLite.so.42
+%%SQLITE%%lib/libPocoDataSQLite.so.%%SHLIB_MAJOR%%
 lib/libPocoFoundation.so
-lib/libPocoFoundation.so.42
+lib/libPocoFoundation.so.%%SHLIB_MAJOR%%
 lib/libPocoJSON.so
-lib/libPocoJSON.so.42
+lib/libPocoJSON.so.%%SHLIB_MAJOR%%
 lib/libPocoMongoDB.so
-lib/libPocoMongoDB.so.42
+lib/libPocoMongoDB.so.%%SHLIB_MAJOR%%
 %%SSL%%lib/libPocoNet.so
-%%SSL%%lib/libPocoNet.so.42
+%%SSL%%lib/libPocoNet.so.%%SHLIB_MAJOR%%
 %%SSL%%lib/libPocoNetSSL.so
-%%SSL%%lib/libPocoNetSSL.so.42
+%%SSL%%lib/libPocoNetSSL.so.%%SHLIB_MAJOR%%
 lib/libPocoUtil.so
-lib/libPocoUtil.so.42
+lib/libPocoUtil.so.%%SHLIB_MAJOR%%
 lib/libPocoXML.so
-lib/libPocoXML.so.42
+lib/libPocoXML.so.%%SHLIB_MAJOR%%
 lib/libPocoZip.so
-lib/libPocoZip.so.42
+lib/libPocoZip.so.%%SHLIB_MAJOR%%



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