Update devel/rudiments to 0.54.

- tweaked code in configure script to remove -Werror* to be
  non-greedy
- updated semaphoreset/sharedmemory destructors to remove
  the semaphoreset/sharedmemory segment last
- added url class that uses libcurl (read-only for now)
- added support for urls to xmlsax (and thus xmldom and
  codetree)
- added http support to the url class for platforms that
  lack an appropriate libcurl
- charstring 1-argument trim methods trim all whitespace
  now, not just spaces
- added charstring::isNullOrEmpty()
- added read-until-terminator methods with maxbytes option
- applied George Carrette's listener class patch to not close
  invalid-epoll filedescriptors
This commit is contained in:
fhajny 2015-11-10 10:04:40 +00:00
parent e95c790756
commit a4018fd6b6
5 changed files with 27 additions and 15 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.32 2015/09/02 12:37:09 fhajny Exp $
# $NetBSD: Makefile,v 1.33 2015/11/10 10:04:40 fhajny Exp $
#
DISTNAME= rudiments-0.53
DISTNAME= rudiments-0.54
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rudiments/}
@ -25,5 +25,6 @@ CWRAPPERS_APPEND.cxx+= -Wno-error=unused-private-field
.include "../../devel/pcre/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.16 2015/09/02 12:37:09 fhajny Exp $
@comment $NetBSD: PLIST,v 1.17 2015/11/10 10:04:40 fhajny Exp $
bin/rudiments-config
include/rudiments/bytebuffer.h
include/rudiments/bytestring.h
@ -157,6 +157,8 @@ include/rudiments/private/unixsocketserver.h
include/rudiments/private/unixsocketserverincludes.h
include/rudiments/private/unixsocketutil.h
include/rudiments/private/unixsocketutilincludes.h
include/rudiments/private/url.h
include/rudiments/private/urlincludes.h
include/rudiments/private/userentry.h
include/rudiments/private/userentryincludes.h
include/rudiments/private/winsock.h
@ -189,6 +191,7 @@ include/rudiments/threadmutex.h
include/rudiments/unixsocketclient.h
include/rudiments/unixsocketserver.h
include/rudiments/unixsocketutil.h
include/rudiments/url.h
include/rudiments/userentry.h
include/rudiments/xmldom.h
include/rudiments/xmldomnode.h
@ -363,6 +366,8 @@ share/doc/rudiments/classes/html/classunixsocketserver-members.html
share/doc/rudiments/classes/html/classunixsocketserver.html
share/doc/rudiments/classes/html/classunixsocketutil-members.html
share/doc/rudiments/classes/html/classunixsocketutil.html
share/doc/rudiments/classes/html/classurl-members.html
share/doc/rudiments/classes/html/classurl.html
share/doc/rudiments/classes/html/classuserentry-members.html
share/doc/rudiments/classes/html/classuserentry.html
share/doc/rudiments/classes/html/classwinsock-members.html
@ -383,6 +388,7 @@ share/doc/rudiments/classes/html/commandline_8h_source.html
share/doc/rudiments/classes/html/commandlineincludes_8h_source.html
share/doc/rudiments/classes/html/compiler_8h_source.html
share/doc/rudiments/classes/html/compilerincludes_8h_source.html
share/doc/rudiments/classes/html/config_8h_source.html
share/doc/rudiments/classes/html/config__openvms721_8h_source.html
share/doc/rudiments/classes/html/config__vs2005_8h_source.html
share/doc/rudiments/classes/html/config__vs2010_8h_source.html
@ -579,6 +585,7 @@ share/doc/rudiments/classes/html/private_2threadmutex_8h_source.html
share/doc/rudiments/classes/html/private_2unixsocketclient_8h_source.html
share/doc/rudiments/classes/html/private_2unixsocketserver_8h_source.html
share/doc/rudiments/classes/html/private_2unixsocketutil_8h_source.html
share/doc/rudiments/classes/html/private_2url_8h_source.html
share/doc/rudiments/classes/html/private_2userentry_8h_source.html
share/doc/rudiments/classes/html/private_2xmldom_8h_source.html
share/doc/rudiments/classes/html/private_2xmldomnode_8h_source.html
@ -651,6 +658,8 @@ share/doc/rudiments/classes/html/unixsocketserver_8h_source.html
share/doc/rudiments/classes/html/unixsocketserverincludes_8h_source.html
share/doc/rudiments/classes/html/unixsocketutil_8h_source.html
share/doc/rudiments/classes/html/unixsocketutilincludes_8h_source.html
share/doc/rudiments/classes/html/url_8h_source.html
share/doc/rudiments/classes/html/urlincludes_8h_source.html
share/doc/rudiments/classes/html/userentry_8h_source.html
share/doc/rudiments/classes/html/userentryincludes_8h_source.html
share/doc/rudiments/classes/html/winsock_8h_source.html
@ -722,6 +731,7 @@ share/doc/rudiments/programming/thread.html
share/doc/rudiments/programming/threadmutex.html
share/doc/rudiments/programming/unixsocketclient.html
share/doc/rudiments/programming/unixsocketserver.html
share/doc/rudiments/programming/url.html
share/doc/rudiments/programming/userentry.html
share/doc/rudiments/programming/xmldom.html
share/doc/rudiments/programming/xmlsax.html

