Changes from previous:
2013-11-10 Martin Mares <mj@ucw.cz>
* Released as 3.2.1.
* CardBus bridge capabilities are displayed.
* PCIe L1 PM substates are decoded.
* Various bugs were fixed in decoding of PCIe capabilities.
* The sysfs back-end does not spit out unnecessary warnings when
empty slots report only a partial device address. This actually
happens on IBM pSeries.
* Updated pci.ids to the today's snapshot of the database.
2013-04-19 Martin Mares <mj@ucw.cz>
* Released as 3.2.0.
* On newer Linux systems, we use libkmod to look up kernel modules
(modules.pcimap no longer exists.) To facilitate this, libpci
is able to look up module aliases in sysfs.
* Various minor bug fixes.
* Updated pci.ids to the today's snapshot of the database.
libntfs: added use of hd library to get the legacy BIOS geometry
libntfs: switched to /proc/mounts for checking existing mounts
libntfs: fixed usa checking by ntfsck on 4K sector disks
libntfs: fixed processing compressed data beyond file size (Windows 8 compliance)
libntfs: fixed expanding a resident attribute without inserting holes
libntfs: allow DACLs to not have any ACE
libntfs: ignore unmapped regions when checking whether sparse
libntfs: upgraded the Win32 interface for use with ntfsprogs
ntfsresize: enabled relocating the MFT when shrinking a volume
ntfsresize: fixed trying to update the MFT and Bitmap on a test run
ntfsresize: fixed updating all the MFT runs in a relocated MFT
ntfsresize: set the backup boot sector when the size is reliable
ntfsresize: reserved a single sector for the backup boot sector
ntfsundelete: output the modification time when scanning files
ntfsundelete: ported to Windows
ntfsclone: fixed wiping fragmented metadata when creating a metadata image
ntfsclone: allowed cloning a file system despite allocation errors
ntfsclone: fixed bad copying of the backup boot sector
ntfsclone: ported to Windows
ntfsdecrypt: made compatible with libgrypt-1.6
Reading and writing configuration files is one of the most frequent tasks of
any software design. Config::Simple is the library that helps you with it.
Config::Simple is a class representing configuration file object. It supports
several configuration file syntax and tries to identify the file syntax
automatically. Library supports parsing, updating and creating configuration
files.
v0.7.4:
- Fixing a bug about dangling processes, in case of using "ts -r".
v0.7.3:
- Add option '-N' to set the number of slots required for a job to run.
Proposed by Sergey Litvinov.
v0.7.2:
- Add option '-E', to keep stderr apart. It goes to "`ts -o`.e".
v0.7.1:
- Implement check of ownership of the socket. Security bugfix.
pefile is a multi-platform Python module to read and work with Portable
Executable (aka PE) files. Most of the information in the PE Header is
accessible, as well as all the sections, section's information and data.
pefile requires some basic understanding of the layout of a PE file. Armed with
it it's possible to explore nearly every single feature of the file.
Some of the tasks that pefile makes possible are:
* Modifying and writing back to the PE image
* Header Inspection
* Sections analysis
* Retrieving data
* Warnings for suspicious and malformed values
* Packer detection with PEiD's signatures
* PEiD signature generation
All:
- Fixed the autoconf test for #pragma weak, so it will not
believe that "clang" supports #pragma weak in a compatible way.
This is needed in order to compile libmdigest/sha2.c using clang.
- New autoconf tests added for:
libexpat
libpcsclite / winscard.lib
libcrypto / libeay32.lib
libssl / ssleay32.lib
- New autoconf test for expat.h
- The makefile system added the INVERSE_SUBARCHDIR= to allow local
autoconfiguration for shared libraries.
- RULES/rules.top now also calls MKLINKS in the directory TEMPLATES
- New compiler configuration files:
RULES/cc-clang.rul
RULES/cc-clang32.rul
RULES/cc-clang64.rul
- The Mac OS X related rules now support a new macro:
LDFRAMEWORKS=
that allows to add Apple specific libraries.
- Added a new WIN32_LIBS= macro for Win-DOS specific libraries.
These libraries have to be specified in the portable -lfoo
format for "libfoo" and also work when compiling for MinGW32.
When cl.exe is used, -lfoo is converted to foo.lib.
- New configuration files:
RULES/i386-darwin-clang.rul
RULES/i386-darwin-clang32.rul
RULES/i386-darwin-clang64.rul
- New configuration files:
RULES/i386-freebsd-clang.rul
RULES/i586-linux-clang.rul
RULES/x86_64-linux-clang.rul
RULES/i86pc-sunos5-clang.rul
RULES/sun4-sunos5-clang.rul
Note that these files have not been tested yet.
- RULES/cc-sunpro.rul now also includes rules for
RULES/cc-sunpro32.rul and
RULES/cc-sunpro64.rul
- RULES/cc-gcc.rul now also includes rules for
RULES/cc-gcc32.rul and
RULES/cc-gcc64.rul
- RULES/cc-sunpro32.rul added for orthogonality
- RULES/cc-sunpro32.rul and
RULES/cc-sunpro64.rul are symlinks to RULES/cc-sunpro.rul
and RULES/cc-sunpro.rul uses a macro to include
cc-sunpro.rul
cc-sunpro32.rul
cc-sunpro64.rul
as needed
- RULES/i86pc-sunos5-cc.rul now also includes rules for
RULES/i86pc-sunos5-cc32.rul and
RULES/i86pc-sunos5-cc64.rul
- RULES/i86pc-sunos5-gcc.rul now also includes rules for
RULES/i86pc-sunos5-gcc32.rul and
RULES/i86pc-sunos5-gcc64.rul
- RULES/sun4-sunos5-cc.rul now also includes rules for
RULES/sun4-sunos5-cc32.rul and
RULES/sun4-sunos5-cc64.rul
- RULES/sun4-sunos5-gcc.rul now also includes rules for
RULES/sun4-sunos5-gcc32.rul and
RULES/sun4-sunos5-gcc64.rul
- RULES/i586-linux-suncc.rul now also includes rules for
RULES/i586-linux-suncc32.rul and
RULES/i586-linux-suncc64.rul
- RULES/9000-725-hp-ux-cc.rul now also includes rules for
RULES/9000-725-hp-ux-cc32.rul and
RULES/9000-725-hp-ux-cc64.rul
- RULES/i486-cygwin32_nt-cc.rul now also includes rules for
RULES/i486-cygwin32_nt-cc32.rul and
RULES/i486-cygwin32_nt-cc64.rul
- RULES/i486-cygwin32_nt-gcc.rul now also includes rules for
RULES/i486-cygwin32_nt-gcc32.rul and
RULES/i486-cygwin32_nt-gcc64.rul
- RULES/ip22-irix-cc.rul now also includes rules for
RULES/ip22-irix-cc64.rul
- RULES/ip22-irix-gcc.rul now also includes rules for
RULES/ip22-irix-gcc64.rul
- RULES/power-macintosh-darwin-cc.rul now also includes rules for
RULES/power-macintosh-darwin-cc32.rul and
RULES/power-macintosh-darwin-cc64.rul
- RULES/power-macintosh-darwin-gcc.rul now also includes rules for
RULES/power-macintosh-darwin-gcc32.rul and
RULES/power-macintosh-darwin-gcc64.rul
- conf/makeinc now knows that a compiler name may not follow
the "cc*" text rule. This helps to support "clang".
- conf/cc-config.sh has been enhanced to detect whether
"cc" or "gcc" are emulated via "clang".
- New files in TEMPLATES/ related to "clang"
- TEMPLATES/ now includes config files for gcc32 and gcc64
- TEMPLATES/ now includes config files for clang, clang32 and clang64
- Add comment to DEFAULTS_CSW/sparc-cc.defs
- config.guess now understands Mac OS X on 64 bit Intel
Libschily:
- libschily/format.c fixed to compile again with K&R C that does
not support "long double".
- No longer use fgets() for fgetaline(), fgetline() and fgetstr()
as fgets() cannot deal with embedded '\0' chars before the '\n'.
- libschily/fstream.c now supports local flags (for the caller)
and pushable streams to keep blocks of pushed text atomically.
- libschily/fchmodat.c was added, it has been forgotten when
the emulations for the *at() functions have been introduced.
It is needed for the new enhanced isoinfo command.
- libschily/mknodat.c now correctly provides a mknodat() function even
when there is no mknod() command.
- libschily/futimens.c now is more Sun specific when trying to implement
futimens() via utimensat(), as only Solaris supports a f*() interface
in case that the path name is a NULL pointer.
Mkisofs (Maintained/enhanced by Jörg Schilling since 1997, originated by Eric Youngdale):
WARNING: the new version of the isoinfo program makes use of the
*at() series of functions that have been introduced by Sun
in August 2001 and added to POSIX.1-2008. For older platforms,
libschily now includes emulations for these functions but
these emulations have not yet been tested thouroughly.
Please report problems!
- The man page isoinfo.8 was enhanced by mentioning the option -s (print
file sizes in multiple if 2048 byte sectors) and by documenting the
list format that us used with -l.
- isoinfo now evaluates the Rock Ridge "PN" signature and thus supports
to display and use the major/minor device numbers.
- isoinfo now extracts time stamps with sub second granularity in
order to be able to set fine grained file timestamps, see -X option
below.
- isoinfo now knows how to find out whether a ISO-9660 filesystem was
created by a newer mkisofs and thus includes useful inode numbers
in ISO-9660. These ISO-9660 based inode numbers are used in case that
there is no Rock Ridge-1.12 that includes inode numbers in the "PX"
signature.
- isoinfo now has a new option -X that extracts alls files (in case that
-find is not used) or files secected by a -find expression. Note that
-find expressions may include -chown, -chgrp and -chmod to modify the
meta data of files.
- improved support for Amazon Glacier
- removed support for Ubuntu One, which is closing shop
- new locking mechanism to avoid concurrent execution with same cache
- many other bugfixes and minor improvements. See CHANGELOG.
Version 5.8
New: Monit no longer purge the environment for sub-processes
New: Add command line option to view Monit ID (-i/--id)
New: Add command line option to reset Monit ID (-r/--resetid)
New: Add client support for using TLS version 1.1 and 1.2. A recent
1.x version of OpenSSL is required and of course that the server
speaks this TLS version. At this time, not many does. Example:
if failed port 443 with type TCPSSL tlsv11 protocol http then alert
New: Process UID, EUID and GID tests. Allows to test if the
process is running as a given user. Example:
check process syslog with pidfile /var/run/rsyslogd.pid
if failed uid "syslog" then alert
if failed euid "syslog" then alert
if failed gid "syslog" then alert
New: Add WebSocket protocol test support for port check. Example:
check host websocket.org with address "echo.websocket.org"
if failed
port 80 protocol websocket
host "echo.websocket.org"
request "/"
origin "http://www.websocket.com"
version 13
then alert
New: Simplified HTTP protocol test to allow testing content without
creating an URL object. It is now possible to say in a more natural way,
check host mmonit.com with address mmonit.com
if failed
port 80 protocol http
and request /monit/ with content = "Monit 5.7"
then alert
meaning that if the page mmonit.com/monit does not contain the text
"Monit 5.7" then the test will fail. To reverse the test, i.e. to test
that the page should not contain a specific string simply use '!='
instead, like,
if failed
port 80 protocol http
with content != "Nagios"
then alert
Remember also that the string to test can be a regular expression
New: The HTTP protocol test now support testing the HTTP status code
returned by the server by using "status <operator> <number>".
Backward compatible defaults (return error if status >= 400):
if failed
port 80 protocol http
and status < 400
then alert
Return error if a page DOES exist (for success 404 is expected):
if failed
port 80 protocol http
request "/non/existent.php"
status = 404
then alert
Fixed: Unix Socket test now use the communication type (TCP or UDP)
specified in port statement. Previously TCP was always used.
Fixed: Improved test to check if a socket was connected. Since we use
non-blocking connect, we now poll a few ms to avoid "connection failed,
XXX is not ready for i|o" errors which could occur, especially on high
latency networks or long distance connect.
Fixed: Simplified if-statements reported in UI
Fixed: Ignore lines starting with '#' in an 'allow htpasswd' file
statement. Thanks to Michael Bakker for reporting the issue
Fixed: Show service restart program on Monit startup in debug mode.
Thanks to Michael Bakker for reporting the issue
Version 5.7
New: Merged https://bitbucket.org/tildeslash/monit/pull-request/1/
from Philippe Kueck:
1) Handle sockets (unix domain) as regular files when checking timestamp.
2) Use mysql 4.1 protocol in MySQL check, required for checking mysql-proxy
3) Skip connection checks during startup timeout.
New: Arguments added to 'check program'. Arguments are whitespace
separated strings. For instance:
check program list-files with path "/bin/ls -l -r -t /tmp"
if status != 0 then alert
New: Implemented restart as an optional service action. When Monit
is called to restart a service, it previously called the stop
program registered with the service and then the start program.
Now, if a restart program is registred with the service, this
will be called instead, otherwise Monit fall back to its old
behaviour. Example:
check process apache with pidfile /var/run/httpd.pid
start = "/usr/sbin/apachectl start"
stop = "/usr/sbin/apachectl stop"
restart = "/usr/sbin/apachectl restart" <- New
New: Improved communication with M/Monit. Thanks to Hippo Lin. For
scalability purpose, this Monit version should only be used with
M/Monit version 3.1 or later.
BUGFIXES:
* Monit stopped if an error occurred during MTA connection close.
* Make the Memcache protocol test faster.
* Solaris zone: fix system memory usage report.
* Use chiper list with SSL server instead of relying on default
The vulnerability is only exposed to service domains for HVM guests
which have privilege over the guest. In a usual configuration that
means only device model emulators (qemu-dm).
bump PKGREV
D-Bus 1.8.2 (2014-04-30)
==
The “nobody wants red” release.
Enhancements:
• in the CMake build system, add some hints for Linux users cross-compiling
Windows D-Bus binaries to be able to run tests under Wine
(fd.o #41252, Ralf Habacker)
• add Documentation key to dbus.service (fd.o #77447, Cameron Norman)
Fixes:
• in "dbus-uuidgen --ensure", try to copy systemd's /etc/machine-id
to /var/lib/dbus/machine-id instead of generating an entirely new ID
(fd.o #77941, Simon McVittie)
• if dbus-launch receives an X error very quickly, do not kill
unrelated processes (fd.o #74698, Роман Донченко)
• on Windows, allow up to 8K connections to the dbus-daemon, instead of the
previous 64 (fd.o #71297; Cristian Onet, Ralf Habacker)
• cope with \r\n newlines in regression tests, since on Windows,
dbus-daemon.exe uses text mode (fd.o #75863, Руслан Ижбулатов)
wip by ryoon and myself, tested by Thomas Schmitt and Freddy Fisker.
libisoburn is a frontend for libraries libburn and libisofs which
enables creation and expansion of ISO-9660 filesystems on all
CD/DVD/BD media supported by libburn. This includes media like
DVD+RW, which do not support multi-session management on media
level and even plain disk files or block devices.
This package also contains comand line and dialog application
xorriso.
Upstream changes:
0.17
- add option: --backlog to change the backlog size (default: SOMAXCONN) (thanks to Yuryu)
0.16
- [bugfix] unset the environment variable when a file is removed from the directory specified by --envdir
0.15
- added option: --envdir for reloading configuration (thanks to limitusus)
- added options: --enable-auto-restart and interval for periodical automatic restarting (thanks to limitusus)
- added option: --kill-old-delay for delaying SIGTERM (thanks to limitusus)
0.14
- fix regression in 0.13; start_server wo. "--dir" was causing errors
0.13
- add option: --dir (thanks to kazeburo)
0.12
- bugfix: support for programs with whitespaces (thanks to clkao)
- add option: --signal-on-term (thanks to miyagawa)
myself for wip, tested by Thomas Schmitt and Freddy Fisker.
libisofs is a library to create an ISO-9660 filesystem with extensions
like RockRidge or Joliet. It is also a full featured ISO-9660
editor, allowing you to modify an ISO image or multisession disc,
including file addition/removal, change of file names and attributes,
etc.
and myself for wip, tested by Thomas Schmitt and Freddy Fisker.
libburn is a library for writing preformatted data to optical media
such as CD, DVD, BD (Blu-Ray).
Version 1.7.0
- Allow user/group names up to 32 characters before clipping.
- Made -i compress XML and JSON output as much as possible by eliminating
extraneous whitespace.
- Added --caseinsensitive (renamed --ignore-case ala grep) flag so patterns
match without regard to case, courtesy of Jason A Donenfeld.
- Added --matchdirs option courtesy of Brian Mattern & Jason A. Donenfeld
<Jason@zx2c4.com>.
- Fixed possible buffer overflow on large uid/gids w/o user names/group
names (Alexandre Wendling <alexandrerw@celepar.pr.gov.br>)
- Added JSON support courtesy of Florian Sesser <fs@it-agenten.com>.
- Fixed formatting error with HTML output when -L 1 specified. (Sascha Zorn
<sascha.zorn@gmail.com>)
- Added file size sorting (Philipp M?ller <philippausmuensing@googlemail.com>)
- Added '--sort[=]<name>' option, ala ls.
- Fixed OS X makefile problems (Ryan Hollis <theryanhollis@gmail.com>)
- Fixed possible memory overflow in read_dir (path/lbuf not equal in size
to pathsize/lbufsize.) (Han Hui <hanhui03@163.com>)
- Fix S_ISDOOR/S_IFDOOR spelling mistake for Solaris. (Tim Mooney
<Tim.Mooney@ndsu.edu>)
- Make tree more reliably detect UTF-8 locales. (Mantas Mikulnas
<grawity@gmail.com> and others.)
- Return non-zero exit status on option errors, print usage to stdout when
not an error, add the posix '--' option terminator, Change -S description
to mean CP437 (console) output codes, not ASCII. (Ivan Shmakov
<oneingray@gmail.com>)
2.1.0 - 2014-04-08
------------------
ENHANCEMENTS
* 387: system-wide open connections a-la netstat.
BUG FIXES
* 421: [Solaris] psutil does not compile on SunOS 5.10 (patch by Naveed
Roudsari)
* 489: [Linux] psutil.disk_partitions() return an empty list.
2.0.0 - 2014-03-10
------------------
ENHANCEMENTS
* #424: [Windows] installer for Python 3.X 64 bit.
* #427: number of logical and physical CPUs (psutil.cpu_count()).
* #447: psutil.wait_procs() timeout parameter is now optional.
* #452: make Process instances hashable and usable with set()s.
* #453: tests on Python < 2.7 require unittest2 module.
* #459: add a make file for running tests and other repetitive tasks (also
on Windows).
* #463: make timeout parameter of cpu_percent* functions default to 0.0 'cause
it's a common trap to introduce slowdowns.
* #468: move documentation to readthedocs.com.
* #477: process cpu_percent() is about 30% faster. (suggested by crusaderky)
* #478: [Linux] almost all APIs are about 30% faster on Python 3.X.
* #479: long deprecated psutil.error module is gone; exception classes now
live in "psutil" namespace only.
BUG FIXES
* #193: psutil.Popen constructor can throw an exception if the spawned process
terminates quickly.
* #340: [Windows] process get_open_files() no longer hangs. (patch by
jtang@vahna.net)
* #443: [Linux] fix a potential overflow issue for Process.set_cpu_affinity()
on systems with more than 64 CPUs.
* #448: [Windows] get_children() and ppid() memory leak (patch by Ulrich
Klank).
* #457: [POSIX] pid_exists() always returns True for PID 0.
* #461: namedtuples are not pickle-able.
* #466: [Linux] process exe improper null bytes handling. (patch by
Gautam Singh)
* #470: wait_procs() might not wait. (patch by crusaderky)
* #471: [Windows] process exe improper unicode handling. (patch by
alex@mroja.net)
* #473: psutil.Popen.wait() does not set returncode attribute.
* #474: [Windows] Process.cpu_percent() is no longer capped at 100%.
* #476: [Linux] encoding error for process name and cmdline.
API CHANGES
For the sake of consistency a lot of psutil APIs have been renamed.
In most cases accessing the old names will work but it will cause a DeprecationWarning.
* psutil.* module level constants have being replaced by functions:
---------------------------------------------------------
| Old name | Replacement |
---------------------------------------------------------
| - psutil.NUM_CPUS | psutil.cpu_cpunt() |
| - psutil.BOOT_TIME | psutil.boot_time() |
| - psutil.TOTAL_PHYMEM | psutil.virtual_memory().total |
---------------------------------------------------------
* Renamed psutil.* functions:
-----------------------------------------------
| Old name | Replacement |
-----------------------------------------------
| - psutil.get_pid_list() | psutil.pids() |
| - psutil.get_users() | psutil.users() |
| - psutil.get_boot_time() | psutil.boot_time() |
-----------------------------------------------
* All psutil.Process get_* methods lost the "get_" prefix.
get_ext_memory_info() renamed to memory_info_ex().
Assuming "p = psutil.Process()":
-------------------------------------------------
| Old name | Replacement |
-------------------------------------------------
| p.get_children() | p.children() |
| p.get_connections() | p.connections() |
| p.get_cpu_affinity() | p.cpu_affinity() |
| p.get_cpu_percent() | p.cpu_percent() |
| p.get_cpu_times() | p.cpu_times() |
| p.get_ext_memory_info() | p.memory_info_ex() |
| p.get_io_counters() | p.io_counters() |
| p.get_ionice() | p.ionice() |
| p.get_memory_info() | p.memory_info() |
| p.get_memory_maps() | p.memory_maps() |
| p.get_memory_percent() | p.memory_percent() |
| p.get_nice() | p.nice() |
| p.get_num_ctx_switches() | p.num_ctx_switches() |
| p.get_num_fds() | p.num_fds() |
| p.get_num_threads() | p.num_threads() |
| p.get_open_files() | p.open_files() |
| p.get_rlimit() | p.rlimit() |
| p.get_threads() | p.threads() |
| p.getcwd() | p.cwd() |
-------------------------------------------------
* All psutil.Process set_* methods lost the "set_" prefix.
Assuming "p = psutil.Process()":
--------------------------------------------------------
| Old name | Replacement |
--------------------------------------------------------
| p.set_nice() | p.nice(value) |
| p.set_ionice() | p.ionice(ioclass, value=None) |
| p.set_cpu_affinity() | p.cpu_affinity(cpus) |
| p.set_rlimit() | p.rlimit(resource, limits=None) |
--------------------------------------------------------
* Except for 'pid' all psutil.Process class properties have been turned into
methods. This is the only case which there are no aliases.
Assuming "p = psutil.Process()":
---------------------------------
| Old name | Replacement |
---------------------------------
| p.name | p.name() |
| p.parent | p.parent() |
| p.ppid | p.ppid() |
| p.exe | p.exe() |
| p.cmdline | p.cmdline() |
| p.status | p.status() |
| p.uids | p.uids() |
| p.gids | p.gids() |
| p.username | p.username() |
| p.create_time | p.create_time() |
---------------------------------
* Others:
* timeout parameter of cpu_percent* functions defaults to 0.0 instead of 0.1.
* long deprecated psutil.error module is gone; exception classes now live in
"psutil" namespace only.
* Process instances' "retcode" attribute returned by psutil.wait_procs() has
been renamed to "returncode" for consistency with subprocess.Popen.