forked from jsonn/pkgsrc
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quagga daemons go into infinite restart loop #244
Comments
mamash
referenced
this issue
Feb 18, 2015
mamash
referenced
this issue
Feb 18, 2015
mamash
referenced
this issue
Feb 18, 2015
The new package is working great for me. |
jsonn
referenced
this issue
in jsonn/pkgsrc
Mar 27, 2015
notxarb
referenced
this issue
in nanobox-io/nanobox-pkgsrc-lite
May 8, 2015
Squashed commit of the following: commit 130c8eb2df4b63034353a232af8e5fa4526693a5 Merge: 5888b51 a980f97 Author: Jonathan Perkin <jperkin@joyent.com> Date: Sun Apr 26 23:00:03 2015 +0100 Merge branch 'joyent/feature/miscfix/2015Q1' into joyent/release/2015Q1 commit a980f97415f48af9407551d6e515a09104079a8d Merge: 1cbc272 fdbe317 Author: Jonathan Perkin <jperkin@joyent.com> Date: Sun Apr 26 22:55:29 2015 +0100 Merge branch 'pkgsrc_2015Q1' into joyent/feature/miscfix/2015Q1 commit fdbe317df493f113aa0a8bdcf1ec1b6b65937bf4 Author: tron <tron> Date: Sun Apr 26 08:47:38 2015 +0000 Pullup tickets #4684, #4685 and #4686. commit faae9e8bdb9fe7ab45c47c87b904784650e473d4 Author: tron <tron> Date: Sun Apr 26 08:47:12 2015 +0000 Pullup ticket #4686 - requested by taca lang/ruby22-base: security update Revisions pulled up: - lang/ruby/rubyversion.mk 1.141 - lang/ruby22-base/distinfo 1.2 --- Module Name: pkgsrc Committed By: taca Date: Sun Apr 19 16:25:10 UTC 2015 Modified Files: pkgsrc/lang/ruby: rubyversion.mk pkgsrc/lang/ruby22-base: distinfo Log Message: Update ruby22-base and ruby22 package to 2.2.2. >From release announce: We are pleased to announce the release of Ruby 2.2.2. This is a TEENY version release of the stable 2.2 series. This release includes the security fix for a OpenSSL extension's hostname verification vulnerability. CVE-2015-1855: Ruby OpenSSL Hostname Verification There are also some bugfixes. See ChangeLog for details. commit 6e88dba1add92447fc97f35ec9518d1a58ce2484 Author: tron <tron> Date: Sun Apr 26 08:36:34 2015 +0000 Pullup ticket #4685 - requested by taca lang/ruby21-base: security update Revisions pulled up: - lang/ruby/rubyversion.mk 1.140 - lang/ruby21-base/PLIST 1.6 - lang/ruby21-base/distinfo 1.14-1.15 - lang/ruby21-base/patches/patch-configure 1.3 - lang/ruby21-base/patches/patch-lib_rdoc_text.rb deleted - lang/ruby21/Makefile 1.3 --- Module Name: pkgsrc Committed By: jperkin Date: Fri Apr 3 09:02:24 UTC 2015 Modified Files: pkgsrc/lang/ruby21-base: distinfo pkgsrc/lang/ruby21-base/patches: patch-configure Log Message: Disable CPU detection on Darwin, the result for 32-bit (i486) is incompatible with pkgsrc MACHINE_ARCH (i386). Fixes 32-bit build, no change for 64-bit. --- Module Name: pkgsrc Committed By: taca Date: Sun Apr 19 16:19:00 UTC 2015 Modified Files: pkgsrc/lang/ruby: rubyversion.mk pkgsrc/lang/ruby21-base: PLIST distinfo Removed Files: pkgsrc/lang/ruby21-base/patches: patch-lib_rdoc_text.rb Log Message: Update ruby21-base and ruby21 packages to 2.1.6. >From release announce: Ruby 2.1.6 has been released. This release includes a security fix for OpenSSL extension. Please view the topic below for more details. CVE-2015-1855: Ruby OpenSSL Hostname Verification And, many bug fixes are also included. See tickets and ChangeLog for details. --- Module Name: pkgsrc Committed By: taca Date: Sun Apr 19 16:20:42 UTC 2015 Modified Files: pkgsrc/lang/ruby21: Makefile Log Message: Reset PKGREVISION. commit 072ebbdcf4981a4582ea66498337b1e25e302b8c Author: tron <tron> Date: Sun Apr 26 08:26:15 2015 +0000 Pullup ticket #4684 - requested by taca lang/ruby200-base: security update Revisions pulled up: - lang/ruby/rubyversion.mk 1.139 - lang/ruby200-base/distinfo 1.23 via patch --- Module Name: pkgsrc Committed By: taca Date: Sun Apr 19 16:12:23 UTC 2015 Modified Files: pkgsrc/lang/ruby: rubyversion.mk pkgsrc/lang/ruby200-base: distinfo Log Message: Update ruby200 package to 2.0.0p645 (Ruby 2.0.0-p645). >From release announce: We are pleased to announce the release of Ruby 2.0.0-p645. This release includes a security fix for OpenSSL extension. Please view the topic below for more details. CVE-2015-1855: Ruby OpenSSL Hostname Verification Ruby 2.0.0 is now under the state of the security maintenance phase, until Feb. 24th, 2016. After the date, maintenance of Ruby 2.0.0 will be ended. We recommend you start planning migration to newer versions of Ruby, such as 2.1 or 2.2. This release includes the security fix mentioned above along with small changes required for test environment (that shouldn't affect normal users). See ChangeLog for full details. commit 58cd83802d5111831a785666eefc272c1c43051f Author: bsiegert <bsiegert> Date: Sat Apr 25 20:08:09 2015 +0000 Pullup ticket 4670 commit 259293bfa47febf9a2b4d4d71c94c3c467f0397f Author: bsiegert <bsiegert> Date: Sat Apr 25 20:08:04 2015 +0000 Pullup ticket #4670 - requested by joerg devel/rsltc: build fix Revisions pulled up: - devel/rsltc/Makefile 1.16 --- Module Name: pkgsrc Committed By: joerg Date: Sat Apr 18 20:40:46 UTC 2015 Modified Files: pkgsrc/devel/rsltc: Makefile Log Message: Let clang ignore the mixed up return use of the K&R code. commit 5342fbe8148fa3cc6051f8087e07c96b646a573c Author: bsiegert <bsiegert> Date: Sat Apr 25 19:28:44 2015 +0000 Pullup ticket #4682 - requested by hiramatsu inputmethod/librime: build fix Revisions pulled up: - inputmethod/librime/distinfo 1.3 - inputmethod/librime/patches/patch-src_dict_table.cc 1.2 --- Module Name: pkgsrc Committed By: hiramatsu Date: Tue Apr 21 13:59:31 UTC 2015 Modified Files: pkgsrc/inputmethod/librime: distinfo pkgsrc/inputmethod/librime/patches: patch-src_dict_table.cc Log Message: Fix build break with gcc. commit 924e69ca4577415c75e6b584de574ca82b51dcc1 Author: hiramatsu <hiramatsu> Date: Sat Apr 25 04:06:02 2015 +0000 pullup #4683 commit ca4f2559fbd0e9f02fa251517d3b9d92ff68d961 Author: hiramatsu <hiramatsu> Date: Sat Apr 25 04:04:43 2015 +0000 Pullup ticket #4683 - requested by joerg editors/p5-Wx-Scintilla: link fix patch Revisions pulled up: - editors/p5-Wx-Scintilla/distinfo 1.3 - editors/p5-Wx-Scintilla/patches/patch-aa 1.3 --- Module Name: pkgsrc Committed By: joerg Date: Fri Apr 17 15:22:44 UTC 2015 Modified Files: pkgsrc/editors/p5-Wx-Scintilla: distinfo pkgsrc/editors/p5-Wx-Scintilla/patches: patch-aa Log Message: Don't depend on ${PREFIX}/lib to be added implicitly by the wrappers. Don't use empty arguments to -o. commit 26b7efffbf80de9703df2d47f9fcd08a5374ec2c Author: hiramatsu <hiramatsu> Date: Fri Apr 24 16:18:39 2015 +0000 pullup #4654. commit dc5bb12c74c6a65858d49e497554493bd3f63564 Author: hiramatsu <hiramatsu> Date: Fri Apr 24 16:07:10 2015 +0000 Pullup ticket #4654 - requested by dsainty security/zoneminder: security update Revisions pulled up: - security/zoneminder/Makefile 1.18 - security/zoneminder/distinfo 1.7 - security/zoneminder/MESSAGE 1.3 - security/zoneminder/PLIST 1.4 - security/zoneminder/patches/patch-Makefile_am 1.3 - security/zoneminder/patches/patch-configure_ac 1.4 - security/zoneminder/patches/patch-scripts_ZoneMinder_lib_ZoneMinder_General_pm 1.2 - security/zoneminder/patches/patch-scripts_zm_in 1.3 - security/zoneminder/patches/patch-src_Makefile_am 1.3 - security/zoneminder/patches/patch-src_zm__thread.h 1.4 - security/zoneminder/patches/patch-src_zm__timer.h 1.3 - security/zoneminder/patches/patch-src_zm__utils.h 1.2 - security/zoneminder/patches/patch-src_zm_ffmpeg_camera_cpp 1.1 - security/zoneminder/patches/patch-src_zm_remote_camera_h 1.4 - security/zoneminder/patches/patch-src_zm_signal_cpp 1.1 - security/zoneminder/patches/patch-src_zm_signal_h deleted - security/zoneminder/patches/patch-src_zmf_cpp deleted --- Module Name: pkgsrc Committed By: dsainty Date: Sun Apr 5 08:51:08 UTC 2015 Modified Files: pkgsrc/security/zoneminder: MESSAGE Makefile PLIST distinfo pkgsrc/security/zoneminder/patches: patch-Makefile_am patch-configure_ac patch-scripts_ZoneMinder_lib_ZoneMinder_General_pm patch-scripts_zm_in patch-src_Makefile_am patch-src_zm__thread.h patch-src_zm__timer.h patch-src_zm__utils.h patch-src_zm_remote_camera_h Removed Files: pkgsrc/security/zoneminder/patches: patch-src_zm_signal_h patch-src_zmf_cpp Log Message: Update ZoneMinder from 1.25.0 to 1.28.1. Numerous changes, documented at: https://github.com/ZoneMinder/ZoneMinder/releases Addresses two security advisories: https://github.com/ZoneMinder/ZoneMinder/releases/tag/v1.28.0 http://secunia.com/advisories/62918/ Pkgsrc changes: patch-src_zm_signal_h is no longer necessary because zm_signal.h uses HAVE_EXECINFO_H. patch-src_zmf_cpp appears to be applied upstream. patch-configure_ac no longer needs to set PATH_BUILD to PREFIX/share/zoneminder, so that zmupdate.pl can locate the database build scripts as installed files. Upstream has now implemented this via the ZM_PATH_DATA entry in zm.conf, and adds a ZM_PATH_DATA/db subdirectory. src/Makefile.am no longer setuid's zmfix, as zmfix was removed from ZoneMinder 1.26.6. The code now uses clock_gettime(), which on some systems (like Linux), calls for -lrt. Since the build system isn't aware of this, but Pkgsrc is, just set PTHREAD_AUTO_VARS=yes. The PHP code now uses PDO for DB access, but it looks like there are some straggling dependencies on the raw MySQL driver, so both are pulled in. --- Module Name: pkgsrc Committed By: dsainty Date: Tue Apr 7 12:32:59 UTC 2015 Modified Files: pkgsrc/security/zoneminder: Makefile Log Message: NetBSD's tar (6.1) does an exit(1) on the source archive, complaining: Invalid header, starting valid header search. As a workaround: EXTRACT_USING=gtar --- Module Name: pkgsrc Committed By: dsainty Date: Tue Apr 7 12:54:36 UTC 2015 Modified Files: pkgsrc/security/zoneminder: distinfo pkgsrc/security/zoneminder/patches: patch-configure_ac Log Message: Recognise lower-case "netbsd" as BSD. NB: This doesn't fix the threads portability issues yet for NetBSD, but gets through configuration. --- Module Name: pkgsrc Committed By: dsainty Date: Fri Apr 10 02:53:20 UTC 2015 Modified Files: pkgsrc/security/zoneminder: Makefile Log Message: New ZoneMinder supports the newer ffmpeg APIs, so switch the ffmpeg dependency from ffmpeg010 to ffmpeg2. --- Module Name: pkgsrc Committed By: dsainty Date: Fri Apr 10 02:58:49 UTC 2015 Modified Files: pkgsrc/security/zoneminder: Makefile distinfo pkgsrc/security/zoneminder/patches: patch-src_zm__thread.h patch-src_zm__timer.h Added Files: pkgsrc/security/zoneminder/patches: patch-src_zm_ffmpeg_camera_cpp patch-src_zm_signal_cpp Log Message: Patch up some Linux-specific assumptions in the code. Fixes build under NetBSD. Bump PKGREVISION for switch to ffmpeg2, and some portability changes that aren't expected to affect functionality. --- Module Name: pkgsrc Committed By: dsainty Date: Wed Apr 22 15:13:44 UTC 2015 Modified Files: pkgsrc/security/zoneminder: Makefile Log Message: Fix paths in two missed installed scripts. The intention of zmsystemctl.pl is to use bin/pkexec to allow the apache user to start and stop the ZoneMinder services on operating systems using systemd and newer versions of Polkit than Pkgsrc currently has. If the base OS doesn't use systemd (E.g. anything not Linux), this file shouldn't be used anyway. In Pkgsrc we ignore the potentially absent pkexec interpreter in this file. If the base OS uses systemd, it probably also has pkexec in its base installation. Bump PKGREVISION. commit 5888b51a0b3b68add698d985f00528ba171625b4 Merge: 0d3b50c 1cbc272 Author: Jonathan Perkin <jperkin@joyent.com> Date: Thu Apr 23 12:34:40 2015 +0100 Merge branch 'joyent/feature/miscfix/2015Q1' into joyent/release/2015Q1 commit 1cbc272373cd255cd6a62f723a2d6e3efd36e50e Merge: ccca9bf cc4bcc6 Author: Jonathan Perkin <jperkin@joyent.com> Date: Thu Apr 23 12:33:54 2015 +0100 Merge branch 'pkgsrc_2015Q1' into joyent/feature/miscfix/2015Q1 commit 0d3b50ce89ba6306650de22989cd367056fea258 Merge: a5f8d21 ccca9bf Author: Jonathan Perkin <jperkin@joyent.com> Date: Thu Apr 23 10:40:08 2015 +0100 Merge branch 'joyent/feature/miscfix/2015Q1' into joyent/release/2015Q1 commit ccca9bf3edab64da44b0dc2b92675a00155d6fed Author: Jonathan Perkin <jperkin@joyent.com> Date: Thu Apr 23 10:38:13 2015 +0100 www/curl: backport 7.42.0 update. commit 9e10d96a16dc43313e438319d39b61658df06820 Author: Jonathan Perkin <jperkin@joyent.com> Date: Thu Apr 23 10:36:53 2015 +0100 Backport changes to disable epoll/inotify. commit cc4bcc659cd1f7d2b5f05c11d767b03ed87f07f4 Author: tron <tron> Date: Wed Apr 22 22:55:10 2015 +0000 Pullup tickets #4680 and #4681. commit da8721d64da4906e7d9cec770d35c0227d1e8c79 Author: tron <tron> Date: Wed Apr 22 22:54:34 2015 +0000 Pullup ticket #4681 - requested by joerg graphics/p5-PerlMagick: bug fix patch Revisions pulled up: - graphics/p5-PerlMagick/Makefile 1.110 --- Module Name: pkgsrc Committed By: joerg Date: Tue Apr 21 17:21:18 UTC 2015 Modified Files: pkgsrc/graphics/p5-PerlMagick: Makefile Log Message: Don't use the shipped Magick.pm, it has the wrong bootstrap version. commit c9a8d86c67b8dbd0b626c588d5210245c521a90f Author: tron <tron> Date: Wed Apr 22 22:43:54 2015 +0000 Pullup ticket #4680 - requested by taca lang/php56: security update Revisions pulled up: - lang/php/phpversion.mk 1.96 - lang/php56/distinfo 1.9 --- Module Name: pkgsrc Committed By: taca Date: Fri Apr 17 16:42:43 UTC 2015 Modified Files: pkgsrc/lang/php: phpversion.mk pkgsrc/lang/php56: distinfo Log Message: Update php56 to 5.6.8. 16 Apr 2015, PHP 5.6.8 - Core: . Fixed bug #66609 (php crashes with __get() and ++ operator in some cases). (Dmitry, Laruence) . Fixed bug #68021 (get_browser() browser_name_regex returns non-utf-8 characters). (Tjerk) . Fixed bug #68917 (parse_url fails on some partial urls). (Wei Dai) . Fixed bug #69134 (Per Directory Values overrides PHP_INI_SYSTEM configuration options). (Anatol Belski) . Additional fix for bug #69152 (Type confusion vulnerability in exception::getTraceAsString). (Stas) . Fixed bug #69210 (serialize function return corrupted data when sleep has non-string values). (Juan Basso) . Fixed bug #69212 (Leaking VIA_HANDLER func when exception thrown in __call/... arg passing). (Nikita) . Fixed bug #69221 (Segmentation fault when using a generator in combination with an Iterator). (Nikita) . Fixed bug #69337 (php_stream_url_wrap_http_ex() type-confusion vulnerability). (Stas) . Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions). (Stas) - Apache2handler: . Fixed bug #69218 (potential remote code execution with apache 2.4 apache2handler). (Gerrit Venema) - cURL: . Implemented FR#69278 (HTTP2 support). (Masaki Kagaya) . Fixed bug #68739 (Missing break / control flow). (Laruence) . Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER). (Laruence) - Date: . Fixed bug #69336 (Issues with "last day of <monthname>"). (Derick Rethans) - Enchant: . Fixed bug #65406 (Enchant broker plugins are in the wrong place in windows builds). (Anatol) - Ereg: . Fixed bug #68740 (NULL Pointer Dereference). (Laruence) - Fileinfo: . Fixed bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault). (Anatol Belski) - Filter: . Fixed bug #69202: (FILTER_FLAG_STRIP_BACKTICK ignored unless other flags are used). (Jeff Welch) . Fixed bug #69203 (FILTER_FLAG_STRIP_HIGH doesn't strip ASCII 127). (Jeff Welch) - OPCache: . Fixed bug #69297 (function_exists strange behavior with OPCache on disabled function). (Laruence) . Fixed bug #69281 (opcache_is_script_cached no longer works). (danack) . Fixed bug #68677 (Use After Free). (CVE-2015-1351) (Laruence) - OpenSSL . Fixed bugs #68853, #65137 (Buffered crypto stream data breaks IO polling in stream_select() contexts) (Chris Wright) . Fixed bug #69197 (openssl_pkcs7_sign handles default value incorrectly) (Daniel Lowrey) . Fixed bug #69215 (Crypto servers should send client CA list) (Daniel Lowrey) . Add a check for RAND_egd to allow compiling against LibreSSL (Leigh) - Phar: . Fixed bug #64343 (PharData::extractTo fails for tarball created by BSD tar). (Mike) . Fixed bug #64931 (phar_add_file is too restrictive on filename). (Mike) . Fixed bug #65467 (Call to undefined method cli_arg_typ_string). (Mike) . Fixed bug #67761 (Phar::mapPhar fails for Phars inside a path containing ".tar"). (Mike) . Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar). (Stas) . Fixed bug #69441 (Buffer Overflow when parsing tar/zip/phar in phar_set_inode). (Stas) - Postgres: . Fixed bug #68741 (Null pointer dereference). (CVE-2015-1352) (Laruence) - SPL: . Fixed bug #69227 (Use after free in zval_scan caused by spl_object_storage_get_gc). (adam dot scarr at 99designs dot com) - SOAP: . Fixed bug #69293 (NEW segfault when using SoapClient::__setSoapHeader (bisected, regression)). (Laruence) - Sqlite3: . Fixed bug #68760 (SQLITE segfaults if custom collator throws an exception). (Dan Ackroyd) . Fixed bug #69287 (Upgrade bundled libsqlite to 3.8.8.3). (Anatol) . Fixed bug #66550 (SQLite prepared statement use-after-free). (Sean Heelan) commit fcea77f015634d2ceccf87aa8cb9d4d6f37c4fb8 Author: tron <tron> Date: Tue Apr 21 21:55:20 2015 +0000 Pullup tickets #4676, #4677, #4678 and #4679. commit 925ab7098bb6cc3ce910092b754e612ad6aad606 Author: tron <tron> Date: Tue Apr 21 21:53:52 2015 +0000 Pullup ticket #4679 - requested by taca lang/php55: security update Revisions pulled up: - lang/php/phpversion.mk 1.95 - lang/php55/distinfo 1.39 --- Module Name: pkgsrc Committed By: taca Date: Fri Apr 17 16:40:58 UTC 2015 Modified Files: pkgsrc/lang/php: phpversion.mk pkgsrc/lang/php55: distinfo Log Message: Update php55 to 5.5.24. 16 Apr 2015, PHP 5.5.24 - Apache2handler: . Fixed bug #69218 (potential remote code execution with apache 2.4 apache2handler). (Gerrit Venema) - Core: . Fixed bug #66609 (php crashes with __get() and ++ operator in some cases). (Dmitry, Laruence) . Fixed bug #67626 (User exceptions not properly handled in streams). (Julian) . Fixed bug #68021 (get_browser() browser_name_regex returns non-utf-8 characters). (Tjerk) . Fixed bug #68917 (parse_url fails on some partial urls). (Wei Dai) . Fixed bug #69134 (Per Directory Values overrides PHP_INI_SYSTEM configuration options). (Anatol Belski) . Additional fix for bug #69152 (Type confusion vulnerability in exception::getTraceAsString). (Stas) . Fixed bug #69212 (Leaking VIA_HANDLER func when exception thrown in __call/... arg passing). (Nikita) . Fixed bug #69221 (Segmentation fault when using a generator in combination with an Iterator). (Nikita) . Fixed bug #69337 (php_stream_url_wrap_http_ex() type-confusion vulnerability). (Stas) . Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions). (Stas) - Curl: . Implemented FR#69278 (HTTP2 support). (Masaki Kagaya) . Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER). (Laruence) - Date: . Export date_get_immutable_ce so that it can be used by extensions. (Derick Rethans) . Fixed bug #69336 (Issues with "last day of <monthname>"). (Derick Rethans) - Enchant: . Fixed bug #65406 (Enchant broker plugins are in the wrong place in windows builds). (Anatol) - Fileinfo: . Fixed bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault). (Anatol Belski) - Filter: . Fixed bug #69202 (FILTER_FLAG_STRIP_BACKTICK ignored unless other flags are used). (Jeff Welch) . Fixed bug #69203 (FILTER_FLAG_STRIP_HIGH doesn't strip ASCII 127). (Jeff Welch) - Mbstring: . Fixed bug #68846 (False detection of CJK Unified Ideographs Extension E). (Masaki Kagaya) - OPCache . Fixed bug #68677 (Use After Free). (CVE-2015-1351) (Laruence) . Fixed bug #69281 (opcache_is_script_cached no longer works). (danack) - OpenSSL: . Fixed bug #67403 (Add signatureType to openssl_x509_parse). . Add a check for RAND_egd to allow compiling against LibreSSL (Leigh) - Phar: . Fixed bug #64343 (PharData::extractTo fails for tarball created by BSD tar). (Mike) . Fixed bug #64931 (phar_add_file is too restrictive on filename). (Mike) . Fixed bug #65467 (Call to undefined method cli_arg_typ_string). (Mike) . Fixed bug #67761 (Phar::mapPhar fails for Phars inside a path containing ".tar"). (Mike) . Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar). (Stas) . Fixed bug #69441 (Buffer Overflow when parsing tar/zip/phar in phar_set_inode). (Stas) - Postgres: . Fixed bug #68741 (Null pointer dereference). (CVE-2015-1352) (Laruence) - SPL: . Fixed bug #69227 (Use after free in zval_scan caused by spl_object_storage_get_gc). (adam dot scarr at 99designs dot com) - SOAP: . Fixed bug #69293 (NEW segfault when using SoapClient::__setSoapHeader (bisected, regression)). (thomas at shadowweb dot org, Laruence) - SQLITE: . Fixed bug #68760 (SQLITE segfaults if custom collator throws an exception). (Dan Ackroyd) . Fixed bug #69287 (Upgrade bundled sqlite to 3.8.8.3). (Anatol) commit 06cfdb83dfa6add7a1890739e737320f7ca3044b Author: tron <tron> Date: Tue Apr 21 21:50:09 2015 +0000 Pullup ticket #4677 - requested by taca lang/php54: security update Revisions pulled up: - lang/php/phpversion.mk 1.94 - lang/php54/distinfo 1.56 --- Module Name: pkgsrc Committed By: taca Date: Fri Apr 17 16:39:56 UTC 2015 Modified Files: pkgsrc/lang/php: phpversion.mk pkgsrc/lang/php54: distinfo Log Message: Update php54 to 5.4.40. 16 Apr 2015 PHP 5.4.40 - Apache2handler: . Fixed bug #69218 (potential remote code execution with apache 2.4 apache2handler). (Gerrit Venema) - Core: . Additional fix for bug #69152 (Type confusion vulnerability in exception::getTraceAsString). (Stas) . Fixed bug #69337 (php_stream_url_wrap_http_ex() type-confusion vulnerability). (Stas) . Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions). (Stas) - cURL: . Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER). (Laruence) - Ereg: . Fixed bug #68740 (NULL Pointer Dereference). (Laruence) - Fileinfo: . Fixed bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault). (Anatol Belski) - GD: . Fixed bug #68601 (buffer read overflow in gd_gif_in.c). (Remi) - Phar: . Fixed bug #68901 (use after free). (bugreports at internot dot info) . Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar). (Stas) . Fixed bug #69441 (Buffer Overflow when parsing tar/zip/phar in phar_set_inode). (Stas) - Postgres: . Fixed bug #68741 (Null pointer deference) (CVE-2015-1352). (Xinchen Hui) - SOAP: . Fixed bug #69152 (Type Confusion Infoleak Vulnerability in unserialize() with SoapFault). (Dmitry) - Sqlite3: . Fixed bug #66550 (SQLite prepared statement use-after-free). (Sean Heelan) commit 259235aeb1391a7d418c7f05567d8fd849ecbf64 Author: tron <tron> Date: Tue Apr 21 21:44:22 2015 +0000 Pullup ticket #4678 - requested by taca net/ntp4: security update Revisions pulled up: - net/ntp4/Makefile 1.85 - net/ntp4/PLIST 1.18 - net/ntp4/distinfo 1.21 --- Module Name: pkgsrc Committed By: taca Date: Wed Apr 8 03:31:34 UTC 2015 Modified Files: pkgsrc/net/ntp4: Makefile PLIST distinfo Log Message: Update ntp4 package to 4.2.8p2. NTP 4.2.8p2 (Harlan Stenn <stenn@ntp.org>, 2015/04/xx) Focus: Security and Bug fixes, enhancements. Severity: MEDIUM In addition to bug fixes and enhancements, this release fixes the following medium-severity vulnerabilities involving private key authentication: * [Sec 2779] ntpd accepts unauthenticated packets with symmetric key crypto. References: Sec 2779 / CVE-2015-1798 / VU#374268 Affects: All NTP4 releases starting with ntp-4.2.5p99 up to but not including ntp-4.2.8p2 where the installation uses symmetric keys to authenticate remote associations. CVSS: (AV:A/AC:M/Au:N/C:P/I:P/A:P) Base Score: 5.4 Date Resolved: Stable (4.2.8p2) 07 Apr 2015 Summary: When ntpd is configured to use a symmetric key to authenticate a remote NTP server/peer, it checks if the NTP message authentication code (MAC) in received packets is valid, but not if there actually is any MAC included. Packets without a MAC are accepted as if they had a valid MAC. This allows a MITM attacker to send false packets that are accepted by the client/peer without having to know the symmetric key. The attacker needs to know the transmit timestamp of the client to match it in the forged reply and the false reply needs to reach the client before the genuine reply from the server. The attacker doesn't necessarily need to be relaying the packets between the client and the server. Authentication using autokey doesn't have this problem as there is a check that requires the key ID to be larger than NTP_MAXKEY, which fails for packets without a MAC. Mitigation: Upgrade to 4.2.8p2, or later, from the NTP Project Download Page or the NTP Public Services Project Download Page Configure ntpd with enough time sources and monitor it properly. Credit: This issue was discovered by Miroslav Lichvar, of Red Hat. * [Sec 2781] Authentication doesn't protect symmetric associations against DoS attacks. References: Sec 2781 / CVE-2015-1799 / VU#374268 Affects: All NTP releases starting with at least xntp3.3wy up to but not including ntp-4.2.8p2 where the installation uses symmetric key authentication. CVSS: (AV:A/AC:M/Au:N/C:P/I:P/A:P) Base Score: 5.4 Note: the CVSS base Score for this issue could be 4.3 or lower, and it could be higher than 5.4. Date Resolved: Stable (4.2.8p2) 07 Apr 2015 Summary: An attacker knowing that NTP hosts A and B are peering with each other (symmetric association) can send a packet to host A with source address of B which will set the NTP state variables on A to the values sent by the attacker. Host A will then send on its next poll to B a packet with originate timestamp that doesn't match the transmit timestamp of B and the packet will be dropped. If the attacker does this periodically for both hosts, they won't be able to synchronize to each other. This is a known denial-of-service attack, described at https://www.eecis.udel.edu/~mills/onwire.html . According to the document the NTP authentication is supposed to protect symmetric associations against this attack, but that doesn't seem to be the case. The state variables are updated even when authentication fails and the peers are sending packets with originate timestamps that don't match the transmit timestamps on the receiving side. This seems to be a very old problem, dating back to at least xntp3.3wy. It's also in the NTPv3 (RFC 1305) and NTPv4 (RFC 5905) specifications, so other NTP implementations with support for symmetric associations and authentication may be vulnerable too. An update to the NTP RFC to correct this error is in-process. Mitigation: Upgrade to 4.2.8p2, or later, from the NTP Project Download Page or the NTP Public Services Project Download Page Note that for users of autokey, this specific style of MITM attack is simply a long-known potential problem. Configure ntpd with appropriate time sources and monitor ntpd. Alert your staff if problems are detected. Credit: This issue was discovered by Miroslav Lichvar, of Red Hat. * New script: update-leap The update-leap script will verify and if necessary, update the leap-second definition file. It requires the following commands in order to work: wget logger tr sed shasum Some may choose to run this from cron. It needs more portability testing. commit 94c1b5104684448d27261c42d658ac54910af9ac Author: tron <tron> Date: Tue Apr 21 21:39:41 2015 +0000 Pullup ticket #4676 - requested by tron net/tigervnc: build fix Revisions pulled up: - net/tigervnc/Makefile 1.4 --- Module Name: pkgsrc Committed By: joerg Date: Sat Apr 18 20:44:47 UTC 2015 Modified Files: pkgsrc/net/tigervnc: Makefile Log Message: Needs explicit libdrm dependency. commit 9ac98dab09e6d06bb842b68ed5f6011621f1b13f Author: tron <tron> Date: Tue Apr 21 19:07:46 2015 +0000 Pullup tickets #4669, #4674 and #4675. commit f4dd44867374ea54f7a364d6262a851839ca6aec Author: tron <tron> Date: Tue Apr 21 19:07:14 2015 +0000 Pullup ticket #4675 - requested by joerg games/ioquake3: build fix Revisions pulled up: - games/ioquake3/Makefile 1.4 - games/ioquake3/PLIST 1.3 - games/ioquake3/distinfo 1.5 - games/ioquake3/patches/patch-aa 1.3 --- Module Name: pkgsrc Committed By: joerg Date: Sat Apr 18 20:44:08 UTC 2015 Modified Files: pkgsrc/games/ioquake3: Makefile PLIST distinfo pkgsrc/games/ioquake3/patches: patch-aa Log Message: Allow building on NetBSD/arm. commit d3ef2ddfc6c5d191f3a29bb4af90aab71356dffa Author: tron <tron> Date: Tue Apr 21 19:00:54 2015 +0000 Pullup ticket #4674 - requested by joerg games/orbital_eunuchs_sniper: packaging fix Revisions pulled up: - games/orbital_eunuchs_sniper/Makefile 1.23 --- Module Name: pkgsrc Committed By: joerg Date: Sat Apr 18 20:43:19 UTC 2015 Modified Files: pkgsrc/games/orbital_eunuchs_sniper: Makefile Log Message: Use uname -m output for NetBSD/ARM in the PLIST as the package does. commit c3e33c1c17b50b1641b75315f564d4f914c8d49e Author: tron <tron> Date: Tue Apr 21 18:55:45 2015 +0000 Pullup ticket #4669 - requested by manu databases/php-ldap: build fix Revisions pulled up: - databases/php-ldap/files/ldap-ctrl-exop.patch deleted - databases/php-ldap/files/ldap-ctrl-exop54.patch 1.1-1.2 - databases/php-ldap/files/ldap-ctrl-exop55.patch 1.1-1.2 - databases/php-ldap/files/ldap-ctrl-exop56.patch 1.1-1.2 - databases/php-ldap/options.mk 1.4 --- Module Name: pkgsrc Committed By: manu Date: Mon Apr 13 08:04:17 UTC 2015 Modified Files: pkgsrc/databases/php-ldap: options.mk Added Files: pkgsrc/databases/php-ldap/files: ldap-ctrl-exop54.patch ldap-ctrl-exop55.patch ldap-ctrl-exop56.patch Removed Files: pkgsrc/databases/php-ldap/files: ldap-ctrl-exop.patch Log Message: Update the LDAP EXOP support patch for PHP 5.4, 5.5 and 5.6 --- Module Name: pkgsrc Committed By: manu Date: Mon Apr 20 03:24:36 UTC 2015 Modified Files: pkgsrc/databases/php-ldap/files: ldap-ctrl-exop54.patch ldap-ctrl-exop55.patch ldap-ctrl-exop56.patch Log Message: Fix build with SASL disabled Do not force-define HAVE_LDAP_SASL, since the PHP configure script actually takes care of that one. This lets us build with the exop option enabled while sasl is disabled. commit a5f8d21945363b03bec896fb6af2714201ab919e Merge: 7d962d8 faf0e76 Author: Jonathan Perkin <jperkin@joyent.com> Date: Tue Apr 21 14:40:27 2015 +0100 Merge branch 'joyent/feature/miscfix/2015Q1' into joyent/release/2015Q1 commit faf0e763cdbe20b49f8215cb58530dff6e44d97f Merge: 86554d2 a295034 Author: Jonathan Perkin <jperkin@joyent.com> Date: Tue Apr 21 14:40:13 2015 +0100 Merge branch 'joyent/feature/miscfix/2015Q1' of github.com:joyent/pkgsrc into joyent/feature/miscfix/2015Q1 commit 7d962d8f53c204790d4d7120d6e6dbfe107a7af6 Author: Jonathan Perkin <jperkin@joyent.com> Date: Tue Apr 21 14:39:38 2015 +0100 Update 'joyent' and 'wip' submodules. commit b163d85dc024e7f042e22cfb6f1fc3cc5279114b Merge: 952134b 86554d2 Author: Jonathan Perkin <jperkin@joyent.com> Date: Tue Apr 21 14:39:13 2015 +0100 Merge branch 'joyent/feature/miscfix/2015Q1' into joyent/release/2015Q1 commit 86554d2c5a721a99fd2e7c4b5862b35b69918090 Merge: 0b4c611 6996bfa Author: Jonathan Perkin <jperkin@joyent.com> Date: Tue Apr 21 14:38:23 2015 +0100 Merge branch 'pkgsrc_2015Q1' into joyent/feature/miscfix/2015Q1 commit a295034d9249a35784c34cc387513f5de3c73570 Author: Filip Hajny <filip@joyent.com> Date: Mon Apr 20 17:09:03 2015 +0000 Update sysutils/cfengine3 to 3.6.5. Add lmdb support option. Upstream changelog follows. 3.6.5 Features: - Introduced "systemd" hard class. - Added paths to dtrace, zfs and zpool on FreeBSD in masterfiles. Bug fixes: - Fixed build error on certain RHEL5 and SLES10 setups. - Fixed a bug which caused dangling symlinks not to be removed. - Fixed data_readstringarrayidx function not preserving the order of the array it's producing. - Fixed a bug which sometimes caused CFEngine to kill the wrong daemon if both the host and a container inside the host were running CFEngine. - Made sure the rm_rf_depth bundle also deletes the base directory. - Fixed monitord reporting wrongly on open ports. - Skip adding the class when its name is longer than 1024 characters. Fixed core dump when the name is too large. - Fixed detection of stopped process on Solaris. - Fixed infinite loop plus a couple more minor bugs in edit_xml promises. 3.6.4 Features: - Introduced users promises support on HP-UX platform. - Introduced process promises support on HP-UX platform. Bug fixes: - Fixed bug on FreeBSD which sometimes led to the wrong process being killed - Fixed package version comparison sometimes failing with rpm package manager - Fixed a bug in users promises which would sometimes set the wrong password hash if the user would also be unlocked at the same time. - Fixed a bug on AIX which would occationally kill the wrong process. - Improved error message for functions that require an absolute path. - Fixed some spelling errors in examples. - Fixed error in out-of-tree builds when building cf-upgrade. - Fixed a bug which would make cf-agent exit with an error if it was built with a custom log directory, and that directory did not exist. - Fixed ordering of evaluating promises when depends_on is used. - Skip non-empty directories silently when recursively deleting. - Fix memory exhaustion with list larger than 4994 items. - Fix cf-execd segfault on IP address detection - Fix hard class detection of RHEL6 ComputeNode 3.6.3 New features: - support for HP-UX 11.23 and later - experimental support for Red Hat Enterprise Linux 7 Bug fixes: - fix getindices on multi-dimensional arrays - fix mustache template method to run in dryrun mode - set mailto and mailfrom settings for execd in def.cf - fix conflation of multi-index entries in arrays - fix promise locking when transferring using update.cf - update JSON parser to return an error on truncation - fix sys.hardware_addresses not expanded - fix opening database txn /var/cfengine/cf_lastseen.lmdb: MDB_READERS_FULL when running cf-keys --show-hosts - fix segfault (Null pointer dereference) when select_end in delete_lines never matches - fix max_file_size => "0" not disabling or allowing any size - fix ifvarclass, with iteration over list, failing when deleting files with time condition - fix classes defined with "or" constraint are never set if any value doesn't evaluate to a scalar - update "mailfrom" default in default policy - fix logrotate ambiguity of filename - fix parsing JSON files - reduce write count activity to /var partition - fix files delete attribute incorrectly triggering promise_kept - update services bundle output related to chkconfig when run in inform mode. - fix Solaris serverd tests - fix broken bechaviour of merging arrays with readstringarray - fix ifelapsed bug with bundle nesting - fix handling cf_null in bundlesequence - fix maparray reading whole input array when using subarray - fix directories being randomly changed to files - update defaults promise type to work with classes - systemd integration in services promises - fix touch attribute ignoring action = warn_only - fix 4KB string limit in functions readfile, string_downcase, string_head, string_reverse, string_length, string_tail, string_upcase 3.6.2 Bug fixes: - don't regenerate software_packages.csv every time - improve verbose message for package_list_command - fix missing log output on AIX - assorted fixes to dirname() esp on Windows - fix package manager detection - fix build issues on FreeBSD - allow copying of dead symbolic links - preserve order in readstringarrayidx - fix passing of unexpanded variable references to arrays - use entries for new {admin,deny}_{ips,hostnames} constraints in the relevant legacy lists - cope with ps's numeric fields overflowing to the right - interpret failing function calls in ifvarclass as class not set - remove unexpanded lists when extending lists - infer start-time of a process from elapsed when needed - fix input range definition for laterthan() function - don't add trailing delimiter when join()'ing lists ending with a null-value - 9999999999 (ten 9s) or higher has been historically used as an upper bound in CFEngine code and policy but because of overflow on 32-bit platforms it caused problems with big numbers. Fixed in two ways: first change all existing policy uses to 999999999 (nine 9s instead of eleven 9s), second fix the C code to not wrap-around in case of overflow, but use the LONG_MAX value - cf-serverd and other daemons no longer reload their configuration every minute if CFEngine is built with an inputs directory outside of the work directory (not the default). 3.6.1 New features: - Introduced Solaris and AIX support into the 3.6 series, with many associated build and bug fixes. Changes: - Short-circuit evaluation of classes promises if class is already set - fix to assume all non-specified return codes are failed in commands promises - cf-serverd logs reconfiguration message to NOTICE (was INFO) so that it's always logged in syslog Bug fixes: - File monitoring has been completely rewritten (changes attribute in files promise), which eliminates many bugs, particularly regarding files that are deleted. Upgrading will keep all monitoring data, but downgrading again will reinitialize the DB, so all files will be reported as if they were new. - $(this.promiser) expands in files promises for 'transformer', 'edit_template', 'copy_from.source', 'file_select.exec_program', 'classes' and 'action' bodies - 'body changes' notifies about disappeared files in file monitoring - Set not-kept classes when files or commands promise should be repaired, but is warn-only - Fixed CFEngine template producing a zero-sized file - Add 0-9 A-Z _ to allowed context of module protocol - Extend ps command column width on Solaris and filter on zone rather than adding it to the ps output. - Fixed strftime() function on Solaris when called with certain specifiers. - Fixed users promise bug regarding password hashes in a NIS/NSS setup. - Fixed $(sys.uptime), $(sys.systime) and $(sys.sysday) in AIX. #5148, #5206) - Fixed processes_select complaining about "Unacceptable model uncertainty examining processes" - ps command for linux has been changed to cope with big rss values - Address ps -axo shift on FreeBSD 10 and later - methods and services promises respect action_policy => "warn" - LMDB should no longer deadlock if an agent is killed on the hub while holding the DB lock. Note that the change only affects binary packages shipped by CFEngine, since the upstream LMDB project has not yet integrated the change. 3.6.0 Changes: - Changes to logging output - add process name and pid in syslog message (GitHub #789) - cf-serverd logging levels are now more standardised: - INFO logs only failures - VERBOSE logs successful requests as well - DEBUG logs actual protocol traffic. - cf-serverd now logs the relevant client IP address on each message. - Logging contexts to local database (cf_classes.tcdb) has been deprecated. - 'usebundle' promisees are logged for all the bundle promises - output from 'reports' promises has nothing prefixed except 'R: ' - a log line with stack path is generated when the promise type evaluated changes - LMDB (symas.com/mdb) is the default database for local data storage : use version 0.9.9 or later. cf-agent --self-diagnostics (-x) is only implemented for TCDB, not for LMDB - port argument in readtcp() and selectservers() may be a service name (e.g. "http", "pop3"). - Enable source file in agent copy_from promises to be a relative path. - file "changes" reporting now reports with log level "notice", instead of "error". - process_results default to AND'ing of set attributes if not specified - interface is now canonified in sys.hardware_mac[interface] to align with sys.ipv4[interface] - cf-promises no longer errors on missing bodies when run without --full-check (-c) - Linux flavor "SUSE" now correctly spelled with all uppercase in variables and class names. The "suse" lowercase version is also provided for convenience. - $(this.promise_filename) and $(..._dirname) variables are now absolute paths. - including the same file multiple times in 'body control inputs' is not an error - portnumber in body copy_from now supports service names like "cfengine", "pop3" etc, check /etc/services for more. - The failsafe.cf policy, run on bootstrap and in some other unusual cases, has been extracted from C code into libpromises/failsafe.cf - masterfiles - cf_promises_validated is now in JSON format - timestamp key is timestamp (sec since unix epoch) of last time validated - the masterfiles now come from https://github.com/cfengine/masterfiles and are not in the core repository - cf-serverd calls cf-agent with -Dcfruncommand when executing cf-runagent requests Mark as removed: promise_notkept_log_include, promise_notkept_log_exclude, promise_repaired_log_include, promise_repaired_log_exclude, classes_include, classes_exclude, variables_include, variables_exclude attributes from report_data_select body (syntax is valid but not functional). They have been replaced by the following attributes: promise_handle_include, promise_handle_exclude, metatags_include, metatags_exclude. New features: - New promise type "users" for managing local user accounts. - TLS authentication and fully encrypted network protocol. Additions specific to the new type of connections: - New attribute "allowlegacyconnects" in body server control, which enables serving policy via non-latest cfengine protocol, to the given list of hosts. If the option is absent, it defaults to allow all hosts. To refuse non-TLS connections, specify an empty list. - New attribute "protocol_version" in body copy_from, and body common control, which defines the preferred protocol for outgoing connections.. Allowed values at the moment: "0" or "undefined", "classic" or "1", "latest" or "2". By leaving the copy_from option as undefined the common control option is used, and if both are undefined then classic protocol is used by default. - The new networking protocol uses TLS for authentication, after which all dialog is encrypted within the established TLS session. cf-serverd is still able to speak the legacy protocol with old agents. - The 'skipverify' option in 'body server control' is deprecated and only left for compatibility; it does nothing - cf-serverd does not hang up the connection if some request fails, so that the client can add more requests. - For the connections using the new protocol, all of the paths in bundle server access_rules now differentiate between a directory and a file using the trailing slash. If the path exists then this is auto-detected and trailing slash appended automatically. You have to append a trailing slash manually to an inexistent or symbolic path (e.g. "/path/to/$(connection.ip)/") to force recursive access. - New in 'access' promises for 'bundle server access_rules' - Attributes "admit_ips", "admit_hostnames", "admit_keys", "deny_ips", "deny_hostnames", "deny_keys" - "admit_keys" and "deny_keys" add the new functionality of controlling access according to host identity, regardless of the connecting IP. - For these new attributes, regular expressions are not allowed, only CIDR notation for "admit/deny_ips", exact "SHA=..." strings for "admit/deny_keys", and exact hostnames (e.g. "cfengine.com") or subdomains (starting with dot, e.g. ".cfengine.com") for "admit/deny"_hostnames. Same rules apply to 'deny_*' attributes. - These new constraints and the paths in access_rules, can contain special variables "$(connection.ip)", "$(connection.hostname)", "$(connection.key)", which are expanded dynamically for every received connection. - For connections using the new protocol, "admit" and "deny" constraints in bundle server access_rules are being phased out, preferred attributes are now "admit_ips", "deny_ips", "admit_hostnames", "deny_hostnames", "admit_keys", "deny_keys". - New "shortcut" attribute in bundle server access_rules used to dynamically expand non-absolute request paths. - masterfiles - standard library split: lib/3.5 (compatibility) and lib/3.6 (mainline) - many standard library bundles and bodies, especially packages- and file-related, were revised and fixed - supports both Community and Enterprise - new 'inventory/' structure to provide OS, dmidecode, LSB, etc. system inventory (configured mainly in def.cf) - cf_promises_release_id contains the policy release ID which is the GIT HEAD SHA if available or hash of tree - a bunch'o'bundles to make starting with CFEngine easier: - file-related: file_mustache, file_mustache_jsonstring, file_tidy, dir_sync, file_copy, file_link, file_hardlink, file_empty, file_make - packages-related: package_absent, package_present, package_latest, package_specific_present, package_specific_absent, package_specific_latest, package_specific - XML-related: xml_insert_tree_nopath, xml_insert_tree, xml_set_value, xml_set_attribute - VCS-related: git_init, git_add, git_checkout, git_checkout_new_branch, git_clean, git_stash, git_stash_and_clean, git_commit, git - process-related: process_kill - other: cmerge, url_ping, logrotate, prunedir - New command line options for agent binaries - New options to cf-promises - '--show-classes' and '--show-vars' - '--eval-functions' controls whether cf-promises should evaluate functions - Colorized output for agent binaries with command line option '--color' (auto-enabled if you set CFENGINE_COLOR=1) - New language features - New variable type 'data' for handling of structured data (ie JSON), including supporting functions: - 'data_readstringarray' - read a delimited file into a data map - 'data_readstringarrayidx' - read a delimited file into a data array - 'datastate' - create a data variable with currently set classes and variables - 'datatype' - determine the type of the top element of a container - 'format' - %S can be used to serialize 'data' containers into a string - 'mergedata' - merge two data containers, slists/ilists/rlists, or "classic" arrays into a data container - 'parsejson' - create a data container from a JSON string - 'readjson' - create a data container from a file that contains JSON - 'storejson' - serialize a data container into a string - Most functions operating on lists can also operate on data containers - pass a data container to a bundle with the @(container) notation - the module protocol accepts JSON for data containers with the '%' sigil - Tagging of classes and variables allows annotating of language construct with meta data; supporting functionality: - The module protocol in 'commands' promises has been extended to allow setting of tags of created variables and classes, and the context of created variables - 'getclassmetatags' - returns list of meta tags for a class - 'getvariablemetatags' - returns list of meta tags for a variable - 'body file control' has an 'inputs' attribute to include library files and other dependencies - bundlesequences can be built with bundlesmatching() based on bundle name and tags - New attributes in existing promise types and bodies - New option 'preserve_all_lines' for insert_type in insert_lines promises - Caching of expensive system functions to avoid multiple executions of execresult() etc, can be controlled via cache_system_functions attribute in body common control - New option 'mailsubject' in body executor control allows defining the subject in emails sent by CFEngine - Support for Mustache templates in 'files' promises; use 'template_method' and 'template_data' attributes. Without 'template_data' specified, uses datastate(). - New and improved functions - 'bundlesmatching' - returns list of defined bundles matching a regex and tags - 'canonifyuniquely' - converts a string into a unique, legal class name - 'classesmatching' - returns list of set classes matching a regex and tags - 'eval' - evaluates mathematical expressions; knows SI k, m, g quantifiers, e.g. "100k" - 'findfiles' - list files matching a search pattern; use "**" for recursive searches - 'makerule' - evaluates whether a target file needs to be rebuilt from sources - 'max', 'min' - returns maximum and minimum of the numbers in a container or list (sorted by a 'sort' method) - 'mean' - returns the mean of the numbers in a container or list - 'nth' - learned to look up by key in a data container holding a map - 'packagesmatching' - returns a filtered list of installed packages. - 'readfile' - learned to read system files of unknown size like those in /proc - 'sort' - can sort lexicographically, numerically (int or real), by IP, or by MAC - 'string_downcase', 'string_upcase' - returns the lower-/upper-case version of a string - 'string_head', 'string_tail' - returns the beginning/end of a string - 'string_length' - returns the length of a string - 'string_reverse' - reverses a string - 'string_split' - improved implementation, deprecates 'splitstring' - 'variablesmatching' - returns a list of variables matching a regex and tags - 'variance' - returns the variance of numbers in a list or container - New hard classes - Introduced alias 'policy_server' for context 'am_policy_hub' (the latter will be deprecated) - all the time-based classes have GMT equivalents - New variables - 'sys.bindir' - the location of the CFEngine binaries - 'sys.failsafe_policy_path' - the location of the failsafe policy file - 'sys.inputdir' - the directory where CFEngine searches for policy files - 'sys.key_digest' - the digest of the host's cryptographic key - 'sys.libdir', 'sys.local_libdir' - the location of the CFEngine libraries - 'sys.logdir' - the directory where the CFEngine log files are saved - 'sys.masterdir' - the location of masterfiles on the policy server - 'sys.piddir' - the directory where the daemon pid files are saved - 'sys.sysday' - the number of days since the beginning of the UNIX epoch - 'sys.systime' - the number of seconds since the beginning of the UNIX epoch - 'sys.update_policy_path' - the name of the update policy file - 'sys.uptime' - the number of minutes the host has been online - 'this.promise_dirname' - the name of the file in which the current promise is defined - 'this.promiser_uid' - the ID of the user running cf-agent - 'this.promiser_gid' - the group ID of the user running cf-agent - 'this.promiser_ppid' - the ID of the parent process running cf-agent Deprecations: - 'splitstring' - deprecated by 'string_split' - 'track_value' - 'skipverify' Bug fixes: for a complete list of fixed bugs, see https://cfengine.com/dev - various fixes in evaluation and variable resolution - Improve performance of list iteration - Removed limitation of input length to internal buffer sizes - directories ending with "/" are not ignored - lsdir() always return a list now, never a scalar - 'abortclasses' fixed to work in common bundles and other cases - namespaced 'edit_line' bundles now work - lists are interpolated in correct order - cf-serverd reloads policies properly when they change - lots of leaks (memory and file descriptor) fixed 3.5.3 Changes: - Improved security checks of symlink ownership. A symlink created by a user pointing to resources owned by a different user will no longer be followed. - Changed the way package versions are compared in package promises. In previous versions the comparison was inconsistent. This has been fixed, but may also lead to behavior changes in certain cases. Bug fixes: - fix cf-monitord crash due to incorrect array initialization - fix cf-serverd stat()'ing the file tree every second - correctly populate sys.hardware_addresses variable - add support for Debian's GNU/kfreebsd to build system - fix possible stack corruption in guest_environments promises - work-around hostname trunctation in HP-UX's uname - fix body copy purging of empty directories - make discovery and loading of avahi libraries more robust - compile and packaging fixes for HP-UX, AIX and Solaris - fix fatal error in lsdir() when directory doesn't exist - fix epoch calculation for stime inrange calculation 3.5.2 Bug fixes: - fix delayed abortclasses checking - fix maplist arguments bug - fix segfaults in cf-pomises - fix build on Solaris 10/SmartOS - sanitize characters from /etc/issue in sys.flavor for Debian - Fix segfault when dealing with files or data > 4K - Don't truncate keys to 126 characters in getindices - files created via log_* actions now have mode 600 - fix wrong log message when a promise is ignored due to 'ifvarclass' not matching - fix lifetime of persistent classes - fix segfault when process_select body had no process_result attribute Default to AND'ed expression of all specified attributes - include system message in output when acl promises fail - fix invocation of standard_services bundle and corresponding promise compliance 3.5.1 Changes: - file changes are logged with log level Notice, not Error - the CFEngine Standard Library in masterfiles/libraries is now split into promise-type specific policy files, and lives in a version-specific directory. This should have no impact on current code, but allows more granular include of needed stdlib elements Bug fixes: - fix recursive copying of files - respect classes in templates - fix timestamps on Windows - fix non-root cf-agent flooding syslog - fix email flood from cf-execd due to timestamps in agent output - Preserve security context when editing or copying local files - fix path for sys.crontab on redhat systems - prevent incorrect "insert_lines promise uses the same select_line_matching anchor" warning - Fix regression of setting VIPADDRESS to 127.0.0.1 - Fix "changes" promise not receiving status when file is missing - Fix symlinks being destroyed when editing them - Fix missing "promise kept" status for the last line in a file 3.5.0 New features: - classes promises now take an optional scope constraint. - new built-in functions: every, none, some, nth, sublist, uniq, filter - every - none - some - nth - sublist - uniq - filter - classesmatching - strftime - filestat - ifelse - maparray - format - cf-promises flag --parse-tree is replaced by --policy-output-format=, requiring the user to specify the output format (none, cf, json) - cf-promises allows partial check of policy (without body common control) without integrity check; --full-check enforces integrity check - agent binaries support JSON input format (.json file as generated by cf-promises) - cf-key: new options --trust-key/-t and --print-digest/-p - Class "failsafe_fallback" is defined in failsafe.cf when main policy contains errors and failsafe is run because of this - add scope attribute for body classes - Better diagnostics of parsing errors - Error messages from parser now show the context of error - new cf-agent option: --self-diagnostics - new output format, and --legacy-output - warnings for cf-promises. - Enable zeroconf-discovery of policy hubs for automatic bootstrapping if Avahi is present - Support for sys.cpus on more platforms than Linux & HPUX Changes: - parser no longer allows ',' after promiser or promisee. must be either ';' or lval - Make parser output in GCC compatible format the only supported format (remove --gcc-brief-format flag) - Silence license warnings in Enterprise Free25 installations - action_policy => "warn" causes not_kept classes to be set on promise needing repair. - command line option version (-V) now prints a shorter parsable version without graphic - implicit execution of server and common bundles taking arguments is skipped in cf-serverd. - WARNING: option --policy-server removed, require option to --bootstrap instead - process promises don't log if processes are out of rang…
jperkin
pushed a commit
that referenced
this issue
Jun 17, 2015
kramdown 1.7.0 released Published on Monday, 27 April 2015 This release brings among other things support for the ‘minted’ syntax highlighter for LaTeX and a new math engine based on MathJax-Node that outputs to MathML. Changes * 4 minor changes: - The syntax highlighter ‘minted’ for the LaTeX converter is now available (fixes issue #93, initial patch #242 by l3kn) - A new math engine based on MathJax-Node that outputs to MathML is now available (patch #240 by Tom Thorogood) - Fixed #244, #246: Fenced code blocks now allow a dash in the code language name (requested and patched by Dennis Günnewig) - The option list in the man page as well in the output of kramdown --help is now sorted. * 2 bug fixes: - Fixed #230: Warning message for method in lib/kramdown/utils/configurable.rb will not show anymore (reported by Robert A. Heiler) - Fixed #239: Handling of single/double quotes in reference style links now follows the same rules as with inline links (reported by Josh Davis) kramdown 1.6.0 released Published on Saturday, 28 February 2015 This release contains many fixes and minor enhancements as well as one major goodie that comes with a small caveat: block IALs can now be applied to link and abbreviation definitions! It may not sound like much but allowing block IALs to be applied to link definitions alleviates the problem that additional attributes could only be specified via span IALs. Now such attributes can be stored together with the URL and title at the link definition, for example: This is a ![resized image]. [resized image]: some_image.jpg "with a title" {: height="36px" width="36px" style="border: 1px solid green"} There is one small caveat, though. Regard the following construct: [linkdef]: http://example.com {:.block-ial} block element, e.g. a paragraph The block IAL would have been applied to the paragraph in previous versions but now it is applied to the link definition. However, such a construct is not very likely encountered in the real world. Changes * 7 minor changes: - Block IALs can now be applied to link and abbreviation definitions (inspired by issue #194 from cabo) - The syntax highlighting engine for Rouge now allows custom formatter classes to be used (issue #214, requested by BackOrder) - The MathJax math engine now allows adding previews (issue #225, requested by jethrogb) - The “toc_levels” option can now also take a Range object (pull request #210 by Jens Krämer) - The generated table of contents of the HTML converter now contains ID attributes on the links so that back-references can be used (issue #195, requested by Ciro Santilli) - A warning is now generated when duplicate HTML attributes are detected (issue #201, requested by winniehell) - Updated used version of prawn to 2.0.0 8 bug fixes: - Fixed #192: Emphasis by using underscore sometimes wrongly worked within a word (reported by Michael Franzl) - Fixed #198: Empty alt attributes on <img> tags are now correctly handled by the kramdown converter (reported by winniehell) - Fixed #200: Trailing whitespace is now really removed in paragraphs (reported by winniehell) - Fixed #220: HTML blocks with attributes weren’t correctly detected when directly after another block (reported by Bill Tozier) - Fixed #199: Empty title attributes are now ignored for images when using the kramdown converter (reported by and pull request #206 from winniehell) - Leading and trailing white space from math statements is now stripped as the whitespace sometimes lead to LaTeX conversion errors - Fixed #226: Class names may now start with a dash in IALs/ALDs (reported by Adam Hardwick) - Multiple consecutive block IALs before an element are now correctly processed
jperkin
pushed a commit
that referenced
this issue
Aug 9, 2015
(libreoffice still builds.) 02/08/2015 - GLM 0.9.7.0 released Features: Added GTC_color_space: convertLinearToSRGB and convertSRGBToLinear functions Added 'fmod' overload to GTX_common with tests #308 Added left handed perspective and lookAt functions #314 Added functions eulerAngleXYZ and extractEulerAngleXYZ #311 Added GTX_hash to perform std::hash on GLM types #320 #367 Added GTX_wrap for texcoord wrapping Added static components and precision members to all vector and quat types #350 Added .gitignore #349 Added support of defaulted functions to GLM types, to use them in unions #366 Improvements: Changed usage of __has_include to support Intel compiler #307 Specialized integer implementation of YCoCg-R #310 Don't show status message in 'FindGLM' if 'QUIET' option is set. #317 Added master branch continuous integration service on Linux 64 #332 Clarified manual regarding angle unit in GLM, added FAQ 11 #326 Updated list of compiler versions Fixes: Fixed default precision for quat and dual_quat type #312 Fixed (u)int64 MSB/LSB handling on BE archs #306 Fixed multi-line comment warning in g++ #315 Fixed specifier removal by 'std::make_pair' #333 Fixed perspective fovy argument documentation #327 Removed -m64 causing build issues on Linux 32 #331 Fixed isfinite with C++98 compilers #343 Fixed Intel compiler build error on Linux #354 Fixed use of libstdc++ with Clang #351 Fixed quaternion pow #346 Fixed decompose warnings #373 Fixed matrix conversions #371 Deprecation: Removed integer specification for 'mod' in GTC_integer #308 Removed GTX_multiple, replaced by GTC_round Download: GLM 0.9.7.0 (ZIP, 4.2 MB) (7Z, 2.8 MB) 15/02/2015 - GLM 0.9.6.3 released Fixes: Fixed Android doesn't have C++ 11 STL #284 Download: GLM 0.9.6.3 (ZIP, 4.1 MB) (7Z, 2.7 MB) 15/02/2015 - GLM 0.9.6.2 released Features: Added display of GLM version with other GLM_MESSAGES Added ARM instruction set detection Improvements: Removed assert for perspective with zFar < zNear #298 Added Visual Studio natvis support for vec1, quat and dualqual types Cleaned up C++11 feature detections Clarify GLM licensing Fixes: Fixed faceforward build #289 Fixed conflict with Xlib #define True 1 #293 Fixed decompose function VS2010 templating issues #294 Fixed mat4x3 = mat2x3 * mat4x2 operator #297 Fixed warnings in F2x11_1x10 packing function in GTC_packing #295 Fixed Visual Studio natvis support for vec4 #288 Fixed GTC_packing *pack*norm*x* build and added tests #292 Disabled GTX_scalar_multiplication for GCC, failing to build tests #242 Fixed Visual C++ 2015 constexpr errors: Disabled only partial support Fixed functions not inlined with Clang #302 Fixed memory corruption (undefined behaviour) #303 Download: GLM 0.9.6.2 (ZIP, 4.1 MB) (7Z, 2.7 MB) 10/12/2014 - GLM 0.9.6.1 released GLM 0.9.6.0 came with its set of major glitches: C++98 only mode, 32 bit build, Cuda and Android support should all be fixed in GLM 0.9.6.1 release. Features: Added GLM_LANG_CXX14_FLAG and GLM_LANG_CXX1Z_FLAG language feature flags Added C++14 detection Improvements: Clean up GLM_MESSAGES compilation log to report only detected capabilities Fixes: Fixed scalar uaddCarry build error with Cuda #276 Fixed C++11 explicit conversion operators detection #282 Fixed missing explicit convertion when using integer log2 with *vec1 types Fixed 64 bits integer GTX_string_cast to_string on VC 32 bit compiler Fixed Android build issue, STL C++11 is not supported by the NDK #284 Fixed unsupported _BitScanForward64 and _BitScanReverse64 in VC10 Fixed Visual C++ 32 bit build #283 Fixed GLM_FORCE_SIZE_FUNC pragma message Fixed C++98 only build Fixed conflict between GTX_compatibility and GTC_quaternion #286 Fixed C++ language restriction using GLM_FORCE_CXX** Download: GLM 0.9.6.1 (ZIP, 4.1 MB) (7Z, 2.7 MB) 30/11/2014 - GLM 0.9.6.0 released GLM 0.9.6.0 is available with many changes. Transition from degrees to radians compatibility break and GLM 0.9.5.4 help One of the long term issue with GLM is that some functions were using radians, functions from GLSL and others were using degrees, functions from GLU or legacy OpenGL. In GLM 0.9.5, we can use GLM_FORCE_RADIANS to force all GLM functions to adopt radians. In GLM 0.9.5 in degrees: #include <glm/mat4.hpp> #include <glm/gtc/matrix_tansform.hpp> glm::mat4 my_rotateZ(glm::mat4 const & m, float angleInRadians) { return glm::rotate(m, glm::degrees(angleInRadians), glm::vec3(0.0, 0.0, 1.0)); } In GLM 0.9.5 in radians: #define GLM_FORCE_RADIANS #include <glm/mat4.hpp> #include <glm/gtc/matrix_tansform.hpp> glm::mat4 my_rotateZ(glm::mat4 const & m, float angleInRadians) { return glm::rotate(m, angleInRadians, glm::vec3(0.0, 0.0, 1.0)); } In GLM 0.9.6 in radians only: #include <glm/mat4.hpp> #include <glm/gtc/matrix_tansform.hpp> glm::mat4 my_rotateZ(glm::mat4 const & m, float angleInRadians) { return glm::rotate(m, angleInRadians, glm::vec3(0.0, 0.0, 1.0)); } In GLM 0.9.6 if you what to use degrees anyway: #include <glm/mat4.hpp> #include <glm/gtc/matrix_tansform.hpp> glm::mat4 my_rotateZ(glm::mat4 const & m, float angleInDegrees) { return glm::rotate(m, glm::radians(angleInDegrees), glm::vec3(0.0, 0.0, 1.0)); } GLM 0.9.5 will show warning messages at compilation each time a function taking degrees is used. GLM: rotate function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message. If you are using a version of GLM older than GLM 0.9.5.1, update to GLM 0.9.5.4 before transitioning to GLM 0.9.6 to get this help in that process. Make sure to build and run successfully your application with GLM 0.9.5 with GLM_FORCE_RADIANS, before transistioning to GLM 0.9.6 Finally, here is a list of all the functions that could use degrees in GLM 0.9.5.4 that requires radians in GLM 0.9.6: rotate (matrices and quaternions), perspective, perspectiveFov, infinitePerspective, tweakedInfinitePerspective, roll, pitch, yaw, angle, angleAxis, polar, euclidean, rotateNormalizedAxis, rotateX, rotateY, rotateZ and orientedAngle. Using GLM template types There are a lot of reasons for using template types: Writing new template classes and functions or defining new types. Unfortunately, until GLM 0.9.5, GLM template types were defined into the detail namespace indicating there are implementation details that may changed. With GLM 0.9.6, template types are accessible from the GLM namespace and guarantee to be stable onward. Example of template functions, GLM 0.9.5 and 0.9.6 style: #include <glm/geometry.hpp> #include <glm/exponential.hpp> template <typename vecType> typename vecType::value_type normalizeDot(vecType const & a, vecType const & b) { return glm::dot(a, b) * glm::inversesqrt(glm::dot(a, a) * glm::dot(b, b)); } #include <glm/vec4.hpp> int main() { return normalizeDot(glm::vec4(2.0), glm::vec4(2.0)) > 0.0f ? 0 : 1 } Example of template functions, alternative GLM 0.9.6 style: #include <glm/geometry.hpp> #include <glm/exponential.hpp> template <typename T, template <typename, glm::precision> class vecType> T normalizeDot(vecType<T, P> const & a, vecType<T, P> const & b) { return glm::dot(a, b) * glm::inversesqrt(glm::dot(a, a) * glm::dot(b, b)); } #include <glm/vec4.hpp> int main() { return normalizeDot(glm::vec4(2.0), glm::vec4(2.0)) > 0.0f ? 0 : 1 } Example of typedefs with GLM 0.9.6: #include <cstddef> #include <glm/vec4.hpp> #include <glm/mat4.hpp> typedef glm::tvec4<std::size_t> size4; typedef glm::tvec4<long double, glm::highp> ldvec4; typedef glm::tmat4x4<long double, glm::highp> ldmat4x4; Optimizations With GLM 0.9.5, the library started to tackle the issue of compilation time by introducing forward declarations through <glm/fwd.hpp> but also by providing an alternative to the monolithic <glm/glm.hpp> headers with <glm/vec2.hpp>, <glm/mat3x2.hpp> and <glm/common.hpp>, etc. With GLM 0.9.6, the library took advantage of dropping old compilers to replace preprocessor instantiation of the code by template instantiation. The issue of preprocessor instantiation (among them!) is that all the code is generated even if it is never used resulting in building and compiling much bigger header files. Furthermore, a lot of code optimizations have been done to provide better performance at run time by leveraging integer bitfield tricks and compiler intrinsics. The test framework has been extended to include performance tests. The total code size of the tests is now 50% of the library code which is still not enough but pretty solid. Compilers support GLM 0.9.6 removed support for a lot of old compiler versions. If you are really insisting in using an older compiler, you are welcome to keep using GLM 0.9.5. Supported compilers by GLM 0.9.6: Apple Clang 4.0 and higher CUDA 4.0 and higher GCC 4.4 and higher LLVM 3.0 and higher Intel C++ Composer XE 2013 and higher Visual Studio 2010 and higher Any conform C++98 compiler Lisence Finally, GLM is changing Lisence to adopt the Happy Bunny Lisence. Release note Features: Exposed template vector and matrix types in 'glm' namespace #239, #244 Added GTX_scalar_multiplication for C++ 11 compiler only #242 Added GTX_range for C++ 11 compiler only #240 Added closestPointOnLine function for tvec2 to GTX_closest_point #238 Added GTC_vec1 extension, *vec1 support to *vec* types Updated GTX_associated_min_max with vec1 support Added support of precision and integers to linearRand #230 Added Integer types support to GTX_string_cast #249 Added vec3 slerp #237 Added GTX_common with isdenomal #223 Added GLM_FORCE_SIZE_FUNC to replace .length() by .size() #245 Added GLM_FORCE_NO_CTOR_INIT Added 'uninitialize' to explicitly not initialize a GLM type Added GTC_bitfield extension, promoted GTX_bit Added GTC_integer extension, promoted GTX_bit and GTX_integer Added GTC_round extension, promoted GTX_bit Added GLM_FORCE_EXPLICIT_CTOR to require explicit type conversions #269 Added GTX_type_aligned for aligned vector, matrix and quaternion types Improvements: Rely on C++11 to implement isinf and isnan Removed GLM_FORCE_CUDA, Cuda is implicitly detected Separated Apple Clang and LLVM compiler detection Used pragma once Undetected C++ compiler automatically compile with GLM_FORCE_CXX98 and GLM_FORCE_PURE Added not function (from GLSL specification) on VC12 Optimized bitfieldReverse and bitCount functions Optimized findLSB and findMSB functions Optimized matrix-vector multiple performance with Cuda #257, #258 Reduced integer type redifinitions #233 Rewrited of GTX_fast_trigonometry #264 #265 Made types trivially copyable #263 Removed iostream in GLM tests Used std features within GLM without redeclaring Optimized cot function #272 Optimized sign function #272 Added explicit cast from quat to mat3 and mat4 #275 Fixes: Fixed std::nextafter not supported with C++11 on Android #217 Fixed missing value_type for dual quaternion Fixed return type of dual quaternion length Fixed infinite loop in isfinite function with GCC #221 Fixed Visual Studio 14 compiler warnings Fixed implicit conversion from another tvec2 type to another tvec2 #241 Fixed lack of consistency of quat and dualquat constructors Fixed uaddCarray #253 Fixed float comparison warnings #270 Deprecation: Removed degrees for function parameters Removed GLM_FORCE_RADIANS, active by default Removed VC 2005 / 8 and 2008 / 9 support Removed GCC 3.4 to 4.5 support Removed LLVM GCC support Removed LLVM 2.6 to 2.9 support Removed CUDA 3.0 to 4.0 support
jperkin
pushed a commit
that referenced
this issue
Nov 20, 2015
CHANGELOG: 1.16.0.1 --> 1.17.0 =================== AST changes: * Replaced VarA with AppA in Asst (#168). * Promoted list/tuple members changed from Promoted to Type (#162). * Update PatBind, Match, and Alt from containing Binds to Maybe Binds to distinguish between empty where clauses and where clauses with no binds (#244). * Add RoleAnnotDecl and Role to support Role annotations (#215). * Move NameSpace field from EVar/IVar to EAbs/IAbs. Other changes: * Add standalone parsers for ImportDecl. * Fix pretty-printer bugs for HaRP (#160). * Insert parentheses when pretty-printing non-atomic bang types (#169). * Un-reverse confusion of left and right arrow (#175). * Prettyprint option pragmas like 1.15 (#172). * Conditionally insert lines when pretty-printing declarations (#171). * Distinguish deriving (Show) from deriving Show (#189). * Allow parsing of unicode subscript and superscript functions (#173). * Pretty print unboxed tuples with spaces (#193). * Improve performance when parsing long extension lists (#200). * Properly pretty print constructor and class operators (#204). * Read Haskell source files as UTF-8 (#223). * Fix ExplicitNamespaces parsing (#216). * PolyKinds implies KindSignatures (#220). * Preserve location information for infix binds (#205). * Preserve positional information in checkPattern (#231). * Maintain correct line numbers when parsing multiline GHC_OPTIONS (#218). * Correctly parse "*" with TypeOperators (#81). * Export the "pretty" method (#222). * Add javascript calling convention for foreign imports (#236). * Add non-greedy parsers for module heads (#191). * Add a flag to disable arity checking when parsing (#260). * Parse "-" in type signatures (#206). * Add support for type wildcards and expression holes (#252). * Add support for Pattern Synonyms (#197). * Bump the happy lower bound (#250). * Make test suite pass on GHC 7.12 (#224). * Support linking Haddock comments to AST nodes (#213). * Parse multiline LANGUAGE pragmas (#217). * Parse trailing where (#25). * Parse modules starting with pragmas and indented "module" keyword (#122). * Use pretty-show to get human readable test outputs. * Respect fixity declarations inside where/let/class in `applyFixities` (#212). * Correctly parse the combination of view patterns and bang patterns. (#276)
jperkin
pushed a commit
that referenced
this issue
Dec 14, 2015
## 1.8.1 * Change license to MIT, thanks to all the patient contributors who gave their permissions. ## 1.8.0 * add SSHKit::Backend::ConnectionPool#close_connections [PR #285](capistrano/sshkit#285) @akm * Clean up rubocop lint warnings [PR #275](capistrano/sshkit#275) @cshaffer * Prepend unused parameter names with an underscore * Prefer “safe assignment in condition” * Disambiguate regexp literals with parens * Prefer `sprintf` over `String#%` * No longer shadow `caller_line` variable in `DeprecationLogger` * Rescue `StandardError` instead of `Exception` * Remove useless `private` access modifier in `TestAbstract` * Disambiguate block operator with parens * Disambiguate between grouped expression and method params * Remove assertion in `TestHost#test_assert_hosts_compare_equal` that compares something with itself * Export environment variables and execute command in a subshell. [PR #273](capistrano/sshkit#273) @kuon * Introduce `log_command_start`, `log_command_data`, `log_command_exit` methods on `Formatter` [PR #257](capistrano/sshkit#257) @robd * Deprecate `@stdout` and `@stderr` accessors on `Command` * Add support for deprecation logging options. [README](README.md#deprecation-warnings), [PR #258](capistrano/sshkit#258) @robd * Quote environment variable values. [PR #250](capistrano/sshkit#250) @Sinjo - Chris Sinjakli * Simplified formatter hierarchy. [PR #248](capistrano/sshkit#248) @robd * `SimpleText` formatter now extends `Pretty`, rather than duplicating. * Hide ANSI color escape sequences when outputting to a file. [README](README.md#output-colors), [Issue #245](capistrano/sshkit#245), [PR #246](capistrano/sshkit#246) @robd * Now only color the output if it is associated with a tty, or the `SSHKIT_COLOR` environment variable is set. * Removed broken support for assigning an `IO` to the `output` config option. [Issue #243](capistrano/sshkit#243), [PR #244](capistrano/sshkit#244) @robd * Use `SSHKit.config.output = SSHKit::Formatter::SimpleText.new($stdin)` instead * Added support for `:interaction_handler` option on commands. [PR #234](capistrano/sshkit#234), [PR #242](capistrano/sshkit#242) @robd * Removed partially supported `TRACE` log level. [2aa7890](capistrano/sshkit@2aa7890) @robd * Add support for the `:strip` option to the `capture` method and strip by default on the `Local` backend. [PR #239](capistrano/sshkit#239), [PR #249](capistrano/sshkit#249) @robd * The `Local` backend now strips by default to be consistent with the `Netssh` one. * This reverses change [7d15a9a](capistrano/sshkit@7d15a9a) to the `Local` capture API to remove stripping by default. * If you require the raw, unstripped output, pass the `strip: false` option: `capture(:ls, strip: false)` * Simplified backend hierarchy. [PR #235](capistrano/sshkit#235), [PR #237](capistrano/sshkit#237) @robd * Moved duplicate implementations of `make`, `rake`, `test`, `capture`, `background` on to `Abstract` backend. * Backend implementations now only need to implement `execute_command`, `upload!` and `download!` * Removed `Printer` from backend hierarchy for `Local` and `Netssh` backends (they now just extend `Abstract`) * Removed unused `Net::SSH:LogLevelShim` * Removed dependency on the `colorize` gem. SSHKit now implements its own ANSI color logic, with no external dependencies. Note that SSHKit now only supports the `:bold` or plain modes. Other modes will be gracefully ignored. [#263](capistrano/sshkit#263) * New API for setting the formatter: `use_format`. This differs from `format=` in that it accepts options or arguments that will be passed to the formatter's constructor. The `format=` syntax will be deprecated in a future release. [#295](capistrano/sshkit#295) * SSHKit now immediately raises a `NameError` if you try to set a formatter that does not exist. [#295](capistrano/sshkit#295)
jperkin
pushed a commit
that referenced
this issue
Dec 14, 2015
## 1.8.1 * Change license to MIT, thanks to all the patient contributors who gave their permissions. ## 1.8.0 * add SSHKit::Backend::ConnectionPool#close_connections [PR #285](capistrano/sshkit#285) @akm * Clean up rubocop lint warnings [PR #275](capistrano/sshkit#275) @cshaffer * Prepend unused parameter names with an underscore * Prefer “safe assignment in condition” * Disambiguate regexp literals with parens * Prefer `sprintf` over `String#%` * No longer shadow `caller_line` variable in `DeprecationLogger` * Rescue `StandardError` instead of `Exception` * Remove useless `private` access modifier in `TestAbstract` * Disambiguate block operator with parens * Disambiguate between grouped expression and method params * Remove assertion in `TestHost#test_assert_hosts_compare_equal` that compares something with itself * Export environment variables and execute command in a subshell. [PR #273](capistrano/sshkit#273) @kuon * Introduce `log_command_start`, `log_command_data`, `log_command_exit` methods on `Formatter` [PR #257](capistrano/sshkit#257) @robd * Deprecate `@stdout` and `@stderr` accessors on `Command` * Add support for deprecation logging options. [README](README.md#deprecation-warnings), [PR #258](capistrano/sshkit#258) @robd * Quote environment variable values. [PR #250](capistrano/sshkit#250) @Sinjo - Chris Sinjakli * Simplified formatter hierarchy. [PR #248](capistrano/sshkit#248) @robd * `SimpleText` formatter now extends `Pretty`, rather than duplicating. * Hide ANSI color escape sequences when outputting to a file. [README](README.md#output-colors), [Issue #245](capistrano/sshkit#245), [PR #246](capistrano/sshkit#246) @robd * Now only color the output if it is associated with a tty, or the `SSHKIT_COLOR` environment variable is set. * Removed broken support for assigning an `IO` to the `output` config option. [Issue #243](capistrano/sshkit#243), [PR #244](capistrano/sshkit#244) @robd * Use `SSHKit.config.output = SSHKit::Formatter::SimpleText.new($stdin)` instead * Added support for `:interaction_handler` option on commands. [PR #234](capistrano/sshkit#234), [PR #242](capistrano/sshkit#242) @robd * Removed partially supported `TRACE` log level. [2aa7890](capistrano/sshkit@2aa7890) @robd * Add support for the `:strip` option to the `capture` method and strip by default on the `Local` backend. [PR #239](capistrano/sshkit#239), [PR #249](capistrano/sshkit#249) @robd * The `Local` backend now strips by default to be consistent with the `Netssh` one. * This reverses change [7d15a9a](capistrano/sshkit@7d15a9a) to the `Local` capture API to remove stripping by default. * If you require the raw, unstripped output, pass the `strip: false` option: `capture(:ls, strip: false)` * Simplified backend hierarchy. [PR #235](capistrano/sshkit#235), [PR #237](capistrano/sshkit#237) @robd * Moved duplicate implementations of `make`, `rake`, `test`, `capture`, `background` on to `Abstract` backend. * Backend implementations now only need to implement `execute_command`, `upload!` and `download!` * Removed `Printer` from backend hierarchy for `Local` and `Netssh` backends (they now just extend `Abstract`) * Removed unused `Net::SSH:LogLevelShim` * Removed dependency on the `colorize` gem. SSHKit now implements its own ANSI color logic, with no external dependencies. Note that SSHKit now only supports the `:bold` or plain modes. Other modes will be gracefully ignored. [#263](capistrano/sshkit#263) * New API for setting the formatter: `use_format`. This differs from `format=` in that it accepts options or arguments that will be passed to the formatter's constructor. The `format=` syntax will be deprecated in a future release. [#295](capistrano/sshkit#295) * SSHKit now immediately raises a `NameError` if you try to set a formatter that does not exist. [#295](capistrano/sshkit#295)
jperkin
pushed a commit
that referenced
this issue
Jan 9, 2016
o Switch to using gtk-mac-bundler and jhbuild for building the OS X installer. This promises to reduce a lot of the problems we've had with local paths and dependencies using the py2app and macports build system. [Daniel Miller] o The Windows installer is now built with NSIS 2.47 which features LoadLibrary security hardening to prevent DLL hijacking and other unsafe use of temporary directories. Thanks to Stefan Kanthak for reporting the issue to NSIS and to us and the many other projects that use it. o Updated the OpenSSL shipped with our binary builds (Windows, OS X, and RPM) to 1.0.2e. o [Zenmap] [GH-235] Fix several failures to launch Zenmap on OS X. The new build process eliminates these errors: IOError: [Errno 2] No such file or directory: '/Applications/Zenmap.app/Contents/Resources/etc/pango/pangorc.in' LSOpenURLsWithRole() failed for the application /Applications/Zenmap.app with error -10810. o [NSE] [GH-254] Update the TLSSessionRequest probe in ssl-enum-ciphers to match the one in nmap-service-probes, which was fixed previously to correct a length calculation error. [Daniel Miller] o [NSE] [GH-251] Correct false positives and unexpected behavior in http-* scripts which used http.identify_404 to determine when a file was not found on the target. The function was following redirects, which could be an indication of a soft-404 response. [Tom Sellers] o [NSE] [GH-241] Fix a false-positive in hnap-info when the target responds with 200 OK to any request. [Tom Sellers] o [NSE] [GH-244] Fix an error response in xmlrpc-methods when run against a non-HTTP service. The expected behavior is no output. [Niklaus Schiess] o [NSE] Fix SSN validation function in http-grep, reported by Bruce Barnett.
jperkin
pushed a commit
that referenced
this issue
Jan 20, 2016
* Release 0.10.0 (15-Jan-2015) ** Compatibility Fixes This release is compatible with Twisted-15.3.0 through 15.5.0. A change in 15.3.0 triggered a bug in Foolscap which produced a somewhat-infinite series of log messages when run under `twistd`. This release fixes that bug, and slightly changes the semantics of calling `log.msg()` with additional parameters. (#244) Foolscap no longer claims compatibility with python-2.6.x . Twisted-15.5.0 was the last release to offer 2.6 support, and subsequent releases actively throw errors when run against 2.6, so we've turned off Foolscap's automated testing for 2.6. It may remain compatible by accident for a while. (#245)
jperkin
pushed a commit
that referenced
this issue
Feb 15, 2016
Needed by py-google-api-python-client-1.4.2. ## v1.5.2 * Add access token refresh error class that includes HTTP status (#310) * Python3 compatibility fixes for Django (#316, #318) * Fix incremental auth in flask_util (#322) * Fall back to credential refresh on EDEADLK in multistore_file (#336) ## v1.5.1 * Fix bad indent in `tools.run_flow()` (#301, bug was introduced when switching from 2 space indents to 4) ## v1.5.0 * Fix (more like clarify) `bytes` / `str` handling in crypto methods. (#203, #250, #272) * Replacing `webapp` with `webapp2` in `oauth2client.appengine` (#217) * Added optional `state` parameter to `step1_get_authorize_url`. (#219 and #222) * Added `flask_util` module that provides a Flask extension to aid with using OAuth2 web server flow. This provides the same functionality as the `appengine.webapp2` OAuth2Decorator, but will work with any Flask application regardless of hosting environment. (#226, #273) * Track scopes used on credentials objects (#230) * Moving docs to [readthedocs.org][1] (#237, #238, #244) * Removing `old_run` module. Was deprecated July 2, 2013. (#285) * Avoid proxies when querying for GCE metadata (to check if running on GCE) (#114, #293) [1]: https://readthedocs.org/ ## v1.4.12 * Fix OS X flaky test failure (#189). * Fix broken OpenSSL import (#191). * Remove `@util.positional` from wrapped request in `Credentials.authorize()` (#196, #197). * Changing pinned dependencies to `>=` (#200, #204). * Support client authentication using `Authorization` header (#206). * Clarify environment check in case where GAE imports succeed but GAE services aren't available (#208). ## v1.4.11 * Better environment detection with Managed VMs. * Better OpenSSL detection in exotic environments. ## v1.4.10 * Update the `OpenSSL` check to be less strict about finding `crypto.py` in the `OpenSSL` directory. * `tox` updates for new environment handling in `tox`. ## v1.4.9 * Ensure that the ADC fails if we try to *write* the well-known file to a directory that doesn't exist, but not if we try to *read* from one. ## v1.4.8 * Better handling of `body` during token refresh when `body` is a stream. * Better handling of expired tokens in storage. * Cleanup around `openSSL` import. * Allow custom directory for the `well_known_file`. * Integration tests for python2 and python3. (!!!) * Stricter file permissions when saving the `well_known_file`. * Test cleanup around config file locations. ## v1.4.7 * Add support for Google Developer Shell credentials. * Better handling of filesystem errors in credential refresh. * python3 fixes * Add `NO_GCE_CHECK` for skipping GCE detection. * Better error messages on `InvalidClientSecretsError`. * Comment cleanup on `run_flow`. ## v1.4.6 * Add utility function to convert PKCS12 key to PEM. (#115) * Change GCE detection logic. (#93) * Add a tox env for doc generation. ## v1.4.5 * Set a shorter timeout for an Application Default Credentials issue on some networks. (#93, #101) * Test cleanup, switch from mox to mock. (#103) * Switch docs to sphinx from epydoc. ## v1.4.4 * Fix a bug in bytes/string encoding of headers. ## v1.4.3 * Big thanks to @dhermes for spotting and fixing a mess in our test setup. * Fix a serious issue with tests not being run. (#86, #87, #89) * Start credentials cleanup for single 2LO/3LO call. (#83, #84) * Clean up stack traces when re-raising in some places. (#79) * Clean up doc building. (#81, #82) * Fixed minimum version for `six` dependency. (#75)
jperkin
pushed a commit
that referenced
this issue
Mar 10, 2016
* Don't enable JRuby objectspace #252 * Fixes an exception thrown when decoding some weird .zip files #248 * Use duck typing with IO methods #244 * Added error for empty (zero bit) zip file #242 * Accept StringIO in Zip.open_buffer #238 * Do something more expected with new file permissions #237 * Case insensitivity option for #find_entry #222 * Fixes in documentation and examples
jperkin
pushed a commit
that referenced
this issue
Apr 26, 2016
Changes: 16.0.0 (2016-03-19) ------------------- This is the first release under full stewardship of PyCA. We have made *many* changes to make local development more pleasing. The test suite now passes both on Linux and OS X with OpenSSL 0.9.8, 1.0.1, and 1.0.2. It has been moved to `py.test <https://pytest.org/>`_, all CI test runs are part of `tox <https://testrun.org/tox/>`_ and the source code has been made fully `flake8 <https://flake8.readthedocs.org/>`_ compliant. We hope to have lowered the barrier for contributions significantly but are open to hear about any remaining frustrations. Backward-incompatible changes: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Python 3.2 support has been dropped. It never had significant real world usage and has been dropped by our main dependency ``cryptography``. Affected users should upgrade to Python 3.3 or later. Deprecations: ^^^^^^^^^^^^^ - The support for EGD has been removed. The only affected function ``OpenSSL.rand.egd()`` now uses ``os.urandom()`` to seed the internal PRNG instead. Please see `pyca/cryptography#1636 <https://github.com/pyca/cryptography/pull/1636>`_ for more background information on this decision. In accordance with our backward compatibility policy ``OpenSSL.rand.egd()`` will be *removed* no sooner than a year from the release of 16.0.0. Please note that you should `use urandom <http://sockpuppet.org/blog/2014/02/25/safely-generate-random-numbers/>`_ for all your secure random number needs. - Python 2.6 support has been deprecated. Our main dependency ``cryptography`` deprecated 2.6 in version 0.9 (2015-05-14) with no time table for actually dropping it. pyOpenSSL will drop Python 2.6 support once ``cryptography`` does. Changes: ^^^^^^^^ - Fixed ``OpenSSL.SSL.Context.set_session_id``, ``OpenSSL.SSL.Connection.renegotiate``, ``OpenSSL.SSL.Connection.renegotiate_pending``, and ``OpenSSL.SSL.Context.load_client_ca``. They were lacking an implementation since 0.14. `#422 <https://github.com/pyca/pyopenssl/pull/422>`_ - Fixed segmentation fault when using keys larger than 4096-bit to sign data. `#428 <https://github.com/pyca/pyopenssl/pull/428>`_ - Fixed ``AttributeError`` when ``OpenSSL.SSL.Connection.get_app_data()`` was called before setting any app data. `#304 <https://github.com/pyca/pyopenssl/pull/304>`_ - Added ``OpenSSL.crypto.dump_publickey()`` to dump ``OpenSSL.crypto.PKey`` objects that represent public keys, and ``OpenSSL.crypto.load_publickey()`` to load such objects from serialized representations. `#382 <https://github.com/pyca/pyopenssl/pull/382>`_ - Added ``OpenSSL.crypto.dump_crl()`` to dump a certificate revocation list out to a string buffer. `#368 <https://github.com/pyca/pyopenssl/pull/368>`_ - Added ``OpenSSL.SSL.Connection.get_state_string()`` using the OpenSSL binding ``state_string_long``. `#358 <https://github.com/pyca/pyopenssl/pull/358>`_ - Added support for the ``socket.MSG_PEEK`` flag to ``OpenSSL.SSL.Connection.recv()`` and ``OpenSSL.SSL.Connection.recv_into()``. `#294 <https://github.com/pyca/pyopenssl/pull/294>`_ - Added ``OpenSSL.SSL.Connection.get_protocol_version()`` and ``OpenSSL.SSL.Connection.get_protocol_version_name()``. `#244 <https://github.com/pyca/pyopenssl/pull/244>`_ - Switched to ``utf8string`` mask by default. OpenSSL formerly defaulted to a ``T61String`` if there were UTF-8 characters present. This was changed to default to ``UTF8String`` in the config around 2005, but the actual code didn't change it until late last year. This will default us to the setting that actually works. To revert this you can call ``OpenSSL.crypto._lib.ASN1_STRING_set_default_mask_asc(b"default")``. `#234 <https://github.com/pyca/pyopenssl/pull/234>`_
jperkin
pushed a commit
that referenced
this issue
Jul 17, 2016
What's new in Pylint 1.6.1? =========================== Release date: 2016-07-07 * Use environment markers for supporting conditional dependencies. What's New in Pylint 1.6.0? =========================== Release date: 2016-07-07 * Added a new extension, `pylint.extensions.mccabe`, for warning about complexity in code. * Deprecate support for --optimize-ast. Part of #975. * Deprecate support for the HTML output. Part of #975. * Deprecate support for --output-files. Part of #975. * Fixed a documentation error for the check_docs extension. Fixes #735. * Made the list of property-defining decorators configurable. * Fix a bug where the top name of a qualified import was detected as unused variable. Close #923. * bad-builtin is now an extension check. * generated-members support qualified name through regular expressions. For instance, one can specify a regular expression as --generated-members=astroid.node_classes.* for ignoring every no-member error that is accessed as in `astroid.node_classes.missing.object`. * Add the ability to ignore files based on regex matching, with the new ``--ignore-patterns`` option. This addresses issue #156 by allowing for multiple ignore patterns to be specified. Rather than clobber the existing ignore option, we introduced a new one called ignore-patterns. * Added a new error, 'trailing-newlines', which is emitted when a file has trailing new lines. Closes issue #682. * Add a new option, 'redefining-builtins-modules', for controlling the modules which can redefine builtins, such as six.moves and future.builtins. Close #464. * 'reimported' is emitted when the same name is imported from different module. Close #162. * Add a new recommendation checker, 'consider-iterating-dictionary', which is emitted which is emitted when a dictionary is iterated through .keys(). Close #699 * Use the configparser backport for Python 2 This fixes a problem we were having with comments inside values, which is fixed in Python 3's configparser. Close #828 * A new error was added, 'invalid-length-returned', when the `__len__` special method returned something else than a non-negative number. Close issue #557 * Switch to using isort internally for wrong-import-order. Closes #879. * check_docs extension can find constructor parameters in __init__. Closes #887. * Don't warn about invalid-sequence-index if the indexed object has unknown base classes. Closes #867 * Don't crash when checking, for super-init-not-called, a method defined in an if block. * Do not emit import-error or no-name-in-module for fallback import blocks by default. Until now, we warned with these errors when a fallback import block (a TryExcept block that contained imports for Python 2 and 3) was found, but this gets cumbersome when trying to write compatible code. As such, we don't check these blocks by default, but the analysis can be enforced by using the new ``--analyse-fallback-block`` flag. Close #769. What's New in Pylint 1.5.6? =========================== Release date: 2016-06-06 * config files with BOM markers can now be read. Close #864. * epylint.py_run does not crash on big files, using .communicate() instead of .wait() Close #599 What's New in Pylint 1.5.5? =========================== Release date: 2016-03-21 * Let visit_importfrom from Python 3 porting checker be called when everything is disabled Because the visit method was filtering the patterns it was expecting to be activated, it didn't run when everything but one pattern was disabled, leading to spurious false positives Close #852 * Don't emit unsubscriptable-value for classes with unknown base classes. Close #776. * Use an OrderedDict for storing the configuration elements This fixes an issue related to impredictible order of the disable / enable elements from a config file. In certain cases, the disable was coming before the enable which resulted in classes of errors to be enabled, even though the intention was to disable them. The best example for this was in the context of running multiple processes, each one of it having different enables / disables that affected the output. Close #815 * Don't consider bare and broad except handlers as ignoring NameError, AttributeError and similar exceptions, in the context of checkers for these issues. Closes issue #826 What's New in Pylint 1.5.4? =========================== Release date: 2016-01-15 * Merge StringMethodChecker with StringFormatChecker. This fixes a bug where disabling all the messages and enabling only a handful of messages from the StringFormatChecker would have resulted in no messages at all. * Don't apply unneeded-not over sets. What's New in Pylint 1.5.3? =========================== Release date: 2016-01-11 * Handle the import fallback idiom with regard to wrong-import-order. Closes issue #750. * Decouple the displaying of reports from the displaying of messages Some reporters are aggregating the messages instead of displaying them when they are available. The actual displaying was conflatted in the generate_reports. Unfortunately this behaviour was flaky and in the case of the JSON reporter, the messages weren't shown at all if a file had syntax errors or if it was missing. In order to fix this, the aggregated messages can now be displayed with Reporter.display_message, while the reports are displayed with display_reports. Closes issues #766 and #765. * Ignore function calls with variadic arguments without a context. Inferring variadic positional arguments and keyword arguments will result into empty Tuples and Dicts, which can lead in some cases to false positives with regard to no-value-for-parameter. In order to avoid this, until we'll have support for call context propagation, we're ignoring such cases if detected. Closes issue #722. * Treat AsyncFunctionDef just like FunctionDef nodes, by implementing visit_asyncfunctiondef in terms of visit_functiondef. Closes issue #767. * Take in account kwonlyargs when verifying that arguments are defined with the check_docs extension. Closes issue #745. * Suppress reporting 'unneeded-not' inside `__ne__` methods Closes issue #749. What's New in Pylint 1.5.2? =========================== Release date: 2015-12-21 * Don't crash if graphviz is not installed, instead emit a warning letting the user to know. Closes issue #168. * Accept only functions and methods for the deprecated-method checker. This prevents a crash which can occur when an object doesn't have .qname() method after the inference. * Don't emit super-on-old-class on classes with unknown bases. Closes issue #721. * Allow statements in `if` or `try` blocks containing imports. Closes issue #714. What's New in Pylint 1.5.1? =========================== Release date: 2015-12-02 * Don't emit unsubscriptable-object if the node is found inside an abstract class. Closes issue #685. * Add wrong-import-position to check_messages's decorator arguments for ImportChecker.leave_module This fixes an esoteric bug which occurs when ungrouped-imports and wrong-import-order are disabled and pylint is executed on multiple files. What happens is that without wrong-import-position in check_messages, leave_module will never be called, which means that the first non-import node from other files might leak into the current file, leading to wrong-import-position being emitted by pylint. * Fix a crash which occurred when old visit methods are encountered in plugin modules. Closes issue #711. * Don't emit import-self and cyclic-import for relative imports of modules with the same name as the package itself. Closes issues #708 and #706. What's New in Pylint 1.5.0? =========================== Release date: 2015-11-29 * Added multiple warnings related to imports. 'wrong-import-order' is emitted when PEP 8 recommendations regarding imports are not respected (that is, standard imports should be followed by third-party imports and then by local imports). 'ungrouped-imports' is emitted when imports from the same package or module are not placed together, but scattered around in the code. 'wrong-import-position' is emitted when code is mixed with imports, being recommended for the latter to be at the top of the file, in order to figure out easier by a human reader what dependencies a module has. Closes issue #692. * Added a new refactoring warning, 'unneeded-not', emitted when an expression with the not operator could be simplified. Closes issue #670. * Added a new refactoring warning, 'simplifiable-if-statement', used when an if statement could be reduced to a boolean evaluation of its test. Closes issue #698. * Added a new refactoring warning, 'too-many-boolean-expressions', used when a if statement contains too many boolean expressions, which makes the code less maintainable and harder to understand. Closes issue #677. * Property methods are shown as attributes instead of functions in pyreverse class diagrams. Closes Issue #284 * Add a new refactoring error, 'too-many-nested-blocks', which is emitted when a function or a method has too many nested blocks, which makes the code less readable and harder to understand. Closes issue #668. * Add a new error, 'unsubscriptable-object', that is emitted when value used in subscription expression doesn't support subscription (i.e. doesn't define __getitem__ method). * Don't warn about abstract classes instantiated in their own body. Closes issue #627. * Obsolete options are not present by default in the generated configuration file. Closes issue #632. * non-iterator-returned can detect classes with iterator-metaclasses. Closes issue #679. * Add a new error, 'unsupported-membership-test', emitted when value to the right of the 'in' operator doesn't support membership test protocol (i.e. doesn't define __contains__/__iter__/__getitem__) * Add new errors, 'not-an-iterable', emitted when non-iterable value is used in an iterating context (starargs, for-statement, comprehensions, etc), and 'not-a-mapping', emitted when non-mapping value is used in a mapping context. Closes issue #563. * Make 'no-self-use' checker not emit a warning if there is a 'super()' call inside the method. Closes issue #667. * Add checker to identify multiple imports on one line. Closes issue #598. * Fix unused-argument false positive when the "+=" operator is used. Closes issue #518. * Don't emit import-error for ignored modules. PyLint will not emit import errors for any import which is, or is a subpackage of, a module in the ignored-modules list. Closes issue #223. * Fix unused-import false positive when the import is used in a class assignment. Closes issue #475 * Add a new error, 'not-context-manager', emitted when something that doesn't implement __enter__ and __exit__ is used in a with statement. * Add a new warning, 'confusing-with-statement', emitted by the base checker, when an ambiguous looking with statement is used. For example `with open() as first, second` which looks like a tuple assignment but is actually 2 context managers. * Add a new warning, 'duplicate-except', emitted when there is an exception handler which handles an exception type that was handled before. Closes issue #485. * A couple of warnings got promoted to errors, since they could uncover potential bugs in the code. These warnings are: assignment-from-none, unbalanced-tuple-unpacking, unpacking-non-sequence, non-iterator-returned. Closes issue #388. * Allow ending a pragma control with a semicolon. In this way, users can continue a pragma control with a reason for why it is used, as in `# pylint: disable=old-style-class;reason=...`. Closes issue #449. * --jobs can be used with --load-plugins now. Closes issue #456. * Improve the performance of --jobs when dealing only with a package name. Closes issue #479. * Don't emit an unused-wildcard-import when the imported name comes from another module and it is in fact a __future__ name. * The colorized reporter now works on Windows. Closes issue #96. * Remove pointless-except warning. It was previously disabled by default and it wasn't very useful. Closes issue #506. * Fix a crash on Python 3 related to the string checker, which crashed when it encountered a bytes string with a .format method called. * Don't warn about no-self-use for builtin properties. * Fix a false positive for bad-reversed-sequence, when a subclass of a `dict` provides a __reversed__ method. * Change the default no-docstring-rgx so missing-docstring isn't emitted for private functions. * Don't emit redefined-outer-name for __future__ directives. Closes issue #520. * Provide some hints for the bad-builtin message. Closes issue #522. * When checking for invalid arguments to a callable, in typecheck.py, look up for the __init__ in case the found __new__ comes from builtins. Since the __new__ comes from builtins, it will not have attached any information regarding what parameters it expects, so the check will be useless. Retrieving __init__ in that case will at least detect a couple of false negatives. Closes issue #429. * Don't emit no-member for classes with unknown bases. Since we don't know what those bases might add, we simply ignore the error in this case. * Lookup in the implicit metaclass when checking for no-member, if the class in question has an implicit metaclass, which is True for new style classes. Closes issue #438. * Add two new warnings, duplicate-bases and inconsistent-mro. duplicate-bases is emitted when a class has the same bases listed more than once in its bases definition, while inconsistent-mro is emitted when no sane mro hierarchy can be determined. Closes issue #526. * Remove interface-not-implemented warning. Closes issue #532. * Remove the rest of interface checks: interface-is-not-class, missing-interface-method, unresolved-interface. The reason is that its better to start recommending ABCs instead of the old Zope era of interfaces. One side effect of this change is that ignore-iface-methods becomes a noop, it's deprecated and it will be removed at some time. * Emit a proper deprecation warning for reporters.BaseReporter.add_message. The alternative way is to use handle_message. add_message will be removed in Pylint 1.6. * Added new module 'extensions' for optional checkers with the test directory 'test/extensions' and documentation file 'doc/extensions.rst'. * Added new checker 'extensions.check_docs' that verifies parameter documention in Sphinx, Google, and Numpy style. * Detect undefined variable cases, where the "definition" of an undefined variable was in del statement. Instead of emitting used-before-assignment, which is totally misleading, it now emits undefined-variable. Closes issue #528. * Don't emit attribute-defined-outside-init and access-member-before-definition for mixin classes. Actual errors can occur in mixin classes, but this is controlled by the ignore-mixin-members option. Closes issue #412. * Improve the detection of undefined variables and variables used before assignment for variables used as default arguments to function, where the variable was first defined in the class scope. Closes issue #342 and issue #404. * Add a new warning, 'unexpected-special-method-signature', which is emitted when a special method (dunder method) doesn't have the expected signature, which can lead to actual errors in the application code. Closes issue #253. * Remove 'bad-context-manager' due to the inclusion of 'unexpected-special-method-signature'. * Don't emit no-name-in-module if the import is guarded by an ImportError, Exception or a bare except clause. * Don't emit no-member if the attribute access node is protected by an except handler, which handles AttributeError, Exception or it is a bare except. * Don't emit import-error if the import is guarded by an ImportError, Exception or a bare except clause. * Don't emit undefined-variable if the node is guarded by a NameError, Exception or bare except clause. * Add a new warning, 'using-constant-test', which is emitted when a conditional statement (If, IfExp) uses a test which is always constant, such as numbers, classes, functions etc. This is most likely an error from the user's part. Closes issue #524. * Don't emit 'raising-non-exception' when the exception has unknown bases. We don't know what those bases actually are and it's better to assume that the user knows what he is doing rather than emitting a message which can be considered a false positive. * Look for a .pylintrc configuration file in the current folder, if pylintrc is not found. Dotted pylintrc files will not be searched in the parents of the current folder, as it is done for pylintrc. * Add a new error, 'invalid-unary-type-operand', emitted when an unary operand is used on something which doesn't support that operation (for instance, using the unary bitwise inversion operator on an instance which doesn't implement __invert__). * Take in consideration differences between arguments of various type of functions (classmethods, staticmethods, properties) when checking for `arguments-differ`. Closes issue #548. * astroid.inspector was moved to pylint.pyreverse, since it belongs there and it doesn't need to be in astroid. * astroid.utils.LocalsVisitor was moved to pylint.pyreverse.LocalsVisitor. * pylint.checkers.utils.excepts_import_error was removed. Use pylint.chekcers.utils.error_of_type instead. * Don't emit undefined-all-variables for nodes which can't be inferred (YES nodes). * yield-outside-func is also emitted for `yield from`. * Add a new error, 'too-many-star-expressions', emitted when there are more than one starred expression (`*x`) in an assignment. The warning is emitted only on Python 3. * Add a new error, 'invalid-star-assignment-target', emitted when a starred expression (`*x`) is used as the lhs side of an assignment, as in `*x = [1, 2]`. This is not a SyntaxError on Python 3 though. * Detect a couple of objects which can't be base classes (bool, slice, range and memoryview, which weren't detected until now). * Add a new error for the Python 3 porting checker, `import-star-module-level`, which is used when a star import is detected in another scope than the module level, which is an error on Python 3. Using this will emit a SyntaxWarning on Python 2. * Add a new error, 'star-needs-assignment-target', emitted on Python 3 when a Starred expression (`*x`) is not used in an assignment target. This is not caught when parsing the AST on Python 3, so it needs to be a separate check. * Add a new error, 'unsupported-binary-operation', emitted when two a binary arithmetic operation is executed between two objects which don't support it (a number plus a string for instance). This is currently disabled, since the it exhibits way too many false positives, but it will be reenabled as soon as possible. * New imported features from astroid into pyreverse: pyreverse.inspector.Project, pyreverse.inspector.project_from_files and pyreverse.inspector.interfaces. These were moved since they didn't belong in astroid. * Enable misplaced-future for Python 3. Closes issue #580. * Add a new error, 'nonlocal-and-global', which is emitted when a name is found to be both nonlocal and global in the same scope. Closes issue #581. * ignored-classes option can work with qualified names (ignored-classes=optparse.Values) Closes issue #297. * ignored-modules can work with qualified names as well as with Unix pattern matching for recursive ignoring. Closes issues #244. * Improve detection of relative imports in non-packages, as well as importing missing modules with a relative import from a package. * Don't emit no-init if not all the bases from a class are known. Closes issue #604. * --no-space-check option accepts `empty-line` as a possible option. Closes issue #541. * --generate-rcfile generates by default human readable symbols for the --disable option. Closes issue #608. * Improved the not-in-loop checker to properly detect more cases. * Add a new error, 'continue-in-finally', which is emitted when the `continue` keyword is found inside a `finally` clause, which is a SyntaxError. * The --zope flag is deprecated and it is slated for removal in Pylint 1.6. The reason behind this removal is the fact that it's a specialized flag and there are solutions for the original problem: use --generated-members with the members that causes problems when using Zope or add AST transforms tailored to the zope project. At the same time, --include-ids and --symbols will also be removed in Pylint 1.6. Closes issue #570. * missing-module-attribute was removed and the corresponding CLI option, required-attributes, which is slated for removal in Pylint 1.6. * missing-reversed-argument was removed. The reason behind this is that this kind of errors should be detected by the type checker for *all* the builtins and not as a special case for the reversed builtin. This will happen shortly in the future. * --comment flag is obsolete and it will be removed in Pylint 1.6. * --profile flag is obsolete and it will be removed in Pylint 1.6. * Add a new error, 'misplaced-bare-raise'. The error is used when a bare raise is not used inside an except clause. This can generate a RuntimeError in Python, if there are no active exceptions to be reraised. While it works in Python 2 due to the fact that the exception leaks outside of the except block, it's nevertheless a behaviour that an user shouldn't depend upon, since it's not obvious to the reader of the code what exception will be raised and it will not be compatible with Python 3 anyhow. Closes issue #633. * Bring logilab-common's ureports into pylint.reporters. With this change, we moved away from depending on logilab-common, having in Pylint all the components that were used from logilab-common. The API should be considered an implementation detail and can change at some point in the future. Closes issue #621. * `reimported` is emitted for reimported objects on the same line. Closes issue #639. * Abbreviations of command line options are not supported anymore. Using abbreviations for CLI options was never considered to be a feature of pylint, this fact being only a side effect of using optparse. As this was the case, using --load-plugin or other abbreviation for --load-plugins never actually worked, while it also didn't raise an error. Closes issue #424. * Add a new error, 'nonlocal-without-binding' The error is emitted on Python 3 when a nonlocal name is not bound to any variable in the parents scopes. Closes issue #582. * 'deprecated-module' can be shown for modules which aren't available. Closes issue #362. * Don't consider a class abstract if its members can't be properly inferred. This fixes a false positive related to abstract-class-instantiated. Closes issue #648. * Add a new checker for the async features added by PEP 492. * Add a new error, 'yield-inside-async-function', emitted on Python 3.5 and upwards when the `yield` statement is found inside a new coroutine function (PEP 492). * Add a new error, 'not-async-context-manager', emitted when an async context manager block is used with an object which doesn't support this protocol (PEP 492). * Add a new convention warning, 'singleton-comparison', emitted when comparison to True, False or None is found. * Don't emit 'assigning-non-slot' for descriptors. Closes issue #652. * Add a new error, 'repeated-keyword', when a keyword argument is passed multiple times into a function call. This is similar with redundant-keyword-arg, but it's mildly different that it needs to be a separate error. * --enable=all can now be used. Closes issue #142. * Add a new convention message, 'misplaced-comparison-constant', emitted when a constant is placed in the left hand side of a comparison, as in '5 == func()'. This is also called Yoda condition, since the flow of code reminds of the Star Wars green character, conditions usually encountered in languages with variabile assignments in conditional statements. * Add a new convention message, 'consider-using-enumerate', which is emitted when code that uses `range` and `len` for iterating is encountered. Closes issue #684. * Added two new refactoring messages, 'no-classmethod-decorator' and 'no-staticmethod-decorator', which are emitted when a static method or a class method is declared without using decorators syntax. Closes issue #675.
jperkin
pushed a commit
that referenced
this issue
Oct 22, 2016
## 1.2.1 * Fixed #272. Workaround Ruby bug 12832 which caused interpreter to hang. See https://bugs.ruby-lang.org/issues/12832. Thanks to @chrisroos & @petems (6f1c8b9b, #273). ## 1.2.0 * Always use prepended module to stub class & instance methods for Ruby v2+ - thanks to @grosser & @chrisroos (43d56671, #244) * Always use prepended module to stub AnyInstance methods in Ruby v2+ - thanks to @chrisroos (#262) * Always set visibility of stub method to match stubbed method on included module - thanks to @grosser & @chrisroos (e87c03b0, #248) * Always set visibility to stub method to match stubbed method on superclass - thanks to @chrisroos (38d902ad) * Allow stubbing of method to which any instance responds (#200) * Allow `includes` matcher to take matcher arguments - thanks to @lazyatom (#217) * Avoid exception in older version of Rubygems - thanks to @chrisroos (78d930a7) * Add licenses to gemspec as requested by @coreyhaines (#201) * Fix typo in README - thanks to @jaredbeck (6119460d) * Added section about using Mocha with RSpec & Rails to README (#221) * Fix documentation for Mocha::API#stub method - thanks to @raeno (599b1dcd) * Added backers and sponsors from OpenCollective - thanks to @piamancini (#253) * Fix typo in docs for equals - thanks to @alexcoco (#254) * Add known issue for Ruby v1.8 to README - thanks to @chrisroos (2c642096)
jperkin
pushed a commit
that referenced
this issue
Feb 28, 2017
Version 0.4.0 ------------- Released on October 26th, 2016 - Fixes OPTIONS exemption from login. #244 - Fixes use of MD5 by replacing with SHA512. #264 - BREAKING: The `login_manager.token_handler` function, `get_auth_token` method on the User class, and the `utils.make_secure_token` utility function have been removed to prevent users from creating insecure auth implementations. Use the `Alternative Tokens` example from the docs instead. #291
jperkin
pushed a commit
that referenced
this issue
Jun 5, 2017
Features added -------------- * ``ElementTree.write()`` has a new option ``doctype`` that writes out a doctype string before the serialisation, in the same way as ``tostring()``. * GH-220: ``xmlfile`` allows switching output methods at an element level. Patch by Burak Arslan. * LP-1595781, GH-240: added a PyCapsule Python API and C-level API for passing externally generated libxml2 documents into lxml. * GH-244: error log entries have a new property ``path`` with an XPath expression (if known, None otherwise) that points to the tree element responsible for the error. Patch by Bob Kline. * The namespace prefix mapping that can be used in ElementPath now injects a default namespace when passing a None prefix. Bugs fixed ---------- * GH-238: Character escapes were not hex-encoded in the ``xmlfile`` serialiser. Patch by matejcik. * GH-229: fix for externally created XML documents. Patch by Theodore Dubois. * LP-1665241, GH-228: Form data handling in lxml.html no longer strips the option values specified in form attributes but only the text values. Patch by Ashish Kulkarni. * LP-1551797: revert previous fix for XSLT error logging as it breaks multi-threaded XSLT processing. * LP-1673355, GH-233: ``fromstring()`` html5parser failed to parse byte strings. Other changes ------------- * The previously undocumented ``docstring`` option in ``ElementTree.write()`` produces a deprecation warning and will eventually be removed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If zebra and one or more other quagga services are enabled then all quagga daemons go into an infinite loop cycle.
This happens because the quagga start method explicitly restarts zebra and the SMF manifest declares zebra as a dependency with restart_on=refresh. So when any quagga daemon is started it disables then enables zebra. When zebra is enabled it triggers a restart of all quagga services.
This has been filed with Quagga upstream here: https://bugzilla.quagga.net/show_bug.cgi?id=818
There are patches included in the bug report that resolve the issue.
The text was updated successfully, but these errors were encountered: