The NetBSD Project

CVS log for pkgsrc/devel/rudiments/Makefile

[BACK] Up to [] / pkgsrc / devel / rudiments

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.70 / (download) - annotate - [select for diffs], Wed Apr 19 08:08:19 2023 UTC (7 weeks, 3 days ago) by adam
Branch: MAIN
Changes since 1.69: +2 -1 lines
Diff to previous 1.69 (colored)

revbump after textproc/icu update

Revision 1.69 / (download) - annotate - [select for diffs], Sat Dec 3 15:50:50 2022 UTC (6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.68: +2 -3 lines
Diff to previous 1.68 (colored)

rudiments: updated to 1.4.2

1.4.2 - backported epoll_wait/kqueue fixes from 2.0 branch

1.4.1 - backported sensitivevalue code from 2.0 branch

1.4.0 - added wcharacter, wcharstring, and wstringbuffer classes
        memorymap::getLength() -> getSize()
        added various *IgnoringCase methods to charstring/wcharstring
        removed length()/isNullOrEmpty() with const unsigned char * arguments
        now size="number of bytes" and length="number of characters/elements",
                updated comments, parameters, and some method names
        added datetime::getCentury()
        added datetime::getShortYear()
        fixed jsondom::write() of non-existent string values
        fixed datetime::parse() crash when NULL parameters are passed in
        added commandline::toDictionary()
        added parameterstring::getDictionary()
        fixed potential null dereference in jsondom::write()
        fixed potential null dereference in templateengine::replaceVariable()
        added error reporting to templateengine class
        fixed potentially uninitialized optimum block size in sax class
        optimized domnode::insertNode() for empty, append, and prepend cases
        added quoted-printable encodings to charstring
        added lots of row/column manipulation methods to csvdom class
        tls::setProtocolVersion() supports "v" format: SSLv3, TLSv1.3, etc.
        applied patch from Igor to fix configure.vbs VC++ version detection
                for non-US versions

Revision 1.68 / (download) - annotate - [select for diffs], Wed Oct 26 10:31:02 2022 UTC (7 months, 2 weeks ago) by wiz
Branch: MAIN
Changes since 1.67: +2 -2 lines
Diff to previous 1.67 (colored)

*: bump PKGREVISION for libunistring shlib major bump

Revision 1.67 / (download) - annotate - [select for diffs], Wed Dec 8 16:02:03 2021 UTC (18 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)

revbump for icu and libffi

Revision 1.66 / (download) - annotate - [select for diffs], Thu Oct 21 07:46:31 2021 UTC (19 months, 2 weeks ago) by wiz
Branch: MAIN
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)

*: recursive bump for heimdal 7.7.0

its now includes openssl's

Revision 1.65 / (download) - annotate - [select for diffs], Wed Sep 29 19:00:06 2021 UTC (20 months, 1 week ago) by adam
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored)

revbump for boost-libs

