From fc854d6ce22b8455352dfa80de339b782e94266d Mon Sep 17 00:00:00 2001 From: ryoon Date: Sat, 16 Jan 2016 12:15:12 +0000 Subject: [PATCH] Update poco to 1.6.1 * Disable debug library Changelog: Release 1.6.1 (2015-08-03) ========================== - added project and solution files for Visual Studio 2015 - upgraded bundled SQLite to 3.8.11.1 - fixed GH #782: Poco::JSON::PrintHandler not working for nested arrays - fixed GH #819: JSON Stringifier fails with preserve insert order - fixed GH #878: UUID tryParse - fixed GH #869: FIFOBuffer::read(T*, std::size_t) documentation inaccurate - fixed GH #861: Var BadCastException - fixed GH #779: BUG in 1.6.0 Zip code - fixed GH #769: Poco::Var operator== throws exception - fixed GH #766: Poco::JSON::PrintHandler not working for objects in array - fixed GH #763: Unable to build static with NetSSL_OpenSSL for OS X - fixed GH #750: BsonWriter::write missing size ? - fixed GH #741: Timestamp anomaly in Poco::Logger on WindowsCE - fixed GH #735: WEC2013 build fails due to missing Poco::Path methods. - fixed GH #722: poco-1.6.0: Unicode Converter Test confuses string and char types - fixed GH #719: StreamSocket::receiveBytes and FIFOBuffer issue in 1.6 - fixed GH #706: POCO1.6 Sample EchoServer BUG - fixed GH #646: Prevent possible data race in access to Timer::_periodicInerval - DeflatingStream: do not flush underlying stream on sync() as these can cause corrupted files in Zip archives Release 1.6.0 (2014-12-22) ========================== - fixed GH #625: MongoDB ensureIndex double insert? - fixed GH #622: Crypto: RSATest::testSign() should verify with public key only - fixed GH #620: Data documentation sample code outdated - fixed GH #618: OS X 10.10 defines PAGE_SIZE macro, conflicts with PAGE_SIZE in Thread_POSIX.cpp - fixed GH #616: Visual Studio warning C4244 - fixed GH #612: OpenSSLInitializer calls OPENSSL_config but not CONF_modules_free - fixed GH #608: (Parallel)SocketAcceptor ctor/dtor call virtual functions - fixed GH #607: Idle Reactor high CPU usage - fixed GH #606: HTMLForm constructor read application/x-www-form-urlencoded UTF-8 request body first parameter with BOM in name - fixed GH #596: For OpenSSL 1.0.1, include openssl/crypto.h not openssl/fips.h - fixed GH #592: Incorrect format string in Poco::Dynamic::Struct - fixed GH #590: Poco::Data::SQlite doesn't support URI filenames - fixed GH #564: URI::encode - fixed GH #560: DateTime class calculates a wrong day - fixed GH #549: Memory allocation is not safe between fork() and execve() - fixed GH #500: SSLManager causes a crash - fixed GH #490: 2 byte frame with payload length of 0 throws "Incomplete Frame Received" exception - fixed GH #483: multiple cases for sqlite_busy - fixed GH #482: Poco::JSON::Stringifier::stringify bad behaviour - fixed GH #478: HTTPCredentials not according to HTTP spec - fixed GH #471: vs2010 release builds have optimization disabled ? - fixed GH #468: HTTPClientSession/HTTPResponse not forwarding exceptions - fixed GH #438: Poco::File::setLastModified() doesn't work - fixed GH #402: StreamSocket::receiveBytes(FIFOBuffer&) and sendBytes(FIFOBuffer&) are not thread safe - fixed GH #345: Linker warning LNK4221 in Foundation for SignalHandler.obj, String.obj and ByteOrder.obj - fixed GH #331: Poco::Zip does not support files with ".." in the name. - fixed GH #318: Logger local time doesn't automatically account for DST - fixed GH #294: Poco::Net::TCPServerParams::setMaxThreads(int count) will not accept count == 0. - fixed GH #215: develop WinCE build broken - fixed GH #63: Net::NameValueCollection::size() returns int - Poco::Logger: formatting methods now support up to 10 arguments. - added Poco::Timestamp::raw() - Poco::DeflatingOutputStream and Poco::InflatingOutputStreams also flush underlying stream on flush()/sync(). - Poco::Util::Timer: prevent re-schedule of cancelled TimerTask - enabled WinRegistryKey and WinRegistryConfiguration for WinCE - Poco::BasicEvent improvements and preparations for future support of lambdas/std::function - upgraded bundled sqlite to 3.8.7.2 - Poco::Thread: added support for starting functors/lambdas - Poco::Net::HTTPClientSession: added support for global proxy configuration - added support for OAuth 1.0/2.0 via Poco::Net::OAuth10Credentials and Poco::Net::OAuth20Credentials classes. - Poco::Net::IPAddress: fixed IPv6 prefix handling issue on Windows - added Poco::Timestamp::TIMEVAL_MIN and Poco::Timestamp::TIMEVAL_MAX - added Poco::Clock::CLOCKVAL_MIN and Poco::Clock::CLOCKVAL_MAX - added poco_assert_msg() and poco_assert_msg_dbg() macros - Poco::Net::Context: fixed a memory leak if the CA file was not found while creating the Context object (the underlying OpenSSL context would leak) - Poco::URI: added new constructor to create URI from Path - Various documentation and style fixes - Removed support (project/solution files) for Visual Studio.NET 2003 and Visual Studio 2005. - Improved CMake support Release 1.5.4 (2014-10-14) ========================== - fixed GH #326: compile Net lib 1.5.2 without UTF8 support enabled - fixed GH #518: NetworkInterface.cpp compile error w/ POCO_NO_WSTRING (1.5.3) - Fixed MSVC 2010 warnings on large alignment - make HTTPAuthenticationParams::parse() add value on end of string - fixed GH #482: Poco::JSON::Stringifier::stringify bad behaviour - fixed GH #508: Can't compile for arm64 architecture - fixed GH #510: Incorrect RSAKey construction from istream - fix SharedMemory for WinCE/WEC2013 - Add NIOS2 double conversion detection, fixes compile errors - added VS2013 project/solution files for Windows Embedded Compact 2013 - added Process::isRunning() - NetSSL: Fix typo in documentation - NetSSL_OpenSSL: support for TLS 1.1 and 1.2 - Zip: Added CM_AUTO, which automatically selects CM_STORE or CM_DEFLATE based on file extension. Used to avoid double-compression of already compressed file formats such as images. - added %L modifier to PatternFormatter to switch to local time - removed unnecessary explicit in some multi-arg constructors - Allow SecureStreamSocket::attach() to be used in server connections - added Var::isBoolean() and fixed JSON stringifier - added poco_unexpected() macro invoking Bugcheck::unexpected() to deal with unexpected exceptions in destructors - fixed GH #538 prevent destructors from throwing exceptions - improved HTTP server handling of errors while reading header - fixed GH #545: use short for sign - upgraded SQLite to 3.8.6 - fixed GH #550 WebSocket fragmented message problem - improved HTTPClientSession handling of network errors while sending the request - updated bundled PCRE to 8.35.0 - fixed GH #552: FIFOBuffer drain() problem - fixed GH #402: StreamSocket::receiveBytes(FIFOBuffer&) and sendBytes(FIFOBuffer&) are not thread safe - HTTPCookie: fix documentation for max age - added Timestamp::raw() and Clock::raw() - Poco::Buffer properly handles zero-sized buffers - GH #512: Poco:Data:ODBC:Binder.h causes a crash - Added Crypto_Win and NetSSL_Win libraries which are re-implementations of existing Crypto and NetSSL_OpenSSL libraries based on WinCrypt/Schannel. The new libraries can be used as an almost drop-in replacement for the OpenSSL based libraries on Windows and Windows Embedded Compact platforms. Only available from GitHub for now. Release 1.5.3 (2014-06-30) ========================== - fixed GH# 316: Poco::DateTimeFormatter::append() gives wrong result for Poco::LocalDateTime - Poco::Data::MySQL: added SQLite thread cleanup handler - Poco::Net::X509Certificate: improved and fixed domain name verification for wildcard domains - added Poco::Clock class, which uses a system-provided monotonic clock (if available) and is thus not affected by system realtime clock changes. Monotonic Clock is available on Windows, Linux, OS X and on POSIX platforms supporting clock_gettime() and CLOCK_MONOTONIC. - Poco::Timer, Poco::Stopwatch, Poco::TimedNotificationQueue and Poco::Util::Timer have been changed to use Poco::Clock instead of Poco::Timestamp and are now unaffected by system realtime clock changes. - fixed GH# 350: Memory leak in Data/ODBC with BLOB - Correctly set MySQL time_type for Poco::Data::Date. - fixed GH #352: Removed redundant #includes and fixed spelling mistakes. - fixed setting of MYSQL_BIND is_unsigned value. - fixed GH #360: CMakeLists foundation: add Clock.cpp in the list of source files - Add extern "C" around on HPUX platform. - added runtests.sh - fixed CPPUNIT_IGNORE parsing - fixed Glob from start path, for platforms not alowing transverse from root (Android) - added NTPClient (Rangel Reale) - added PowerShell build script - added SmartOS build support - fix warnings in headers - XMLWriter: removed unnecessary apostrophe escaping (&apos) - MongoDB: use Int32 for messageLength - fixed GH #380: SecureSocket+DialogSocket crashes with SIGSEGV when timeout occours - Improve RSADigestEngine, using Poco::Crypto::DigestEngine to calculate hash before signing - added Poco::PBKDF2Engine - Fixed GH #380: SecureSocket+DialogSocket crashes with SIGSEGV when timeout occours - added support for a 'Priority' attribute on cookies. - GH #386: fixed bug in MailMessage without content-transfer-encoding header - GH #384: ew hash algorithms support for RSADigestEngine - fixed Clock overflow bug on Windows - Poco::ByteOrder now uses intrinsics, if available - CMake: added /bigobj option for msvc - Fix typo to restore Net/TestSuite_x64_vs120 build - correct path for CONFIGURE_FILE in CMakeLists.txt - Building Poco 1.5.2 for Synology RS812+ (Intel Atom) (honor POCO_NO_INOTIFY) - added WEC2013 support to buildwin.cmd and buildwin.ps1 - HTMLForm: in URL encoding, percent-encode more characters - Fixed #include conflict with other libraries - Poco::Net::X509Certificate::verify() no longer uses DNS reverse lookups to validate host names - cert hostname validation is case insensitive and stricter for wildcard certificates - TCPServer: do not reduce the capacity of the default ThreadPool - added POCO_LOG_DEBUG flag - Zip: fixed a crash caused by an I/O error - added runtest script for windows - added SQlite Full Text Search support - added Thread::trySleep() and Thread::wakeUp() - fixed GH #410: Bug in JSON::Object.stringify() in 1.5.2 - fixed GH #362: Defect in Var::parseString when there is no space between value and newline - fixed GH #314: JSON parsing bug - added GH #313: MetaColumn additions for Data::ODBC and Data::SQLite - fixed GH #346: Make Poco::Data::Date and Poco::Data::Time compare functions const. - fixed GH #341: Compiling poco-1.5.2 for Cygwin - fixed GH #305: There are bugs in Buffer.h - fixed GH #321: trivial build fixes (BB QNX build) - fixed GH #440: MongoDB ObjectId string formatting - added SevenZip library (Guenter Obiltschnig) - fixed GH #442: Use correct prefix length field of Windows IP_ADAPTER_PREFIX structure - improved GH #328: NetworkInterface on Windows XP - fixed GH #154 Add support for MYSQL_TYPE_NEWDECIMAL to Poco::Data::MySQL - fixed GH #290: Unicode support - fixed GH #318: Logger local time doesn't automatically account for DST - fixed GH #363: DateTimeParser tryParse/parse - added HTMLForm Content-Length calculation (Rangel Reale) - Make TemporaryFile append a slash to tempDir - fixed GH #319 android build with cmake - added hasDelegates() method to AbstractEvent - fixed GH #230: Poco::Timer problem - fixed GH #317: Poco::Zip does not support newer Zip file versions. - fixed GH #176: Poco::JSON::Stringifier UTF encoding - fixed GH #458: Broadcast address and subnet mask for IEEE802.11 network interface - fixed GH #456: poco: library install dirs per RUNTIME/LIBRARY/ARCHIVE Release 1.5.2 (2013-09-16) ========================== - added MongoDB library - fixed GH #57: poco-1.5.1: Doesn't compile for Android - added VoidEvent (Arturo Castro) - fixed GH #80: NumberFormatter::append broken - fixed GH #93: ParallelSocketAcceptor virtual functions - optional small object optimization for IPAddress, SocketAddress, Any and Dynamic::Var - SQLite events (insert, update, delete, commit, rollback) handlers - merged GH #91: Improve SQLite multi-threaded use (Rangel Reale) - merged GH #86: Invalid pointers to vector internals (Adrian Imboden) - automatic library initialization macros - fixed GH #110: WebSocket accept() fails when Connection header contains multiple tokens - fixed GH #71: WebSocket and broken Timeouts (POCO_BROKEN_TIMEOUTS) - fixed a warning in Poco/Crypto/OpenSSLInitializer.h - fixed GH #109: Bug in Poco::Net::SMTPClientSession::loginUsingPlain - added clang libc++ build configurations for Darwin and iPhone (Andrea Bigagli) - fixed GH #116: Wrong timezone parsing in DateTimeParse (Matej Knopp) - fixed GH #118: JSON::Object::stringify endless loop - added Recursive and SortedDirectoryIterator (Marian Krivos) - added ListMap (map-like container with preserving insertion order) - MailMessage: attachments saving support and consistent read/write - fixed GH #124: Possible buffer overrun in Foundation/EventLogChannel - fixed GH #119: JSON::Object holds values in ordered map - added JSON::PrintHandler - renamed JSON::DefaultHandler to ParseHandler (breaking change!) - fixed GH #127: Eliminate -Wshadow warnings - fixed GH #79: Poco::Thread leak on Linux - fixed GH #61: static_md build configs for Crypto and NetSSL - fixed GH #130: prefer sysconf over sysctlbyname - fixed GH #131: no timezone global var on OpenBSD - fixed GH #102: Some subprojects don't have x64 solutions for VS 2010 - added GH #75: Poco::Uri addQueryParameter method - Poco::Environment::osDisplayName() now recognizes Windows 8/Server 2012 - fixed GH #140: Poco::Runnable threading cleanup issue - simplified default TCP/HTTPServer construction - fixed GH #141: Application::run() documentation/implementation discrepancy - changed RowFormatter to SharedPtr in Data::RecordSet interface (breaking change!) - fixed GH #144: Poco::Dynamic emits invalid JSON - removed naked pointers from Data interfaces - fixed GH #82: name conflict in Data::Keywords::bind - fixed GH #157: MySQL: cannot bind to 'long' data type on Windows/Visual C++ - fixed GH #158: MySQL: MYSQL_BIND 'is_unsigned' member is not set - fixed GH #160: MultipartReader ignores first part, if preamble is missing - fixed GH #156: Possible buffer overrun in Foundation/EventLogChannel - XML: fixed an issue with parsing a memory buffer > 2 GB - upgraded to expat 2.1.0 - Data/ODBC: added support for setting query timeout (via setProperty of "queryTimeout"). Timeout is int, given in seconds. - fixed a potential endless loop in SecureStreamSocketImpl::sendBytes() and also removed unnecessary code. - fixed GH #159: Crash in openssl CRYPTO_thread_id() after library libPocoCrypto.so has been unloaded. - fixed GH #155: MailOutputStream mangles consecutive newline sequences - fixed GH #139: FileChannel::PROP_FLUSH is invalid (contains a tab character) - fixed GH #173: HTTPClientSession::proxyConnect forces DNS lookup of host names - fixed GH #194: MessageNotification constructor is inefficient. - fixed GH #189: Poco::NumberParser::tryParse() documentation bug - fixed GH #172: IPv6 Host field is stripped of Brackets in HTTPClientSession - fixed GH #188: Net: SocketAddress operator < unusable for std::map key - fixed GH #128: DOMWriter incorrectly adds SYSTEM keyword to DTD if PUBLIC is already specified - fixed GH #65: Poco::format() misorders sign and padding specifiers - upgraded bundled SQLite to 3.7.17 - replaced JSON parser with Poco::Web::JSON parser (from sandbox) - added JSON conversion to Dynamic Struct and Array - added VarIterator - modified behavior of empty Var (empty == empty) - added Alignment.h header for C++03 alignment needs - added Data/WebNotifier (DB, WebSocket) example - fixed GH #209: Poco::NumberFormatter double length - fixed GH #204: Upgrade zlib to 1.2.8 - fixed GH #198: The "application.configDir" property is not always created. - fixed GH #185: Poco::NumberFormatter::format(double value, int precision) ignore precision == 0 - fixed GH #138: FreeBSD JSON tests fail - fixed GH #99: JSON::Query an JSON::Object - limited allowed types for JSON::Query to Object, Array, Object::Ptr, Array::Ptr and empty - fixed GH #175: HTMLForm does not read URL parameters on POST or PUT - added GH #187: MySQL: allow access to the underlying connection handle - added GH #186: MySQL: support for MYSQL_SECURE_AUTH - fixed GH #174: MySQL: 4GB allocated when reading any largetext or largeblob field - fixed a potential memory leak in Poco::Net::HTTPClientSession if it is misused (e.g., sendRequest() is sent two times in a row without an intermediate call to receiveResponse(), or by calling receiveResponse() two times in a row without an intermediate call to sendRequest()) - GH #217 - removed a few unnecessary protected accessor methods from Poco::Net::HTTPClientSession that would provide inappropriate access to internal state - merged GH #210: Don't call CloseHandle() twice on Windows; Ability to select the threadpool that will be used to start an Activity(Patrice Tarabbia) - fixed GH #212: JSONConfiguration was missing from the vs90 project(Patrice Tarabbia) - fixed GH #220: add qualifiers for FPEnvironment in C99 (Lucas Clemente) - fixed GH #222: HTTPCookie doesn't support expiry times in the past (Karl Reid) - fixed GH #224: building 1.5.1 on Windows for x64 - fixed GH# 233: ServerSocket::bind6(Poco::UInt16 port, bool reuseAddress, bool ipV6Only) does not work - fixed GH# 231: Compatibility issue with Poco::Net::NetworkInterface - fixed GH# 236: Bug in RecursiveDirectoryIterator - added ColorConsoleChannel and WindowsColorConsoleChannel classes supporting colorizing log messages - fixed GH# 259: Poco::EventLogChannel fails to find 64bit Poco Foundation dll - fixed GH# 254: UTF8::icompare unexpected behavior - Poco::UUID::tryParse() also accepts UUIDs without hyphens. Also updated documentation (links to specifications). - added GH# 268: Method to get JSON object value using Poco::Nullable - fixed GH# 267: JSON 'find' not returning empty result if object is expected but another value is found - Added support for ARM64 architecture and iPhone 5s 64-bit builds (POCO_TARGET_OSARCH=arm64). Release 1.5.1 (2013-01-11) ========================== - using double-conversion library for floating-point numeric/string conversions - added Poco::istring (case-insensitive string) and Poco::isubstr - added SQLite sys.dual (in-memory system table) - applied SF Patch #120: The ExpireLRUCache does not compile with a tuple as key on Visual Studio 2010 - fixed SF Bug #599: JSON::Array and JSON::Object size() member can implicitly lose precision - fixed SF Bug #602: iterating database table rows not correct if no data in table - fixed SF Bug #603: count() is missing in HashMap - fixed GH #23: JSON::Object::stringify throw BadCastException - fixed GH #16: NetworkInterface::firstAddress() should not throw on unconfigured interfaces - Android compile/build support (by Rangel Reale) - TypeHandler::prepare() now takes const-reference - fixed GH #27: Poco::URI::decode() doesn't properly handle '+' - fixed GH #31: JSON implementation bug - fixed SF #597: Configure script ignores cflags - fixed SF #593: Poco 1.5.0 on FreeBSD: cannot find -ldl - added SF #542: SocketAddress() needs port-only constructor - fixed SF #215: Wrong return type in SocketConnector.h - applied SF Patch #97: fix c++0x / clang++ bugs - fixed GH32/SF596: Poco::JSON: Parsing long integer (int64) value fails. - added Net ifconfig sample (contributed by Philip Prindeville) - merged GH #34: add algorithm header (Roger Meier/Philip Prindeville) - fixed GH #26: Cannot compile on gcc - merged SF #111: FTP Client logging (Marian Krivos) - fixed GH #30: Poco::Path::home() throws when called from Windows Service - fixed GH #22: MySQL connection string lowercased - added MySQL support for Date/Time - upgraded SQLite to version 3.7.15.1 (2012-12-19) - improved SQLite execute() return (affected rows) value and added tests - added SQLite::Utility::isThreadSafe() function - added SQLite::Utility::setThreadMode(int mode) function - fixed GH #36: 'distclean' requires 3 traversals of project tree - fixed GH #41: Buffer::resize crash - fixed GH #42: Linux unbundled builds don't link - fixed GH #44: Problems with win x64 build - fixed GH #46: 1.5.1 build fails on OS X when using libc++ - fixed GH #48: Need getArgs() accessor to Util::Application to retrieve start-up arguments - fixed GH #49: NetworkInterface::list doesn't return MAC addresses - fixed GH #51: Android should use isfinite, isinf, isnan and signbit from the std namespace - fixed GH #53: JSON unicode fixes and running tests on invalid unicode JSON - added ParallelAcceptor and ParallelReactor classes - added EOF and error to FIFOBuffer Release 1.5.0 (2012-10-14) ========================== - added JSON library - added Util::JSONConfiguration - added FIFOBuffer and FIFOBufferStream - fixed SF# 3522906: Unregistering handlers from SocketReactor - fixed SF# 3522084: AbstractConfiguration does not support 64-bit integers - HTTPServer::stopAll(): close the socket instead of just shutting it down, as the latter won't wake up a select() on Windows - added SMTPLogger - added cmake support - fixed SF#3538778: NetworkInterface enumeration uses deprecated API - fixed SF#3538779: IPAddress lacks useful constructors: from prefix mask, native SOCKADDR - fixed SF#3538780: SocketAddress needs operator < function - fixed SF#3538775: Issues building on Fedora/Centos, etc. for AMD64 - fixed SF#3538786: Use size_t for describing data-blocks in DigestEngine - added IPAddress bitwise operators (&,|,^,~) - added IPAddress BinaryReader/Writer << and >> operators - modified IPAddress to force IPv6 to lowercase (RFC 5952) - fixed SF#3538785: SMTPClientSession::sendMessage() should take recipient list - added IPAddress::prefixLength() - UTF portability improvements - fixed SF#3556186: Linux shouldn't use in Net/SocketDefs.h - added IPAddress RFC 4291 compatible site-local prefix support - fixed SF#3012166: IPv6 patch - added SF#3558085: Add formatter to MACAddress object - fixed SF#3552774: Don't hide default target in subordinate makefile - fixed SF#3534307: Building IPv6 for Linux by default - fixed SF#3516844: poco missing symbols with external >=lipcre-8.13 - added SF#3544720: AbstractConfigurator to support 64bit values - fixed SF#3522081: WinRegistryConfiguration unable to read REG_QWORD values - fixed SF#3563626: For Win32 set Up/Running flags on NetworkInterface - fixed SF#3560807: Deprecate setPeerAddress() as this is now done in getifaddrs - fixed SF#3560776: Fix byte-ordering issues with INADDR_* literals - fixed SF#3563627: Set IP address on multicast socket from socket family - fixed SF#3563999: Size BinaryWriter based on buffer's capacity(), not size() - fixed SF#102 Fix building Poco on Debian GNU/kFreeBSD - fixed SF#321 Binding DatTime or Timestamp - fixed SF#307 Detect the SQL driver type at run time - added VS 2012 Projects/Solutions - enhanced and accelerated numeric parsing for integers and floats - fixed SF#590 Segfault on FreeBSD when stack size not rounded - added warn function and warnmsg macro in CppUnit - fixed SF# 3558012 Compilation fails when building with -ansi or -std=c++0x - fixed SF# 3563517 Get rid of loss-of-precision warnings on x64 MacOS - fixed SF#3562244: Portability fix for AF_LINK - fixed SF #3562400: DatagramSocketImpl comment is incorrect Release 1.4.7p1 (2014-11-25) ============================ - Fixed Visual C++ 2010-2013 project files. Release builds now have optimization enabled. - Poco::URI: added constructor to create URI from Path. - fixed GH #618: OS X 10.10 defines PAGE_SIZE macro, conflicts with PAGE_SIZE in Thread_POSIX.cpp - Poco::Net::HTTPClientSession: added support for global proxy configuration - fixed GH #331: Poco::Zip does not support files with .. in the name. - fixed a memory leak in Poco::Net::Context constructor when it fails to load the certificate or private key files. - upgraded bundled SQLite to 3.8.7.2 - fixed GH #229: added missing value() function - fixed GH #69: MySQL empty text/blob Release 1.4.7 (2014-10-06) ========================== - fixed GH #398: PropertyFileConfiguration: input != output - fixed GH #368: Build failure of Poco 1.4.6p2 on FreeBSD 9.2 - fixed GH #318: Logger local time doesn't automatically account for DST - fixed GH #317: Poco::Zip does not support newer Zip file versions. - fixed GH #454: Fix: handle unhandled exceptions - fixed GH #463: XML does not compile with XML_UNICODE_WCHAR_T - fixed GH #282: Using Thread in a global can cause crash on Windows - fixed GH #424: Poco::Timer deadlock - fixed GH #465: Fix result enum type XML_Error -> XML_Status - fixed GH #510: Incorrect RSAKey construction from istream - fixed GH #332: POCO::ConsoleChannnel::initColors() assigns no color to PRIO_TRACE and wrong color to PRIO_FATAL - fixed GH #550: WebSocket fragmented message problem - Poco::Data::MySQL: added SQLite thread cleanup handler - Poco::Net::X509Certificate: improved and fixed domain name verification for wildcard domains - fixed a crash in Foundation testsuite with Visual C++ 2012 - improved and fixed domain name verification for wildcard domains in Poco::Net::X509Certificate - updated TwitterClient sample to use new 1.1 API and OAuth - added Poco::Clock class, which uses a system-provided monotonic clock (if available) and is thus not affected by system realtime clock changes. Monotonic Clock is available on Windows, Linux, OS X and on POSIX platforms supporting clock_gettime() and CLOCK_MONOTONIC. - Poco::Timer, Poco::Stopwatch, Poco::TimedNotificationQueue and Poco::Util::Timer have been changed to use Poco::Clock instead of Poco::Timestamp and are now unaffected by system realtime clock changes. - added Poco::PBKDF2Engine class template - Poco::Net::HTTPCookie: added support for Priority attribute (backport from develop) - fixed makedepend.* scripts to work in paths containing '.o*' (contributed by Per-Erik Bjorkstad, Hakan Bengtsen) - Upgraded bundled SQLite to 3.8.6 - Support for Windows Embedded Compact 2013 (Visual Studio 2012) - Project and solution files for Visual Studio 2013 - Changes for C++11 compatibility. - fixed an issue with receiving empty web socket frames (such as ping) - improved error handling in secure socket classes - Poco::ByteOrder now uses intrinsics if available - added new text encoding classes: Latin2Encoding, Windows1250Encoding, Windows1251Encoding - Zip: Added CM_AUTO, which automatically selects CM_STORE or CM_DEFLATE based on file extension. Used to avoid double-compression of already compressed file formats such as images. Release 1.4.6p4 (2014-04-18) ============================ - no longer use reverse DNS lookups for cert hostname validation - cert hostname validation is case insensitive and more strict - HTMLForm: in URL encoding, percent-encode more special characters - fixed thread priority issues on POSIX platforms with non-standard scheduling policy - XMLWriter no longer escapes apostrophe character - fixed GH #316: Poco::DateTimeFormatter::append() gives wrong result for Poco::LocalDateTime - fixed GH #305 (memcpy in Poco::Buffer uses wrong size if type != char) - Zip: fixed a crash caused by an I/O error (e.g., full disk) while creating a Zip archive Release 1.4.6p3 (2014-04-02) ============================ - Fixed a potential security vulnerability in client-side X509 certificate verification. Release 1.4.6p2 (2013-09-16) ============================ - fixed GH #156: Possible buffer overrun in Foundation/EventLogChannel - XML: fixed an issue with parsing a memory buffer > 2 GB - upgraded to expat 2.1.0 - Data/ODBC: added support for setting query timeout (via setProperty of "queryTimeout"). Timeout is int, given in seconds. - fixed a potential endless loop in SecureStreamSocketImpl::sendBytes() and also removed unnecessary code. - fixed GH #159: Crash in openssl CRYPTO_thread_id() after library libPocoCrypto.so has been unloaded. - fixed GH #155: MailOutputStream mangles consecutive newline sequences - fixed GH# 139: FileChannel::PROP_FLUSH is invalid (contains a tab character) - fixed GH# 173: HTTPClientSession::proxyConnect forces DNS lookup of host names - fixed GH# 194: MessageNotification constructor is inefficient. - fixed GH# 189: Poco::NumberParser::tryParse() documentation bug - fixed GH# 172: IPv6 Host field is stripped of Brackets in HTTPClientSession - fixed GH# 188: Net: SocketAddress operator < unusable for std::map key - fixed GH# 128: DOMWriter incorrectly adds SYSTEM keyword to DTD if PUBLIC is already specified - fixed GH# 65: Poco::format() misorders sign and padding specifiers - upgraded bundled SQLite to 3.7.17 - upgraded bundled zlib to 1.2.8 - fixed a potential memory leak in Poco::Net::HTTPClientSession if it is misused (e.g., sendRequest() is sent two times in a row without an intermediate call to receiveResponse(), or by calling receiveResponse() two times in a row without an intermediate call to sendRequest()) - GH #217 - removed a few unnecessary protected accessor methods from Poco::Net::HTTPClientSession that would provide inappropriate access to internal state - fixed GH# 223 (Poco::Net::HTTPCookie does not support expiry times in the past) - fixed GH# 233: ServerSocket::bind6(Poco::UInt16 port, bool reuseAddress, bool ipV6Only) does not work - added ColorConsoleChannel and WindowsColorConsoleChannel classes supporting colorizing log messages - fixed GH# 259: Poco::EventLogChannel fails to find 64bit Poco Foundation dll - fixed GH# 254: UTF8::icompare unexpected behavior - Poco::UUID::tryParse() also accepts UUIDs without hyphens. Also updated documentation (links to specifications). - Added support for ARM64 architecture and iPhone 5s 64-bit builds (POCO_TARGET_OSARCH=arm64). Release 1.4.6p1 (2013-03-06) ============================ - fixed GH# 71: WebSocket and broken Timeouts (POCO_BROKEN_TIMEOUTS) - fixed an ambiguity error with VC++ 2010 in Data/MySQL testsuite - Poco::Net::NetworkInterface now provides the interface index even for IPv4 - added DNS::reload() as a wrapper for res_init(). - On Linux, Poco::Environment::nodeId() first always tries to obtain the MAC address of eth0, before looking for other interfaces. - Poco::Net::HTTPSession now always resets the buffer in connect() to clear any leftover data from a (failed) previous session - fixed copysign namespace issue in FPEnvironment_DUMMY.h - fixed a warning in Poco/Crypto/OpenSSLInitializer.h - added a build configuration for BeagleBoard/Angstrom - fixed GH# 109: Bug in Poco::Net::SMTPClientSession::loginUsingPlain) - fixed compile errors with clang -std=c++11 - fixed GH# 116: Wrong timezone parsing in DateTimeParse (fix by Matej Knopp) - updated bundled SQLite to 3.7.15.2 Release 1.4.6 (2013-01-10) ========================== - changed FPEnvironment_DUMMY.h to include instead of - updated bundled SQLite to 3.7.15.1 - fixed GH# 30: Poco::Path::home() throws - fixed SF Patch# 120 The ExpireLRUCache does not compile with a tuple as key on VS2010 - fixed SF# 603 count() is missing in HashMap - Crypto and NetSSL_OpenSSL project files now use OpenSSL *MD.lib library files for static_md builds. Previously, the DLL import libs were used. - Poco::Environment::osDisplayName() now recognizes Windows 8/Server 2012 Release 1.4.5 (2012-11-19) ========================== - added Visual Studio 2012 project files - buildwin.cmd now support building with msbuild for VS2010 and 2012. - added Poco::Optional class - fixed SF# 3558012 Compilation fails when building with -ansi or -std=c++0x - fixed SF# 3563517 Get rid of loss-of-precision warnings on x64 MacOS - fixed SF# 3562244: Portability fix for AF_LINK - fixed SF# 3562400: DatagramSocketImpl comment - fixed SF# 594: Websocket fails with small masked payloads - fixed SF# 588: Missing POCO_ARCH and POCO_ARCH_LITTLE_ENDIAN define for WinCE on SH4 - fixed SF# 581: Out-of-bound array access in Unicode::properties() function. - fixed SF# 590: Segfault on FreeBSD when stack size not rounded - fixed SF# 586: Poco::DateTimeParser and ISO8601 issues when seconds fraction has more than 6 digits - Poco::Net::HTTPSSessionInstantiator::registerInstantiator() now optionally accepts a Poco::Net::Context object. - added Poco::XML::XMLWriter::depth() member function. - added Poco::XML::XMLWriter::uniquePrefix() and Poco::XML::XMLWriter::isNamespaceMapped(). - Poco::FileChannel now supports a new rotateOnOpen property (true/false) which can be used to force rotation of the log file when it's opened. - fixed a bug in Poco::XML::XMLWriter::emptyElement(): need to pop namespace context - OS X builds now use Clang as default compiler - Updated SQLite to 3.7.14.1 - POCO_SERVER_MAIN macro now has a try ... catch block for Poco::Exception and writes the displayText to stderr. - Poco/Platform.h now defines POCO_LOCAL_STATIC_INIT_IS_THREADSAFE macro if the compiler generates thread-safe static local initialization code. Release 1.4.4 (2012-09-03) ========================== - ZipStream now builds correctly in unbundled build. - added proxy digest authentication support to Net library - integrated MySQL BLOB fixes from Franky Braem. - use standard OpenSSL import libraries (libeay32.lib, ssleay32.lib) for Crypto and NetSSL_OpenSSL Visual Studio project files. - fixed a potential buffer corruption issue in Poco::Net::SecureStreamSocket if lazy handshake is enabled and the first attempt to complete the handshake fails - Poco::DateTimeParser::tryParse() without format specifier now correctly parses ISO8601 date/times with fractional seconds. - Poco::Process::launch() now has additional overloads allowing to specify an initial directory and/or environment. - Poco::Net::FTPClientSession: timeout was not applied to data connection, only to control connection. - Fixed potential IPv6 issue with socket constructors if IPv6 SocketAddress is given (contributed by ??????? ????????? ). - Added an additional (optional) parameter to Poco::Thread::setOSPriority() allowing to specify a scheduling policy. Currently this is only used on POSIX platforms and allows specifying SCHED_OTHER (default), SCHED_FIFO or SCHED_RR, as well as other platform-specific policy values. - Added Poco::Crypto::DigestEngine class providing a Poco::DigestEngine interface to the digest algorithms provided by OpenSSL. - Fixed some potential compiler warnings in Crypto library - In some cases, when an SSL exception was unexpectedly closed, a generic Poco::IOException was thrown. This was fixed to throw a SSLConnectionUnexpectedlyClosedException instead. - Added Poco::ObjectPool class template. - Poco::Net::HTTPServer has a new stopAll() method allowing stopping/aborting of all currently active client connections. - The HTTP server framework now actively prevents sending a message body in the response to a HEAD request, or in case of a 204 No Content or 304 Not Modified response status. - fixed a DOM parser performance bug (patch by Peter Klotz) - fixed SF# 3559325: Util Windows broken in non-Unicode - updated iOS build configuration to use xcode-select for finding toolchain - Poco::Net::SecureSocketImpl::shutdown() now also shuts down the underlying socket. - fixed SF# 3552597: Crypto des-ecb error - fixed SF# 3550553: SecureSocketImpl::connect hangs - fixed SF# 3543047: Poco::Timer bug for long startInterval/periodic interval - fixed SF# 3539695: Thread attributes should be destroyed using the pthread_attr_destroy() - fixed SF# 3532311: Not able to set socket option on ServerSocket before bind Added Poco::Net::Socket::init(int af) which can be used to explicitely initialize the underlying socket before calling bind(), connect(), etc. - fixed SF# 3521347: Typo in UnWindows.h undef - fixed SF# 3519474: WinRegistryConfiguration bug Also added tests and fixed another potential issue with an empty root path passed to the constructor. - fixed SF# 3516827: wrong return value of WinRegistryKey::exists() - fixed SF# 3515284: RSA publickey format(X.509 SubjectPublicKeyInfo) - fixed SF# 3503267: VxWorks OS prio is not set in standard constructor - fixed SF# 3500438: HTTPResponse failure when reason is empty - fixed SF# 3495656: numberformater, numberparser error in mingw - fixed SF# 3496493: Reference counting broken in TaskManager postNotification - fixed SF# 3483174: LogFile flushing behavior on Windows Flushing is now configurable for FileChannel and SimpleFileChannel using the "flush" property (true or false). - fixed SF# 3479561: Subsequent IPs on a NIC is not enumerated - fixed SF# 3478665: Permission checks in Poco::File not correct for root - fixed SF# 3475050: Threading bug in initializeNetwork() on Windows - fixed SF# 3552680: websocket small frames bug and proposed fix - fixed a WebSocket interop issue with Firefox - added Poco::Net::MessageHeader::hasToken() - Poco::AtomicCounter now uses GCC 4.3 builtin atomics on more platforms - fixed SF# 3555938: NetSSL: socket closed twice - socket exceptions now include OS error code - fixed SF# 3556975: Need to fix Shared Memory for memory map - Poco::Net::SecureSocketImpl::close() now catches exceptions thrown by its call to shutdown(). - fixed SF# 3535990: POCO_HAVE_IPv6 without POCO_WIN32_UTF8 conflict - fixed SF# 3559665: Poco::InflatingInputStream may not always inflate completely - added Poco::DirectoryWatcher class - fixed SF# 3561464: Poco::File::isDevice() can throw due to sharing violation - Poco::Zip::Compress::addRecursive() has a second variant that allows to specify the compression method. - Upgraded internal SQLite to 3.7.14 Release 1.4.3p1 (2012-01-23) ============================ - fixed SF# 3476926: RegDeleteKeyEx not available on Windows XP 32-bit Release 1.4.3 (2012-01-16) ========================== - fixed a compilation error with Data/MySQL on QNX. - fixed Util project files for WinCE (removed sources not compileable on CE) - removed MD2 license text from Ackowledgements document - fixed iPhone build config for Xcode 4.2 (compiler name changed to llvm-g++) - Poco::Util::XMLConfiguration: delimiter char (default '.') is now configurable. This allows for working with XML documents having element names with '.' in them. - Poco::Util::OptionProcessor: Required option arguments can now be specified as separate command line arguments, as in "--option value" in addition to the "--option=value" format. - Poco::Util::HelpFormatter: improved option help formatting if indentation has been set explicitely. - added Mail sample to NetSSL_OpenSSL, showing use of Poco::Net::SecureSMTPClientSession. - added additional read() overloads to Poco::Net::HTMLForm. - fixed SF# 3440769: Poco::Net::HTTPResponse doesn't like Amazon EC2 cookies. - added support for requiring TLSv1 to Poco::Net::Context. - added an additional constructor to Poco::Net::HTTPBasicCredentials, allowing the object to be created from a string containing a base64-encoded, colon-separated username and password. - Poco::Zip::ZipStreamBuf: fixed a crash if CM_STORE was used. - Added setContentLength64() and getContentLength64() to Poco::Net::HTTPMessage. - added Poco::Environment::osDisplayName(). - fixed SF# 3463096: WinService leaves dangling handles (open() now does not reopen the service handle if it's already open) - fixed SF# 3426537: WinRegistryConfiguration can't read virtualized keys - added Poco::Buffer::resize() - fixed SF# 3441822: thread safety issue in HTTPClientSession: always use getaddrinfo() instead of gethostbyname() on all platforms supporting it - added version resource to POCO DLLs - fixed SF# 3440599: Dir Path in Quotes in PATH cause PathTest::testFind to fail. - fixed SF# 3406030: Glob::collect problem - added Poco::Util::AbstractConfiguration::enableEvents() - Poco::AtomicCounter now uses GCC builtins with GCC 4.1 or newer (contributed by Alexey Milovidov) - made Poco::Logger::formatDump() public as it may be useful for others as well (SF# 3453446) - Poco::Net::DialogSocket now has a proper copy constructor (SF# 3414602) - Poco::Net::MessageHeader and Poco::Net::HTMLForm now limit the maximum number of fields parsed from a message to prevent certain kinds of denial-of-service attacks. The field limit can be changed with the new method setFieldLimit(). The default limit is 100. - Poco::NumberFormatter, Poco::NumberParser and Poco::format() now always use the classic ("C") locale to format and parse floating-point numbers. - added Poco::StreamCopier::copyStream64(), Poco::StreamCopier::copyStreamUnbuffered64() and Poco::StreamCopier::copyToString64(). These functions use a 64-bit integer to count the number of bytes copied. - upgraded internal zlib to 1.2.5 - upgraded internal sqlite to 3.7.9 - XML: integrated bugfix for Expat bug# 2958794 (memory leak in poolGrow) - Added support for HTTP Digest authentication (based on a contribution by Anton V. Yabchinskiy (arn at bestmx dot ru)). For information on how to use this, see the Poco::Net::HTTPCredentials, Poco::Net::HTTPDigestCredentials and Poco::Net::HTTPAuthenticationParams classes. - Poco::Net::HTTPStreamFactory and Poco::Net::HTTPSStreamFactory now support Basic and Digest authentication. Username and password must be provided in the URI. - added Poco::Net::WebSocket, supporting the WebSocket protocol as described in RFC 6455 - NetSSL_OpenSSL: added client-side support for Server Name Indication. Poco::Net::SecureSocketImpl::connectSSL() now calls SSL_set_tlsext_host_name() if its available (OpenSSL 9.8.6f and later). - added Poco::Net::HTTPClientSession::proxyConnect() (factored out from Poco::Net::HTTPSClientSession::connect()) - added Poco::Process::kill(const Poco::ProcessHandle&) which is preferable to kill(pid) on Windows, as process IDs on Windows may be reused. - fixed SF# 3471463: Compiler warnings with -Wformat - Poco::Util::Application::run() now catches and logs exceptions thrown in initialize() - Fixed a WinCE-specific bug in Poco::Util::ServerApplication where uninitialize() would be called twice. - fixed SF# 3471957: WinRegistryKey::deleteKey() unable to delete alt views - Added additional constructor to Poco::ScopedLock and Poco::ScopedLockWithUnlock accepting a timeout as second argument. - Added Poco::Logger::parseLevel() - Poco::format(): an argument that does not match the format specifier no longer results in a BadCastException. The string [ERRFMT] is written to the result string instead. - PageCompiler: added createSession page attribute. --- databases/poco-data-mysql/Makefile | 3 +- databases/poco-data-mysql/PLIST | 13 ++- databases/poco-data-mysql/buildlink3.mk | 6 +- databases/poco-data-odbc/Makefile | 12 +-- databases/poco-data-odbc/PLIST | 15 +-- databases/poco-data-sqlite/Makefile | 3 +- databases/poco-data-sqlite/PLIST | 15 ++- databases/poco-data-sqlite/buildlink3.mk | 6 +- databases/poco-data/Makefile | 3 +- databases/poco-data/PLIST | 52 ++++++---- databases/poco-data/buildlink3.mk | 6 +- devel/poco/Makefile | 3 +- devel/poco/Makefile.common | 11 ++- devel/poco/PLIST | 94 ++++++++++++++----- devel/poco/buildlink3.mk | 6 +- devel/poco/distinfo | 29 +++--- devel/poco/patches/patch-Foundation_Makefile | 15 +++ ...oundation_include_Poco_RegularExpression.h | 26 +++++ .../patch-Foundation_src_SharedMemory.cpp | 14 --- .../patch-Foundation_src_pcre__internal.h | 37 ++++++++ devel/poco/patches/patch-ab | 10 +- devel/poco/patches/patch-ac | 12 +-- devel/poco/patches/patch-af | 83 ---------------- devel/poco/patches/patch-ag | 10 +- devel/poco/patches/patch-ah | 10 +- devel/poco/patches/patch-build_config_Linux | 10 +- .../poco/patches/patch-build_config_SunOS-GCC | 6 +- devel/poco/patches/patch-build_rules_compile | 15 +++ 28 files changed, 287 insertions(+), 238 deletions(-) create mode 100644 devel/poco/patches/patch-Foundation_Makefile create mode 100644 devel/poco/patches/patch-Foundation_include_Poco_RegularExpression.h delete mode 100644 devel/poco/patches/patch-Foundation_src_SharedMemory.cpp create mode 100644 devel/poco/patches/patch-Foundation_src_pcre__internal.h delete mode 100644 devel/poco/patches/patch-af create mode 100644 devel/poco/patches/patch-build_rules_compile diff --git a/databases/poco-data-mysql/Makefile b/databases/poco-data-mysql/Makefile index 8710b97c85816..96ec7515aaa55 100644 --- a/databases/poco-data-mysql/Makefile +++ b/databases/poco-data-mysql/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.9 2014/02/12 23:17:40 tron Exp $ +# $NetBSD: Makefile,v 1.10 2016/01/16 12:15:12 ryoon Exp $ # PKGNAME= poco-data-mysql-${POCO_VERSION} -PKGREVISION= 3 CATEGORIES= databases COMMENT= POCO C++ MySQL RDBMS Accessor libraries diff --git a/databases/poco-data-mysql/PLIST b/databases/poco-data-mysql/PLIST index 10c3d46eca5e8..971eeb8cd71a1 100644 --- a/databases/poco-data-mysql/PLIST +++ b/databases/poco-data-mysql/PLIST @@ -1,15 +1,14 @@ -@comment $NetBSD: PLIST,v 1.2 2011/10/17 02:10:31 schnoebe Exp $ -include/Poco/Data/MySQL/MySQLException.h -include/Poco/Data/MySQL/Connector.h +@comment $NetBSD: PLIST,v 1.3 2016/01/16 12:15:12 ryoon Exp $ include/Poco/Data/MySQL/Binder.h -include/Poco/Data/MySQL/ResultMetadata.h +include/Poco/Data/MySQL/Connector.h include/Poco/Data/MySQL/Extractor.h include/Poco/Data/MySQL/MySQL.h +include/Poco/Data/MySQL/MySQLException.h include/Poco/Data/MySQL/MySQLStatementImpl.h +include/Poco/Data/MySQL/ResultMetadata.h include/Poco/Data/MySQL/SessionHandle.h include/Poco/Data/MySQL/SessionImpl.h include/Poco/Data/MySQL/StatementExecutor.h -lib/libPocoDataMySQLd.so.11 -lib/libPocoDataMySQL.so.11 -lib/libPocoDataMySQLd.so +include/Poco/Data/MySQL/Utility.h lib/libPocoDataMySQL.so +lib/libPocoDataMySQL.so.31 diff --git a/databases/poco-data-mysql/buildlink3.mk b/databases/poco-data-mysql/buildlink3.mk index e6749ee013790..3eb522f006af2 100644 --- a/databases/poco-data-mysql/buildlink3.mk +++ b/databases/poco-data-mysql/buildlink3.mk @@ -1,12 +1,12 @@ -# $NetBSD: buildlink3.mk,v 1.6 2014/02/12 23:17:40 tron Exp $ +# $NetBSD: buildlink3.mk,v 1.7 2016/01/16 12:15:12 ryoon Exp $ BUILDLINK_TREE+= poco-data-mysql .if !defined(POCO_DATA_MYSQL_BUILDLINK3_MK) POCO_DATA_MYSQL_BUILDLINK3_MK:= -BUILDLINK_API_DEPENDS.poco-data-mysql+= poco-data-mysql>=1.3.5 -BUILDLINK_ABI_DEPENDS.poco-data-mysql+= poco-data-mysql>=1.4.2p1nb3 +BUILDLINK_API_DEPENDS.poco-data-mysql+= poco-data-mysql>=1.6.1 +BUILDLINK_ABI_DEPENDS.poco-data-mysql+= poco-data-mysql>=1.6.1 BUILDLINK_PKGSRCDIR.poco-data-mysql?= ../../databases/poco-data-mysql .include "../../mk/mysql.buildlink3.mk" diff --git a/databases/poco-data-odbc/Makefile b/databases/poco-data-odbc/Makefile index 192188069dd49..b99318be7d652 100644 --- a/databases/poco-data-odbc/Makefile +++ b/databases/poco-data-odbc/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.9 2015/04/26 11:52:18 ryoon Exp $ +# $NetBSD: Makefile,v 1.10 2016/01/16 12:15:12 ryoon Exp $ # PKGNAME= poco-data-odbc-${POCO_VERSION} -PKGREVISION= 3 CATEGORIES= databases COMMENT= POCO C++ ODBC RDBMS Accessor libraries @@ -14,6 +13,8 @@ CONFIGURE_ARGS+= --omit=Data/MySQL,Data/SQLite,Zip,XML CONFIGURE_ARGS+= --omit=Foundation,Net,NetSSL_OpenSSL CONFIGURE_ARGS+= --no-tests CONFIGURE_ARGS+= --no-samples +CONFIGURE_ARGS+= --odbc-lib=${BUILDLINK_PREFIX.unixodbc}/lib +CONFIGURE_ARGS+= --odbc-include=${BUILDLINK_PREFIX.unixodbc}/include USE_TOOLS+= pax @@ -29,13 +30,6 @@ do-install: cd ${WRKSRC}/Data/ODBC && \ ${PAX} -rw -v -pp include ${DESTDIR}${PREFIX} -SUBST_CLASSES+= paths -SUBST_MESSAGE.paths= pkgsrc-izing paths -SUBST_STAGE.paths= post-patch -SUBST_FILES.paths= Data/ODBC/Makefile -SUBST_SED.paths= -e 's,@ODBCLIBDIR@,${BUILDLINK_DIR}/${BUILDLINK_LIBDIRS.unixodbc},g' -SUBST_SED.paths+= -e 's,@ODBCINCDIR@,${BUILDLINK_DIR}/${BUILDLINK_INCDIRS.unixodbc},g' - # should make which odbc we use an option.. but.. :D .include "../../databases/unixodbc/buildlink3.mk" .include "../../databases/poco-data/buildlink3.mk" diff --git a/databases/poco-data-odbc/PLIST b/databases/poco-data-odbc/PLIST index df234d0041867..de5bf340a2f48 100644 --- a/databases/poco-data-odbc/PLIST +++ b/databases/poco-data-odbc/PLIST @@ -1,22 +1,23 @@ -@comment $NetBSD: PLIST,v 1.2 2011/10/17 02:10:31 schnoebe Exp $ +@comment $NetBSD: PLIST,v 1.3 2016/01/16 12:15:12 ryoon Exp $ include/Poco/Data/ODBC/Binder.h include/Poco/Data/ODBC/ConnectionHandle.h include/Poco/Data/ODBC/Connector.h -include/Poco/Data/ODBC/DataTypes.h include/Poco/Data/ODBC/Diagnostics.h include/Poco/Data/ODBC/EnvironmentHandle.h include/Poco/Data/ODBC/Error.h include/Poco/Data/ODBC/Extractor.h include/Poco/Data/ODBC/Handle.h include/Poco/Data/ODBC/ODBC.h -include/Poco/Data/ODBC/ODBCColumn.h include/Poco/Data/ODBC/ODBCException.h +include/Poco/Data/ODBC/ODBCMetaColumn.h include/Poco/Data/ODBC/ODBCStatementImpl.h include/Poco/Data/ODBC/Parameter.h -include/Poco/Data/ODBC/Preparation.h +include/Poco/Data/ODBC/Preparator.h include/Poco/Data/ODBC/SessionImpl.h +include/Poco/Data/ODBC/TypeInfo.h +include/Poco/Data/ODBC/Unicode.h +include/Poco/Data/ODBC/Unicode_UNIXODBC.h +include/Poco/Data/ODBC/Unicode_WIN32.h include/Poco/Data/ODBC/Utility.h lib/libPocoDataODBC.so -lib/libPocoDataODBC.so.11 -lib/libPocoDataODBCd.so -lib/libPocoDataODBCd.so.11 +lib/libPocoDataODBC.so.31 diff --git a/databases/poco-data-sqlite/Makefile b/databases/poco-data-sqlite/Makefile index 8a43efae0dccb..1362efac1c041 100644 --- a/databases/poco-data-sqlite/Makefile +++ b/databases/poco-data-sqlite/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.17 2015/10/10 01:57:51 ryoon Exp $ +# $NetBSD: Makefile,v 1.18 2016/01/16 12:15:12 ryoon Exp $ # PKGNAME= poco-data-sqlite-${POCO_VERSION} -PKGREVISION= 11 CATEGORIES= databases COMMENT= POCO C++ SQLite RDBMS Accessor libraries diff --git a/databases/poco-data-sqlite/PLIST b/databases/poco-data-sqlite/PLIST index cfe6b13fc386c..4217cdcc625f6 100644 --- a/databases/poco-data-sqlite/PLIST +++ b/databases/poco-data-sqlite/PLIST @@ -1,13 +1,12 @@ -@comment $NetBSD: PLIST,v 1.2 2011/10/17 02:10:31 schnoebe Exp $ -include/Poco/Data/SQLite/SessionImpl.h -include/Poco/Data/SQLite/Connector.h +@comment $NetBSD: PLIST,v 1.3 2016/01/16 12:15:12 ryoon Exp $ include/Poco/Data/SQLite/Binder.h -include/Poco/Data/SQLite/SQLiteException.h +include/Poco/Data/SQLite/Connector.h include/Poco/Data/SQLite/Extractor.h -include/Poco/Data/SQLite/Utility.h +include/Poco/Data/SQLite/Notifier.h include/Poco/Data/SQLite/SQLite.h +include/Poco/Data/SQLite/SQLiteException.h include/Poco/Data/SQLite/SQLiteStatementImpl.h -lib/libPocoDataSQLited.so.11 -lib/libPocoDataSQLite.so.11 -lib/libPocoDataSQLited.so +include/Poco/Data/SQLite/SessionImpl.h +include/Poco/Data/SQLite/Utility.h lib/libPocoDataSQLite.so +lib/libPocoDataSQLite.so.31 diff --git a/databases/poco-data-sqlite/buildlink3.mk b/databases/poco-data-sqlite/buildlink3.mk index f73b2270416f1..c4c6dd82135e2 100644 --- a/databases/poco-data-sqlite/buildlink3.mk +++ b/databases/poco-data-sqlite/buildlink3.mk @@ -1,12 +1,12 @@ -# $NetBSD: buildlink3.mk,v 1.13 2015/04/06 08:17:13 adam Exp $ +# $NetBSD: buildlink3.mk,v 1.14 2016/01/16 12:15:12 ryoon Exp $ BUILDLINK_TREE+= poco-data-sqlite .if !defined(POCO_DATA_SQLITE_BUILDLINK3_MK) POCO_DATA_SQLITE_BUILDLINK3_MK:= -BUILDLINK_API_DEPENDS.poco-data-sqlite+= poco-data-sqlite>=1.3.5 -BUILDLINK_ABI_DEPENDS.poco-data-sqlite+= poco-data-sqlite>=1.4.2p1nb10 +BUILDLINK_API_DEPENDS.poco-data-sqlite+= poco-data-sqlite>=1.6.1 +BUILDLINK_ABI_DEPENDS.poco-data-sqlite+= poco-data-sqlite>=1.6.1 BUILDLINK_PKGSRCDIR.poco-data-sqlite?= ../../databases/poco-data-sqlite .include "../../databases/sqlite3/buildlink3.mk" diff --git a/databases/poco-data/Makefile b/databases/poco-data/Makefile index 2092af33f5c8f..51cf5bdabc6b0 100644 --- a/databases/poco-data/Makefile +++ b/databases/poco-data/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2014/02/12 23:17:40 tron Exp $ +# $NetBSD: Makefile,v 1.9 2016/01/16 12:15:12 ryoon Exp $ # PKGNAME= poco-data-${POCO_VERSION} -PKGREVISION= 2 CATEGORIES= databases COMMENT= POCO C++ RDBMS Master Accessor libraries diff --git a/databases/poco-data/PLIST b/databases/poco-data/PLIST index 4dc67e4219477..c0a73fcfb6f40 100644 --- a/databases/poco-data/PLIST +++ b/databases/poco-data/PLIST @@ -1,36 +1,52 @@ -@comment $NetBSD: PLIST,v 1.2 2011/10/17 02:10:31 schnoebe Exp $ -include/Poco/Data/AbstractPreparation.h -include/Poco/Data/AbstractBinding.h +@comment $NetBSD: PLIST,v 1.3 2016/01/16 12:15:12 ryoon Exp $ include/Poco/Data/AbstractBinder.h -include/Poco/Data/AbstractSessionImpl.h +include/Poco/Data/AbstractBinding.h include/Poco/Data/AbstractExtraction.h include/Poco/Data/AbstractExtractor.h -include/Poco/Data/PooledSessionHolder.h -include/Poco/Data/AbstractPrepare.h -include/Poco/Data/DataException.h +include/Poco/Data/AbstractPreparation.h +include/Poco/Data/AbstractPreparator.h +include/Poco/Data/AbstractSessionImpl.h +include/Poco/Data/ArchiveStrategy.h +include/Poco/Data/AutoTransaction.h include/Poco/Data/Binding.h -include/Poco/Data/BLOB.h -include/Poco/Data/BLOBStream.h +include/Poco/Data/Bulk.h +include/Poco/Data/BulkBinding.h +include/Poco/Data/BulkExtraction.h include/Poco/Data/Column.h -include/Poco/Data/Common.h include/Poco/Data/Connector.h +include/Poco/Data/Constants.h include/Poco/Data/Data.h -include/Poco/Data/RecordSet.h -include/Poco/Data/Range.h +include/Poco/Data/DataException.h +include/Poco/Data/Date.h +include/Poco/Data/DynamicDateTime.h +include/Poco/Data/DynamicLOB.h include/Poco/Data/Extraction.h +include/Poco/Data/LOB.h +include/Poco/Data/LOBStream.h include/Poco/Data/Limit.h include/Poco/Data/MetaColumn.h +include/Poco/Data/PooledSessionHolder.h include/Poco/Data/PooledSessionImpl.h -include/Poco/Data/Prepare.h -include/Poco/Data/SessionFactory.h +include/Poco/Data/Position.h +include/Poco/Data/Preparation.h +include/Poco/Data/Range.h +include/Poco/Data/RecordSet.h +include/Poco/Data/Row.h +include/Poco/Data/RowFilter.h +include/Poco/Data/RowFormatter.h +include/Poco/Data/RowIterator.h +include/Poco/Data/SQLChannel.h include/Poco/Data/Session.h -include/Poco/Data/StatementCreator.h +include/Poco/Data/SessionFactory.h include/Poco/Data/SessionImpl.h include/Poco/Data/SessionPool.h +include/Poco/Data/SessionPoolContainer.h +include/Poco/Data/SimpleRowFormatter.h include/Poco/Data/Statement.h +include/Poco/Data/StatementCreator.h include/Poco/Data/StatementImpl.h +include/Poco/Data/Time.h +include/Poco/Data/Transaction.h include/Poco/Data/TypeHandler.h -lib/libPocoDatad.so.11 -lib/libPocoData.so.11 -lib/libPocoDatad.so lib/libPocoData.so +lib/libPocoData.so.31 diff --git a/databases/poco-data/buildlink3.mk b/databases/poco-data/buildlink3.mk index 31e7f36768675..74e9db31bb238 100644 --- a/databases/poco-data/buildlink3.mk +++ b/databases/poco-data/buildlink3.mk @@ -1,12 +1,12 @@ -# $NetBSD: buildlink3.mk,v 1.8 2014/02/12 23:17:40 tron Exp $ +# $NetBSD: buildlink3.mk,v 1.9 2016/01/16 12:15:12 ryoon Exp $ BUILDLINK_TREE+= poco-data .if !defined(POCO_DATA_BUILDLINK3_MK) POCO_DATA_BUILDLINK3_MK:= -BUILDLINK_API_DEPENDS.poco-data+= poco-data>=1.3.5 -BUILDLINK_ABI_DEPENDS.poco-data+= poco-data>=1.4.2p1nb2 +BUILDLINK_API_DEPENDS.poco-data+= poco-data>=1.6.1 +BUILDLINK_ABI_DEPENDS.poco-data+= poco-data>=1.6.1 BUILDLINK_PKGSRCDIR.poco-data?= ../../databases/poco-data .include "../../devel/poco/buildlink3.mk" diff --git a/devel/poco/Makefile b/devel/poco/Makefile index 5bfd9edb6b482..b400728b2bc70 100644 --- a/devel/poco/Makefile +++ b/devel/poco/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.10 2014/02/12 23:17:49 tron Exp $ +# $NetBSD: Makefile,v 1.11 2016/01/16 12:15:12 ryoon Exp $ # PKGNAME= poco-${POCO_VERSION} -PKGREVISION= 4 CATEGORIES= devel COMMENT= POCO C++ Foundation libraries diff --git a/devel/poco/Makefile.common b/devel/poco/Makefile.common index 4b8c0fc923d46..59ca11bb4d11d 100644 --- a/devel/poco/Makefile.common +++ b/devel/poco/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.11 2015/06/25 07:30:30 dholland Exp $ +# $NetBSD: Makefile.common,v 1.12 2016/01/16 12:15:12 ryoon Exp $ # # used by devel/poco/Makefile # used by databases/poco-data/Makefile @@ -6,10 +6,10 @@ # used by databases/poco-data-mysql/Makefile # used by databases/poco-data-odbc/Makefile -POCO_VERSION=1.4.2p1 +POCO_VERSION=1.6.1 DISTNAME= poco-${POCO_VERSION}-all -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=poco/} +MASTER_SITES= http://pocoproject.org/releases/poco-${POCO_VERSION}/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.pocoproject.org/ @@ -27,7 +27,10 @@ USE_TOOLS+= gmake # error: unable to open output file '.../poco-1.4.2p1-all/Foundation/obj/NetBSD/amd64/debug_shared/Ascii.o' MAKE_JOBS_SAFE= no -CONFIGURE_ARGS+= --prefix=${PREFIX} --omit=Data +# Fix Net/sample build at least. +BUILDLINK_TRANSFORM+= l:PocoUtil:PocoUtil:PocoJSON + +CONFIGURE_ARGS+= --prefix=${PREFIX} --omit=Data,MongoDB # don't use the bundled versions of SQLite, zlib, etc.. CONFIGURE_ARGS+= --unbundled diff --git a/devel/poco/PLIST b/devel/poco/PLIST index 009cbb748ed65..458508956ecd4 100644 --- a/devel/poco/PLIST +++ b/devel/poco/PLIST @@ -1,8 +1,6 @@ -@comment $NetBSD: PLIST,v 1.2 2011/10/17 02:10:31 schnoebe Exp $ +@comment $NetBSD: PLIST,v 1.3 2016/01/16 12:15:12 ryoon Exp $ bin/cpspc -bin/cpspcd bin/f2cpsp -bin/f2cpspd include/Poco/ASCIIEncoding.h include/Poco/AbstractCache.h include/Poco/AbstractDelegate.h @@ -20,13 +18,17 @@ include/Poco/ActiveResult.h include/Poco/ActiveRunnable.h include/Poco/ActiveStarter.h include/Poco/Activity.h +include/Poco/Alignment.h include/Poco/Any.h include/Poco/ArchiveStrategy.h +include/Poco/Array.h include/Poco/Ascii.h include/Poco/AsyncChannel.h include/Poco/AtomicCounter.h include/Poco/AutoPtr.h include/Poco/AutoReleasePool.h +include/Poco/Base32Decoder.h +include/Poco/Base32Encoder.h include/Poco/Base64Decoder.h include/Poco/Base64Encoder.h include/Poco/BasicEvent.h @@ -42,6 +44,7 @@ include/Poco/Channel.h include/Poco/Checksum.h include/Poco/ClassLibrary.h include/Poco/ClassLoader.h +include/Poco/Clock.h include/Poco/Condition.h include/Poco/Config.h include/Poco/Configurable.h @@ -55,6 +58,7 @@ include/Poco/Crypto/CipherKeyImpl.h include/Poco/Crypto/Crypto.h include/Poco/Crypto/CryptoStream.h include/Poco/Crypto/CryptoTransform.h +include/Poco/Crypto/DigestEngine.h include/Poco/Crypto/OpenSSLInitializer.h include/Poco/Crypto/RSACipherImpl.h include/Poco/Crypto/RSADigestEngine.h @@ -113,13 +117,21 @@ include/Poco/Delegate.h include/Poco/DigestEngine.h include/Poco/DigestStream.h include/Poco/DirectoryIterator.h +include/Poco/DirectoryIteratorStrategy.h include/Poco/DirectoryIterator_UNIX.h include/Poco/DirectoryIterator_VMS.h include/Poco/DirectoryIterator_WIN32.h include/Poco/DirectoryIterator_WIN32U.h +include/Poco/DirectoryWatcher.h +include/Poco/Dynamic/Pair.h +include/Poco/Dynamic/Struct.h +include/Poco/Dynamic/Var.h +include/Poco/Dynamic/VarHolder.h +include/Poco/Dynamic/VarIterator.h include/Poco/DynamicAny.h include/Poco/DynamicAnyHolder.h include/Poco/DynamicFactory.h +include/Poco/DynamicStruct.h include/Poco/Environment.h include/Poco/Environment_UNIX.h include/Poco/Environment_VMS.h @@ -127,6 +139,7 @@ include/Poco/Environment_VX.h include/Poco/Environment_WIN32.h include/Poco/Environment_WIN32U.h include/Poco/Environment_WINCE.h +include/Poco/Error.h include/Poco/ErrorHandler.h include/Poco/Event.h include/Poco/EventArgs.h @@ -140,6 +153,8 @@ include/Poco/Expire.h include/Poco/ExpireCache.h include/Poco/ExpireLRUCache.h include/Poco/ExpireStrategy.h +include/Poco/FIFOBuffer.h +include/Poco/FIFOBufferStream.h include/Poco/FIFOEvent.h include/Poco/FIFOStrategy.h include/Poco/FPEnvironment.h @@ -178,13 +193,27 @@ include/Poco/HexBinaryDecoder.h include/Poco/HexBinaryEncoder.h include/Poco/InflatingStream.h include/Poco/Instantiator.h +include/Poco/JSON/Array.h +include/Poco/JSON/Handler.h +include/Poco/JSON/JSON.h +include/Poco/JSON/JSONException.h +include/Poco/JSON/Object.h +include/Poco/JSON/ParseHandler.h +include/Poco/JSON/Parser.h +include/Poco/JSON/PrintHandler.h +include/Poco/JSON/Query.h +include/Poco/JSON/Stringifier.h +include/Poco/JSON/Template.h +include/Poco/JSON/TemplateCache.h include/Poco/KeyValueArgs.h include/Poco/LRUCache.h include/Poco/LRUStrategy.h include/Poco/Latin1Encoding.h +include/Poco/Latin2Encoding.h include/Poco/Latin9Encoding.h include/Poco/LineEndingConverter.h include/Poco/LinearHashTable.h +include/Poco/ListMap.h include/Poco/LocalDateTime.h include/Poco/LogFile.h include/Poco/LogFile_STD.h @@ -237,12 +266,15 @@ include/Poco/Net/FTPClientSession.h include/Poco/Net/FTPStreamFactory.h include/Poco/Net/FilePartSource.h include/Poco/Net/HTMLForm.h +include/Poco/Net/HTTPAuthenticationParams.h include/Poco/Net/HTTPBasicCredentials.h include/Poco/Net/HTTPBasicStreamBuf.h include/Poco/Net/HTTPBufferAllocator.h include/Poco/Net/HTTPChunkedStream.h include/Poco/Net/HTTPClientSession.h include/Poco/Net/HTTPCookie.h +include/Poco/Net/HTTPCredentials.h +include/Poco/Net/HTTPDigestCredentials.h include/Poco/Net/HTTPFixedLengthStream.h include/Poco/Net/HTTPHeaderStream.h include/Poco/Net/HTTPIOStream.h @@ -277,6 +309,7 @@ include/Poco/Net/ICMPSocket.h include/Poco/Net/ICMPSocketImpl.h include/Poco/Net/ICMPv4PacketImpl.h include/Poco/Net/IPAddress.h +include/Poco/Net/IPAddressImpl.h include/Poco/Net/InvalidCertificateHandler.h include/Poco/Net/KeyConsoleHandler.h include/Poco/Net/KeyFileHandler.h @@ -288,15 +321,23 @@ include/Poco/Net/MessageHeader.h include/Poco/Net/MulticastSocket.h include/Poco/Net/MultipartReader.h include/Poco/Net/MultipartWriter.h +include/Poco/Net/NTPClient.h +include/Poco/Net/NTPEventArgs.h +include/Poco/Net/NTPPacket.h include/Poco/Net/NameValueCollection.h include/Poco/Net/Net.h include/Poco/Net/NetException.h include/Poco/Net/NetSSL.h include/Poco/Net/NetworkInterface.h include/Poco/Net/NullPartHandler.h +include/Poco/Net/OAuth10Credentials.h +include/Poco/Net/OAuth20Credentials.h include/Poco/Net/POP3ClientSession.h +include/Poco/Net/ParallelSocketAcceptor.h +include/Poco/Net/ParallelSocketReactor.h include/Poco/Net/PartHandler.h include/Poco/Net/PartSource.h +include/Poco/Net/PartStore.h include/Poco/Net/PrivateKeyFactory.h include/Poco/Net/PrivateKeyFactoryMgr.h include/Poco/Net/PrivateKeyPassphraseHandler.h @@ -307,6 +348,7 @@ include/Poco/Net/RawSocketImpl.h include/Poco/Net/RejectCertificateHandler.h include/Poco/Net/RemoteSyslogChannel.h include/Poco/Net/RemoteSyslogListener.h +include/Poco/Net/SMTPChannel.h include/Poco/Net/SMTPClientSession.h include/Poco/Net/SSLException.h include/Poco/Net/SSLManager.h @@ -322,6 +364,7 @@ include/Poco/Net/Session.h include/Poco/Net/Socket.h include/Poco/Net/SocketAcceptor.h include/Poco/Net/SocketAddress.h +include/Poco/Net/SocketAddressImpl.h include/Poco/Net/SocketConnector.h include/Poco/Net/SocketDefs.h include/Poco/Net/SocketImpl.h @@ -339,6 +382,8 @@ include/Poco/Net/TCPServerDispatcher.h include/Poco/Net/TCPServerParams.h include/Poco/Net/Utility.h include/Poco/Net/VerificationErrorArgs.h +include/Poco/Net/WebSocket.h +include/Poco/Net/WebSocketImpl.h include/Poco/Net/X509Certificate.h include/Poco/Notification.h include/Poco/NotificationCenter.h @@ -349,8 +394,12 @@ include/Poco/NullStream.h include/Poco/Nullable.h include/Poco/NumberFormatter.h include/Poco/NumberParser.h +include/Poco/NumericString.h +include/Poco/ObjectPool.h include/Poco/Observer.h include/Poco/OpcomChannel.h +include/Poco/Optional.h +include/Poco/PBKDF2Engine.h include/Poco/Path.h include/Poco/Path_UNIX.h include/Poco/Path_VMS.h @@ -391,8 +440,11 @@ include/Poco/RWLock_WIN32.h include/Poco/RWLock_WINCE.h include/Poco/Random.h include/Poco/RandomStream.h +include/Poco/RecursiveDirectoryIterator.h +include/Poco/RecursiveDirectoryIteratorImpl.h include/Poco/RefCountedObject.h include/Poco/RegularExpression.h +include/Poco/RegularExpression.h.orig include/Poco/RotateStrategy.h include/Poco/Runnable.h include/Poco/RunnableAdapter.h @@ -439,6 +491,7 @@ include/Poco/SignalHandler.h include/Poco/SimpleFileChannel.h include/Poco/SimpleHashTable.h include/Poco/SingletonHolder.h +include/Poco/SortedDirectoryIterator.h include/Poco/SplitterChannel.h include/Poco/Stopwatch.h include/Poco/StrategyCollection.h @@ -481,8 +534,10 @@ include/Poco/URI.h include/Poco/URIStreamFactory.h include/Poco/URIStreamOpener.h include/Poco/UTF16Encoding.h +include/Poco/UTF32Encoding.h include/Poco/UTF8Encoding.h include/Poco/UTF8String.h +include/Poco/UTFString.h include/Poco/UUID.h include/Poco/UUIDGenerator.h include/Poco/UnWindows.h @@ -503,6 +558,7 @@ include/Poco/Util/FilesystemConfiguration.h include/Poco/Util/HelpFormatter.h include/Poco/Util/IniFileConfiguration.h include/Poco/Util/IntValidator.h +include/Poco/Util/JSONConfiguration.h include/Poco/Util/LayeredConfiguration.h include/Poco/Util/LoggingConfigurator.h include/Poco/Util/LoggingSubsystem.h @@ -530,6 +586,8 @@ include/Poco/Util/XMLConfiguration.h include/Poco/ValidArgs.h include/Poco/Version.h include/Poco/Void.h +include/Poco/Windows1250Encoding.h +include/Poco/Windows1251Encoding.h include/Poco/Windows1252Encoding.h include/Poco/WindowsConsoleChannel.h include/Poco/XML/Name.h @@ -569,30 +627,18 @@ include/Poco/Zip/ZipUtil.h include/Poco/zconf.h include/Poco/zlib.h lib/libPocoCrypto.so -lib/libPocoCrypto.so.11 -lib/libPocoCryptod.so -lib/libPocoCryptod.so.11 +lib/libPocoCrypto.so.31 lib/libPocoFoundation.so -lib/libPocoFoundation.so.11 -lib/libPocoFoundationd.so -lib/libPocoFoundationd.so.11 +lib/libPocoFoundation.so.31 +lib/libPocoJSON.so +lib/libPocoJSON.so.31 lib/libPocoNet.so -lib/libPocoNet.so.11 +lib/libPocoNet.so.31 lib/libPocoNetSSL.so -lib/libPocoNetSSL.so.11 -lib/libPocoNetSSLd.so -lib/libPocoNetSSLd.so.11 -lib/libPocoNetd.so -lib/libPocoNetd.so.11 +lib/libPocoNetSSL.so.31 lib/libPocoUtil.so -lib/libPocoUtil.so.11 -lib/libPocoUtild.so -lib/libPocoUtild.so.11 +lib/libPocoUtil.so.31 lib/libPocoXML.so -lib/libPocoXML.so.11 -lib/libPocoXMLd.so -lib/libPocoXMLd.so.11 +lib/libPocoXML.so.31 lib/libPocoZip.so -lib/libPocoZip.so.11 -lib/libPocoZipd.so -lib/libPocoZipd.so.11 +lib/libPocoZip.so.31 diff --git a/devel/poco/buildlink3.mk b/devel/poco/buildlink3.mk index af2a088097ed5..4ba62b00fdd25 100644 --- a/devel/poco/buildlink3.mk +++ b/devel/poco/buildlink3.mk @@ -1,12 +1,12 @@ -# $NetBSD: buildlink3.mk,v 1.5 2014/02/12 23:17:49 tron Exp $ +# $NetBSD: buildlink3.mk,v 1.6 2016/01/16 12:15:12 ryoon Exp $ BUILDLINK_TREE+= poco .if !defined(POCO_BUILDLINK3_MK) POCO_BUILDLINK3_MK:= -BUILDLINK_API_DEPENDS.poco+= poco>=1.3.5 -BUILDLINK_ABI_DEPENDS.poco+= poco>=1.4.2p1nb4 +BUILDLINK_API_DEPENDS.poco+= poco>=1.6.1 +BUILDLINK_ABI_DEPENDS.poco+= poco>=1.6.1 BUILDLINK_PKGSRCDIR.poco?= ../../devel/poco .include "../../security/openssl/buildlink3.mk" diff --git a/devel/poco/distinfo b/devel/poco/distinfo index ea578824c38ad..062bc955b04bc 100644 --- a/devel/poco/distinfo +++ b/devel/poco/distinfo @@ -1,22 +1,23 @@ -$NetBSD: distinfo,v 1.10 2015/11/03 03:29:03 agc Exp $ +$NetBSD: distinfo,v 1.11 2016/01/16 12:15:12 ryoon Exp $ -SHA1 (poco-1.4.2p1-all.tar.gz) = ef1bc69812179b7856c88aa4b5c157747c0a0e48 -RMD160 (poco-1.4.2p1-all.tar.gz) = 8288c10e3e96de26f56296da0bbbebff58b8b424 -SHA512 (poco-1.4.2p1-all.tar.gz) = 7ebd95af29fa6f638505f96a1b204e3c387318bdb800250bafa3c4e119b710a1d881f3d5706a44d4f31cd723322db668a0302d829db8540e7c660dcce5feb38e -Size (poco-1.4.2p1-all.tar.gz) = 3922854 bytes +SHA1 (poco-1.6.1-all.tar.gz) = 38841212a6893d4290909a62b4f310450230fb6d +RMD160 (poco-1.6.1-all.tar.gz) = a7ab9429db5b4b5fc02c194a208f11f296deb90b +SHA512 (poco-1.6.1-all.tar.gz) = 6c68f3f2692bad8ad4a111e541e8da6376246517b2dca73f429539e9ceaa107e791c3673261467cf8a2e2efabd0dd2a5160d9d412e71af114b4a6b700c9c2393 +Size (poco-1.6.1-all.tar.gz) = 5636597 bytes +SHA1 (patch-Foundation_Makefile) = 492b55268b6b848bfb0d5c255b59ae2745eb4f72 SHA1 (patch-Foundation_include_Poco_Platform.h) = a7d81c20902af7e23ce8a10eb90fc1a98d7cc412 -SHA1 (patch-Foundation_src_SharedMemory.cpp) = d0821acd31888369cb2d58cc78f02b061515a8da +SHA1 (patch-Foundation_include_Poco_RegularExpression.h) = a113fdcfdd25a4d98deba6b32f9be7ae675450d6 +SHA1 (patch-Foundation_src_pcre__internal.h) = 1ef08cc22b6205056f5373b6470de95d775bf087 SHA1 (patch-Foundation_testsuite_src_DynamicFactoryTest.cpp) = 78b40b8d2f8214be4cd435ad531cdee4ff9bee0b SHA1 (patch-Net_testsuite_src_DNSTest.cpp) = 21a1a650e43d87e2b9590b1f047f12aa944b5077 SHA1 (patch-Net_testsuite_src_SocketAddressTest.cpp) = b4cf7a7631ed8b00b346d7303f872f727ab015ca SHA1 (patch-aa) = be1c72c9c63b65e8d4211abab9dd036255ed6233 -SHA1 (patch-ab) = 0709ba35fe938f7efc94650dde4afd84c427de0f -SHA1 (patch-ac) = e3ee4b43e458f1ab1227aa029a00fcebf5f53541 +SHA1 (patch-ab) = a5ebcc44e9ab728d9812cefd01188622bfea172f +SHA1 (patch-ac) = 08fa398b76935082dccbfb81bb69877d10996f6f SHA1 (patch-ad) = f6eeb9dc9b3a85525f264edbd1587bc4f124b9e1 SHA1 (patch-ae) = a13a01901b3df6df7d5e5ad7a0639086b0897566 -SHA1 (patch-af) = 50a86be83634ede278f7a8463423e2f88a1741a7 -SHA1 (patch-ag) = 945a594376393462e1cc0f881532d2294adf5816 -SHA1 (patch-ah) = f8debbf7b416fc562f5af321be739e0d4481a130 -SHA1 (patch-ai) = 9feef00a05372578d957c68b53657e6468f65f6a -SHA1 (patch-build_config_Linux) = ba79d12efeea09e0e24e0d95a457dcbce265cd75 -SHA1 (patch-build_config_SunOS-GCC) = f9d7ecc44db9335882814c0a072af29fb4c8fd1d +SHA1 (patch-ag) = e1ef2677c25d445cdae97c832211e2407fae9af3 +SHA1 (patch-ah) = a4ba890ab2501552bf18b2778f3f3593e4b0abcb +SHA1 (patch-build_config_Linux) = 39a42f82fcac9415208af28a05ab2faf0558667b +SHA1 (patch-build_config_SunOS-GCC) = e8e6cc78e4f099c32c75561f554c3faeef7f6828 +SHA1 (patch-build_rules_compile) = 9db52d6c83c3e26ea421d960af2b8a1fb412201f diff --git a/devel/poco/patches/patch-Foundation_Makefile b/devel/poco/patches/patch-Foundation_Makefile new file mode 100644 index 0000000000000..a30b2565f824b --- /dev/null +++ b/devel/poco/patches/patch-Foundation_Makefile @@ -0,0 +1,15 @@ +$NetBSD: patch-Foundation_Makefile,v 1.1 2016/01/16 12:15:12 ryoon Exp $ + +Fix build with unbundled PCRE. +https://github.com/buildroot/buildroot/blob/master/package/poco/0004-fix-unbundled-pcre-usage.patch + +--- Foundation/Makefile.orig 2015-08-04 05:20:56.000000000 +0000 ++++ Foundation/Makefile +@@ -46,6 +46,7 @@ pcre_utf8_objects = pcre_ucd pcre_tables + + ifdef POCO_UNBUNDLED + SYSLIBS += -lpcre -lz ++ objects += $(pcre_utf8_objects) + else + objects += $(zlib_objects) $(pcre_objects) $(pcre_utf8_objects) + endif diff --git a/devel/poco/patches/patch-Foundation_include_Poco_RegularExpression.h b/devel/poco/patches/patch-Foundation_include_Poco_RegularExpression.h new file mode 100644 index 0000000000000..7b18b0ac30834 --- /dev/null +++ b/devel/poco/patches/patch-Foundation_include_Poco_RegularExpression.h @@ -0,0 +1,26 @@ +$NetBSD: patch-Foundation_include_Poco_RegularExpression.h,v 1.1 2016/01/16 12:15:12 ryoon Exp $ + +Fix build with unbundled PCRE. +https://github.com/pocoproject/poco/commit/30cb89acd2f8aba4e40bec2335246336a5cccf7d + +--- Foundation/include/Poco/RegularExpression.h.orig 2015-08-04 05:20:55.000000000 +0000 ++++ Foundation/include/Poco/RegularExpression.h +@@ -26,6 +26,9 @@ + #include "Poco/Foundation.h" + #include + ++#if defined(POCO_UNBUNDLED) ++#include ++#else + + // + // Copy these definitions from pcre.h +@@ -37,7 +40,7 @@ extern "C" + typedef struct real_pcre8_or_16 pcre; + struct pcre_extra; + } +- ++#endif + + namespace Poco { + diff --git a/devel/poco/patches/patch-Foundation_src_SharedMemory.cpp b/devel/poco/patches/patch-Foundation_src_SharedMemory.cpp deleted file mode 100644 index 734904ef802e1..0000000000000 --- a/devel/poco/patches/patch-Foundation_src_SharedMemory.cpp +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-Foundation_src_SharedMemory.cpp,v 1.2 2012/07/29 11:26:54 fhajny Exp $ - -Do not mangle _XOPEN_SOURCE when GCC is used, rely on CXXFLAGS instead. ---- Foundation/src/SharedMemory.cpp.orig 2011-09-24 08:07:00.000000000 +0000 -+++ Foundation/src/SharedMemory.cpp -@@ -34,7 +34,7 @@ - // - - --#if defined(__sun) -+#if defined(__sun) && !defined(__GNUC__) - #undef _XOPEN_SOURCE - #define _XOPEN_SOURCE 500 - #endif diff --git a/devel/poco/patches/patch-Foundation_src_pcre__internal.h b/devel/poco/patches/patch-Foundation_src_pcre__internal.h new file mode 100644 index 0000000000000..df8e036fc3371 --- /dev/null +++ b/devel/poco/patches/patch-Foundation_src_pcre__internal.h @@ -0,0 +1,37 @@ +$NetBSD: patch-Foundation_src_pcre__internal.h,v 1.1 2016/01/16 12:15:12 ryoon Exp $ + +Fix build with unbundled PCRE +https://github.com/buildroot/buildroot/blob/master/package/poco/0004-fix-unbundled-pcre-usage.patch + +--- Foundation/src/pcre_internal.h.orig 2015-08-04 05:20:56.000000000 +0000 ++++ Foundation/src/pcre_internal.h +@@ -2635,6 +2635,16 @@ typedef struct { + pcre_uint16 value; + } ucp_type_table; + ++/* renamed to avoid clashes with system pcre */ ++#define _pcre_utf8_table1 _poco__pcre_utf8_table1 ++#define _pcre_utf8_table1_size _poco__pcre_utf8_table1_size ++#define _pcre_utf8_table2 _poco__pcre_utf8_table2 ++#define _pcre_utf8_table3 _poco__pcre_utf8_table3 ++#define _pcre_utf8_table4 _poco__pcre_utf8_table4 ++#define _pcre_utt _poco__pcre_utt ++#define _pcre_utt_size _poco__pcre_utt_size ++#define _pcre_utt_names _poco__pcre_utt_names ++#define _pcre_OP_lengths _poco__pcre_OP_lengths + + /* Internal shared data tables. These are tables that are used by more than one + of the exported public functions. They have to be "external" in the C sense, +@@ -2749,6 +2759,12 @@ typedef struct { + pcre_int32 other_case; /* offset to other case, or zero if none */ + } ucd_record; + ++/* renamed to avoid clashes with system pcre */ ++#define _pcre_ucd_records _poco__pcre_ucd_records ++#define _pcre_ucd_stage1 _poco__pcre_ucd_stage1 ++#define _pcre_ucd_stage2 _poco__pcre_ucd_stage2 ++#define _pcre_ucp_gentype _poco__pcre_ucp_gentype ++ + extern const pcre_uint32 PRIV(ucd_caseless_sets)[]; + extern const ucd_record PRIV(ucd_records)[]; + extern const pcre_uint8 PRIV(ucd_stage1)[]; diff --git a/devel/poco/patches/patch-ab b/devel/poco/patches/patch-ab index 919c80f600bf8..6a05a46cfea23 100644 --- a/devel/poco/patches/patch-ab +++ b/devel/poco/patches/patch-ab @@ -1,15 +1,15 @@ -$NetBSD: patch-ab,v 1.1.1.1 2011/02/06 05:55:15 schnoebe Exp $ +$NetBSD: patch-ab,v 1.2 2016/01/16 12:15:12 ryoon Exp $ # include NetBSD with the HP-UX portion of the event handling ---- Foundation/src/NamedEvent_UNIX.cpp.orig 2008-10-09 18:14:00.000000000 +0200 +--- Foundation/src/NamedEvent_UNIX.cpp.orig 2015-08-04 05:20:55.000000000 +0000 +++ Foundation/src/NamedEvent_UNIX.cpp -@@ -60,7 +60,7 @@ namespace Poco { +@@ -41,7 +41,7 @@ namespace Poco { unsigned short int* array; struct seminfo* __buf; }; --#elif defined(__hpux) -+#elif defined(__hpux) || defined(__NetBSD__) +-#elif (POCO_OS == POCO_OS_HPUX) ++#elif (POCO_OS == POCO_OS_HPUX) || (POCO_OS == POCO_OS_NET_BSD) union semun { int val; diff --git a/devel/poco/patches/patch-ac b/devel/poco/patches/patch-ac index c819bbb6c6eb7..e8483c1822181 100644 --- a/devel/poco/patches/patch-ac +++ b/devel/poco/patches/patch-ac @@ -1,15 +1,13 @@ -$NetBSD: patch-ac,v 1.1.1.1 2011/02/06 05:55:15 schnoebe Exp $ +$NetBSD: patch-ac,v 1.2 2016/01/16 12:15:12 ryoon Exp $ -# handle a POSIX mutex on NetBSD as they do on HP-UX - ---- Foundation/src/NamedMutex_UNIX.cpp.orig 2008-10-09 18:14:00.000000000 +0200 +--- Foundation/src/NamedMutex_UNIX.cpp.orig 2015-08-04 05:20:55.000000000 +0000 +++ Foundation/src/NamedMutex_UNIX.cpp -@@ -60,7 +60,7 @@ namespace Poco { +@@ -41,7 +41,7 @@ namespace Poco { unsigned short int* array; struct seminfo* __buf; }; --#elif defined(__hpux) -+#elif defined(__hpux) || defined(__NetBSD__) +-#elif (POCO_OS == POCO_OS_HPUX) ++#elif (POCO_OS == POCO_OS_HPUX) || (POCO_OS == POCO_OS_NET_BSD) union semun { int val; diff --git a/devel/poco/patches/patch-af b/devel/poco/patches/patch-af deleted file mode 100644 index a0bba2f6f0ec9..0000000000000 --- a/devel/poco/patches/patch-af +++ /dev/null @@ -1,83 +0,0 @@ -$NetBSD: patch-af,v 1.2 2011/10/17 02:10:31 schnoebe Exp $ - -# place the configuration into the file where the build system expects it - ---- configure.orig 2011-02-09 09:12:55.000000000 +0000 -+++ configure -@@ -250,50 +250,52 @@ else - linkmode="" - fi - --# create config.make --echo '# config.make generated by configure script' >$build/config.make --echo "POCO_CONFIG = $config" >>$build/config.make --echo "POCO_BASE = $base" >>$build/config.make --echo "POCO_BUILD = $build" >>$build/config.make --echo "POCO_PREFIX = $prefix" >>$build/config.make --echo "POCO_FLAGS = $flags" >>$build/config.make --echo "OMIT = $omit" >>$build/config.make -+# create config.build -+echo '# config.build generated by configure script' >$build/config.make -+echo "POCO_CONFIG = $config" >>$build/config.build -+echo "POCO_BASE = $base" >>$build/config.build -+echo "POCO_BUILD = $build" >>$build/config.build -+echo "POCO_PREFIX = $prefix" >>$build/config.build -+echo "POCO_FLAGS = $flags" >>$build/config.build -+echo "OMIT = $omit" >>$build/config.build - if [ "$stdcxx_base" != "" ] ; then -- echo "STDCXX_BASE = $stdcxx_base" >>$build/config.make -+ echo "STDCXX_BASE = $stdcxx_base" >>$build/config.build - fi - if [ "$includepath" != "" ] ; then -- echo "POCO_ADD_INCLUDE = $includepath" >>$build/config.make -+ echo "POCO_ADD_INCLUDE = $includepath" >>$build/config.build - fi - if [ "$librarypath" != "" ] ; then -- echo "POCO_ADD_LIBRARY = $librarypath" >>$build/config.make -+ echo "POCO_ADD_LIBRARY = $librarypath" >>$build/config.build - fi - if [ "$unbundled" != "" ] ; then -- echo "POCO_UNBUNDLED = 1" >>$build/config.make -+ echo "POCO_UNBUNDLED = 1" >>$build/config.build - fi - if [ "$linkmode" != "" ] ; then -- echo "LINKMODE = $linkmode" >>$build/config.make -+ echo "LINKMODE = $linkmode" >>$build/config.build - fi --echo "export POCO_CONFIG" >>$build/config.make --echo "export POCO_BASE" >>$build/config.make --echo "export POCO_BUILD" >>$build/config.make --echo "export POCO_PREFIX" >>$build/config.make --echo "export POCO_FLAGS" >>$build/config.make -+echo "export POCO_CONFIG" >>$build/config.build -+echo "export POCO_BASE" >>$build/config.build -+echo "export POCO_BUILD" >>$build/config.build -+echo "export POCO_PREFIX" >>$build/config.build -+echo "export POCO_FLAGS" >>$build/config.build - if [ "$stdcxx_base" != "" ] ; then -- echo "export STDCXX_BASE" >>$build/config.make -+ echo "export STDCXX_BASE" >>$build/config.build - fi - if [ "$includepath" != "" ] ; then -- echo "export POCO_ADD_INCLUDE" >>$build/config.make -+ echo "export POCO_ADD_INCLUDE" >>$build/config.build - fi - if [ "$librarypath" != "" ] ; then -- echo "export POCO_ADD_LIBRARY" >>$build/config.make -+ echo "export POCO_ADD_LIBRARY" >>$build/config.build - fi - if [ "$unbundled" != "" ] ; then -- echo "export POCO_UNBUNDLED" >>$build/config.make -+ echo "export POCO_UNBUNDLED" >>$build/config.build - fi - if [ "$linkmode" != "" ] ; then -- echo "export LINKMODE" >>$build/config.make -+ echo "export LINKMODE" >>$build/config.build - fi --echo ".PHONY: poco" >>$build/config.make -+echo '# config.make generated by configure script' > $build/config.make -+echo 'sinclude config.build' >> $build/config.make -+echo '.PHONY: poco' >>$build/config.make - echo "poco: libexecs $tests $samples" >>$build/config.make - - echo "Configured for $config" diff --git a/devel/poco/patches/patch-ag b/devel/poco/patches/patch-ag index f11db445acff5..02115dad6ab55 100644 --- a/devel/poco/patches/patch-ag +++ b/devel/poco/patches/patch-ag @@ -1,15 +1,15 @@ -$NetBSD: patch-ag,v 1.1.1.1 2011/02/06 05:55:15 schnoebe Exp $ +$NetBSD: patch-ag,v 1.2 2016/01/16 12:15:12 ryoon Exp $ # Only include only the non-omitted components ---- Makefile.orig 2010-12-16 05:43:33.000000000 +0000 +--- Makefile.orig 2015-08-04 05:21:07.000000000 +0000 +++ Makefile -@@ -24,7 +24,9 @@ endif +@@ -27,7 +27,9 @@ poco: libexecs $(if $(TESTS),tests) $(if all: libexecs tests samples INSTALLDIR = $(DESTDIR)$(POCO_PREFIX) --COMPONENTS = Foundation XML Util Net Crypto NetSSL_OpenSSL Data Data/SQLite Data/ODBC Data/MySQL Zip PageCompiler PageCompiler/File2Page -+Master_COMPONENTS = Foundation XML Util Net Crypto NetSSL_OpenSSL Data Data/SQLite Data/ODBC Data/MySQL Zip PageCompiler PageCompiler/File2Page +-COMPONENTS = Foundation XML JSON Util Net Crypto NetSSL_OpenSSL Data Data/SQLite Data/ODBC Data/MySQL MongoDB Zip PageCompiler PageCompiler/File2Page ++Master_COMPONENTS = Foundation XML JSON Util Net Crypto NetSSL_OpenSSL Data Data/SQLite Data/ODBC Data/MySQL MongoDB Zip PageCompiler PageCompiler/File2Page + +COMPONENTS=$(filter-out $(foreach f,$(OMIT),$f%),$(Master_COMPONENTS)) diff --git a/devel/poco/patches/patch-ah b/devel/poco/patches/patch-ah index 4d2f60ddda3ae..8a8ac6e8e6e02 100644 --- a/devel/poco/patches/patch-ah +++ b/devel/poco/patches/patch-ah @@ -1,18 +1,18 @@ -$NetBSD: patch-ah,v 1.1.1.1 2011/02/06 05:55:15 schnoebe Exp $ +$NetBSD: patch-ah,v 1.2 2016/01/16 12:15:12 ryoon Exp $ # simplify the search for the MySQL components, since we know # where they are.. ---- Data/MySQL/Makefile.orig 2009-05-12 13:22:14.000000000 -0500 +--- Data/MySQL/Makefile.orig 2015-08-04 05:21:04.000000000 +0000 +++ Data/MySQL/Makefile @@ -8,8 +8,8 @@ include $(POCO_BASE)/build/rules/global --SYSLIBS += -L/usr/local/lib/mysql -L/usr/lib/mysql -L/usr/mysql/lib/mysql -L/usr/local/mysql/lib -lmysqlclient --INCLUDE += -I/usr/local/include/mysql/ -I/usr/include/mysql -I/usr/mysql/include/mysql -I/usr/local/mysql/include +-SYSLIBS += -L/usr/local/lib$(LIB64SUFFIX)/mysql -L/usr/lib$(LIB64SUFFIX)/mysql -L/usr/mysql/lib$(LIB64SUFFIX) -L/usr/mysql/lib$(LIB64SUFFIX)/mysql -L/usr/local/mysql/lib$(LIB64SUFFIX) -lmysqlclient +-INCLUDE += -I/usr/local/include/mysql/ -I/usr/include/mysql/ -I/usr/mysql/include/mysql -I/usr/local/mysql/include +SYSLIBS += -L@MYSQLLIBDIR@ -lmysqlclient -+INCLUDE += -I@MYSQLINCDIR@ ++INCLUDE += -I@MYSQLINCDIR@ SYSFLAGS += -DTHREADSAFE -DNO_TCL objects = Binder Extractor SessionImpl Connector \ diff --git a/devel/poco/patches/patch-build_config_Linux b/devel/poco/patches/patch-build_config_Linux index 7aafe1744326d..f369c8b22589c 100644 --- a/devel/poco/patches/patch-build_config_Linux +++ b/devel/poco/patches/patch-build_config_Linux @@ -1,18 +1,18 @@ -$NetBSD: patch-build_config_Linux,v 1.1 2011/10/17 07:56:57 sbd Exp $ +$NetBSD: patch-build_config_Linux,v 1.2 2016/01/16 12:15:12 ryoon Exp $ # Build a full set of shared library search paths, rather than # *assuming* everything is under PREFIX. ---- build/config/Linux.orig 2010-12-16 05:43:24.000000000 +0000 +--- build/config/Linux.orig 2015-08-04 05:20:55.000000000 +0000 +++ build/config/Linux @@ -21,6 +21,8 @@ LINK = $(CXX) - LIB = ar -cr - RANLIB = ranlib + LIB = ${CROSS_COMPILE}ar -cr + RANLIB = ${CROSS_COMPILE}ranlib SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@ +SHLIBFLAGS = $(LDFLAGS) -Wl,-R$(POCO_PREFIX)/lib \ + $(foreach p,$(sort $(POCO_ADD_LIBRARY)),-L$(p) -Wl,-R$(p)) SHLIBLN = $(POCO_BASE)/build/script/shlibln - STRIP = strip + STRIP = ${CROSS_COMPILE}strip DEP = $(POCO_BASE)/build/script/makedepend.gcc @@ -44,7 +46,7 @@ CFLAGS64 = CXXFLAGS = -Wall -Wno-sign-compare diff --git a/devel/poco/patches/patch-build_config_SunOS-GCC b/devel/poco/patches/patch-build_config_SunOS-GCC index 1238d94945e0a..52d2102223339 100644 --- a/devel/poco/patches/patch-build_config_SunOS-GCC +++ b/devel/poco/patches/patch-build_config_SunOS-GCC @@ -1,8 +1,8 @@ -$NetBSD: patch-build_config_SunOS-GCC,v 1.3 2012/07/29 11:26:54 fhajny Exp $ +$NetBSD: patch-build_config_SunOS-GCC,v 1.4 2016/01/16 12:15:12 ryoon Exp $ Resolve a conflict on SunOS, where GCC>=4.6 will force C99 with C++ and require _XOPEN_SOURCE=600, whereas GCC<4.6 will reject C99 with C++. ---- build/config/SunOS-GCC.orig 2011-09-24 08:06:59.000000000 +0000 +--- build/config/SunOS-GCC.orig 2015-08-04 05:20:55.000000000 +0000 +++ build/config/SunOS-GCC @@ -21,6 +21,8 @@ LINK = $(CXX) LIB = ar -cr @@ -45,5 +45,5 @@ and require _XOPEN_SOURCE=600, whereas GCC<4.6 will reject C99 with C++. # # System Specific Libraries # --SYSLIBS = -lpthread -ldl -lrt +-SYSLIBS = -lpthread -lrt -lxnet -lsocket -lnsl -lresolv -ldl +SYSLIBS = -lpthread -ldl -lrt -lxnet -lsocket -lnsl -lresolv -ldl diff --git a/devel/poco/patches/patch-build_rules_compile b/devel/poco/patches/patch-build_rules_compile new file mode 100644 index 0000000000000..12112cd86f89d --- /dev/null +++ b/devel/poco/patches/patch-build_rules_compile @@ -0,0 +1,15 @@ +$NetBSD: patch-build_rules_compile,v 1.1 2016/01/16 12:15:12 ryoon Exp $ + +Do not build debug binaries. + +--- build/rules/compile.orig 2015-08-04 05:20:55.000000000 +0000 ++++ build/rules/compile +@@ -14,7 +14,7 @@ + + all: $(DEFAULT_TARGET) + all_static: static_debug static_release +-all_shared: shared_debug shared_release ++all_shared: shared_release + all_debug: static_debug shared_debug + all_release: static_release shared_release +