pkgsrc/devel/ucommon/Makefile

28 lines
730 B
Makefile
Raw Normal View History

2019-07-21 00:45:58 +02:00
# $NetBSD: Makefile,v 1.15 2019/07/20 22:46:00 wiz Exp $
ucommon: updated to 7.0.0 Changes from 6.6.0 to 7.0.0 - clean new library abi 8.0 - atomic typeref system completed, matches tychomt spec - c++11 support completed - deprecated functions and templates removed - deprecated modules (xml, persist) moved to commoncpp Changes from 6.5.7 to 6.6.0 - introduced rsa key support - expanded hmac support - expanded digests for sha256 and 384 - reword of common digest code - improved nullptr clang support - remove clang forced c++11 from build - check for openssl rsa support - port types for 7.0 migration - socket addresses for typeref - further c++11 header fixes - removed old ssl demo app Changes from 6.5.6 to 6.5.7 - improved c++11 support - mapped pointer introduced - fixed is usage - improved mapref remove Changes from 6.5.5 to 6.5.6 - simplified arrayref - added listref - map iterators thru locked instances - type standardization - socket address type Changes from 6.5.4 to 6.5.5 - more portable nullptr support - thread-safe mapref class - some typeref convenience types - bit operations on byterefs Changes from 6.5.3 to 6.5.4 - secure string and key management types - better cleanup of secure objects - file i/o for heap temporary Changes from 6.5.2 to 6.5.3 - arrayref now uses ConditionalAccess, fix for Conditional Changes from 6.5.1 to 6.5.2 - memory management cleanup and mingw32 support for native conditionals - new methodology of having getaddrinfo allocate memory - introduction of queueref and stackref; arrayref becomes useful - typeref concatenation operators Changes from 6.5.0 to 6.5.1 - thread shared references added Changes from 6.4.4 to 6.5.0 - typeref expanded - arrayref introduced - nullptr and other c++ modernizations - clang now defaulted to c++11 - minimum native windows now requires conditionals - mingw has to use win32 pthread support - somewhat more usable heap temporary templates Changes from 6.4.3 to 6.4.4 - additional typeref operators Changes from 6.4.2 to 6.4.3 - fix for broken windows setuid macro Changes from 6.4.1 to 6.4.2 - solaris related cmake fixes - cleanup of test build and osx fixes Changes from 6.4.0 to 6.4.1 - keyfile fixed constructor issue Changes from 6.3.6 to 6.4.0 - new typeref system for immutable atomic reference counted objects - heap management objects support moving heap through assignment - extended unit tests for typeref system - improved openbsd support - atomics enabled by default Changes from 6.3.5 to 6.3.6 - code cleanup - simulate option for scrub - set newline style for cmake genorated files Changes from 6.3.4 to 6.3.5 - general code cleanup - some build fixes Changes from 6.3.3 to 6.3.4 - improved atomics support - configure atomics default matches cmake default - general code cleanup - more casting operations and cast fixups - polymorphic casting support & rtti detection - enclose random value templates in Random - improved rng support Changes from 6.3.2 to 6.3.3 - improved cipher key management - b64 support improved and string hex conversions - simplified digest functions - some solaris fixes Changes from 6.3.1 to 6.3.2 - fixed a broken streambuf for commoncpp - deref cast function added - fixed missing pkg-config
2019-01-13 19:21:24 +01:00
DISTNAME= ucommon-7.0.0
2019-07-21 00:45:58 +02:00
PKGREVISION= 1
CATEGORIES= devel
ucommon: updated to 7.0.0 Changes from 6.6.0 to 7.0.0 - clean new library abi 8.0 - atomic typeref system completed, matches tychomt spec - c++11 support completed - deprecated functions and templates removed - deprecated modules (xml, persist) moved to commoncpp Changes from 6.5.7 to 6.6.0 - introduced rsa key support - expanded hmac support - expanded digests for sha256 and 384 - reword of common digest code - improved nullptr clang support - remove clang forced c++11 from build - check for openssl rsa support - port types for 7.0 migration - socket addresses for typeref - further c++11 header fixes - removed old ssl demo app Changes from 6.5.6 to 6.5.7 - improved c++11 support - mapped pointer introduced - fixed is usage - improved mapref remove Changes from 6.5.5 to 6.5.6 - simplified arrayref - added listref - map iterators thru locked instances - type standardization - socket address type Changes from 6.5.4 to 6.5.5 - more portable nullptr support - thread-safe mapref class - some typeref convenience types - bit operations on byterefs Changes from 6.5.3 to 6.5.4 - secure string and key management types - better cleanup of secure objects - file i/o for heap temporary Changes from 6.5.2 to 6.5.3 - arrayref now uses ConditionalAccess, fix for Conditional Changes from 6.5.1 to 6.5.2 - memory management cleanup and mingw32 support for native conditionals - new methodology of having getaddrinfo allocate memory - introduction of queueref and stackref; arrayref becomes useful - typeref concatenation operators Changes from 6.5.0 to 6.5.1 - thread shared references added Changes from 6.4.4 to 6.5.0 - typeref expanded - arrayref introduced - nullptr and other c++ modernizations - clang now defaulted to c++11 - minimum native windows now requires conditionals - mingw has to use win32 pthread support - somewhat more usable heap temporary templates Changes from 6.4.3 to 6.4.4 - additional typeref operators Changes from 6.4.2 to 6.4.3 - fix for broken windows setuid macro Changes from 6.4.1 to 6.4.2 - solaris related cmake fixes - cleanup of test build and osx fixes Changes from 6.4.0 to 6.4.1 - keyfile fixed constructor issue Changes from 6.3.6 to 6.4.0 - new typeref system for immutable atomic reference counted objects - heap management objects support moving heap through assignment - extended unit tests for typeref system - improved openbsd support - atomics enabled by default Changes from 6.3.5 to 6.3.6 - code cleanup - simulate option for scrub - set newline style for cmake genorated files Changes from 6.3.4 to 6.3.5 - general code cleanup - some build fixes Changes from 6.3.3 to 6.3.4 - improved atomics support - configure atomics default matches cmake default - general code cleanup - more casting operations and cast fixups - polymorphic casting support & rtti detection - enclose random value templates in Random - improved rng support Changes from 6.3.2 to 6.3.3 - improved cipher key management - b64 support improved and string hex conversions - simplified digest functions - some solaris fixes Changes from 6.3.1 to 6.3.2 - fixed a broken streambuf for commoncpp - deref cast function added - fixed missing pkg-config
2019-01-13 19:21:24 +01:00
MASTER_SITES= ${MASTER_SITE_GNU:=commoncpp/}
MAINTAINER= pkgsrc-users@NetBSD.org
Update to 6.3.1. Two patches aren't needed anymore. patch-commoncpp_address.cpp breaks the build. I'm not seeing how bitset would use the C++ stdlib version, since <bitset> isn't included. OpenSSL and GNUTLS are package options, defaulting to openssl. Set PKG_BUILD_OPTIONS.ucommon accordingly. Major shared library change, so update buildlink3.mk accordinly. Updates to dependant packages coming shortly. From ChangeLog: Changes from 6.3.0 to 6.3.1 - copyright assignment to Cherokees of Idaho - introduction of ucommon cmake hosted macros - simplified doxygen doc support - convergence of automake and cmake builds - make utils easier for source introspection - converted for cmake builds on debian - count for String::check should be size_t - string bounds checking Changes from 6.2.3 to 6.3.0 - remove legacy cmodel support - modernize library usage - simplify autoconf and cmake - introduce sysruntime... - cleanup memory operators.... Changes from 6.2.2 to 6.2.3 - a few socket fixes, mostly windows related... Changes from 6.2.1 to 6.2.2 - bumped gnutls to 3.0.0 or later... - lots of bug fixes and general cleanup - socket endian issues and other things for ccrtp - templated newp and freep handle management Changes from 6.2.0 to 6.2.1 - datetime: fix const inconsistency - fsys: cached error variable must be mutable - replacment new/delete cannot be declared inline - fix exception specifier clash for c++11 Changes from 6.1.11 to 6.2.0 - standardized cmake paths and stand-alone usages - gnutls support in cmake - unified openssl checks, even works for windows - improved openssl support, new static crypto option - pkgconfig usable in win32, other win32 fixes - fixes for mac build & optional disable of utils - upticked abi version to 7, should have happened with 10/11? Changes from 6.1.10 to 6.1.11 - any addr and overloads in commoncpp - cmake abi fix and other apple specific issues - stream fixes, sflphone recommended changes, and other updates - key protocol added - cleaner build for binding without resolver - cleanup and fixes for commoncpp peering... - UDPSocket: use ucommon::Socket::address - Socket::address: add setAny(sockaddr*), setLoopback(sockaddr*) Changes from 6.1.9 to 6.1.10 - for next release - iso cleaness - Fix memory leak in DateTime ctor - Fix utf8::count() - secure::erase() should be more secure Changes from 6.1.8 to 6.1.9 - ost::Socket: use ucommon::Socket for join(), drop() implementations - back to native threading model for mingw - Socket::store: use existing len method - Socket::address: allow printing to std::ostream - Socket::address: use in_port_t for port numbers - Socket::join, ::drop: allow to set interface index for IPv6 Changes from 6.1.7 to 6.1.8 - mingw libstdc++ c++11 support now requires winpthread - more android related updates Changes from 6.1.6 to 6.1.7 - lots of android related updates Changes from 6.1.5 to 6.1.6 - some windows and mingw fixes - Socket::address::print(): minor fixes - Socket::address: fix constructor documentation - Socket::address: add unit tests for print() - Socket::address: add print() method - Socket::address: add withPort() - Socket::address: add constructors from standard addr types - Socket::address: use existing len() method. Changes from 6.1.4 to 6.1.5 - key merge on load for 6.1.5 Changes from 6.1.3 to 6.1.4 - lots of namespace usage cleanup - Socket::address: add unit tests for new features - Socket::address: add isAny, setAny, isLoopback, setLoopback, any, loopback - Socket::address: convert port to network byte order - ost::Socket: add compatibility with ucommon::Socket::address - we don't want commoncpp configs if no lib made - Socket::address: add equality operator, getPort, setPort, getSize - improved cmake and added srpm, todo make targets Changes from 6.1.2 to 6.1.3 - revised unixaddr buffer overflow issue Changes from 6.1.1 to 6.1.2 - updated contacts, fsf address, and copyright - revised cmake build - added setgroups from ucommon 6.1.0 to 6.1.1 - module flag support for older commoncpp packages - fix for commoncpp pc file - some additional original classes mapped to commoncpp - default Semaphore constructor now valid special case
2015-04-18 04:43:24 +02:00
HOMEPAGE= https://www.gnu.org/software/commoncpp/
COMMENT= Very light-weight C++ library for deeply embedded applications
LICENSE= gnu-lgpl-v3
ucommon: updated to 7.0.0 Changes from 6.6.0 to 7.0.0 - clean new library abi 8.0 - atomic typeref system completed, matches tychomt spec - c++11 support completed - deprecated functions and templates removed - deprecated modules (xml, persist) moved to commoncpp Changes from 6.5.7 to 6.6.0 - introduced rsa key support - expanded hmac support - expanded digests for sha256 and 384 - reword of common digest code - improved nullptr clang support - remove clang forced c++11 from build - check for openssl rsa support - port types for 7.0 migration - socket addresses for typeref - further c++11 header fixes - removed old ssl demo app Changes from 6.5.6 to 6.5.7 - improved c++11 support - mapped pointer introduced - fixed is usage - improved mapref remove Changes from 6.5.5 to 6.5.6 - simplified arrayref - added listref - map iterators thru locked instances - type standardization - socket address type Changes from 6.5.4 to 6.5.5 - more portable nullptr support - thread-safe mapref class - some typeref convenience types - bit operations on byterefs Changes from 6.5.3 to 6.5.4 - secure string and key management types - better cleanup of secure objects - file i/o for heap temporary Changes from 6.5.2 to 6.5.3 - arrayref now uses ConditionalAccess, fix for Conditional Changes from 6.5.1 to 6.5.2 - memory management cleanup and mingw32 support for native conditionals - new methodology of having getaddrinfo allocate memory - introduction of queueref and stackref; arrayref becomes useful - typeref concatenation operators Changes from 6.5.0 to 6.5.1 - thread shared references added Changes from 6.4.4 to 6.5.0 - typeref expanded - arrayref introduced - nullptr and other c++ modernizations - clang now defaulted to c++11 - minimum native windows now requires conditionals - mingw has to use win32 pthread support - somewhat more usable heap temporary templates Changes from 6.4.3 to 6.4.4 - additional typeref operators Changes from 6.4.2 to 6.4.3 - fix for broken windows setuid macro Changes from 6.4.1 to 6.4.2 - solaris related cmake fixes - cleanup of test build and osx fixes Changes from 6.4.0 to 6.4.1 - keyfile fixed constructor issue Changes from 6.3.6 to 6.4.0 - new typeref system for immutable atomic reference counted objects - heap management objects support moving heap through assignment - extended unit tests for typeref system - improved openbsd support - atomics enabled by default Changes from 6.3.5 to 6.3.6 - code cleanup - simulate option for scrub - set newline style for cmake genorated files Changes from 6.3.4 to 6.3.5 - general code cleanup - some build fixes Changes from 6.3.3 to 6.3.4 - improved atomics support - configure atomics default matches cmake default - general code cleanup - more casting operations and cast fixups - polymorphic casting support & rtti detection - enclose random value templates in Random - improved rng support Changes from 6.3.2 to 6.3.3 - improved cipher key management - b64 support improved and string hex conversions - simplified digest functions - some solaris fixes Changes from 6.3.1 to 6.3.2 - fixed a broken streambuf for commoncpp - deref cast function added - fixed missing pkg-config
2019-01-13 19:21:24 +01:00
USE_CMAKE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= intltool pkg-config
#USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE+= commoncpp.pc.in
PKGCONFIG_OVERRIDE+= ucommon.pc.in
.include "options.mk"
LDFLAGS.SunOS+= -lsocket -lnsl -lintl
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"