Revision 1.64 / (download) - annotate - [select for diffs], Wed Apr 21 13:24:10 2021 UTC (2 years, 1 month ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2
Changes since 1.63: +2 -1 lines
Diff to previous 1.63 (colored)

revbump for boost-libs

Revision 1.63 / (download) - annotate - [select for diffs], Tue Feb 16 13:10:18 2021 UTC (2 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1
Changes since 1.62: +16 -27 lines
Diff to previous 1.62 (colored)

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.

Revision 1.62 / (download) - annotate - [select for diffs], Fri May 22 10:55:45 2020 UTC (3 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

revbump after updating security/nettle

Revision 1.61 / (download) - annotate - [select for diffs], Wed May 6 14:04:09 2020 UTC (3 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

revbump after boost update

Revision 1.60 / (download) - annotate - [select for diffs], Fri Mar 20 11:57:32 2020 UTC (3 years, 2 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

*: Convert broken sourceforge HOMEPAGEs back to http

Revision 1.59 / (download) - annotate - [select for diffs], Sun Mar 8 16:47:41 2020 UTC (3 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored)

*: recursive bump for libffi

Revision 1.58 / (download) - annotate - [select for diffs], Sat Jan 18 23:30:41 2020 UTC (3 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as, CTAN and GNU.

Revision 1.57 / (download) - annotate - [select for diffs], Sat Jan 18 21:48:09 2020 UTC (3 years, 4 months ago) by jperkin
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

*: Recursive revision bump for openssl 1.1.1.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Jan 12 20:19:55 2020 UTC (3 years, 4 months ago) by ryoon
Branch: MAIN
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored)

*: Recursive revbump from devel/boost-libs

Revision 1.55 / (download) - annotate - [select for diffs], Sun Sep 8 16:31:33 2019 UTC (3 years, 9 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.54: +2 -1 lines
Diff to previous 1.54 (colored)

rudiments: strip -Werror

this is causing problems with deprecations in recent linux standard libs.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Aug 22 12:23:04 2019 UTC (3 years, 9 months ago) by ryoon
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

Recursive revbump from boost-1.71.0

Revision 1.53 / (download) - annotate - [select for diffs], Sat Jul 20 22:46:00 2019 UTC (3 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

*: recursive bump for nettle 3.5.1

Revision 1.52 / (download) - annotate - [select for diffs], Mon Jul 1 04:07:47 2019 UTC (3 years, 11 months ago) by ryoon
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

Recursive revbump from boost-1.70.0

Revision 1.51 / (download) - annotate - [select for diffs], Thu Dec 13 19:51:34 2018 UTC (4 years, 5 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

revbump for boost 1.69.0

Revision 1.50 / (download) - annotate - [select for diffs], Thu Aug 16 18:54:29 2018 UTC (4 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

revbump after boost-libs update

Revision 1.49 / (download) - annotate - [select for diffs], Sun Apr 29 21:31:20 2018 UTC (5 years, 1 month ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

revbump for boost-libs update

Revision 1.48 / (download) - annotate - [select for diffs], Tue Jan 23 14:36:32 2018 UTC (5 years, 4 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.47: +3 -1 lines
Diff to previous 1.47 (colored)

rudiments: Avoid -Wdeprecated-declarations failure on Darwin.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Jan 1 21:18:08 2018 UTC (5 years, 5 months ago) by adam
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

Revbump after boost update

Revision 1.46 / (download) - annotate - [select for diffs], Thu Aug 24 20:02:58 2017 UTC (5 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Revbump for boost update

Revision 1.45 / (download) - annotate - [select for diffs], Sun Apr 30 01:21:22 2017 UTC (6 years, 1 month ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.44: +2 -1 lines
Diff to previous 1.44 (colored)

Recursive revbump from boost update

Revision 1.44 / (download) - annotate - [select for diffs], Mon Jan 16 13:09:05 2017 UTC (6 years, 4 months ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.43: +2 -3 lines
Diff to previous 1.43 (colored)

Update devel/rudiments to 1.0.2.

rudiments 1.0.2

There was actually an unannounced 1.0.1 as well. 1.0.1 mainly contained
fixes for OpenSSL 1.1.x. 1.0.2 just adds another SSL tweak that's
required by Fedora for packaging. No pressing need to upgrade unless
you're having trouble building on a platform that uses OpenSSL 1.1.x.

rudiments 1.0.0
- images directory and contents are installed with the docs now
- added md5 class
- moved sendSignal/raiseSignal to process class
- implemented process::backtrace() for windows
- added missing charstring::getLastOfSet(OrEnd) methods
- refactored thread class to match process class paradigm
- added avltree class
- updated dictionary to use an avltree
- update xmldom to use a dictionary for its string cache
- file::getContents(fd) gets the entire file contents now, even if the
  current position in the file isn't the beginning
- fixed detection of whether timed semaphore ops are supported on
  platforms that just implement semtimedop() to return -1 and set ENOSYS
- fake certs aren't generated now (in tests) on Windows, if ssl is
  disabled, or if openssl isn't found
- added charstring::isYes/isNo
- fixed high/low-bits calculation bugs in memorymap and sharedmemory for
- fixed a maxsize bug in memorymap for Windows
- changed filesystem paradigm to match file paradigm -
- added O_BINARY to various open()'s in file class
- fixed threadmutex::wait() return value on Windows
- fixed timezone offset during DST for systems with the "timezone"
  external variable
- filesystem class returns NULL consistently for methods that return
  const char * but that aren't implemented by the OS
- sys::getSuggested* return 1024 if they are unsupported by the OS now
- added dlerror() calls before dlopen/dlsym/dlclose to clear stale
- added fs type-name to fs type-id mapping for systems with statvfs
- added type-name and type-id for SCO htfs
- if unsetenv doesn't exist, then environment::remove() checks to see if
  the variable exists at all before setting it to an empty string now,
  to avoid creating it unnecessarily
- xmldomnode writes out numeric entites like `E correctly now
- fixed groupentry::initialize(NULL) on UnixWare
- implemented missing unixsocketserver::close()
- fixed filesystem::open(fd) for Windows 8+
- fixed file::changeOwner() for Windows 8+
- initialized timeremaining in snooze::nanosnooze for systems that don't
  set it at all if the full sleep occurred (eg. arm64 linux)
- renamed linkedlistutil_* to node_*
- added commandline::getValue/found that take arg and abbr parameters
- added supported() methods to sharedmemory/semaphoreset classes
- renamed supportsXXX() methods to supported()
- unix sockets are faked on syllable now
- tweaked dynamicarray::find() to greatly reduce the number of
  comparisons it does and improve performance significantly
- various performance tweaks to memorypool
- updated memory pool to 8-byte-align allocations
- renamed filedescriptor::get/setTcpRead/WriteBufferSize to
- filedescriptor::get/setSocketRead/WriteBufferSize
- fixed *entry::getAliasList() to return NULL under all circumstances if
  there are no aliases
- added missing libraries to the library link command

rudiments 0.57.0
- fixed subtle bug in codegree::compareValue
- replaced several type-punned pointer dereferences with
  bytestring::copy() to avoid bus errors on sparc and other platforms
  that require assignments from aligned locations
- added filesystem::hostToLittlEndian/littleEndianToHost
- added missing __LITTLE_ENDIAN definitions to filedescriptor.cpp
- added minimal glibc-specific process::backtrace() method

Revision 1.43 / (download) - annotate - [select for diffs], Sun Jan 1 16:05:57 2017 UTC (6 years, 5 months ago) by adam
Branch: MAIN
Changes since 1.42: +2 -1 lines
Diff to previous 1.42 (colored)

Revbump after boost update

Revision 1.42 / (download) - annotate - [select for diffs], Mon Dec 12 14:22:02 2016 UTC (6 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4
Changes since 1.41: +0 -1 lines
Diff to previous 1.41 (colored)

Revert "Specify readline requirement on 30 packages"

Many of these definitely do not depend on readline.
So there must be a different underlying problem, and that
should be tracked down instead of papering over it.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Dec 4 03:51:15 2016 UTC (6 years, 6 months ago) by marino
Branch: MAIN
Changes since 1.40: +2 -1 lines
Diff to previous 1.40 (colored)

Specify readline requirement on 30 packages

/usr/libexec/binutils225/elf/ error: cannot find -lreadline

The missing specification is obvious on DragonFly because there's
no publically accessible version of readline in base.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Oct 20 14:39:51 2016 UTC (6 years, 7 months ago) by fhajny
Branch: MAIN
Changes since 1.39: +2 -3 lines
Diff to previous 1.39 (colored)

Update devel/rudiments to 0.56.0.


- userentry/groupentry::initialize(NULL) don't load root any more
- + is properly http-escaped now
- directory::getChildByIndex() works correctly on windows now
- dynamiclib::getError() returns NULL on all platforms when there
  is no error now (used to return an "ok" string on Windows)
- userentry/groupentry::getSidString() returns NULL on non-windows
  platforms when uninitialized or initialized to an invalid group,
  used to return NULL on Windows and -1 on unix-like platforms
- fixed configure bug causing getspnam methods not to be detected
- datetime::addDays works correctly now
- datetime::getTimeZoneOffset() works correctly on Windows now
- added sha1 class
- printBits() correctly takes a const unsigned char * argument now
- applied Kasyanov Dmitry's patch to fix a subtle bug in TLS/SSL
  method initialization
- added destructor to stdiofiledescriptor that prevents file
  descriptors 0, 1 and 2 from being closed when the instance is
- added config_vs2015.h for VS2015
- updated url.cpp to compile with VS2015
- sys::getMaxLineLength defaults to SSIZE_MAX now
- groupentry::getMembers() returns NULL instead of an array with a
  single NULL member if the group has no members on all systems now
- directory::fpathConf works correctly now
- renamed directory::canAccessLongFileNames() to
- disabled calls to deprecated readdir_r
- moved file::createPipe() to filedescriptor class
- added file::createTemporaryFile() with permissions argument
- added process::waitForChildToExit()
- added a missing clear-the-output-buffer in the compiler class

Revision 1.39 / (download) - annotate - [select for diffs], Fri Oct 7 18:25:31 2016 UTC (6 years, 8 months ago) by adam
Branch: MAIN
Changes since 1.38: +2 -1 lines
Diff to previous 1.38 (colored)

Revbump post boost update

Revision 1.38 / (download) - annotate - [select for diffs], Fri Jul 1 17:00:15 2016 UTC (6 years, 11 months ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.37: +2 -1 lines
Diff to previous 1.37 (colored)

Fix missed krb bl3. Ride previous commit revision.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jul 1 16:02:12 2016 UTC (6 years, 11 months ago) by fhajny
Branch: MAIN
Changes since 1.36: +2 -3 lines
Diff to previous 1.36 (colored)

Update devel/rudiments to 0.55.0.

Major new features:

- Security Framework
  * A securitycontext may now be attached to a filedescriptor to
    enable encrypted reads and writes. The securitycontext class
    is just an interface though, and there are currently gsscontext
    and tlscontext implementations of it.
  * The gsscontext class and associated classes implement a
    wrapper on top of the GSSAPI on Linux/Unix and SSPI on Windows.
    This primarily provides Kerberos encryption and authentication,
    though on Windows it could be used for NTLM as well.
  * The tlscontext class and associated classes implement a wrapper
    on top of OpenSSL on Linux/Unix and, again, SSPI on Windows.
    This provides Transport Layer Security, or it's predecessor Secure
    Socket Layer, on both platforms.
- Thread Class Improvements
- Semantic Versioning
- General Bug Fixes

See full changelog:

Revision 1.36 / (download) - annotate - [select for diffs], Sat Mar 5 11:27:46 2016 UTC (7 years, 3 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Bump PKGREVISION for security/openssl ABI bump.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Feb 26 13:02:54 2016 UTC (7 years, 3 months ago) by jperkin
Branch: MAIN
Changes since 1.34: +3 -1 lines
Diff to previous 1.34 (colored)

Remove -Wno-long-double, not supported by all compilers.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jan 8 10:08:16 2016 UTC (7 years, 5 months ago) by fhajny
Branch: MAIN
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored)

Stop mangling innocent debug flags in configure. Fixes usage situations
where -g debug flags are defined other than mere -g<level>. PKGREVISION++

Revision 1.33 / (download) - annotate - [select for diffs], Tue Nov 10 10:04:40 2015 UTC (7 years, 7 months ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.32: +3 -2 lines
Diff to previous 1.32 (colored)

Update devel/rudiments to 0.54.

- tweaked code in configure script to remove -Werror* to be
- 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
- 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

Revision 1.32 / (download) - annotate - [select for diffs], Wed Sep 2 12:37:09 2015 UTC (7 years, 9 months ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Update devel/rudiments to 0.53.

rudiments 0.53
- exposed codetreegrammar class and updated codetree class so that
  successive parses/writes can use the same grammar without having to reload
- added insert/appendXml(File) methods to xmldomnode to parse and
  insert/append xml strings or files to a node
- fixed FILE->fileno detection for solaris 11.2, which doesn't have it at all
- llabs() is detected and preferred to abs()
- added partial xml namespace support (namespaces for tags)
- added partial support for extended ascii character set to character class
- added setgroups() call before setuid() call to drop extraneous groups
- updated rudiments-config man page, slightly
- removed outdated and unused dtd class
- updated file::resolveSymbolicLink() to use
  directory::maxPathLength(filename) as a starting point
- updated directory::getCurrentDirectory() to use MAX_PATH
  as a starting point
- serialport/serialportprofile, modemserver/modemclient classes are disabled
  in the default build now
- updated intro docs

rudiments 0.52
- tweaked codetree's recursive break logic a bit
- added compiler class
- added case-insensitive methods to xmldomnode
- added methods to xmldomnode that operate on descendents (as opposed
  to just operating on direct children)
- added methods to xmldomnode for deleting, wrapping, unwrapping
- fixed dynamiclib::getError() bug on windows
- tweaked -Werror detection in configure script
- removed rpcentry class
- added file::setPermissions() methods

rudiments 0.51
- added missing inline qualifiers to dynamicarray/staticarray method
- added test for clock_settime, datetime class uses it if other set-time
  functions aren't available, returns false and sets errno=ENOSYS if
  no set-time function is available
- directory::fpathConf now falls back to MAX_PATH code if fpathconf exists
  but there's dirfd() or anything like it
- file::createFifo returns false and sets errno=ENOSYS on platforms that
  don't support fifo's now
- file::generateKey returns -1 and sets errno=ENOSYS on VMS now
- file::createHardLink returns -1 and sets errno=ENOSYS on platforms
  don't support hard links now
- fixed missing breaks in stdio::flush
- userentry::getPassword/getRealName return NULL on VMS now
- unix sockets are faked on VMS now
- threadmutex is built and installed now whether or not threads are
  supported, but if threads are not supported, its methods are degenerate
  and return success
- filesystem::getCurrentProperties() returns false and sets errno=ENOSYS
  on VMS now
- implemented degenerate groupentry for VMS
- fixed file::getBlockCount() crash that could occur if the filesystem's
  block size was reported as 0
- tweaked copy constructors and = operators in staticarray/dynamicarray
  classes to work with older compilers
- disabled -Werror for gcc < 2.7
- filedescriptor::printf uses fprintf or fdopen/vfprintf when possible,
  in leiu of falling back to charstring::printf
- charstring::printf tries the null device before falling back
  to a scratch file
- the rate at which charstring::printf expands its buffer is now
  exponential up to 1024 bytes
- added sys::getDirectorySeparator()
- fixed trailing-slash-followed-by-quote issue when building windows
  command lines
- added --enable-enosys-notify configure option for runtime notifcations
  when methods set ENOSYS
- cleared errno before each EINTR loop
- fixed sys::sync() segfault
- fixed ssl tests
- removed intervaltimer class
- updated sys::getPhysicalPageCount/getAvailablePhysicalPageCount for Windows
- added sys::getAllocationGranularity, updated code to use it instead
  of getPageSize, in most cases
- fixed copy-constructor/=-operator bugs in dynamicarray class
- added config_vs2013.h for VS 2013
- fixed several permissions-related issues for WinNT 4
- allowShortReads/useBlockingMode are set by default for stdinput now
- added wrapper for atexit()
- changed process::getRealUser/GroupId to getUser/GroupId to match
- added process::setEffectiveUser/Group methods
- fixed and documented auto-resume behavior in snooze methods
- fixed detection of double-dashed command line parameters without values
- removed redundant charstring::rightPad()
- renamed charstring::padString() to charstring::pad()
- added safePrint methods that take unsigned char arguments
- fixed bytestring::findFirst() with unsigned char needle, when needle is 0
- fixed bugs in linkedlist::moveBefore/moveAfter
- fixed bugs in singlylinkedlist::removeAll()
- removed arg parameter from thread::setFunction(), added
  thread::setArgument(), and added thread::create(arg)
- changed thread::create() to thread::run()
- wrote lots of example code and updated the programming docs
- removed unused shmfile class
- fixed several LocalFree's that should have been delete[]'s

Revision 1.31 / (download) - annotate - [select for diffs], Tue May 19 14:12:40 2015 UTC (8 years ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Update to 0.50

0.50 - added dictionary::detach and dictionary::getValue(key)
        added xmldom::getNullNode()
        improved xml printing for text nodes
        signalmanager::waitForSignal(NULL) works as expected now
        updated charstring::httpEscape not to escape legal symbols
        added flush() method to stdio classes
        added detection and support for vsnprintf_s
        fixed serviceentry, protocolentry and rpcentry on windows
        updated *entry classes for NULL and uninitialization safety
        implemented filesystem::initialize(fd) for Windows
        updated filesystem::initialize() with NULL and -1 to behave in
                predictable ways now, updated documentation for them too
        abstracted _get_osfhandle calls and added an invalid parameter callback
        updated filedescriptor to use bit fields for all of its flags
        implemented file::changeOwner() for windows
        removed xattrs stuff
        removed SSL-related ifdef's from headers and implemented degenerate
                SSL routines for when SSL isn't supported
        timezone conversion works on windows now
        refactored bytebuffer and stringbuffer to be extent-based
        fixed a subtle stringbuffer with initialcontents bug
        refactored stringbuffer to use bytebuffer::write/appendFormatted
                directly instead of charstring::parseNumber
        implemented dynamicarray and staticarray classes
        refactored build process to use nmake and be compatible with many
                different versions of MS Visual Studio
        updated vsnprintf_s calls for platforms where it's not defined
        added configure test for bool and true/false and definitions for
                platforms that don't define them
        updated timed semaphore waits - if seconds or nanoseconds are negative
                then the timed wait acts like an un-timed wait
        added support for getsockopt with size_t optlen parameter
        fixed strncasecmp on windows when str2 is longer than str1
        xmlsax uses memorymap on Windows now
        fixed file::lockFile() and file::unlockFile() on Windows
        fixed charstring::printf on Solaris 2.5.1
        fixed datetime::getSystemDateAndTime() for Windows without 64-bit
        fixed potential double-CloseHandle in thread class

Full changelog follows:

    combined passswdentry and shadowentry classes into userentry class
    updated file::sync() to use FlushFileBuffers directly
    implemented sys::sync(), reboot(), halt() and shutdown() for windows
    implemented various sys::getXXX() methods for windows
    added "detached" option to process::spawn()
    crash-related methods in process class catch SIGABRT, SIGFPE, SIGILL, SIGBUS, SIGIOT, SIGEMT and SIGSYS in addition to SIGSEGV now
    shutdown-related methods in process class catch SIGQUIT and SIGHUP in addition to SIGINT and SIGTERM now
    on windows, signal classes now support catching, sending/raising SIGABRT, SIGFPE, SIGILL, SIGINT, SIGSEGV and SIGTERM and sending/raising SIGKILL
    disabled threads outright on OSR5
    fixed threads detection for solaris 2.6
    codetree bails properly at end of string now
    fixed a break-related condition that could cause codetree to loop indefinitely
    added support for a beginning-of-line character to codetree
    added support for recursive breaks to codetree
    made charstring::compareIgnoringCase null-safe for platforms that don't have str(n)casecmp
    improved Windows support in signal classes
    -Wno-overloaded-virtual is now set when clang is used
    fixed some subtle kqueue-related bugs
    added sys/byteorder.h and htonll/ntohll for solaris 11
    fixed endian-detection macros for solaris 10 and older
    added support for SIGLARM and signalmanager::alarm() on windows
    improved windows implementation of semaphoreset
    added sys::signalsInterruptSystemCalls()
    added process::supportsFork()

Revision 1.30 / (download) - annotate - [select for diffs], Sat Nov 29 00:47:35 2014 UTC (8 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored)

Apply additional clang arguments with cwrappers too.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Oct 30 10:40:36 2014 UTC (8 years, 7 months ago) by fhajny
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Update rudiments to 0.48.

 - got directory and file permissions working properly on windows
 - added non-static methods to randomnumber
 - added support for random_r, lrand48_r, arc4random and CreateGenRandom
 - fixed connect-with-timeout error when getaddrinfo is disabled
 - updated deployment projects for windows
 - replaced compile-tests with link-tests for kqueue, posix_fadvise,
   xattr-functions and various mmap-related functions for minix
   3.3.0 which defines them but doesn't implement them
 - added test for -lmthread for minix
 - ioctl/FIONBIO is disabled for minix now
 - added configurable randomization of hosts for
 - refactored listener class to match paradigms established by
   kqueue, epoll, /dev/poll and poll
 - added support for /dev/poll and port_create()
 - fixed a few configure-related issues under Cygwin
 - renamed the "retrycount" parameter "tries" in the client classes

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jul 18 11:39:11 2014 UTC (8 years, 10 months ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3
Changes since 1.27: +2 -3 lines
Diff to previous 1.27 (colored)

Update rudiments to 0.47.

- fixed possible null-dereference in xmldomnode::safeAppend
- added charstring::inSetIgnoringCase
- xmldomnode::setAttributeValue does nothing when the null node is
  referenced now
- fixed a codetree bug that could cause indentation to attempt to go
  negative when using an unsigned number
- added a configure test to see if -Wno-format is needed
- configure tests for mlockall/munlockall attempt link now
- added sys/types.h before sys/un.h in sys/un.h test for older freebsd
- implemented stubs for pure virtual methods of client and server classes so
  instances of them could be created to attach already-open file descriptors
- unified usage of select/poll and prefer poll
- pushed all select/poll-related code into listener class
- removed problematic and unused useListener-related methods in
  filedescriptor class
- epoll is used in place of select/poll for systems that support it
- kqueue is used in place of select/poll for systems that support it
- consolidated getpagesize() calls to use sys::getPageSize()
- added detection and support for __vsnprintf for platforms that have
  that instead of vsnprintf
- added cancel and raiseSignal methods to the thread class
- fixed datetime memory leak
- added xmldomnode::clone method to clone a node
- renamed variablebuffer to bytebuffer
- renamed rawbuffer to bytestring
- refactored linkedlist
- added singlylinkedlist class
- added sort, detach, move and insert methods to linkedlist classes
- fixed file::open using O_CREAT without O_EXCL on windows

Revision 1.27 / (download) - annotate - [select for diffs], Wed May 21 14:52:07 2014 UTC (9 years ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.26: +3 -1 lines
Diff to previous 1.26 (colored)

Use PTHREAD_AUTO_VARS, fixed pthread support in depending packages.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Mar 31 14:42:20 2014 UTC (9 years, 2 months ago) by fhajny
Branch: MAIN
Changes since 1.25: +2 -3 lines
Diff to previous 1.25 (colored)

Update rudiments to 0.46.


 - updated filedestination::open to take a permissions parameter
 - added deployment projects for windows
 - tweaked make.batch install target to install 32-bit files under
   C:\Program Files (x86)
 - wrapped waitpid() in process class
 - added #define _WINSOCKAPI_ before windows.h includes to prevent
   redefintion of winsock defs later
 - fixed O_RDONLY detection on windows in file::openInternal
 - fixed shared memory segment sizing error on windows
 - fixed O_CREAT without O_EXCL bug on windows
 - fixed backwards loaddependencies flag in dynamiclib for windows
 - added file::eightDotThree
 - added charstring::stripSet and updated charstring::strip to return
   true/false if stripping occurred or not
 - removed stubs for unimplemented classes

 - got the directory class working on windows
 - got the semaphoreset class working on windows
 - implemented passwd/groupentry::getSid and an internal id-name-sid map
   for windows
 - removed meaningless groupentry::getPassword
 - improved filesystem class implementation for Windows significantly
 - added a test for the memorymap class
 - got the memorymap class implementation working on Windows
 - got the sharedmemory class working on windows
 - added support for microseconds to the datetime class
 - build-tweaks for mingw32
 - added process::spawn that maps more cleanly on windows than fork/exec
 - added thread class
 - added send/receiveSocket methods to filedescriptor class for systems like
   Windows that distinguish between sockets and other file descriptors
 - improved file class implementation for Windows
 - fixed a bug that caused all connect-with-timeout calls to fail
 - fixed a bug that caused permissions::setFilePermissions to fail on

 - configure scripts attempts link for various _r functions now to catch
   cases where they're defined in the headers but not present in the library
 - tweaks for dlopen/dlsym on linux libc5
 - reordered netinet/in.h and netinet/tcp.h includes for linux libc5
 - configure script tweaks for OSR500
 - extern "C" wrapper around sys/times.h for OSR500
 - added xmldomnode::append/insertTag methods

 - fixed inet_aton test to attempt link, not just compile
 - fixed vsnprintf test to work on arm linux
 - filedescriptor::printf now uses vdprintf, if available, if writes are not
   being buffered, and vasprintf, if available, if writes are being buffered
 - fixed a memory leak in filedescriptor::printf
 - added multiarch detection
 - applied Simon Martin's getenv-related patch to reset errno and allow
   getenv to return NULL - fixed a situation where an infinte
   loop could occur if getenv returned NULL and the most recent
   error from another system call was EINTR
 - added missing print() for const char *'s in linkedlistutils
 - tweaks for OSR505
 - a few xmlsax optimization fixes
 - renamed *Data methods to *Value in linkedlist and dictionary classes
 - removed print methods and unlikely-to-be-used static methods from
   *entry classes
 - refactored the static convenience methods of the *entry classes
 - refactored xattr code a little to make it smaller
 - removed static methods from filesystem class to make it smaller
 - removed some static methods from file class to make it smaller
 - removed the clientserverfactory class
 - slight refactoring of linkedlist and dictionary classes
 - various process class fixes for Windows

 - added a workaround for platforms that don't support
   blocking/non-blocking modes for sockets
 - added *printf wrappers to charstring, filedescriptor and stringbuffer
 - added test/include for sys/signal.h for platforms that need it
 - added support for uadmin with int vs. char 3rd argument
 - added snooze and retry if fork fails with EAGAIN
 - moved safePrint and printBits methods into the filedescriptor class
 - added a test and handling for fsetxattr with non-const third parameter
 - "hid openssl" by abstracting SSL types and moving includes into .cpp files
 - fixed erroneous end-of-buffer address when creating a variablebufferis
   with initial contents
 - added option to disable string cache in xmldom class
 - added "data" member to xmldomnode class for attaching app-specific data
 - improved codetree speed
 - fixed a "char" on ARM issue
 - fixed a longstanding issue where variablebuffers could get extended
   too much sometimes
 - renamed system class to sys to avoid collisions
 - added -Werror to configure-time tests for older systems where g++
   doesn't return an error for an implicitly defined function
 - removed the rudiments namespace for compatibility with older compilers
 - replaced a bunch of unsigned long and long with [u]int(32|64)_t
 - removed the timezonefile class
 - renamed mutex class to threadmutex to avoid collisions
 - wrapped setsid() function
 - refactored and simplified dictionary and linkedlist classes
 - if thread detection fails it just disables threads now rather than
   erroring out
 - thread support is displayed in configure summary
 - refactored xmldomnnode::print() methods, added one to write to
   a filedescriptor
 - renamed memorypool methods malloc, calloc and free to allocate,
   allocateAndClear and deallocate to avoid collisions on
   platforms that define malloc and calloc using macros
 - fixed lots of cases where const char *'s were being deleted
 - renamed *serversocket to *socketserver
 - renamed *clientsocket to *socketclient
 - added 64-bit build support for Windows
 - refactored daemonprocess class and moved its methods into the process class

Revision 1.25 / (download) - annotate - [select for diffs], Wed Feb 12 23:17:50 2014 UTC (9 years, 3 months ago) by tron
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Recursive PKGREVISION bump for OpenSSL API version bump.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Sep 17 21:09:50 2013 UTC (9 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.23: +6 -1 lines
Diff to previous 1.23 (colored)

Don't bail out with Clang due to a unused private member. Fix infinite
loop. bump revision.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Sep 17 11:58:57 2013 UTC (9 years, 8 months ago) by fhajny
Branch: MAIN
Changes since 1.22: +4 -1 lines
Diff to previous 1.22 (colored)

Fix build with -Woverloaded-virtual.
Add missing openssl & pcre dependencies. Bump PKGREVISION.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Sep 14 09:14:08 2013 UTC (9 years, 8 months ago) by fhajny
Branch: MAIN
Changes since 1.21: +2 -9 lines
Diff to previous 1.21 (colored)

Update rudiments to 0.42.

0.42 - made a "char" array in the charstring classh explicitly "signed char"
                for arm and similar platforms where "char" is actually
                "unsigned char"
        fixed variadic macros in codetree class for MSVC
        fixed rpm->rpmbuild in installation docs

0.41 - fixed a few bugs in the codetree class and improved its debug
        added comments to codetree class header
        added new search paths and default prefix for syllable
        initialized an uninitialized variable in clientsocket
        added support for syllable os

0.40 - fixed -pthread annoyance
        added -Werror to default build
        fixed various issues revealed by -Werror
        fixed hostentry::getAddressString() for numbers greater than 127
        fixed bugs that could lead to a crash when using the hostentry class
                with NULL hostnames
        reads that error out with EAGAIN are treated as successful reads of 0
                bytes now
        all sockets are manually set to blocking mode after creation now
        sockets created by accept() are set to the blocking/non-blocking mode
                of the socket that was accepted on
        fixed charstring::safeCopy to copy the NULL terminator
        made charstring::copy NULL-safe
        refactored windows make.bat script
        made crypt class salt NULL-safe

0.39 - filedescriptor::getPeerAddress returns NULL now for non-inet sockets
        added charstring::safeCopy methods
        made regularexpression::getSubstring* methods return const char *'s
        fixed a bug where xmldomnode::deleteAttribute() on a non-existent
                attribute name would crash
        added xmldomnode::getTree and xmldomnode::print methods
        added codetree class
        fixed a longstanding memory leak in dictionary::clear()

0.38 - included some contributed updates to chat, charstring and modemclient
        added several more wrappers to system class
        refactored configure/make for non-gnu make compatibility
        upated passFileDescriptor to dynamically allocate the control buffer
                for OS X 10.7 whos CMSG_LEN ultimately calls a function
        updated msvc build to create Release code rather than Debug by default
        added posix analogs (rewind, skip and read) to directory class
        updated filedescriptor debug so debugging of the buffering can be
        integrated patches from Neowiz for:
                using -g3 if available when --enable-debug is specified
                testing the result of getaddrinfo for any non-zero result
                        when checking for EINTR, not just EAI_SYSTEM,
                        and also to reset errno between tries
                clientsocket to use WSAConnect and friends on windows
                disabling code that uses AF_UNIX sockets outright for windows
                inetserversocket::listen() to reuse addresses
        added process::exitImmediately
        updated error::getErrorString() to be thread safe when it uses
                strerror_r or strerror_s internally
        fixed charstring::isInteger/isNumber to return false when the string
                passed in is either - or . without any actual number
        changed longs in snooze class to uint32_t's

0.37 - updated logger to exclude : if header isn't supplied
        updated logger not to print double-returns after each log message
        added file::createPipe()
        fixed net-to-host and host-to-net byte order conversions for 64-bit
                integers on windows
        fixed charstring::copy that I'd broken in 0.36
        fixed missing [] in a delete in filedescriptor::read() with terminator
                that could cause leaks and corruption
        fixed a leak in filedescriptor::read() with terminator that could
                occur when it fell through with an error, timeout or 0-byte
        applied Georgiy Kirichenko's fix to the safePoll call in
                filedescriptor::readFileDescriptor() - swapped true/false
                arguments so it would wait using POLLIN
        added xmldomnode::getPosition()
        fixed display of seconds from datetime::getString()
        fixed optimum buffer size calculation in xmlsax
        fixed several dlclose()-related bugs

0.36 - various fixes for SCO and Ultrix
        renamed some methods to avoid collisions with macros
        modified methods that take or return internal structures to take or
                return void pointers instead
        added charstring::replace methods
        renamed all .C files to .cpp for windows
        added msvc project and got most classes building natively on windows

0.35 - added ( to set of chars to capitalize after
        added methods to control whether semaphoreset operations are retried
                after they have been interrupted by a signal
        added charstring::findFirstOrEnd
        added character::inSet

Revision 1.21 / (download) - annotate - [select for diffs], Wed Oct 31 11:19:43 2012 UTC (10 years, 7 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.20: +1 -3 lines
Diff to previous 1.20 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Oct 28 11:23:21 2011 UTC (11 years, 7 months ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Updated devel/rudiments to 0.34.

Changes in 0.34
* fixed some STATFS/FSTATFS that needed to be CHAR-versions of the calls
* added test for utime and utime.h
* utime is used on platforms that don't have utimes
* updated process class methods to return -1 and set ENOSUPP for
  process-group related calls on systems that don't have the
  concept of process-groups
* added a call to select() instead of poll() for file-descriptor passing
  for systems that don't support poll()
* added tests for timespec in various header files
* added test for dlopen
* updated configure script not to outright disable classes if the
  functions they're dependent on aren't found, but rather for
  the methods to return erros and set errno to ENOSYS
* added netapi32 on mingw
* updated vfstab detection to reflect minix/haiku-style rather than just
* moved non-member variables and methods into daemonprocess class and
  its private class
* updated xmldomnode to output xml entities rather than raw characters
* fixed a bug that caused numeric xml entities greater than 127 to get
  set to 127
* updated mutex class to show a consistent interface on all platforms
* updated configure script to detect pthreads properly on minix
* cleaned up semaphoreset class
* lots of mingw32 compatibility fixes
* wrapped exit() in process class

Changes in 0.33
* removed configure tests for strlcpy and strlcat
* added test for pvt->_translatebyteorder to hostToNet/netToHost for
  64bit numbers
* made filedescriptor::hostToNet/netToHost public and static, moved
  translatebyteorder flag test out of them
* serviceentry and inet*socket classes use
  filedescriptor::hostToNet/netToHost rather than htonl/htons
* added charstring::printBits methods
* xmlsax class uses optimizations even when not using mmap now
* updated linkedlist class a good bit
* applied Renat Sabitov's logger patch
* fixed some bugs where filesystem.C wouldn't compile on platforms where
  statfs can return some strings
* haiku port
* implemented bswap for systems with nothing like it
* added #ifdef's in configure script for all header files
* fixed detection of several things on modern openbsd systems
* added definitions of (u)int(8|16|32|64)_t for systems that don't have
* added randomnumber::getSeed() that uses /dev/urandom if available
* environment class prefers putenv to setenv to work around a memory
  leak that can occur when using setenv to set an environment
  variable over and over
* fixed 2 memory leaks in environment class
* fixed memrchr and strpbrk tests in configure script
* fixed a logger dependency on the permissions class in
* updated environment class to use malloc and free
* fixed reference-after-free by putenv in environment class
* applied patches from Renat Sabitov
* updated signalhandlers to have (void *)(int) signature
* added charstring::subString without an end parameter
* applied patch by Claudio Freire
* changed several %lf's to %Lf's in charstring long double parsers
* fixed uninitiaized nodename/nodevalue in xmldomnode
* fixed unterminated buffer after clear in stringbuffer
* removed "rebuild" target from all Makefiles
* added charstring::capitalize method
* made stringbuffer::terminate append a \0 unconditionally
* made stringbuffer::clear() terminate the buffer at position 0
* fixed a bug where xmldomnode::getFirstXXX() could crash if there was
  no first XXX
* added xmldomnode::moveChild
* fixed uninitialized _grp in groupentry class
* regularexpression class uses pcre_free rather than delete to free
  pcre_extra block now
* fixed printf %lld's in timezonefile class
* made several unsigned shorts use uint16_t in charstring class
* changed integerLength to return uint16_t rather than int
* added man page to rpm spec file

Changes in 0.32
* xmlsax does "sequential" and "only-once" hints when reading the file
* xmlsax/dom classes use optimal read and write buffers now
* added DESTDIR= to
* added charstring::httpUnescape
* fixed a bug in datetime that would cause TZ to remain after doing a
  timezone conversion if TZ was unset to begin with
* fixed a bug in regularexpression that could cause a double-free

0.31 - added OSSwapLittleToHost/OSSwapHostToLittle for Mac OS X
* modified environment::clear() for mac os x
* regularexpression wasn't setting the match count correctly, fixed that
* added charstring::subString() method
* added missing lingerOnClose(), fixed dontLingerOnClose()
* added base64 encode/decode methods
* fixed charstring::parseNumber() for unsigned int's
* added /opt/csw to configure script's search path
* fixed a memory leak in xmldom::unCacheString()

Changes in 0.30
* changed commandline::value() to commandline::getValue()
* fixed a memory leak in dictionary
* added setHour/Minute/Second/etc. methods to datetime
* fixed readdir_r vulnerability
* added support for either "-arg value" or "--arg=value" to commandline
* added support for break and control characters to chat class
* added print method to environment class
* added close-on-exec methods to filedescriptor class
* added clear method to environment class
* made all methods in environment class static
* added wrappers for strspn/strcspn/strpbrk functions to charstring class
* fixed bug where datetime would set wrong timezone if it is initialized
  with a combined zone name like PST8PDT
* added directory::getChildCount()
* added datetime::validDateTime()
* xmldom class stores all strings found in the xml file in a stringlist
  and stores pointers to them in the xmldomnodes to reduce
  memory usage in xml files that have lots of duplicated strings
* added configure tests for dirfd/DIR.dd_fd/DIR.d_fd
* initialize addrinfo struct pointer to NULL in inetclientsocket.C

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jun 20 01:09:16 2008 UTC (14 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.18: +3 -1 lines
Diff to previous 1.18 (colored)

Add DESTDIR support.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Apr 12 22:43:00 2008 UTC (15 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.17: +4 -5 lines
Diff to previous 1.17 (colored)

Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jun 13 19:23:24 2006 UTC (17 years ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.16: +9 -3 lines
Diff to previous 1.16 (colored)

NetBSD lacks shm_open, so conditionally comment the shmfile entries.

Revision 1.16 / (download) - annotate - [select for diffs], Sun May 21 13:59:04 2006 UTC (17 years ago) by joerg
Branch: MAIN
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

Uses C++.

Revision 1.15 / (download) - annotate - [select for diffs], Thu May 18 20:29:58 2006 UTC (17 years ago) by wiz
Branch: MAIN
Changes since 1.14: +3 -1 lines
Diff to previous 1.14 (colored)

Mark as BROKEN_IN pkgsrc-2006Q1 according to

Revision 1.14 / (download) - annotate - [select for diffs], Wed Apr 19 17:20:59 2006 UTC (17 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Correct configure test for munlockall as well. Bump revision.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Apr 11 12:59:33 2006 UTC (17 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Fix mlockall detection (yes, it works better to actually link when
trying to find unimplemented functions). Fix PLIST. Bump revision.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Mar 11 02:41:51 2006 UTC (17 years, 3 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.11: +2 -6 lines
Diff to previous 1.11 (colored)

Updated rudiments to 0.29.

Changes since 0.28.2:
added check for whether SSL_read/write takes void * or char * parameter
added _XOPEN_SOURCE to filedescriptorincludes.h for sys/socket for irix
added collapse argument to charstring::split
added configure test for -Wall
switched lots of:
		char	a[charstring::length(b)];
		char	*a=new char[charstring::length(b)];
		delete[] a;
	to improve compiler compatibility
removed #ifdef __GNUC__ around static variable definitions, I'll add
	#ifndefs for compilers that don't allow them (like SCO's) if
added charstring::escape/unescape
defaulted zeropadding to 1 rather than 0, I'm not sure if it's a bug
	in glibc or not, but printf("%0*lld\n",0,(int64_t)0); prints
	nothing rather than 0, but printf("%0*ld\n",0,(int32_t)0);
	prints 0.  Using 1 instead of 0 for the number of 0's works
	in all cases.
solaris's strchr/strrchr return const char *,
	so I made charstring::findFirst/findLast return const char *
use snprintf's rather than sprintf's now
uses fchmod/fchown rather than chmod/chown now
made envelope classes out of all classes
added a configure test for ftok that takes a char * argument
switched a bunch of AC_TRY_LINK's to AC_TRY_COMPILE's in configure
configure script does less work looking for getpwnam_r and cousins now
if pthread libs can't be found, configure also tries just plain -pthread
added #ifdefs for individual POSIX_FADV_* and MADV_* macros
in configure script, for cygwin, tests for w32api files and functions
	are omitted
configure tests for strtoll/strtoull now
configure tests for caddr_t types for all mmap-related functions
	individually now
unsupported memorymap methods return false now rather than not existing
added -pthread when compiling as well as linking
fixed a time-remaining-related bug in snooze class
fixed a bug where the date/time string buffer could easily be overrun

Revision 1.11 / (download) - annotate - [select for diffs], Sat Mar 4 21:29:29 2006 UTC (17 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Point MAINTAINER to in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't

Revision 1.10 / (download) - annotate - [select for diffs], Sun Feb 5 23:08:53 2006 UTC (17 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

Recursive revision bump / recommended bump for gettext ABI change.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jan 4 04:29:06 2006 UTC (17 years, 5 months ago) by schmonz
Branch: MAIN
Changes since 1.8: +2 -3 lines
Diff to previous 1.8 (colored)

Express these packages' brokenness with BROKEN_IN=pkgsrc-2005Q4
rather than PKG_FAIL_REASON, so that they provide useful error
messages in build logs, and so that they continue to work on platforms
where they aren't broken.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Dec 26 23:39:31 2005 UTC (17 years, 5 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.7: +4 -1 lines
Diff to previous 1.7 (colored)

Mark packages for pkgsrc-2005Q4 that don't build on NetBSD/i386
3.0. If one of these is important to you, please fix it in time
for pkgsrc-2006Q1, or it may be removed.

Revision 1.7 / (download) - annotate - [select for diffs], Tue May 24 13:03:54 2005 UTC (18 years ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.6: +2 -3 lines
Diff to previous 1.6 (colored)

Updated rudiments to 0.28.2. I don't know what has changed, but at least it
builds on NetBSD.

Revision 1.6 / (download) - annotate - [select for diffs], Sun May 22 20:07:55 2005 UTC (18 years ago) by jlam
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:

	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison

Revision 1.5 / (download) - annotate - [select for diffs], Mon Apr 11 21:45:38 2005 UTC (18 years, 2 months ago) by tv
Branch: MAIN
Changes since 1.4: +1 -2 lines
Diff to previous 1.4 (colored)

Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Oct 3 00:13:33 2004 UTC (18 years, 8 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

Libtool fix for PR pkg/26633, and other issues.  Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.

Revision 1.3 / (download) - annotate - [select for diffs], Thu May 13 18:00:51 2004 UTC (19 years, 1 month ago) by kristerw
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

.include "../../mk/"

Revision 1.2 / (download) - annotate - [select for diffs], Thu Apr 15 10:41:02 2004 UTC (19 years, 1 month ago) by grant
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)


Revision / (download) - annotate - [select for diffs] (vendor branch), Thu Apr 15 10:32:33 2004 UTC (19 years, 1 month ago) by grant
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Initial import of rudiments 0.25.1 into the NetBSD packages collection.

Rudiments is an Open Source C++ class library providing base classes
for things such as daemons, clients and servers, and wrapper classes
for the standard C functions for things such as regular expressions,
semaphores and signal handling.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Apr 15 10:32:33 2004 UTC (19 years, 1 month ago) by grant
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>