Commit graph

8152 commits

Author SHA1 Message Date
ryoon
533dcbae0b Fix packaging under SunOS and other non-BSD platform
Do not hardcode operating system suffix in PLIST.
Use LOWER_OPSYS instead of :lt for PLIST entry.

Thank you, richard@.
2015-12-14 22:58:20 +00:00
taca
5ccf428d3e Update ruby-childprocess to 0.5.8.
pkgsrc change: update HOMEPAGE.

0.5.8

* Merge pull request #94 from portertech/hotfix/windows-jobs
  Fix Windows process job handle leak
* [windows-jobs] fix windows process job handle leak
  this fixes sensu/sensu#1057

0.5.7

* Fix posix_spawn bug when $stdout is overriden
* Add failing test case for $stdout = StringIO
* Fix header
* Add caveat for #89
2015-12-13 15:25:09 +00:00
taca
5dbee1d786 Add and enable ruby-chef-config. 2015-12-13 15:19:03 +00:00
taca
9206ca812f Add ruby-chef-config version 12.5.1, required by newer misc/ruby-ohai.
Chef's default configuration and config loading.
2015-12-13 15:16:35 +00:00
taca
7af9189e89 Update ruby-listen to 3.0.5.
v3.0.5

Bugfixes

* #359 - implement Adapter#stop to free resources on Linux
* #358 - rescan directory to avoid crashes when files deleted during scan
* #356 - fix error in exception handling (bad arguments passed when building
  message)


v3.0.4

Bugfixes

* fix #351 - where OSX adapter couldn't listen to more than 2 given
  directories
2015-12-13 15:12:04 +00:00
markd
996a8cc568 LDFLAGS.Linux+= -lclucene-shared 2015-12-13 10:39:37 +00:00
he
ac4b78d934 Note to self: test before committing. Leave out close(fd).
Ride on the coattails of previous PKGREVISION bump.
2015-12-12 22:23:32 +00:00
he
7b8c95b6e6 Improve the entropy plugin on NetBSD to keep /dev/urandom open between
polls, instead of re-opening and closing it for each round, since that
will needlessly reduce the kernel's entropy estimate.
Bump PKGREVISION.
2015-12-12 21:39:25 +00:00
kamil
ec0640f27c +gdmap 2015-12-12 15:46:21 +00:00
kamil
14d84862e8 Import gdmap-0.8.1 as sysutils/gdmap
GdMap is a tool which allows you to visualize disk space in a novel way.  Files
and directories are displayed in rectangular areas.  The larger the file, the
larger the rectangle that represents it.
2015-12-12 15:31:26 +00:00
kamil
9ff6e8a6b0 +py-setconf 2015-12-12 05:39:46 +00:00
kamil
e4df9193bb Import setconf-0.6.7 as sysutils/py-setconf
Initially packaged in pkgsrc-wip by Kamil Rytarowski

setconf is a small utility that can be used for changing settings in
configuration textfiles.
2015-12-12 05:38:45 +00:00
kamil
219e1ccba9 Update sysutils/fdupes to 1.51
Patch via pkgsrc-wip/fdupes by Mateusz Poszwa

Changes from 1.50 to 1.51

- Added support for 64-bit file offsets on 32-bit systems.
- Using tty for interactive input instead of regular stdin. This is to
  allow  feeding filenames via stdin in future versions of fdupes without
  breaking interactive deletion feature.
- Fixed some typos in --help.
- Turned C++ style comments into C style comments.

Changes from 1.40 to 1.50-PR2

- Fixed memory leak. [JB]
- Added "--summarize" option. [AL]
- Added "--recurse:" selective recursion option. [AL]
- Added "--noprompt" option for totally automated deletion of
  duplicate files.
- Now sorts duplicates (old to new) for consistent order when
  listing or deleteing duplicate files.
- Now tests for early matching of files, which should help speed up
  the matching process when large files are involved.
- Added warning whenever a file cannot be deleted. [CHL, AL]
- Fixed bug where some files would not be closed after failure. [AL]
- Fixed bug where confirmmatch() function wouldn't always deal
  properly with zero-length files. [AL]
- Fixed bug where progress indicator would not be cleared
  when no files were found. [AL]
- Removed experimental red-black tree code (it was slower on
  my system than the default code). [AL]
- Modified md5/md5.c to avoid compiler warning. [CHL]
- Changes to fdupes.c for compilation under platforms where
  getopt_long is unavailable. [LR, AL]
- Changes to help text for clarity. [AL]
- Various changes and improvements to Makefile. [PB, AL]
2015-12-12 04:00:30 +00:00
wiz
2a7cc005a8 Update salt to 2015.8.3, provided by Travis Paul in PR 50507.
Security Fix

CVE-2015-8034: Saving state.sls cache data to disk with insecure permissions

This affects users of the state.sls function. The state run cache
on the minion was being created with incorrect permissions. This
file could potentially contain sensitive data that was inserted
via jinja into the state SLS files. The permissions for this file
are now being set correctly. Thanks to @zmalone for bringing this
issue to our attention.
2015-12-11 00:27:06 +00:00
wiedi
d919ca17e1 fix bashism, thanks joerg 2015-12-08 21:22:45 +00:00
fhajny
4814aecab9 Update sysutils/cfengine3 to 3.7.2.
Patch based largely on a pull request by bahamat@:

  https://github.com/joyent/pkgsrc/pull/307

