head 1.72; access; symbols pkgsrc-2023Q4:1.72.0.2 pkgsrc-2023Q4-base:1.72 pkgsrc-2023Q3:1.70.0.4 pkgsrc-2023Q3-base:1.70 pkgsrc-2023Q2:1.70.0.2 pkgsrc-2023Q2-base:1.70 pkgsrc-2023Q1:1.69.0.4 pkgsrc-2023Q1-base:1.69 pkgsrc-2022Q4:1.69.0.2 pkgsrc-2022Q4-base:1.69 pkgsrc-2022Q3:1.67.0.8 pkgsrc-2022Q3-base:1.67 pkgsrc-2022Q2:1.67.0.6 pkgsrc-2022Q2-base:1.67 pkgsrc-2022Q1:1.67.0.4 pkgsrc-2022Q1-base:1.67 pkgsrc-2021Q4:1.67.0.2 pkgsrc-2021Q4-base:1.67 pkgsrc-2021Q3:1.64.0.4 pkgsrc-2021Q3-base:1.64 pkgsrc-2021Q2:1.64.0.2 pkgsrc-2021Q2-base:1.64 pkgsrc-2021Q1:1.63.0.2 pkgsrc-2021Q1-base:1.63 pkgsrc-2020Q4:1.62.0.6 pkgsrc-2020Q4-base:1.62 pkgsrc-2020Q3:1.62.0.4 pkgsrc-2020Q3-base:1.62 pkgsrc-2020Q2:1.62.0.2 pkgsrc-2020Q2-base:1.62 pkgsrc-2020Q1:1.60.0.2 pkgsrc-2020Q1-base:1.60 pkgsrc-2019Q4:1.55.0.6 pkgsrc-2019Q4-base:1.55 pkgsrc-2019Q3:1.55.0.2 pkgsrc-2019Q3-base:1.55 pkgsrc-2019Q2:1.51.0.6 pkgsrc-2019Q2-base:1.51 pkgsrc-2019Q1:1.51.0.4 pkgsrc-2019Q1-base:1.51 pkgsrc-2018Q4:1.51.0.2 pkgsrc-2018Q4-base:1.51 pkgsrc-2018Q3:1.50.0.2 pkgsrc-2018Q3-base:1.50 pkgsrc-2018Q2:1.49.0.2 pkgsrc-2018Q2-base:1.49 pkgsrc-2018Q1:1.48.0.2 pkgsrc-2018Q1-base:1.48 pkgsrc-2017Q4:1.46.0.6 pkgsrc-2017Q4-base:1.46 pkgsrc-2017Q3:1.46.0.4 pkgsrc-2017Q3-base:1.46 pkgsrc-2017Q2:1.45.0.2 pkgsrc-2017Q2-base:1.45 pkgsrc-2017Q1:1.44.0.2 pkgsrc-2017Q1-base:1.44 pkgsrc-2016Q4:1.42.0.2 pkgsrc-2016Q4-base:1.42 pkgsrc-2016Q3:1.38.0.2 pkgsrc-2016Q3-base:1.38 pkgsrc-2016Q2:1.36.0.4 pkgsrc-2016Q2-base:1.36 pkgsrc-2016Q1:1.36.0.2 pkgsrc-2016Q1-base:1.36 pkgsrc-2015Q4:1.33.0.2 pkgsrc-2015Q4-base:1.33 pkgsrc-2015Q3:1.32.0.2 pkgsrc-2015Q3-base:1.32 pkgsrc-2015Q2:1.31.0.2 pkgsrc-2015Q2-base:1.31 pkgsrc-2015Q1:1.30.0.4 pkgsrc-2015Q1-base:1.30 pkgsrc-2014Q4:1.30.0.2 pkgsrc-2014Q4-base:1.30 pkgsrc-2014Q3:1.28.0.2 pkgsrc-2014Q3-base:1.28 pkgsrc-2014Q2:1.27.0.2 pkgsrc-2014Q2-base:1.27 pkgsrc-2014Q1:1.25.0.2 pkgsrc-2014Q1-base:1.25 pkgsrc-2013Q4:1.24.0.4 pkgsrc-2013Q4-base:1.24 pkgsrc-2013Q3:1.24.0.2 pkgsrc-2013Q3-base:1.24 pkgsrc-2013Q2:1.21.0.6 pkgsrc-2013Q2-base:1.21 pkgsrc-2013Q1:1.21.0.4 pkgsrc-2013Q1-base:1.21 pkgsrc-2012Q4:1.21.0.2 pkgsrc-2012Q4-base:1.21 pkgsrc-2012Q3:1.20.0.8 pkgsrc-2012Q3-base:1.20 pkgsrc-2012Q2:1.20.0.6 pkgsrc-2012Q2-base:1.20 pkgsrc-2012Q1:1.20.0.4 pkgsrc-2012Q1-base:1.20 pkgsrc-2011Q4:1.20.0.2 pkgsrc-2011Q4-base:1.20 pkgsrc-2011Q3:1.19.0.32 pkgsrc-2011Q3-base:1.19 pkgsrc-2011Q2:1.19.0.30 pkgsrc-2011Q2-base:1.19 pkgsrc-2011Q1:1.19.0.28 pkgsrc-2011Q1-base:1.19 pkgsrc-2010Q4:1.19.0.26 pkgsrc-2010Q4-base:1.19 pkgsrc-2010Q3:1.19.0.24 pkgsrc-2010Q3-base:1.19 pkgsrc-2010Q2:1.19.0.22 pkgsrc-2010Q2-base:1.19 pkgsrc-2010Q1:1.19.0.20 pkgsrc-2010Q1-base:1.19 pkgsrc-2009Q4:1.19.0.18 pkgsrc-2009Q4-base:1.19 pkgsrc-2009Q3:1.19.0.16 pkgsrc-2009Q3-base:1.19 pkgsrc-2009Q2:1.19.0.14 pkgsrc-2009Q2-base:1.19 pkgsrc-2009Q1:1.19.0.12 pkgsrc-2009Q1-base:1.19 pkgsrc-2008Q4:1.19.0.10 pkgsrc-2008Q4-base:1.19 pkgsrc-2008Q3:1.19.0.8 pkgsrc-2008Q3-base:1.19 cube-native-xorg:1.19.0.6 cube-native-xorg-base:1.19 pkgsrc-2008Q2:1.19.0.4 pkgsrc-2008Q2-base:1.19 cwrapper:1.19.0.2 pkgsrc-2008Q1:1.17.0.16 pkgsrc-2008Q1-base:1.17 pkgsrc-2007Q4:1.17.0.14 pkgsrc-2007Q4-base:1.17 pkgsrc-2007Q3:1.17.0.12 pkgsrc-2007Q3-base:1.17 pkgsrc-2007Q2:1.17.0.10 pkgsrc-2007Q2-base:1.17 pkgsrc-2007Q1:1.17.0.8 pkgsrc-2007Q1-base:1.17 pkgsrc-2006Q4:1.17.0.6 pkgsrc-2006Q4-base:1.17 pkgsrc-2006Q3:1.17.0.4 pkgsrc-2006Q3-base:1.17 pkgsrc-2006Q2:1.17.0.2 pkgsrc-2006Q2-base:1.17 pkgsrc-2006Q1:1.12.0.2 pkgsrc-2006Q1-base:1.12 pkgsrc-2005Q4:1.8.0.2 pkgsrc-2005Q4-base:1.8 pkgsrc-2005Q3:1.7.0.4 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.7.0.2 pkgsrc-2005Q2-base:1.7 pkgsrc-2005Q1:1.4.0.4 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.2 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.3.0.4 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.2 pkgsrc-2004Q2-base:1.3 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.72 date 2023.11.08.13.19.00; author wiz; state Exp; branches; next 1.71; commitid PsuHTklAIsF4bOLE; 1.71 date 2023.10.24.22.08.58; author wiz; state Exp; branches; next 1.70; commitid MTsrqKm6aGrQAVJE; 1.70 date 2023.04.19.08.08.19; author adam; state Exp; branches; next 1.69; commitid B8gCWhWtMX9vZGlE; 1.69 date 2022.12.03.15.50.50; author adam; state Exp; branches; next 1.68; commitid rmiQEje0BgwmX74E; 1.68 date 2022.10.26.10.31.02; author wiz; state Exp; branches; next 1.67; commitid PVFjlIYUKslkpdZD; 1.67 date 2021.12.08.16.02.03; author adam; state Exp; branches; next 1.66; commitid 2PyWjHx5T8rqARjD; 1.66 date 2021.10.21.07.46.31; author wiz; state Exp; branches; next 1.65; commitid UCfMEU3MwuphnEdD; 1.65 date 2021.09.29.19.00.06; author adam; state Exp; branches; next 1.64; commitid WsBUbBM52TSePSaD; 1.64 date 2021.04.21.13.24.10; author adam; state Exp; branches; next 1.63; commitid RAyVO2K5RkoQ8aQC; 1.63 date 2021.02.16.13.10.18; author adam; state Exp; branches; next 1.62; commitid btUMWVMNHWca7WHC; 1.62 date 2020.05.22.10.55.45; author adam; state Exp; branches; next 1.61; commitid m1Z0QPvTTTWz3e9C; 1.61 date 2020.05.06.14.04.09; author adam; state Exp; branches; next 1.60; commitid dLR3o37Fk2B5Cb7C; 1.60 date 2020.03.20.11.57.32; author nia; state Exp; branches; next 1.59; commitid XgzioScE8x0eq81C; 1.59 date 2020.03.08.16.47.41; author wiz; state Exp; branches; next 1.58; commitid rcNYzTQo8icypCZB; 1.58 date 2020.01.18.23.30.41; author rillig; state Exp; branches; next 1.57; commitid shGUwZfkr7sleeTB; 1.57 date 2020.01.18.21.48.09; author jperkin; state Exp; branches; next 1.56; commitid JW4hJgY8ZdoTFdTB; 1.56 date 2020.01.12.20.19.55; author ryoon; state Exp; branches; next 1.55; commitid 5tyaDUwPevcZnrSB; 1.55 date 2019.09.08.16.31.33; author nia; state Exp; branches; next 1.54; commitid f2C8oNhAC2LVaeCB; 1.54 date 2019.08.22.12.23.04; author ryoon; state Exp; branches; next 1.53; commitid UuiyQ10Dn9Rtl1AB; 1.53 date 2019.07.20.22.46.00; author wiz; state Exp; branches; next 1.52; commitid dMrQLvIeoazTQPvB; 1.52 date 2019.07.01.04.07.47; author ryoon; state Exp; branches; next 1.51; commitid qsMjwmrvOSh6hitB; 1.51 date 2018.12.13.19.51.34; author adam; state Exp; branches; next 1.50; commitid XjJhLcEnCzYFVF3B; 1.50 date 2018.08.16.18.54.29; author adam; state Exp; branches; next 1.49; commitid myXuojHMA7ifrnOA; 1.49 date 2018.04.29.21.31.20; author adam; state Exp; branches; next 1.48; commitid QKwzJtFzAE0cOnAA; 1.48 date 2018.01.23.14.36.32; author jperkin; state Exp; branches; next 1.47; commitid NmU9yeviJT2hB0oA; 1.47 date 2018.01.01.21.18.08; author adam; state Exp; branches; next 1.46; commitid VDVceOVT4khVwdlA; 1.46 date 2017.08.24.20.02.58; author adam; state Exp; branches; next 1.45; commitid SAladHuASDqXhv4A; 1.45 date 2017.04.30.01.21.22; author ryoon; state Exp; branches; next 1.44; commitid 1A40BlmMDYkiOuPz; 1.44 date 2017.01.16.13.09.05; author fhajny; state Exp; branches; next 1.43; commitid vFcynGMYBBFp3cCz; 1.43 date 2017.01.01.16.05.57; author adam; state Exp; branches; next 1.42; commitid jkBZ9Kd0NEyexhAz; 1.42 date 2016.12.12.14.22.02; author wiz; state Exp; branches; next 1.41; commitid 2BmRh4IxD1KcBHxz; 1.41 date 2016.12.04.03.51.15; author marino; state Exp; branches; next 1.40; commitid ly6Cf2Ie8VS0nCwz; 1.40 date 2016.10.20.14.39.51; author fhajny; state Exp; branches; next 1.39; commitid 9lZ9J4geA9OYoTqz; 1.39 date 2016.10.07.18.25.31; author adam; state Exp; branches; next 1.38; commitid WWBLkSP9Isuv4fpz; 1.38 date 2016.07.01.17.00.15; author fhajny; state Exp; branches; next 1.37; commitid LeEvOKI3o7CsKDcz; 1.37 date 2016.07.01.16.02.12; author fhajny; state Exp; branches; next 1.36; commitid 8bZrtdJO1TDdqDcz; 1.36 date 2016.03.05.11.27.46; author jperkin; state Exp; branches; next 1.35; commitid 1LoxeQftu903HrXy; 1.35 date 2016.02.26.13.02.54; author jperkin; state Exp; branches; next 1.34; commitid 26KqK6Z9ZWt7uqWy; 1.34 date 2016.01.08.10.08.16; author fhajny; state Exp; branches; next 1.33; commitid W2o3m2nXKNUG37Qy; 1.33 date 2015.11.10.10.04.40; author fhajny; state Exp; branches; next 1.32; commitid DrRpo3hPEnFXXwIy; 1.32 date 2015.09.02.12.37.09; author fhajny; state Exp; branches; next 1.31; commitid dkBOJb620ZIZ0Gzy; 1.31 date 2015.05.19.14.12.40; author ryoon; state Exp; branches; next 1.30; commitid ywYH18eZoxi9Y3my; 1.30 date 2014.11.29.00.47.35; author joerg; state Exp; branches; next 1.29; commitid G3v7bR2TFrfI010y; 1.29 date 2014.10.30.10.40.36; author fhajny; state Exp; branches; next 1.28; commitid hWoRGdNfovNrfdWx; 1.28 date 2014.07.18.11.39.11; author fhajny; state Exp; branches; next 1.27; commitid qJ7lsewP8VrIUQIx; 1.27 date 2014.05.21.14.52.07; author fhajny; state Exp; branches; next 1.26; commitid PXF6V9ZtS1C1RpBx; 1.26 date 2014.03.31.14.42.20; author fhajny; state Exp; branches; next 1.25; commitid 00Sppth0Yim6rRux; 1.25 date 2014.02.12.23.17.50; author tron; state Exp; branches; next 1.24; commitid dfJj7CwMMWJzNRox; 1.24 date 2013.09.17.21.09.50; author joerg; state Exp; branches; next 1.23; commitid NWFJ8V3WzuGTQP5x; 1.23 date 2013.09.17.11.58.57; author fhajny; state Exp; branches; next 1.22; commitid G5lDWAQBoJaLNM5x; 1.22 date 2013.09.14.09.14.08; author fhajny; state Exp; branches; next 1.21; commitid Vwqeb4sH1wbjZn5x; 1.21 date 2012.10.31.11.19.43; author asau; state Exp; branches; next 1.20; 1.20 date 2011.10.28.11.23.21; author fhajny; state Exp; branches; next 1.19; 1.19 date 2008.06.20.01.09.16; author joerg; state Exp; branches; next 1.18; 1.18 date 2008.04.12.22.43.00; author jlam; state Exp; branches; next 1.17; 1.17 date 2006.06.13.19.23.24; author joerg; state Exp; branches; next 1.16; 1.16 date 2006.05.21.13.59.04; author joerg; state Exp; branches; next 1.15; 1.15 date 2006.05.18.20.29.58; author wiz; state Exp; branches; next 1.14; 1.14 date 2006.04.19.17.20.59; author joerg; state Exp; branches; next 1.13; 1.13 date 2006.04.11.12.59.33; author joerg; state Exp; branches; next 1.12; 1.12 date 2006.03.11.02.41.51; author rillig; state Exp; branches; next 1.11; 1.11 date 2006.03.04.21.29.29; author jlam; state Exp; branches; next 1.10; 1.10 date 2006.02.05.23.08.53; author joerg; state Exp; branches; next 1.9; 1.9 date 2006.01.04.04.29.06; author schmonz; state Exp; branches; next 1.8; 1.8 date 2005.12.26.23.39.31; author schmonz; state Exp; branches; next 1.7; 1.7 date 2005.05.24.13.03.54; author rillig; state Exp; branches; next 1.6; 1.6 date 2005.05.22.20.07.55; author jlam; state Exp; branches; next 1.5; 1.5 date 2005.04.11.21.45.38; author tv; state Exp; branches; next 1.4; 1.4 date 2004.10.03.00.13.33; author tv; state Exp; branches; next 1.3; 1.3 date 2004.05.13.18.00.51; author kristerw; state Exp; branches; next 1.2; 1.2 date 2004.04.15.10.41.02; author grant; state Exp; branches; next 1.1; 1.1 date 2004.04.15.10.32.33; author grant; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2004.04.15.10.32.33; author grant; state Exp; branches; next ; desc @@ 1.72 log @*: recursive bump for icu 74.1 @ text @# $NetBSD: Makefile,v 1.71 2023/10/24 22:08:58 wiz Exp $ DISTNAME= rudiments-1.4.2 PKGREVISION= 3 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rudiments/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= http://rudiments.sourceforge.net/ COMMENT= C++ class library for client/server/daemon applications LICENSE= gnu-lgpl-v2 USE_LANGUAGES= c c++ USE_LIBTOOL= yes USE_PKGLOCALEDIR= yes USE_TOOLS+= gmake 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" .include "../../www/curl/buildlink3.mk" .include "../../mk/krb5.buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.71 log @*: bump for openssl 3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.70 2023/04/19 08:08:19 adam Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.70 log @revbump after textproc/icu update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.69 2022/12/03 15:50:50 adam Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.69 log @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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.68 2022/10/26 10:31:02 wiz Exp $ d4 1 @ 1.68 log @*: bump PKGREVISION for libunistring shlib major bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.67 2021/12/08 16:02:03 adam Exp $ d3 1 a3 2 DISTNAME= rudiments-1.3.1 PKGREVISION= 5 @ 1.67 log @revbump for icu and libffi @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.66 2021/10/21 07:46:31 wiz Exp $ d4 1 a4 1 PKGREVISION= 4 @ 1.66 log @*: recursive bump for heimdal 7.7.0 its buildlink3.mk now includes openssl's buildlink3.mk @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.65 2021/09/29 19:00:06 adam Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.65 log @revbump for boost-libs @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.64 2021/04/21 13:24:10 adam Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.64 log @revbump for boost-libs @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.63 2021/02/16 13:10:18 adam Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.63 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.62 2020/05/22 10:55:45 adam Exp $ d4 1 @ 1.62 log @revbump after updating security/nettle @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.61 2020/05/06 14:04:09 adam Exp $ # d3 8 a10 4 DISTNAME= rudiments-1.0.2 PKGREVISION= 14 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rudiments/} d12 3 a14 6 MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= http://rudiments.sourceforge.net/ COMMENT= C++ class library for client/server/daemon applications LICENSE= gnu-lgpl-v2 GNU_CONFIGURE= YES d16 4 a19 15 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 @ 1.61 log @revbump after boost update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.60 2020/03/20 11:57:32 nia Exp $ d5 1 a5 1 PKGREVISION= 13 @ 1.60 log @*: Convert broken sourceforge HOMEPAGEs back to http @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.59 2020/03/08 16:47:41 wiz Exp $ d5 1 a5 1 PKGREVISION= 12 @ 1.59 log @*: recursive bump for libffi @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.58 2020/01/18 23:30:41 rillig Exp $ d10 1 a10 1 HOMEPAGE= https://rudiments.sourceforge.net/ @ 1.58 log @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 freedesktop.org, CTAN and GNU. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.57 2020/01/18 21:48:09 jperkin Exp $ d5 1 a5 1 PKGREVISION= 11 @ 1.57 log @*: Recursive revision bump for openssl 1.1.1. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.56 2020/01/12 20:19:55 ryoon Exp $ d10 1 a10 1 HOMEPAGE= http://rudiments.sourceforge.net/ @ 1.56 log @*: Recursive revbump from devel/boost-libs @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.55 2019/09/08 16:31:33 nia Exp $ d5 1 a5 1 PKGREVISION= 10 @ 1.55 log @rudiments: strip -Werror this is causing problems with deprecations in recent linux standard libs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.54 2019/08/22 12:23:04 ryoon Exp $ d5 1 a5 1 PKGREVISION= 9 @ 1.54 log @Recursive revbump from boost-1.71.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.53 2019/07/20 22:46:00 wiz Exp $ d21 1 @ 1.53 log @*: recursive bump for nettle 3.5.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.52 2019/07/01 04:07:47 ryoon Exp $ d5 1 a5 1 PKGREVISION= 8 @ 1.52 log @Recursive revbump from boost-1.70.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.51 2018/12/13 19:51:34 adam Exp $ d5 1 a5 1 PKGREVISION= 7 @ 1.51 log @revbump for boost 1.69.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.50 2018/08/16 18:54:29 adam Exp $ d5 1 a5 1 PKGREVISION= 6 @ 1.50 log @revbump after boost-libs update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.49 2018/04/29 21:31:20 adam Exp $ d5 1 a5 1 PKGREVISION= 5 @ 1.49 log @revbump for boost-libs update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.48 2018/01/23 14:36:32 jperkin Exp $ d5 1 a5 1 PKGREVISION= 4 @ 1.48 log @rudiments: Avoid -Wdeprecated-declarations failure on Darwin. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.47 2018/01/01 21:18:08 adam Exp $ d5 1 a5 1 PKGREVISION= 3 @ 1.47 log @Revbump after boost update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.46 2017/08/24 20:02:58 adam Exp $ d27 2 @ 1.46 log @Revbump for boost update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.45 2017/04/30 01:21:22 ryoon Exp $ d5 1 a5 1 PKGREVISION= 2 @ 1.45 log @Recursive revbump from boost update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.44 2017/01/16 13:09:05 fhajny Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.44 log @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 Windows - fixed a maxsize bug in memorymap for Windows - changed filesystem paradigm to match file paradigm - open/close/getCurrentProperties - 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 errors - 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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.43 2017/01/01 16:05:57 adam Exp $ d5 1 @ 1.43 log @Revbump after boost update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.42 2016/12/12 14:22:02 wiz Exp $ d4 1 a4 2 DISTNAME= rudiments-0.56.0 PKGREVISION= 1 @ 1.42 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2016/10/20 14:39:51 fhajny Exp $ d5 1 @ 1.41 log @Specify readline requirement on 30 packages Solves: /usr/libexec/binutils225/elf/ld.gold: error: cannot find -lreadline The missing specification is obvious on DragonFly because there's no publically accessible version of readline in base. @ text @a32 1 .include "../../devel/readline/buildlink3.mk" @ 1.40 log @Update devel/rudiments to 0.56.0. 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 destroyed - 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 directory::canExceedMaxFileNameLength() - 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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2016/10/07 18:25:31 adam Exp $ d33 1 @ 1.39 log @Revbump post boost update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2016/07/01 17:00:15 fhajny Exp $ d4 1 a4 2 DISTNAME= rudiments-0.55.0 PKGREVISION= 1 @ 1.38 log @Fix missed krb bl3. Ride previous commit revision. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2016/07/01 16:02:12 fhajny Exp $ d5 1 @ 1.37 log @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: http://software.firstworks.com/2016/03/rudiments-0550-release-announcement.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2016/03/05 11:27:46 jperkin Exp $ d31 1 @ 1.36 log @Bump PKGREVISION for security/openssl ABI bump. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2016/02/26 13:02:54 jperkin Exp $ d4 1 a4 2 DISTNAME= rudiments-0.54 PKGREVISION= 2 @ 1.35 log @Remove -Wno-long-double, not supported by all compilers. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2016/01/08 10:08:16 fhajny Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.34 log @Stop mangling innocent debug flags in configure. Fixes usage situations where -g debug flags are defined other than mere -g. PKGREVISION++ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2015/11/10 10:04:40 fhajny Exp $ d21 2 @ 1.33 log @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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2015/09/02 12:37:09 fhajny Exp $ d5 1 @ 1.32 log @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 implementations - 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 setUser/Groupid - 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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2015/05/19 14:12:40 ryoon Exp $ d4 1 a4 1 DISTNAME= rudiments-0.53 d28 1 @ 1.31 log @Update to 0.50 Changelog: 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 integers fixed potential double-CloseHandle in thread class 0.49: 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() @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2014/11/29 00:47:35 joerg Exp $ d4 1 a4 1 DISTNAME= rudiments-0.50 @ 1.30 log @Apply additional clang arguments with cwrappers too. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2014/10/30 10:40:36 fhajny Exp $ d4 1 a4 1 DISTNAME= rudiments-0.48 @ 1.29 log @Update rudiments to 0.48. 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 inetsocketclient::connect() - 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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2014/07/18 11:39:11 fhajny Exp $ d23 1 @ 1.28 log @Update rudiments to 0.47. Changes: - 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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2014/05/21 14:52:07 fhajny Exp $ d4 1 a4 1 DISTNAME= rudiments-0.47 @ 1.27 log @Use PTHREAD_AUTO_VARS, fixed pthread support in depending packages. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2014/03/31 14:42:20 fhajny Exp $ d4 1 a4 2 DISTNAME= rudiments-0.46 PKGREVISION= 1 @ 1.26 log @Update rudiments to 0.46. Changelog: 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 0.45 - 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 directories 0.44.1 - 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 0.44 - 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 0.43 - added a workaround for platforms that don't support blocking/non-blocking modes for sockets - added *printf wrappers to charstring, filedescriptor and stringbuffer classes - 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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2014/02/12 23:17:50 tron Exp $ d5 1 d19 1 @ 1.25 log @Recursive PKGREVISION bump for OpenSSL API version bump. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2013/09/17 21:09:50 joerg Exp $ d4 1 a4 2 DISTNAME= rudiments-0.42 PKGREVISION= 2 @ 1.24 log @Don't bail out with Clang due to a unused private member. Fix infinite loop. bump revision. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2013/09/17 11:58:57 fhajny Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.23 log @Fix build with -Woverloaded-virtual. Add missing openssl & pcre dependencies. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2013/09/14 09:14:08 fhajny Exp $ d20 5 @ 1.22 log @Update rudiments to 0.42. Changes ------------------------- 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 enabled/disabled 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 read 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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2012/10/31 11:19:43 asau Exp $ d5 1 d20 2 @ 1.21 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2011/10/28 11:23:21 fhajny Exp $ d4 1 a4 1 DISTNAME= rudiments-0.34 a17 7 PLIST_VARS+= shm .include "../../mk/bsd.prefs.mk" .if ${OPSYS} != "NetBSD" PLIST.shm= yes .endif @ 1.20 log @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 haiku * 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 them * 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 features.mk.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 rudiments.pc.in * 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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2008/06/20 01:09:16 joerg Exp $ a12 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.19 log @Add DESTDIR support. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2008/04/12 22:43:00 jlam Exp $ d4 1 a4 2 DISTNAME= rudiments-0.29 PKGREVISION= 2 d11 1 @ 1.18 log @Convert to use PLIST_VARS instead of manually passing "@@comment " through PLIST_SUBST to the plist module. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2006/06/13 19:23:24 joerg Exp $ d13 2 @ 1.17 log @NetBSD lacks shm_open, so conditionally comment the shmfile entries. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2006/05/21 13:59:04 joerg Exp $ d18 1 d22 2 a23 4 .if ${OPSYS} == "NetBSD" PLIST_SUBST+= COND_SHM="@@comment " .else PLIST_SUBST+= COND_SHM="" @ 1.16 log @Uses C++. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2006/05/18 20:29:58 wiz Exp $ a12 2 BROKEN_IN= pkgsrc-2006Q1 d19 8 @ 1.15 log @Mark as BROKEN_IN pkgsrc-2006Q1 according to ftp://ftp.NetBSD.org/pub/pkgsrc/misc/kristerw/pkgstat/i386-3.0/20060501.1050/broken.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2006/04/19 17:20:59 joerg Exp $ d17 1 @ 1.14 log @Correct configure test for munlockall as well. Bump revision. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2006/04/11 12:59:33 joerg Exp $ d13 2 @ 1.13 log @Fix mlockall detection (yes, it works better to actually link when trying to find unimplemented functions). Fix PLIST. Bump revision. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2006/03/11 02:41:51 rillig Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.12 log @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)]; to: 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 necessary added -D__EXTENSIONS__ to CPPFLAGS 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 script 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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2006/03/04 21:29:29 jlam Exp $ d5 1 @ 1.11 log @Point MAINTAINER to pkgsrc-users@@NetBSD.org 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 developers. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2006/02/05 23:08:53 joerg Exp $ d4 1 a4 2 DISTNAME= rudiments-0.28.2 PKGREVISION= 1 a11 2 BROKEN_IN= pkgsrc-2005Q4 a17 1 @ 1.10 log @Recursive revision bump / recommended bump for gettext ABI change. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2006/01/04 04:29:06 schmonz Exp $ d9 1 a9 1 MAINTAINER= tech-pkg@@NetBSD.org @ 1.9 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2005/12/26 23:39:31 schmonz Exp $ d5 1 @ 1.8 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2005/05/24 13:03:54 rillig Exp $ d12 1 a12 2 PKG_FAIL_REASON+= "Broken on NetBSD/i386 3.0 in pkgsrc-2005Q4" PKG_FAIL_REASON+= "Will be removed in pkgsrc-2006Q1 unless fixed" @ 1.7 log @Updated rudiments to 0.28.2. I don't know what has changed, but at least it builds on NetBSD. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2005/05/22 20:07:55 jlam Exp $ d12 3 @ 1.6 log @Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2005/04/11 21:45:38 tv Exp $ d4 1 a4 2 DISTNAME= rudiments-0.25.1 PKGREVISION= 1 @ 1.5 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2004/10/03 00:13:33 tv Exp $ d14 1 a14 1 USE_GNU_TOOLS+= make @ 1.4 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2004/05/13 18:00:51 kristerw Exp $ a13 1 USE_BUILDLINK3= YES @ 1.3 log @.include "../../mk/pthread.buildlink3.mk" @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2004/04/15 10:41:02 grant Exp $ d5 1 @ 1.2 log @bl3ify @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2004/04/15 10:32:33 grant Exp $ d18 2 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d13 1 a13 1 USE_BUILDLINK2= YES @ 1.1.1.1 log @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. @ text @@