pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/rudiments rudiments: updated to 1.3.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/f092c90c4a33
branches: trunk
changeset: 447109:f092c90c4a33
user: adam <adam%pkgsrc.org@localhost>
date: Tue Feb 16 13:10:18 2021 +0000
description:
rudiments: updated to 1.3.1
Rudiments 1.3.1
This patch release fixes a bug in the rpm spec file and a missing library dependency in the link command for librudiments-apache.
Rudiments 1.3.0
This release mainly featured integration of code from other projects. The remnants of the old firstworks project "stencil" have been merged in, as well as some MVC base classes from other projects.
Some date-time parsing code from SQL Relay has been pushed down into the datetime class.
There are some new features as well - most notably an encryption framework and aes128 class. There are also sax/dom parsers for CSV, ini, and java-style properties files as well, similar to the
xml/json sax/dom classes.
The logger classes have been refactored a bit, in back-incompatible ways. Thus the minor version bump.
Full ChangeLog follows:
unattended tests
added support for escaping single/double-quotes to templateengine
migrated in clasess from stencil project
added librudiments-apache
added \r\n support when parsing CSVs
integrated MVC base classes from other projects
added inisax/inidom and propsax/propdom classes
added cronschedule class
added logger start/end methods
logger string-write works like printf now
logger indent uses uint32_t now
removed some unused logger::write() methods
added a log level to the logger class
process::spawn()'s forked child exits if exec() fails now
charstring::replace() methods are null-safe now
migrated datetime::parse() and datetime::formatAs() from sqlrelay
csvsax accepts empty (or all whitespace) files now
logger::write() is null-safe now
base64encode is whitespace-safe now
added support for 5-part dates and day-month-year 4-part dates
added datetime::getWeekOfYear
added file::extension
added directory::createTemporaryDirectory
added directory::removeTree
added encryption interface
added aes128 encryption
added charstring::startsWith/endsWith
Rudiments 1.2.2
This is a minor bug-fix release. ChangeLog follows:
fixed another long-standing charstring::httpEscape bug
-Wno-deprecated-declarations is now included if possible
added configure tests for RB_HALT/AUTOBOOT (enums on solaris 11.4)
certificate tests use sha1 if sha256 is unavailable
filedescriptor::pvt->_lstnr is initialzed to NULL in clone operation now
listener::listen() safely handles non pollin/out events now
removed waitForChildren() from shutdown/crash handlers
sigsuspend() fails if errno!=EINTR now instead of whether it returns -1
filtered out -Wl,-Bsymbolic-functions -Wl,-z,relro from krb5-config
Rudiments 1.2.1
This is a minor bug-fix release. ChangeLog follows:
charstring::isYes includes "on" and charstring::isNo includes "off"
tabs are url-encoded correctly now
"unsafe" characters are url-encoded now
httpEscape uses character::isAlphanumeric now (to improve perforamnce)
some file-descriptor-passing tweaks for modern FreeBSD
fixed some json parsing bugs
updated default_md=sha256 in ca.cnf to generate ca.pem in tests
fixed a possible double-free in listener::cleanUp
Rudiments 1.2.0
This release adds a few minor features, and fixes a few minor bugs...
The jsonsax/dom classes handle escaping correctly now.
The url class features a getError() method which returns more detailed error information than the error class. For example, if there's a protocol error, as opposed to an operating-system-level error,
then url::getError() returns it.
A sha256 class has been added. The sha1, sha256, and md5 classes now prefer to use libcrypto implementations, if they are available, as they might be hardware accelerated, but fall back to internal
implementations if they are not available.
hash::getHash() returns binary data now, for all hashes. Previously sha1/256 returned binary data and md5 returned a string.
charstring::hexEncode()/hexDecode(), and charstring::before()/between()/after() methods have been added to the charstring class.
The url class now supports setting the user agent and other headers for http urls. It also supports making http POST requests.
The various container classes (linkedlist, avltree, dictionary, etc.) all support remove/clearAnd(Array)Delete methods. The removeAnd(Array)Delete methods remove the node from the container and
delete the value stored in the node as well. The clearAnd(Array)Delete methods operate similarly, removing all nodes.
diffstat:
devel/rudiments/Makefile | 43 +-
devel/rudiments/PLIST | 300 +++++++++-
devel/rudiments/buildlink3.mk | 11 +-
devel/rudiments/distinfo | 16 +-
devel/rudiments/patches/patch-include_rudiments_private_socketclient.h | 3 +-
devel/rudiments/patches/patch-src_Makefile.in | 17 +
devel/rudiments/patches/patch-src_listener.cpp | 3 +-
devel/rudiments/patches/patch-src_xmldomnode.cpp | 15 -
8 files changed, 322 insertions(+), 86 deletions(-)
diffs (truncated from 943 to 300 lines):
diff -r fe7205f60831 -r f092c90c4a33 devel/rudiments/Makefile
--- a/devel/rudiments/Makefile Tue Feb 16 10:25:47 2021 +0000
+++ b/devel/rudiments/Makefile Tue Feb 16 13:10:18 2021 +0000
@@ -1,33 +1,22 @@
-# $NetBSD: Makefile,v 1.62 2020/05/22 10:55:45 adam Exp $
-#
+# $NetBSD: Makefile,v 1.63 2021/02/16 13:10:18 adam Exp $
+
+DISTNAME= rudiments-1.3.1
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rudiments/}
-DISTNAME= rudiments-1.0.2
-PKGREVISION= 14
-CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rudiments/}
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://rudiments.sourceforge.net/
+COMMENT= C++ class library for client/server/daemon applications
+LICENSE= gnu-lgpl-v2
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://rudiments.sourceforge.net/
-COMMENT= C++ class library for client/server/daemon applications
-LICENSE= gnu-lgpl-v2
-
-GNU_CONFIGURE= YES
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake
-USE_LANGUAGES= c c++
-USE_LIBTOOL= YES
-USE_PKGLOCALEDIR= YES
-PTHREAD_AUTO_VARS= YES
-
-BUILDLINK_TRANSFORM+= rm:-Werror
-BUILDLINK_TRANSFORM+= rm:-Wno-long-double
-
-.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mclang)
-_WRAP_EXTRA_ARGS.CXX+= -Wno-error=unused-private-field
-CWRAPPERS_APPEND.cxx+= -Wno-error=unused-private-field
-# Avoid deprecation errors on Darwin for GSS.framework
-CWRAPPERS_APPEND.cxx+= -Wno-error=deprecated-declarations
-.endif
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --disable-apache2
+CONFIGURE_ARGS+= --disable-werror
+PTHREAD_AUTO_VARS= yes
.include "../../devel/pcre/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
diff -r fe7205f60831 -r f092c90c4a33 devel/rudiments/PLIST
--- a/devel/rudiments/PLIST Tue Feb 16 10:25:47 2021 +0000
+++ b/devel/rudiments/PLIST Tue Feb 16 13:10:18 2021 +0000
@@ -1,22 +1,33 @@
-@comment $NetBSD: PLIST,v 1.20 2017/01/16 13:09:05 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.21 2021/02/16 13:10:18 adam Exp $
bin/rudiments-config
+include/rudiments/aes128.h
include/rudiments/avltree.h
include/rudiments/bytebuffer.h
include/rudiments/bytestring.h
+include/rudiments/cgihttpserverapi.h
include/rudiments/character.h
include/rudiments/charstring.h
+include/rudiments/chat.h
include/rudiments/client.h
include/rudiments/codetree.h
include/rudiments/commandline.h
include/rudiments/compiler.h
+include/rudiments/cronschedule.h
include/rudiments/crypt.h
+include/rudiments/csvdom.h
+include/rudiments/csvsax.h
+include/rudiments/cursordomnode.h
include/rudiments/datetime.h
include/rudiments/debugprint.h
include/rudiments/device.h
include/rudiments/dictionary.h
include/rudiments/directory.h
+include/rudiments/dom.h
+include/rudiments/domevents.h
+include/rudiments/domnode.h
include/rudiments/dynamicarray.h
include/rudiments/dynamiclib.h
+include/rudiments/encryption.h
include/rudiments/environment.h
include/rudiments/error.h
include/rudiments/file.h
@@ -26,17 +37,37 @@
include/rudiments/gss.h
include/rudiments/hash.h
include/rudiments/hostentry.h
+include/rudiments/httpbasicsecurity.h
+include/rudiments/httprequest.h
+include/rudiments/httpresponse.h
+include/rudiments/httpserverapi.h
+include/rudiments/httpserverapimain.h
include/rudiments/inetsocketclient.h
include/rudiments/inetsocketserver.h
include/rudiments/inetsocketutil.h
+include/rudiments/inidom.h
+include/rudiments/inisax.h
+include/rudiments/input.h
+include/rudiments/jsondom.h
+include/rudiments/jsonsax.h
include/rudiments/linkedlist.h
include/rudiments/listener.h
include/rudiments/logger.h
include/rudiments/md5.h
include/rudiments/memorymap.h
include/rudiments/memorypool.h
+include/rudiments/mvccontroller.h
+include/rudiments/mvcproperties.h
+include/rudiments/mvcresult.h
+include/rudiments/mvcsecurity.h
+include/rudiments/mvcservice.h
+include/rudiments/mvctier.h
+include/rudiments/mvcview.h
+include/rudiments/output.h
include/rudiments/parameterstring.h
include/rudiments/permissions.h
+include/rudiments/private/aes128.h
+include/rudiments/private/aes128includes.h
include/rudiments/private/avltree.h
include/rudiments/private/avltreeincludes.h
include/rudiments/private/avltreeinlines.h
@@ -44,9 +75,14 @@
include/rudiments/private/bytebuffer.h
include/rudiments/private/bytebufferincludes.h
include/rudiments/private/bytestringincludes.h
+include/rudiments/private/cgihttpserverapi.h
+include/rudiments/private/cgihttpserverapiincludes.h
+include/rudiments/private/cgimodule.h
include/rudiments/private/characterincludes.h
include/rudiments/private/charstring.h
include/rudiments/private/charstringincludes.h
+include/rudiments/private/chat.h
+include/rudiments/private/chatincludes.h
include/rudiments/private/client.h
include/rudiments/private/clientincludes.h
include/rudiments/private/codetree.h
@@ -57,7 +93,15 @@
include/rudiments/private/compiler.h
include/rudiments/private/compilerincludes.h
include/rudiments/private/config.h
+include/rudiments/private/cronschedule.h
+include/rudiments/private/cronscheduleincludes.h
include/rudiments/private/cryptincludes.h
+include/rudiments/private/csvdom.h
+include/rudiments/private/csvdomincludes.h
+include/rudiments/private/csvsax.h
+include/rudiments/private/csvsaxincludes.h
+include/rudiments/private/cursordomnode.h
+include/rudiments/private/cursordomnodeincludes.h
include/rudiments/private/datetime.h
include/rudiments/private/datetimeincludes.h
include/rudiments/private/debugprint.h
@@ -70,11 +114,19 @@
include/rudiments/private/directory.h
include/rudiments/private/directoryincludes.h
include/rudiments/private/dll.h
+include/rudiments/private/dom.h
+include/rudiments/private/domevents.h
+include/rudiments/private/domeventsincludes.h
+include/rudiments/private/domincludes.h
+include/rudiments/private/domnode.h
+include/rudiments/private/domnodeincludes.h
include/rudiments/private/dynamicarray.h
include/rudiments/private/dynamicarrayincludes.h
include/rudiments/private/dynamicarrayinlines.h
include/rudiments/private/dynamiclib.h
include/rudiments/private/dynamiclibincludes.h
+include/rudiments/private/encryption.h
+include/rudiments/private/encryptionincludes.h
include/rudiments/private/environment.h
include/rudiments/private/environmentincludes.h
include/rudiments/private/errorincludes.h
@@ -95,13 +147,30 @@
include/rudiments/private/hashincludes.h
include/rudiments/private/hostentry.h
include/rudiments/private/hostentryincludes.h
+include/rudiments/private/httpbasicsecurity.h
+include/rudiments/private/httpbasicsecurityincludes.h
+include/rudiments/private/httprequest.h
+include/rudiments/private/httprequestincludes.h
+include/rudiments/private/httpresponse.h
+include/rudiments/private/httpresponseincludes.h
+include/rudiments/private/httpserverapi.h
+include/rudiments/private/httpserverapiincludes.h
include/rudiments/private/inetsocketclient.h
include/rudiments/private/inetsocketclientincludes.h
include/rudiments/private/inetsocketserver.h
include/rudiments/private/inetsocketserverincludes.h
include/rudiments/private/inetsocketutil.h
include/rudiments/private/inetsocketutilincludes.h
+include/rudiments/private/inidom.h
+include/rudiments/private/inidomincludes.h
+include/rudiments/private/inisax.h
+include/rudiments/private/inisaxincludes.h
+include/rudiments/private/inputincludes.h
include/rudiments/private/inttypes.h
+include/rudiments/private/jsondom.h
+include/rudiments/private/jsondomincludes.h
+include/rudiments/private/jsonsax.h
+include/rudiments/private/jsonsaxincludes.h
include/rudiments/private/linkedlist.h
include/rudiments/private/linkedlistincludes.h
include/rudiments/private/linkedlistinlines.h
@@ -117,8 +186,17 @@
include/rudiments/private/memorymapincludes.h
include/rudiments/private/memorypool.h
include/rudiments/private/memorypoolincludes.h
+include/rudiments/private/mvcproperties.h
+include/rudiments/private/mvcpropertiesincludes.h
+include/rudiments/private/mvcresult.h
+include/rudiments/private/mvcresultincludes.h
+include/rudiments/private/mvctier.h
+include/rudiments/private/mvctierincludes.h
+include/rudiments/private/mvcview.h
+include/rudiments/private/mvcviewincludes.h
include/rudiments/private/new.h
include/rudiments/private/nodeinlines.h
+include/rudiments/private/outputincludes.h
include/rudiments/private/parameterstring.h
include/rudiments/private/parameterstringincludes.h
include/rudiments/private/permissions.h
@@ -127,13 +205,18 @@
include/rudiments/private/processincludes.h
include/rudiments/private/prompt.h
include/rudiments/private/promptincludes.h
+include/rudiments/private/propdom.h
+include/rudiments/private/propdomincludes.h
+include/rudiments/private/propsax.h
+include/rudiments/private/propsaxincludes.h
include/rudiments/private/protocolentry.h
include/rudiments/private/protocolentryincludes.h
include/rudiments/private/randomnumber.h
include/rudiments/private/randomnumberincludes.h
include/rudiments/private/regularexpression.h
include/rudiments/private/regularexpressionincludes.h
-include/rudiments/private/rudimentsinlines.h
+include/rudiments/private/sax.h
+include/rudiments/private/saxincludes.h
include/rudiments/private/semaphoreset.h
include/rudiments/private/semaphoresetincludes.h
include/rudiments/private/server.h
@@ -142,6 +225,8 @@
include/rudiments/private/serviceentryincludes.h
include/rudiments/private/sha1.h
include/rudiments/private/sha1includes.h
+include/rudiments/private/sha256.h
+include/rudiments/private/sha256includes.h
include/rudiments/private/sharedmemory.h
include/rudiments/private/sharedmemoryincludes.h
include/rudiments/private/signalclassesincludes.h
@@ -162,10 +247,13 @@
include/rudiments/private/stderrdestination.h
include/rudiments/private/stdio.h
include/rudiments/private/stdoutdestination.h
-include/rudiments/private/stringbuffer.h
include/rudiments/private/stringbufferincludes.h
+include/rudiments/private/stringbufferinlines.h
+include/rudiments/private/sys.h
include/rudiments/private/sysincludes.h
include/rudiments/private/syslogdestination.h
+include/rudiments/private/templateengine.h
+include/rudiments/private/templateengineincludes.h
include/rudiments/private/thread.h
include/rudiments/private/threadincludes.h
include/rudiments/private/threadmutex.h
@@ -181,29 +269,33 @@
include/rudiments/private/unixsocketutil.h
include/rudiments/private/unixsocketutilincludes.h
include/rudiments/private/url.h
+include/rudiments/private/urlhttprequest.h
+include/rudiments/private/urlhttprequestincludes.h
include/rudiments/private/urlincludes.h
include/rudiments/private/userentry.h
include/rudiments/private/userentryincludes.h
+include/rudiments/private/websocket.h
+include/rudiments/private/websocketincludes.h
include/rudiments/private/winsock.h
include/rudiments/private/xmldom.h
-include/rudiments/private/xmldomevents.h
-include/rudiments/private/xmldomeventsincludes.h
include/rudiments/private/xmldomincludes.h
-include/rudiments/private/xmldomnode.h
-include/rudiments/private/xmldomnodeincludes.h
include/rudiments/private/xmlsax.h
include/rudiments/private/xmlsaxincludes.h
include/rudiments/process.h
include/rudiments/prompt.h
+include/rudiments/propdom.h
+include/rudiments/propsax.h
include/rudiments/protocolentry.h
include/rudiments/randomnumber.h
include/rudiments/regularexpression.h
Home |
Main Index |
Thread Index |
Old Index