3.7.2:

Bug fixes:
- readfile() and read*list() should print an error if they fail to read file.
  (Redmine #7702)
- Fix 'AIX_PREINSTALL_ALREADY_DONE.txt: cannot create' error
  message on AIX.
- If there is an error saving a mustache template file
  it is now logged with log-level error (was inform).
- Change: Clarify bootstrap/failsafe reports
- Fixed several bugs which prevented CFEngine from loading
  libraries from the correct location. This affected several platforms.
  (Redmine #6708)
- If file_select.file_types is set to symlink and there
  are regular files in the scanned directory, CFEngine no longer
  produces an unneccessary error message. (Redmine #6996)
- Fix: Solaris packages no longer contain duplicate library
  files, but instead symlinks to them. (Redmine #7591)
- cf-agent, cf-execd, cf-promises, cf-runagent and cf-serverd honor
  multiple -D, -N and -s arguments (Redmine #7191)
- Fix "@endif" keyword sometimes being improperly processed
  by policy parser. (Redmine #7413)
- It is possible to edit the same value in multiple regions
  of one file. (Redmine #7460)
- Fix select_class not setting class when used in common bundle with slist.
  (Redmine #7482)
- Fix broken HA policy for 3rd disaster-recovery node.
- Directories should no more be changed randomly
  into files. (Redmine #6027)
- Include latest security updates for 3.7.
- Reduce malloc() thread contention on heavily loaded
  cf-serverd, by not exiting early in the logging function, if no message
  is to be printed. (Redmine #7624)
- Improve cf-serverd's lock contention because of getpwnam()
  call. (Redmine #7643)
- action_policy "warn" now correctly produces warnings instead
  of various other verbosity levels. (Redmine #7274)
- Change: Improve efficiency and debug reports (Redmine #7527)
- Change package modules permissions on hub package so that
  hub can execute package promises. (Redmine #7602)
- No longer hang when changing permissions/ownership on fifos
  (Redmine #7030)
- Fix exporting CSV reports through HTTPS. (Redmine #7267)
- failsafe.cf will be created when needed. (Redmine #7634)
- Mustache templates: Fix  key when value is not a
  primitive. The old behavior, when iterating across a map or array of
  maps, was to abort if the key was requested with . The new
  behavior is to always replace  with either the key name or the
  iteration position in the array. An error is printed if  is used
  outside of a Mustache iteration section.
- Legacy package promise: Result classes are now defined if
  the package being promised is already up to date. (Redmine #7399)
- TTY detection should be more reliable. (Redmine #7606)

Masterfiles:
- Add: Path to svcprop in stdlib
- Add: New `results` classes body [] (Redmine #7418, #7481)
- Remove: Support for email settings from augments_file (Redmine #7682)

3.7.1:

Bug fixes:
- Fix daemons not restarting correctly on upgrade on AIX. (Redmine #7550)
- Fix upgrade causing error message under systemd because of open ports.
- Fix build with musl libc. (Redmine #7455)
- Long promiser strings with multiple lines are now
  abbreviated in logs. (Redmine #3964)
- Fixed a bug which could cause daemons to not to be killed
  correctly when upgrading or manually running "service cfengine3 stop".
  (Redmine #7193)
- Package promise: Fix inability to install certain packages
  with numbers.
- Fix package promise not removing dependant packages. (Redmine #7424)
- Fix warning "Failed to parse csv file entry" with certain very long
  commands promises. (Redmine #7400)
- Fix misaligned help output in cf-hub. (Redmine #7273)
- Augmenting inputs from the augments_file (Redmine #7420)
- Add support for failover to 3rd HA node located outside cluster.
- Upgrade all dependencies for patch release.
- Fix a bug which caused daemons not to be restarted on
  upgrade. (Redmine #7528)

3.7.0:

New features:
- New package promise implementation.
- Full systemd support for all relevant platforms
- New classes to determine whether certain features are enabled:
    * feature_yaml
    * feature_xml
  For the official CFEngine packages, these are always enabled, but
  packages from other sources may be built without the support.
- New readdata() support for generic data input (CSV, YAML, JSON, or auto)
- YAML support: new readyaml() function and in readdata()
- CSV support: new readcsv() function and in readdata()
- New string_mustache() function
- New data_regextract() function
- eval() can now be called with "class" as the "mode" argument, which
  will cause it to return true ("any") if the calculated result is
  non-zero, and false ("!any") if it is zero.
- New list_ifelse() function
- New mapjson() function as well as JSON support in maparray().
- filestat() function now supports "xattr" argument for extended
  attributes.
- "ifvarclass" now has "if" as an alias, and "unless" as an inverse
  alias.
- Ability to expand JSON variables directory in Mustache templates:
  Prefix the name with '%' for multiline expansion, '$' for compact
  expansion.
- Ability to expand the iteration *key* in Mustache templates with @
- Canonical JSON output: JSON output has reliably sorted keys so the
  same data structure will produce the same JSON every time.
- New "@if minimum_version(x.x)" syntax in order to hide future language
  improvements from versions that don't understand them.
- compile time option (--with-statedir) to
  override the default state/ directory path.
- Fix error messages/ handling in process signalling which no longer
  allowed any signals to fail silently
- Also enable shortcut keyword for cf-serverd classic protocol, eg to
  simplify the bootstrap process for clients that have different
  sys.masterdir settings (Redmine #3697)
- methods promises now accepts the bundle name in the promiser string,
  as long as it doesn't have any parameters.
- In a services promise, if the service_method bundle is not specified,
  it defaults to the promiser string (canonified) with "service_" as a
  prefix. The bundle must be in the same namespace as the promise.
- inline JSON in policy files: surrounding with parsejson() is now
  optional *when creating a new data container*.
- New data_expand() function to interpolate variables in a data container.
- Add configurable network bandwidth limit for all outgoing
  connections ("bwlimit" attribute in "body common control") . To
  enforce it in both directions, make sure the attribute is set on both
  sides of the connection.
- Secure bootstrap has been facilitated by use of
  "cf-agent --boostrap HUB_ADDRESS --trust-server=no"
- Implement new TLS-relevant options (Redmine #6883):
  - body common control: tls_min_version
  - body server control: allowtlsversion
  - body common control: tls_ciphers
  - body server control: allowciphers (preexisting)

Changes:
- Improved output format, less verbose, and messages are grouped.
- cf-execd: agent_expireafter default was changed to 120 minutes
  (Redmine #7113)
- All embedded databases are now rooted in the state/ directory.
- TLS used as default for all outgoing connections.
- process promise now reports kept status instead of repaired if a
  signal is not sent, even if the restart_class is set. The old
  behavior was to set the repaired status whenever the process was not
  running. (Redmine#7216).
- Bootstrapping requires keys to be generated in advance using cf-key.
- Disable class set on reverse lookup of interfaces IP addresses.
  (Redmine #3993, Redmine #6870)
- Define a hard class with just the OS major version on FreeBSD.
- Abort cf-agent if OpenSSL's random number generator can't
  be seeded securely.
- Masterfiles source tarball now installs using the usual commands
  "./configure; make install".
- Updated Emacs syntax highlighting template to support the latest
  syntax enhancements in 3.7.

Deprecations:
- Arbitrary arguments to cfruncommand (using "cf-runagent -o") are
  not acceptable any more. (Redmine #6978)
- 3.4 is no longer supported in masterfiles.

Bug fixes:
- Fix server common bundles evaluation order (Redmine#7211).
- Limit LMDB disk usage by preserving sparse areas in LMDB files
  (Redmine#7242).
- Fixed LMDB corruption on HP-UX 11.23. (Redmine #6994)
- Fixed insert_lines failing to converge if preserve_block was used.
  (Redmine #7094)
- Fixed init script failing to stop/restart daemons on openvz/lxc
  hosts. (Redmine #3394)
- rm_rf_depth now deletes base directory as advertised. (Redmine #7009)
- Refactored cf-agent's connection cache to properly differentiate
  hosts using all needed attributes like host and port.
  (Redmine #4646)
- Refactored lastseen database handling to avoid inconsistencies.
  (Redmine #6660)
- cf-key --trust-key now supports new syntax to also update the
  lastseen database, so that clients using old protocol will trust
  the server correctly.
- Fixed a bug which sometimes caused an agent or daemon to kill or stop
  itself. (Redmine #7075, #7244)
- Fixed a bug which made it difficult to kill CFEngine daemons,
  particularly cf-execd. (Redmine #6659, #7193)
- Fixed a bug causing systemd not to be detected correctly on Debian.
  (Redmine #7297)
- "cf-promises -T" will now correctly report the checked out commit,
  even if you haven't checked out a Git branch. (Redmine #7332)
- Reduce verbosity of harmless errors related to socket timeouts and
  missing thermal zone files. (Redmine #6486 and #7238)
- Fix process_result logic to match the purpose of body process_select
  days_older_than (Redmine #3009)

Masterfiles:

Added:
- Support for user specified overring of framework defaults without
  modifying policy supplied by the framework itself (see
  example_def.json)
- Support for def.json class augmentation in update policy
- Run vacuum operation on postgresql every night as a part of
  maintenance.
- Add measure_promise_time action body to lib (3.5, 3.6, 3.7, 3.8)
- New negative class guard `cfengine_internal_disable_agent_email` so
  that agent email can be easily disabled by augmenting def.json

Changed:
- Relocate def.cf to controls/VER/
- Relocate update_def to controls/VER
- Relocate all controls to controls/VER
- Only load cf_hub and reports.cf on CFEngine Enterprise installs
- Relocate acls related to report collection from bundle server
  access_rules to controls/VER/reports.cf into bundle server
  report_access_rules
- Re-organize cfe_internal splitting core from enterprise specific
  policies and loading the appropriate inputs only when necessary
- Moved update directory into cfe_internal as it is not generally
  intended to be modified
- services/autorun.cf moved to lib/VER/ as it is not generally intended
  to be modified
- To improve predictibility autorun bundles are activated in
  lexicographical order
- Relocate services/file_change.cf to cfe_internal/enterprise. This
  policy is most useful for a good OOTB experience with CFEngine
  Enterprise Mission Portal.
- Relocate service_catalogue from promsies.cf to services/main.cf. It is
  intended to be a user entry. This name change correlates with the main
  bundle being activated by default if there is no bundlesequence
  specified.
- Reduce benchmarks sample history to 1 day.
- Update policy no longer generates a keypair if one is not found.
  (Redmine: #7167)
- Relocate cfe_internal_postgresql_maintenance bundle to lib/VER/
- Set postgresql_monitoring_maintenance only for versions 3.6.0 and
  3.6.1
- Move hub specific bundles from lib/VER/cfe_internal.cf into
  lib/VER/cfe_internal_hub.cf and load them only if policy_server policy
  if set.
- Re-organize lib/VER/stdlib.cf from lists into classic array for use
  with getvalues

Removed:
- Diff reporting on /etc/shadow (Enterprise)
- Update policy from promise.cf inputs. There is no reason to include
  the update policy into promsies.cf, update.cf is the entry for the
  update policy
- _not_repaired outcome from classes_generic and scoped_classes generic
  (Redmine: # 7022)

Fixes:
- standard_services now restarts the service if it was not already
  running when using service_policy => restart with chkconfig (Redmine
  #7258)
2015-12-08 17:15:21 +00:00
wiz
1671418244 Fix typo in Makefile.
Noted by Travis Paul in PR 50503.
Bump PKGREVISION.
2015-12-07 21:51:53 +00:00
wiz
16cc3d5e42 + findnewest. 2015-12-06 15:20:31 +00:00
wiz
9df90f39e3 Import findnewest-0.3 as sysutils/findnewest.
findnewest recursively scans the directories given on the command
line and prints the UNIX timestamp (seconds since UNIX epoch) of
the newest file found.
2015-12-06 15:20:12 +00:00
wiz
6ac62d20fb Update dbus to 1.10.6. Document patches.
D-Bus 1.10.6 (2015-12-01)
==

The “marzipan beetles” release.

Fixes:

• On Unix when running tests as root, don't assert that root and
  the dbus-daemon user can still call UpdateActivationEnvironment;
  assert that those privileged users can call BecomeMonitor instead
  (fd.o #93036, Simon McVittie)

• On Windows, fix a memory leak in the autolaunch transport (fd.o #92899,
  Simon McVittie)

• On Windows Autotools builds, don't run tests that rely on
  dbus-run-session and other Unix-specifics (fd.o #92899, Simon McVittie)
2015-12-06 11:35:55 +00:00
wiz
c90039923e Fix EGGNAME after PKGREVISION bump. 2015-12-06 09:21:06 +00:00
adam
7f3b4730ad Extend PYTHON_VERSIONS_INCOMPATIBLE to 35 2015-12-05 21:25:27 +00:00
ryoon
f3d8369376 Remove unused variable. Bump PKGREVISION. 2015-12-04 09:42:18 +00:00
sborrill
45403b2530 Add dependency on www/py-tornado. Fixes PR/50494 2015-12-04 09:13:33 +00:00
ryoon
c38edc0308 Update to 3.3.0
* Add preliminary NetBSD support code.
  It is sufficient to run letsencrypt python client on NetBSD.

Changelog:
3.3.0 - 2015-11-25
==================

**Enhancements**

- #558: [Linux] exposed psutil.PROCFS_PATH constant to change the default
  location of /proc filesystem.
- #615: [OpenBSD] added OpenBSD support.  (contributed by Landry Breuil)

**Bug fixes**

- #692: [UNIX] Process.name() is no longer cached as it may change.


3.2.2 - 2015-10-04
==================

**Bug fixes**

- #517: [SunOS] net_io_counters failed to detect network interfaces
  correctly on Solaris 10
- #541: [FreeBSD] disk_io_counters r/w times were expressed in seconds instead
  of milliseconds.  (patch by dasumin)
- #610: [SunOS] fix build and tests on Solaris 10
- #623: [Linux] process or system connections raises ValueError if IPv6 is not
  supported by the system.
- #678: [Linux] can't install psutil due to bug in setup.py.
- #688: [Windows] compilation fails with MSVC 2015, Python 3.5. (patch by
  Mike Sarahan)


3.2.1 - 2015-09-03
==================

**Bug fixes**

- #677: [Linux] can't install psutil due to bug in setup.py.


3.2.0 - 2015-09-02
==================

**Enhancements**

- #644: [Windows] added support for CTRL_C_EVENT and CTRL_BREAK_EVENT signals
  to use with Process.send_signal().
- #648: CI test integration for OSX. (patch by Jeff Tang)
- #663: [UNIX] net_if_addrs() now returns point-to-point (VPNs) addresses.
- #655: [Windows] different issues regarding unicode handling were fixed. On
  Python 2 all APIs returning a string will now return an encoded version of it
  by using sys.getfilesystemencoding() codec. The APIs involved are:
  - psutil.net_if_addrs()
  - psutil.net_if_stats()
  - psutil.net_io_counters()
  - psutil.Process.cmdline()
  - psutil.Process.name()
  - psutil.Process.username()
  - psutil.users()

**Bug fixes**

- #513: [Linux] fixed integer overflow for RLIM_INFINITY.
- #641: [Windows] fixed many compilation warnings.  (patch by Jeff Tang)
- #652: [Windows] net_if_addrs() UnicodeDecodeError in case of non-ASCII NIC
  names.
- #655: [Windows] net_if_stats() UnicodeDecodeError in case of non-ASCII NIC
  names.
- #659: [Linux] compilation error on Suse 10. (patch by maozguttman)
- #664: [Linux] compilation error on Alpine Linux. (patch by Bart van Kleef)
- #670: [Windows] segfgault of net_if_addrs() in case of non-ASCII NIC names.
  (patch by sk6249)
- #672: [Windows] compilation fails if using Windows SDK v8.0. (patch by
  Steven Winfield)
- #675: [Linux] net_connections(); UnicodeDecodeError may occur when listing
  UNIX sockets.


3.1.1 - 2015-07-15
==================

**Bug fixes**

- #603: [Linux] ionice_set value range is incorrect.  (patch by spacewander)
- #645: [Linux] psutil.cpu_times_percent() may produce negative results.
- #656: 'from psutil import *' does not work.


3.1.0 - 2015-07-15
==================

**Enhancements**

- #534: [Linux] disk_partitions() added support for ZFS filesystems.
- #646: continuous tests integration for Windows with
  https://ci.appveyor.com/project/giampaolo/psutil.
- #647: new dev guide:
  https://github.com/giampaolo/psutil/blob/master/DEVGUIDE.rst
- #651: continuous code quality test integration with
  https://scrutinizer-ci.com/g/giampaolo/psutil/

**Bug fixes**

- #340: [Windows] Process.open_files() no longer hangs. Instead it uses a
  thred which times out and skips the file handle in case it's taking too long
  to be retrieved.  (patch by Jeff Tang, PR #597)
- #627: [Windows] Process.name() no longer raises AccessDenied for pids owned
  by another user.
- #636: [Windows] Process.memory_info() raise AccessDenied.
- #637: [UNIX] raise exception if trying to send signal to Process PID 0 as it
  will affect os.getpid()'s process group instead of PID 0.
- #639: [Linux] Process.cmdline() can be truncated.
- #640: [Linux] *connections functions may swallow errors and return an
  incomplete list of connnections.
- #642: repr() of exceptions is incorrect.
- #653: [Windows] Add inet_ntop function for Windows XP to support IPv6.
- #641: [Windows] Replace deprecated string functions with safe equivalents.


3.0.1 - 2015-06-18
==================

**Bug fixes**

- #632: [Linux] better error message if cannot parse process UNIX connections.
- #634: [Linux] Proces.cmdline() does not include empty string arguments.
- #635: [UNIX] crash on module import if 'enum' package is installed on python
  < 3.4.


3.0.0 - 2015-06-13
==================

**Enhancements**

- #250: new psutil.net_if_stats() returning NIC statistics (isup, duplex,
  speed, MTU).
- #376: new psutil.net_if_addrs() returning all NIC addresses a-la ifconfig.
- #469: on Python >= 3.4 ``IOPRIO_CLASS_*`` and ``*_PRIORITY_CLASS`` constants
  returned by psutil.Process' ionice() and nice() methods are enums instead of
  plain integers.
- #581: add .gitignore. (patch by Gabi Davar)
- #582: connection constants returned by psutil.net_connections() and
  psutil.Process.connections() were turned from int to enums on Python > 3.4.
- #587: Move native extension into the package.
- #589: Process.cpu_affinity() accepts any kind of iterable (set, tuple, ...),
  not only lists.
- #594: all deprecated APIs were removed.
- #599: [Windows] process name() can now be determined for all processes even
  when running as a limited user.
- #602: pre-commit GIT hook.
- #629: enhanced support for py.test and nose test discovery and tests run.
- #616: [Windows] Add inet_ntop function for Windows XP.

**Bug fixes**

- #428: [all UNIXes except Linux] correct handling of zombie processes;
  introduced new ZombieProcess exception class.
- #512: [BSD] fix segfault in net_connections().
- #555: [Linux] psutil.users() correctly handles ":0" as an alias for
  "localhost"
- #579: [Windows] Fixed open_files() for PID>64K.
- #579: [Windows] fixed many compiler warnings.
- #585: [FreeBSD] net_connections() may raise KeyError.
- #586: [FreeBSD] cpu_affinity() segfaults on set in case an invalid CPU
  number is provided.
- #593: [FreeBSD] Process().memory_maps() segfaults.
- #606: Process.parent() may swallow NoSuchProcess exceptions.
- #611: [SunOS] net_io_counters has send and received swapped
- #614: [Linux]: cpu_count(logical=False) return the number of physical CPUs
  instead of physical cores.
- #618: [SunOS] swap tests fail on Solaris when run as normal user
- #628: [Linux] Process.name() truncates process name in case it contains
  spaces or parentheses.


2.2.1 - 2015-02-02
==================

**Bug fixes**

- #496: [Linux] fix "ValueError: ambiguos inode with multiple PIDs references"
  (patch by Bruno Binet)


2.2.0 - 2015-01-06
==================

**Enhancements**

- #521: drop support for Python 2.4 and 2.5.
- #553: new examples/pstree.py script.
- #564: C extension version mismatch in case the user messed up with psutil
  installation or with sys.path is now detected at import time.
- #568: New examples/pidof.py script.
- #569: [FreeBSD] add support for process CPU affinity.

**Bug fixes**

- #496: [Solaris] can't import psutil.
- #547: [UNIX] Process.username() may raise KeyError if UID can't be resolved.
- #551: [Windows] get rid of the unicode hack for net_io_counters() NIC names.
- #556: [Linux] lots of file handles were left open.
- #561: [Linux] net_connections() might skip some legitimate UNIX sockets.
  (patch by spacewander)
- #565: [Windows] use proper encoding for psutil.Process.username() and
  psutil.users(). (patch by Sylvain Mouquet)
- #567: [Linux] in the alternative implementation of CPU affinity PyList_Append
  and Py_BuildValue return values are not checked.
- #569: [FreeBSD] fix memory leak in psutil.cpu_count(logical=False).
- #571: [Linux] Process.open_files() might swallow AccessDenied exceptions and
  return an incomplete list of open files.
2015-12-01 14:07:36 +00:00
fhajny
15ea06b514 Fix PKGNAME to properly version Python.
Fix lib loading to not use find_library. Fixes NetBSD/SunOS at least.
2015-12-01 13:04:53 +00:00
nils
0965bbe17a Updated sysutils/cuisine to 0.7.11.
There is no changelog from upstream, however the commit history indicates :
- initial freebsd support ;
- Rewrote bogus `ssh_unauthorize` ;
- Always calling apt-get command twice was fixed ;
- Adding yum package remove implementation ;
- adding zypper remove ;
- adding text_replace_regex functionality ;
- better detection of "OK" end messages.
2015-11-27 14:21:26 +00:00
wiedi
e50905aff9 Update sysutils/znapzend to 0.14.1
Changelog:
	- improved documentation on DST field names
	- add notes on HUP signal in documentation
	- fix dataset queries
	- fix recheck handling for offline destinations
	- fixed logging
	- made regexps locale safe
	- allow . and - in userproperties
2015-11-25 23:45:10 +00:00
jperkin
2e912f3292 Remove mk/find-prefix.mk usage from the sysutils category.
The find-prefix infrastructure was required in a pkgviews world where
packages installed from pkgsrc could have different installation
prefixes, and this was a way for a dependency prefix to be determined.

Now that pkgviews has been removed there is no longer any need for the
overhead of this infrastructure.  Instead we use BUILDLINK_PREFIX.pkg
for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the
dependency is coming from pkgsrc.

Provides a reasonable performance win due to the reduction of `pkg_info
-qp` calls, some of which were redundant anyway as they were duplicating
the same information provided by BUILDLINK_PREFIX.pkg.
2015-11-25 12:53:29 +00:00
mrg
f7be07c4ce port this to new cmake: add include(CheckIncludeFiles) 2015-11-25 07:22:58 +00:00
taca
02aaf14df7 Remove 193 from RUBY_VERSION_SUPPORTED. 2015-11-23 15:46:58 +00:00
wiz
3d3d931aa4 Bump PKGREVISION for poppler shlib major bump. 2015-11-23 10:30:15 +00:00
wiz
8a944cb941 Update dbus to 1.10.4:
D-Bus 1.10.4 (2015-11-17)
==

The “Frostburn Canyon” release.

Enhancements:

• GetConnectionCredentials, GetConnectionUnixUser and
  GetConnectionUnixProcessID with argument "org.freedesktop.DBus"
  will now return details of the dbus-daemon itself. This is required
  to be able to call SetEnvironment on systemd.
  (fd.o #92857, Jan Alexander Steffens)

Fixes:

• Make UpdateActivationEnvironment always fail with AccessDenied on the
  system bus. Previously, it was possible to configure it so root could
  call it, but the environment variables were not actually used,
  because the launch helper would discard them.
  (fd.o #92857, Jan Alexander Steffens)

• On Unix with --systemd-activation on a user bus, make
  UpdateActivationEnvironment pass on its arguments to systemd's
  SetEnvironment method, solving inconsistency between the environments
  used for traditional activation and systemd user-service activation.
  (fd.o #92857, Jan Alexander Steffens)

• On Windows, don't crash if <syslog/> or --syslog is used
  (fd.o #92538, Ralf Habacker)

• On Windows, fix a memory leak when setting a DBusError from a Windows
  error (fd.o #92721, Ralf Habacker)

• On Windows, don't go into infinite recursion if we abort the process
  with backtraces enabled (fd.o #92721, Ralf Habacker)

• Fix various failing tests, variously on Windows and cross-platform:
  · don't test system.conf features (users, groups) that only make sense
    on the system bus, which is not supported on Windows
  · don't call _dbus_warn() when we skip a test, since it is fatal
  · fix computation of expected <standard_session_servicedirs/>
  · when running TAP tests, translate newlines to Unix format, fixing
    cross-compiled tests under Wine on Linux
  · don't stress-test refcounting under Wine, where it's really slow
  · stop assuming that a message looped-back to the test will be received
    immediately
  · skip some system bus tests on Windows since they make no sense there
  (fd.o #92538, fd.o #92721; Ralf Habacker, Simon McVittie)
2015-11-22 23:31:29 +00:00
asau
52578b9ff6 "docbook-xsl" is an indirect dependency, xmlto depends on it. 2015-11-19 19:02:18 +00:00
ryoon
b33059afe1 Recursive revbump from multimedia/libvpx 2015-11-18 14:19:46 +00:00
jperkin
17f2ed388b Pull in grp.h and pwd.h from libnbcompat, fixes implicit declaration of
gid_from_group and uid_from_user on Darwin.  Fix (lightly modified by myself)
submitted by Aleksej Lebedev in PR#50440.
2015-11-18 12:12:49 +00:00
wiz
b817bd4527 Update mc to 4.8.15:
Version 4.8.15

- Core
  * Minimal version of GLib is 2.26.0
  * Use the PATH environment variable to search for the executable when opening pipe (#3444)
  * Support more than 2 (up to 9) columns in file panel in brief mode (#3212)
  * Clarify file sorting in "Unsorted" mode (#3496)
  * WGroupbox: respect dialog's colors (#3468)
  * Highlight find file's result in internal viewer (#3530)

- VFS
  * s3 extfs vfs: bugfixes and improvements (#3470, #3502)

- Editor
  * Add hidden option to choose full or base file name in the status line (#3445)
  * Improvements of syntax highlighting:
    - Lua (#3471)
    - PKGBUILD (#3484)

- Misc
  * Text alignment in Info panel (#3155)
  * Select of menu file edit: change default button to "User" (#3493)
  * Recognize .gmo files as well as .mo ones (#3422)
  * Fix mc.pot comment tripping up Transifex and unportable inplace sed (#3479)
  * A lot of code clean up (#3420, #3424, #3426, #3427, #3428, #3429, #3430, #3431, #3434, #3435, #3437, #3463, #3464, #3465, #3466, #3467, #3494, #3495, #3539)
  * Documentation updates:
    - Spanish man and help: Diff Viewer section and minor fixes (#3477)
    - VFS garbage collection (#3472)

- Fixes
  * Various memory leaks (#3438, #3439, #3440, #3457, #3458, #3459, #3460, #3461, #3462, #3475, #3520, #3521, #3522)
  * Linux kernel-specific segfault on startup (#3441)
  * Lost of Panelize contents in some cases (#3032, #3489, #3498, #3507)
  * Wrong highlight of search result in case of "Regular expression" and "Whole words" (#3524)
  * "Whole words" search works only in Normal mode (#3525)
  * SFTP VFS: segfault (#3456)
  * Segfault in "Find file" due to invalid UTF-8 sequences (#3449)
  * Bash variable 'PROMPT_COMMAND' in  pantheon-terminal (#3534)
2015-11-17 11:58:32 +00:00
msaitoh
25f04c5d1c Update to 20151106. Added the following files:
000306f4-7 (Family 6, Model 3f, Stepping 4, Platform ID 7)
	00040671-1 (Family 6, Model 47, Stepping 1, Platform ID 1)
	00040671-5 (Family 6, Model 47, Stepping 1, Platform ID 5)
2015-11-16 16:31:19 +00:00
fhajny
db35a3f0f6 Update sysutils/rsyslog to 8.14.0.
Version 8.14.0 [v8-stable] 2015-11-03
- add property "rawmsg-after-pri"
- bugfix: potential misadresseing in imfile
  Could happen when wildcards were used.
- bugfix: re_extract RainerScript function did not work
2015-11-12 16:41:27 +00:00
msaitoh
d7a9d5553a Allow accessing the extended configuration space. Tested on amd64-current
(support the extended configuration space) and i386 netbsd-7(not support).
2015-11-12 08:54:52 +00:00
adam
f42f931c43 Changes 2015.3.14:
Changes to NTFS-3G:
-------------------
Fixed inserting a new ACL after wiping out by chkdsk
Fixed Windows-type inheritance
Fixed ignoring the umask mount option when permissions are used
Fixed checking permissions when Posix ACLs are compiled in but not enabled
Disabled option remove_hiberfile on read-only mounts
Implemented an extended attribute to get/set EAs
Avoid full runlist updating in more situations
Update ctime after setting an ACL
Use MFT record 15 for the first extent to MFT:DATA
Ignore the sloppy mount option (-s)
Implemented FITRIM (fstrim) ioctl
Reengineered the compression algorithm

Changes to ntfsprogs:
---------------------
Return success from ntfsprogs utilities with options –version and the like
Implemented configure option –enable-quarantined for non functional utilities
Added manuals for ntfsdecrypt, ntfswipe, ntfstruncate and ntfsfallocate
2015-11-10 17:45:22 +00:00
sborrill
bad3f65b01 Update to 2015.8.1
Changelogs from 2014.7.2:
https://docs.saltstack.com/en/develop/topics/releases/2015.8.1.html
https://docs.saltstack.com/en/develop/topics/releases/2015.8.0.html
https://docs.saltstack.com/en/develop/topics/releases/2015.5.6.html
https://docs.saltstack.com/en/develop/topics/releases/2015.5.5.html
https://docs.saltstack.com/en/develop/topics/releases/2015.5.4.html
https://docs.saltstack.com/en/develop/topics/releases/2015.5.3.html
https://docs.saltstack.com/en/develop/topics/releases/2015.5.2.html
https://docs.saltstack.com/en/develop/topics/releases/2015.5.1.html
https://docs.saltstack.com/en/develop/topics/releases/2015.5.0.html
https://docs.saltstack.com/en/develop/topics/releases/2014.7.6.html
https://docs.saltstack.com/en/develop/topics/releases/2014.7.5.html
https://docs.saltstack.com/en/develop/topics/releases/2014.7.4.html
https://docs.saltstack.com/en/develop/topics/releases/2014.7.3.html
2015-11-10 14:48:39 +00:00
fhajny
a93fe71d67 Update sysutils/puppet to 3.8.4
Puppet 3.8.4
- Update Windows OpenSSL version to 1.0.2d from 1.0.0s
- PUP-5271: Windows user resource should not manage password
  unless specified
- PUP-5398: Fix regression that reintroduced file watching for
  directory environmnents
- PUP-5380: Slow catalog run after updating to Puppet 3.7.5
- PUP-5350: Puppet filter function does not behave consistently
  across all supported argument types
- PUP-5271: Windows user resource should not manage password
  unless specified
- PUP-4495: Puppet 3.5.0 introduced a regression in tag filtering
  for catalog runs

Puppet 3.8.3
- PUP-5036: --parser future breaks class application {}
- PUP-3045: exec resource with timeout doesn't kill executed
  command
  that times out
- PUP-4639: Refreshing a LaunchDaemon leaves it disabled
- PUP-5044: launchd enable/disable on OS X 10.10
- PUP-5013: resource evaluation metrics are missing when not
  using an ENC
- PUP-735: Status unchanged when "Could not apply complete
  catalog"
2015-11-10 10:24:14 +00:00
mrg
571299e406 s/long// (leaving "unsigned") in some code that fails when long is
anything but 32 bits (and unsigned is 32 bits in pretty much all
modern platforms.)

this allows ups-nut-usb to work on sparc64 for me, otherwise the
hidparser fails.

bump pkg revision for ups-nut-usb, as that pkg changes (at least
for big endian platforms.)
2015-11-10 08:52:38 +00:00
jnemeth
dce2112b34 Add some missing documentation (man pages and configuration information):
- man/man1/xenstore-chmod.1
- man/man1/xenstore-ls.1
- man/man1/xenstore.1
- share/doc/xen/xen-command-line.markdown
- share/doc/xen/xl-disk-configuration.txt
- share/doc/xen/xl-network-configuration.markdown
2015-11-10 05:18:14 +00:00
jnemeth
896b74afee - build fix for bulk builds
- reset MAINTAINER as MAINTAINER says he no longer wishes to maintain it
  - also, based on commit logs, it appears that almost nobody is
    respecting MAINTAINER anyways
- skip PKGREVISION bump as this is build fix and minor metadata change

Approved by: cegger@
2015-11-07 22:42:20 +00:00
sevan
3d5dcda773 Remove obsolete hacks under instruction from Joerg@, found whilst culling references to amd64.
Unclear if intended for OpenBSD or other operating systems as history does not
indicate.
2015-11-07 22:34:53 +00:00
asau
72ba6661a2 Needs DocBook to build. 2015-11-07 21:33:32 +00:00
fhajny
f775f8df0d Fix PLIST for non-SunOS platforms 2015-11-06 16:05:00 +00:00
wiz
dec620fab0 Update dbus to 1.10.2:
D-Bus 1.10.2 (2015-10-26)
==

The “worst pies in London” release.

Fixes:

• Correct error handling for activation: if there are multiple attempts
  to activate the same service and it fails immediately, the first attempt
  would get the correct reply, but the rest would time out. We now send
  the same error reply to each attempt. (fd.o #92200, Simon McVittie)

• If BecomeMonitor is called with a syntactically invalid match rule,
  don't crash with an assertion failure, fixing a regression in 1.9.10.
  This was not exploitable as a denial of service, because the check
  for a privileged user is done first. (fd.o #92298, Simon McVittie)

• On Linux with --enable-user-session, add the bus address to the
  environment of systemd services for better backwards compatibility
  (fd.o #92612, Jan Alexander Steffens)

• On Windows, fix the logic for replacing the installation prefix
  in service files' Exec lines (fd.o #83539; Milan Crha, Simon McVittie)

• On Windows, if installed in the conventional layout with ${prefix}/etc
  and ${prefix}/share, use relative paths between bus configuration files
  to allow the tree to be relocated (fd.o #92028, Simon McVittie)

• Make more of the regression tests pass in Windows builds (fd.o #92538,
  Simon McVittie)
2015-11-06 09:25:17 +00:00