Py-cpuinfo gets CPU info with pure Python. Py-cpuinfo should work
without any extra programs or libraries, beyond what your OS
provides. It does not require any compilation(C/C++, assembly, et
cetera) to use.
Version 1.8.0 (11/16/2018)
- Added an experimental --fromfile option (suggested by several people.)
This may eventually be replaced or supplimented by a --fromjson option.
- Added support for BSD's CLICOLOR and CLICOLOR_FORCE environment variables.
(Suggested by Alyssa Ross)
- Use strftime() exclusively when formatting date/time to respect locale.
- Some man page fixes and cleanups curtsey of Kirill Kolyshkin
- Update BINDIR in Makefile for MacOS X -- It is not allowed to install
programs to /usr/bin on MacOS X any longer due to System Integrity
Protection (SIP) (Shawn Mehan)
- Misc patches from Jacob Wahlgren:
- Improved command line switch error reporting.
- Symbolic links not displayed if a -P pattern is active
- Missing argument error reporting fixes on long format switches.
- Fixed JSON output hanging commas (John Lane, Tad, others)
- JSON size output ignored -h/--si flags (Wagner Camarao)
- Fixed issue with malformed multibyte string handling. (Mantas
Mikulėnas)
- Fixed issue where mbstowcs() fails to null terminate the string due to
improper UTF-8 encoding leading to garbage being printed. (Nick Craig-Wood)
- Found a bug where the wrong inode (and device) information would be printed
for symbolic links. (Stephan Gabert)
A typical case is that PKGMANDIR is man, not share/man. That path does
not occur in the Python files, which would then make the build fail in
SUBST_NOOP_OK=no mode.
machine/ptrace.h pulls in sys/module_hook.h after 2019-11-27 under _KERNEL
This corresponds to NetBSD 9.99.19.
sys/module_hook.h is not installed.
Ergo sys/ptrace.h must be included /without/ defining _KERNEL.
2020-03-23 Jean Delvare <jdelvare@suse.de>
Print type 33 name unconditionally.
Even if a type 33 structure is too short, we can still display its
type name as we do for all other structure types.
2020-03-23 Jean Delvare <jdelvare@suse.de>
Don't choke on invalid processor voltage.
If the processor voltage encoding has some of the reserved bits set
and none of the proper bits set, print it as "Unknown" instead of an
empty field.
2020-03-23 Jean Delvare <jdelvare@suse.de>
Fix the alignment of type 25 name.
No tabulation needed before DMI structure names.
These PLIST files have been autogenerated by mk/haskell.mk using
HS_UPDATE_PLIST=yes during a bulk build. They will help to track changes
to the packages. The Haskell packages didn't have PLIST files because
their paths contained package hashes. These hashes are now determined by
mk/haskell.mk, which makes it easy to generate easy to read PLIST files.
It looks wrong that the paths in constants.py depend on the operating
system, but that's not caused by the latest SUBST changes, so I'm leaving
that as-is. Someone familiar with this package should have a look.
pkgsrc changes:
---------------
* The unifont 5.1.20080820 that was manually included in $WRKDIR made the
native freetype2 fail in FT_Get_Char_Index() function while the pkgsrc
freetype2 succeeded. The package now depends on fonts/unifont for build
because the version 13.0.02 of unifont fixes the FT_Get_Char_Index()
failure.
* Bump revision
Changes in 0.4.18
- Make bindings for magic_[set|get]param optional, and throw NotImplementedError
if they are used but not supported. Only call setparam() in the constructor if
it's supported. This prevents breakage on CentOS7 which uses an old version of
libmagic.
- Add tests for CentOS 7 & 8
Changes in 0.4.16 and 0.4.17
- add MAGIC_MIME_TYPE constant, use that in preference to MAGIC_MIME internally.
This sets up for a breaking change in a future major version bump where
MAGIC_MIME will change to mathch magic.h.
- add magic.version() function to return library version
- add setparam/getparam to control internal behavior
- increase internal limits with setparam to prevent spurious error on some jpeg files
- various setup.py improvements to declare modern python support
- support MSYS2 magic dlls
- fix warning about using 'is' on an int in python 3.8
- include tests in source distribution
- many test improvements:
-- tox runner support
-- remove deprecated test_suite field from setup.py
-- docker tests that cover all LTS ubuntu versions
-- add test for snapp file identification
- doc improvements
-- document dependency install process for debian
-- various typos
-- document test running process
1.13.1:
* regression fix if `_fg=False`
1.13.0:
* minor Travis CI fixes
* bugfix for boolean long options not respecting `_long_prefix`
* fix deprecation warning on Python 3.6 regexes
* `_pass_fds` and `_close_fds` special kwargs for controlling file descriptor inheritance in child.
* more efficiently closing inherited fds
* bugfix where passing invalid dictionary to `_env` will cause a mysterious child 255 exit code.
* bugfix where `_in` using 0 or `sys.stdin` wasn't behaving like a TTY, if it was in fact a TTY.
* bugfix where `help(sh)` raised an exception
* bugfix fixing broken interactive ssh tutorial from docs
* change to automatic tty merging into a single pty if `_tty_in=True` and `_tty_out=True`
* introducing `_unify_ttys`, default False, which allows explicit tty merging into single pty
* contrib command for `ssh` connections requiring passwords
* performance fix for polling output too fast when using `_iter`
* execution contexts can now be used in python shell
* bugfix `ErrorReturnCode` instances can now be pickled
* bugfix passing empty string or `None` for `_in` hanged
* bugfix where passing a filename or file-like object to `_out` wasn't using os.dup2
* regression make `_fg` work with `_cwd` again
* an invalid `_cwd` now raises a `ForkException` not an `OSError`.
* AIX support
* added a `timeout=None` param to `RunningCommand.wait()`
Update capistrano to 3.13.0.
3.13.0 (2020-04-17)
New Features
* Use env to find ssh path (#2053) @JoeDupuis
Housekeeping
* Remove CHANGELOG task from PR template (#2054) @mattbrictson
Some packages using mk/djbware.mk do not have error.h but need to fix the
errno declaration in other files. Up to now, there was no good way of
achieving exactly this.
Building packages like these in a SUBST_NOOP_OK=no build makes these
packages fail. To fix these packages, the configuration of the files
needed to be a bit more flexible.
Changes:
Version 0.20.0 / 2020-03-23
* build system switched to carton for better dependency tracking
* docker version available in `oetiker/znapzend:master` see README.md for details
* `--recursive` option for run-once datasets.
* `--inherited` allow run-once on datasets with only an inherited plan.
* `--focedSnapshotSuffix=x` for non generated snapshot suffix in run-once.
* `--nodelay` temporarily ignore delays in backup plans for speedy debugging.
* new `--features`
* `sendRaw` to NOT decrypt datasets prior to sending
* `skipIntermediates` do not send intermediate snapshots
* `lowmemRecurse` trade memory for speed when running large recursive jobs
* `zfsGetType` speed up recursive dataset handling ... see znapzend manual page for details.
* znapzendzetup supports `--features` too
* new options for znapzendztatz: `--inherited` and `--setup`
v2.9.7
======
Minor Changes
-------------
- 'Edit on GitHub' link for plugin, cli documentation fixed to navigate to correct plugin, cli source.
- Handle get_tags_for_object API correctly in vmware_rest_client.
- Remove redundant encoding in json.load call in ipa module_utils (https://github.com/ansible/ansible/issues/66592).
- ansible-test - Upgrade OpenSUSE containers to use Leap 15.1.
- ansible-test now supports testing against RHEL 7.8 when using the ``--remote`` option.
- vmware_cluster - Document alternatives for deprecated parameters
Removed Features (previously deprecated)
----------------------------------------
- ldap_attr, ldap_entry - The ``params`` option has been removed in Ansible-2.10 as it circumvents Ansible's option handling. Setting ``bind_pw`` with the ``params`` option was disallowed in Ansible-2.7, 2.8, and 2.9 as it was insecure. For information about this policy, see the discussion at: https://meetbot.fedoraproject.org/ansible-meeting/2017-09-28/ansible_dev_meeting.2017-09-28-15.00.log.html This fixes CVE-2020-1746
Bugfixes
--------
- **security issue** - The ``subversion`` module provided the password via the svn command line option ``--password`` and can be retrieved from the host's /proc/<pid>/cmdline file. Update the module to use the secure ``--password-from-stdin`` option instead, and add a warning in the module and in the documentation if svn version is too old to support it. (CVE-2020-1739)
- **security issue** win_unzip - normalize paths in archive to ensure extracted files do not escape from the target directory (CVE-2020-1737)
- **security_issue** - create temporary vault file with strict permissions when editing and prevent race condition (CVE-2020-1740)
- Alter task_executor's start_connection to support newer modules from collections which expect to send task UUID.
- Ansible.ModuleUtils.WebRequest - actually set no proxy when ``use_proxy: no`` is set on a Windows module - https://github.com/ansible/ansible/issues/68528
- Ensure DataLoader temp files are removed at appropriate times and that we observe the LOCAL_TMP setting.
- Ensure we don't allow ansible_facts subkey of ansible_facts to override top level, also fix 'deprefixing' to prevent key transforms.
- Ensure we get an error when creating a remote tmp if it already exists. CVE-2020-1733
- Fact Delegation - Add ability to indicate which facts must always be delegated. Primarily for ``discovered_interpreter_python`` right now, but extensible later. (https://github.com/ansible/ansible/issues/61002)
- Fix nxos_lacp replace operation (https://github.com/ansible/ansible/pull/64074).
- Handle equal sign in password while using passwordstore lookup plugin.
- In fetch action, avoid using slurp return to set up dest, also ensure no dir traversal CVE-2019-3828.
- In vmware_guest_network module use appropriate network while creating or reconfiguring (https://github.com/ansible/ansible/issues/65968).
- Log additional messages from persistent connection modules that may be missed if the module fails or returns early.
- `vmware_content_deploy_template`'s `cluster` argument no longer fails with an error message about resource pools.
- ansible command now correctly sends v2_playbook_on_start to callbacks
- ansible-galaxy - Error when install finds a tar with a file that will be extracted outside the collection install directory - CVE-2020-10691
- ansible-galaxy collection - Preserve executable bit on build and preserve mode on install from what tar member is set to - https://github.com/ansible/ansible/issues/68415
- dense callback - fix plugin access to its configuration variables and remove a warning message (https://github.com/ansible/ansible/issues/64628).
- display - Improve method of removing extra new line after warnings so it does not break Tower/Runner (https://github.com/ansible/ansible/pull/68517)
- docker connection plugin - do not prefix remote path if running on Windows containers.
- for those running uids for invalid users (containers), fallback to uid=<uid> when logging fixes
- get_url pass incorrect If-Modified-Since header (https://github.com/ansible/ansible/issues/67417)
- mysql_user - Fix idempotence when long grant lists are used (https://github.com/ansible/ansible/issues/68044)
- os_user_role - Fix os_user_role issue to grant a role in a domain.
- ovirt_storage_domain: fix update_check for warning_low_space
- purefa_snmp - Fix error when deleting a manager and when creating a v2c manager (https://github.com/ansible/ansible/pull/68180)
- rabbitmq_policy - Fix version parsing for RabbitMQ 3.8.
- routeros_facts - Prevent crash of module when ``ipv6`` package is not installed
- setup.ps1 - Fix ``ansible_fqdn`` using the wrong values to build the actual DNS FQDN.
Package changes:
- Now installs completions for fish, zsh, and bash.
- New option 'mouse' (enabled by default) makes mouse support optional.
- New option 'pcre' (enabled by default) for Perl regular expressions.
- Removed checksum for deleted patch-src_nnn.c in distinfo.
Upstream changes:
- unlimited bookmarks and plugin keys
- status bar text in context color
- support config `NO_COLOR` to disable colors
- config `NNN_OPTS` to specify binary options to `nnn`
- config `NNN_MCLICK` to emulate configurable key
- toggle selection on right click
- ignore hard links when calculating disk usage
- dim (hard/sym) link names (symlink to file has `@`)
- more special keys at empty filter prompt in _type-to-nav_
- key `>` to export file list
- option `-F` to show fortune in help and settings screen
- option `-T` to specify sort order (obsoletes `-v`)
- option to clear sort order
- key `T` to change time type (access/change/mod)
- `.nmv` - internal fully-functional batch renamer plugin
- make var `O_NOBATCH` to disable native batch renamer
- `nuke` & `imgview` - open all images in directory sxiv
- `nuke` - open log files in vi
- plugin `x2sel` - system clipboard to selection copier
- plugin `fzy` - cd using z database
- plugin `fzopen` - support `FZF_DEFAULT_COMMAND`
- create new context on TAB without prompt
- hover and connect by dir name (within config dir)
- move to next entry on current file delete
- on single file copy/move, select the copied/moved file
- option `-f` to to use readline history file (off by default)
- use `s` in status bar to indicate selection in progress
- make var `O_NOMOUSE` to disable mouse support
- do not store `NNN_TRASH` and `-Q` in config/session
- add sample .desktop file for XDG compatible DEs
- rename _nav-as-you-type_ to _type-to-nav_ mode
- fix PCRE case-insensitive regex search
- fix no error msg when filter length limit exceeded
- fix static package generation
- fix broken abort message when started in du-mode
- fix filter lost on context switch in non _type-to-nav_ mode
- fix broken readline prompt
- fix long strings treated as action keys in filter prompt
- fix `NNNLVL` not reset when spawned shell is exited