View file

@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.13 2015/09/02 12:37:09 fhajny Exp $
# $NetBSD: buildlink3.mk,v 1.14 2015/11/10 10:04:40 fhajny Exp $
#
# This Makefile fragment is included by packages that use rudiments.
#
@ -10,11 +10,12 @@ BUILDLINK_TREE+= rudiments
.if !defined(RUDIMENTS_BUILDLINK3_MK)
RUDIMENTS_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.rudiments+= rudiments>=0.53
BUILDLINK_API_DEPENDS.rudiments+= rudiments>=0.54
BUILDLINK_PKGSRCDIR.rudiments?= ../../devel/rudiments
.include "../../devel/pcre/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.endif # RUDIMENTS_BUILDLINK3_MK
BUILDLINK_TREE+= -rudiments

View file

@ -1,10 +1,10 @@
$NetBSD: distinfo,v 1.18 2015/11/03 03:29:31 agc Exp $
$NetBSD: distinfo,v 1.19 2015/11/10 10:04:40 fhajny Exp $
SHA1 (rudiments-0.53.tar.gz) = dfb4f0c2015b8664ffdafaa245cb82f8f44bb5fb
RMD160 (rudiments-0.53.tar.gz) = fe0ec925e552906d82e4af4780de5236cc60e21d
SHA512 (rudiments-0.53.tar.gz) = 70f70f4a97bec6072a71bf65ba9038db332b4f351b89e80a7da2f3a902742a0bf8b31b5787c6334b626c8bcbbb834a33014bbc8910651280b22c71ecd149670f
Size (rudiments-0.53.tar.gz) = 1948963 bytes
SHA1 (rudiments-0.54.tar.gz) = 04c8381c1894d2429f5d229f1ca7e21976f7cd06
RMD160 (rudiments-0.54.tar.gz) = f2ef39aabbadfe79dc459d616bd670f5833b5e36
SHA512 (rudiments-0.54.tar.gz) = d0eead2994782f9aeab62ba8df4d1c5ca5e4c340e3b0953ccc799423a8d461fb1a70c03d33f88907fe96b76cbc0e1d5325eea7f79d0174d1d9046e3c8032ec4f
Size (rudiments-0.54.tar.gz) = 2008647 bytes
SHA1 (patch-configure) = 2c45deb64001dc6bdb439e956bca049e4eb5b855
SHA1 (patch-include_rudiments_private_socketclient.h) = a09c49f7b4f0df6d3b67b8521d00bd372e405f87
SHA1 (patch-include_rudiments_private_socketclient.h) = cca823573c0b61a18178fd4a73a2165c6ee9d3e1
SHA1 (patch-src_listener.cpp) = fe18de133e9078174dcc8fad1d1a3ee4b9bf1326
SHA1 (patch-src_xmldomnode.cpp) = 660ef2557f45c8fe21a4d062c1e0749dcdd06b43

View file

@ -1,13 +1,13 @@
$NetBSD: patch-include_rudiments_private_socketclient.h,v 1.1 2014/04/28 12:15:20 fhajny Exp $
$NetBSD: patch-include_rudiments_private_socketclient.h,v 1.2 2015/11/10 10:04:40 fhajny Exp $
Fix build with -Woverloaded-virtual.
--- include/rudiments/private/socketclient.h.orig 2013-09-23 04:57:18.000000000 +0000
--- include/rudiments/private/socketclient.h.orig 2015-10-10 10:07:55.000000000 +0000
+++ include/rudiments/private/socketclient.h
@@ -5,6 +5,7 @@
@@ -6,6 +6,7 @@
#ifdef RUDIMENTS_HAS_SSL
void *newSSLBIO() const;
#endif
+ using ::client::connect;
int32_t connect(const struct sockaddr *addr,
socklen_t addrlen, int32_t sec, int32_t usec);
ssize_t lowLevelRead(void *buf, ssize_t count) const;
ssize_t lowLevelRead(void *buf, ssize_t count);