Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package procenv for openSUSE:Factory checked 
in at 2021-06-21 20:35:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/procenv (Old)
 and      /work/SRC/openSUSE:Factory/.procenv.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "procenv"

Mon Jun 21 20:35:46 2021 rev:5 rq:901092 version:0.57

Changes:
--------
--- /work/SRC/openSUSE:Factory/procenv/procenv.changes  2021-06-14 
23:11:38.996811655 +0200
+++ /work/SRC/openSUSE:Factory/.procenv.new.2625/procenv.changes        
2021-06-21 20:36:12.418663624 +0200
@@ -1,0 +2,10 @@
+Mon Jun 21 07:12:53 UTC 2021 - Michael Vetter <mvet...@suse.com>
+
+- Update to 0.57:
+  * Add macports installation instructions.
+  * --timezone: Enabled for Darwin, FreeBSD, NetBSD and OpenBSD.
+  * --clocks: Add CLOCK_BOOTTIME_ALARM, CLOCK_PROCESS_CPUTIME_ID
+    and CLOCK_REALTIME_ALARM to output.
+  * darwin: Enabled --clocks.
+
+-------------------------------------------------------------------

Old:
----
  procenv-0.56.tar.gz

New:
----
  procenv-0.57.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ procenv.spec ++++++
--- /var/tmp/diff_new_pack.SPvZiq/_old  2021-06-21 20:36:12.878664207 +0200
+++ /var/tmp/diff_new_pack.SPvZiq/_new  2021-06-21 20:36:12.878664207 +0200
@@ -18,7 +18,7 @@
 
 
 Name:           procenv
-Version:        0.56
+Version:        0.57
 Release:        0
 Summary:        Process Environment Dump Tool
 License:        GPL-3.0-or-later

++++++ procenv-0.56.tar.gz -> procenv-0.57.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/procenv-0.56/NEWS new/procenv-0.57/NEWS
--- old/procenv-0.56/NEWS       2021-06-13 10:20:28.000000000 +0200
+++ new/procenv-0.57/NEWS       2021-06-19 13:06:46.000000000 +0200
@@ -1,3 +1,11 @@
+0.57   2021-06-19
+
+       * Add macports installation instructions (thanks Haren).
+       * --timezone: Enabled for Darwin, FreeBSD, NetBSD and OpenBSD.
+       * --clocks: Add `CLOCK_BOOTTIME_ALARM`, `CLOCK_PROCESS_CPUTIME_ID`
+         and `CLOCK_REALTIME_ALARM` to output.
+       * darwin: Enabled `--clocks`.
+
 0.56   2021-06-13
 
        * tidy: compact and align structs for memory size and performance.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/procenv-0.56/README.md new/procenv-0.57/README.md
--- old/procenv-0.56/README.md  2021-06-13 10:20:28.000000000 +0200
+++ new/procenv-0.57/README.md  2021-06-19 13:06:46.000000000 +0200
@@ -14,6 +14,7 @@
     * [Fedora](#fedora)
     * [FreeBSD](#freebsd)
     * [Gentoo](#gentoo)
+    * [macOS](#macos)
     * [SUSE](#suse)
     * [Build from source](#build-from-source)
 * [Results](#results)
@@ -22,6 +23,7 @@
         * [Debian `autopkgtest` (DEP-8) 
environment](#debian-autopkgtest-dep-8-environment)
     * [Fedora build environment](#fedora-build-environment)
     * [Gentoo build environment](#gentoo-build-environment)
+    * [MacPorts build environment](#macports-build-environment)
     * [Open Build Service (OBS) build 
environment](#open-build-service-obs-build-environment)
     * [Semaphore-CI build environment](#semaphore-ci-build-environment)
     * [Travis-CI build environment](#travis-ci-build-environment)
@@ -56,9 +58,9 @@
 - GNU Hurd
 - GNU Linux
 - Minix 3
+- macOS
 - NetBSD
 - OpenBSD
-- OSX
 
 It unashamedly emulates a number of existing system utilities as it is
 attempting to be all-encompassing: I wrote it with the aim of being able to
@@ -113,6 +115,14 @@
 $ sudo emerge sys-process/procenv
 ```
 
+### macOS
+
+Install via [MacPorts](https://ports.macports.org/port/procenv/summary):
+
+```bash
+$ sudo port install procenv
+```
+
 ### SUSE
 
 ```bash
@@ -187,6 +197,10 @@
 
 - https://packages.gentoo.org/packages/sys-process/procenv
 
+### MacPorts build environment
+
+- https://ports.macports.org/port/procenv/
+
 ### Open Build Service (OBS) build environment
 
 - https://build.opensuse.org/package/show/home:jamesodhunt:procenv/procenv
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/procenv-0.56/configure new/procenv-0.57/configure
--- old/procenv-0.56/configure  2021-06-13 10:20:28.000000000 +0200
+++ new/procenv-0.57/configure  2021-06-19 13:06:46.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for procenv 0.56.
+# Generated by GNU Autoconf 2.69 for procenv 0.57.
 #
 # Report bugs to <jamesodh...@gmail.com>.
 #
@@ -582,8 +582,8 @@
 # Identity of this package.
 PACKAGE_NAME='procenv'
 PACKAGE_TARNAME='procenv'
-PACKAGE_VERSION='0.56'
-PACKAGE_STRING='procenv 0.56'
+PACKAGE_VERSION='0.57'
+PACKAGE_STRING='procenv 0.57'
 PACKAGE_BUGREPORT='jamesodh...@gmail.com'
 PACKAGE_URL='https://github.com/jamesodhunt/procenv'
 
@@ -1336,7 +1336,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures procenv 0.56 to adapt to many kinds of systems.
+\`configure' configures procenv 0.57 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1408,7 +1408,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of procenv 0.56:";;
+     short | recursive ) echo "Configuration of procenv 0.57:";;
    esac
   cat <<\_ACEOF
 
@@ -1525,7 +1525,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-procenv configure 0.56
+procenv configure 0.57
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1950,7 +1950,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by procenv $as_me 0.56, which was
+It was created by procenv $as_me 0.57, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2335,7 +2335,7 @@
 
 
 
-PROCENV_VERSION=0.56
+PROCENV_VERSION=0.57
 
 
 # Expand $ac_aux_dir to an absolute path.
@@ -6083,7 +6083,7 @@
 
 # Define the identity of the package.
  PACKAGE='procenv'
- VERSION='0.56'
+ VERSION='0.57'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -7167,7 +7167,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by procenv $as_me 0.56, which was
+This file was extended by procenv $as_me 0.57, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -7234,7 +7234,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-procenv config.status 0.56
+procenv config.status 0.57
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/procenv-0.56/configure.ac 
new/procenv-0.57/configure.ac
--- old/procenv-0.56/configure.ac       2021-06-13 10:20:28.000000000 +0200
+++ new/procenv-0.57/configure.ac       2021-06-19 13:06:46.000000000 +0200
@@ -1,7 +1,7 @@
 #                                               -*- Autoconf -*-
 # Process this file with autoconf to produce a configure script.
 
-m4_define([procenv_version], [0.56])
+m4_define([procenv_version], [0.57])
 
 
AC_INIT(procenv,[procenv_version],[jamesodh...@gmail.com],,[https://github.com/jamesodhunt/procenv])
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/procenv-0.56/procenv.spec 
new/procenv-0.57/procenv.spec
--- old/procenv-0.56/procenv.spec       2021-06-13 10:20:28.000000000 +0200
+++ new/procenv-0.57/procenv.spec       2021-06-19 13:06:46.000000000 +0200
@@ -1,12 +1,12 @@
 Name:           procenv
-Version:        0.56
+Version:        0.57
 Release:        1%{?dist}
 Summary:        Utility to show process environment
 
 Group:          Applications/System
 License:        GPLv3+
 URL:            https://github.com/jamesodhunt/procenv
-Source0:        https://github.com/jamesodhunt/procenv/archive/0.56.tar.gz
+Source0:        https://github.com/jamesodhunt/procenv/archive/0.57.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # fixme: should be autoconf >= 2.68, but Fedora packages or alien'ed dpkg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/procenv-0.56/src/platform/darwin/platform.c 
new/procenv-0.57/src/platform/darwin/platform.c
--- old/procenv-0.56/src/platform/darwin/platform.c     2021-06-13 
10:20:28.000000000 +0200
+++ new/procenv-0.57/src/platform/darwin/platform.c     2021-06-19 
13:06:46.000000000 +0200
@@ -161,7 +161,7 @@
 
        current = getpid ();
 
-       /* XXX: This system interface seems horribly racy - what if the numbe 
of pids
+       /* XXX: This system interface seems horribly racy - what if the number 
of pids
         * XXX: changes between the 1st and 2nd call to sysctl() ???
         */
        while (! done) {
@@ -350,9 +350,11 @@
 
        .show_confstrs                 = show_confstrs_generic,
        .show_cpu                      = show_cpu_darwin,
+       .show_clocks                   = show_clocks_generic,
        .show_fds                      = show_fds_generic,
        .show_mounts                   = show_mounts_darwin,
        .show_rlimits                  = show_rlimits_generic,
+       .show_timezone                 = show_timezone_generic,
 
        .handle_memory                 = show_memory_darwin,
 };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/procenv-0.56/src/platform/freebsd/platform.c 
new/procenv-0.57/src/platform/freebsd/platform.c
--- old/procenv-0.56/src/platform/freebsd/platform.c    2021-06-13 
10:20:28.000000000 +0200
+++ new/procenv-0.57/src/platform/freebsd/platform.c    2021-06-19 
13:06:46.000000000 +0200
@@ -555,6 +555,7 @@
        .show_fds                      = show_fds_generic,
        .show_mounts                   = show_mounts_freebsd,
        .show_rlimits                  = show_rlimits_generic,
+       .show_timezone                 = show_timezone_generic,
 
        .handle_memory                 = show_memory_generic,
        .handle_proc_branch            = handle_proc_branch_freebsd,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/procenv-0.56/src/platform/linux/platform.c 
new/procenv-0.57/src/platform/linux/platform.c
--- old/procenv-0.56/src/platform/linux/platform.c      2021-06-13 
10:20:28.000000000 +0200
+++ new/procenv-0.57/src/platform/linux/platform.c      2021-06-19 
13:06:46.000000000 +0200
@@ -1622,17 +1622,6 @@
     return;
 }
 
-static void
-show_timezone_linux (void)
-{
-       tzset ();
-
-       entry ("tzname[0]", "'%s'", tzname[0]);
-       entry ("tzname[1]", "'%s'", tzname[1]);
-       entry ("timezone", "%ld", timezone);
-       entry ("daylight", "%d", daylight);
-}      
-
 static const char *
 get_ioprio_class_name (int ioprio)
 {
@@ -2232,7 +2221,7 @@
        .show_security_module          = show_security_module_linux,
        .show_semaphores               = show_semaphores_linux,
        .show_shared_mem               = show_shared_mem_linux,
-       .show_timezone                 = show_timezone_linux,
+       .show_timezone                 = show_timezone_generic,
 
        .handle_memory                 = show_memory_generic,
        .handle_numa_memory            = handle_numa_memory_linux,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/procenv-0.56/src/platform/netbsd/platform.c 
new/procenv-0.57/src/platform/netbsd/platform.c
--- old/procenv-0.56/src/platform/netbsd/platform.c     2021-06-13 
10:20:28.000000000 +0200
+++ new/procenv-0.57/src/platform/netbsd/platform.c     2021-06-19 
13:06:46.000000000 +0200
@@ -234,6 +234,7 @@
        .show_fds                      = show_fds_generic,
        .show_mounts                   = show_mounts_netbsd,
        .show_rlimits                  = show_rlimits_generic,
+       .show_timezone                 = show_timezone_generic,
 
        .handle_proc_branch            = handle_proc_branch_netbsd,
 };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/procenv-0.56/src/platform/openbsd/platform.c 
new/procenv-0.57/src/platform/openbsd/platform.c
--- old/procenv-0.56/src/platform/openbsd/platform.c    2021-06-13 
10:20:28.000000000 +0200
+++ new/procenv-0.57/src/platform/openbsd/platform.c    2021-06-19 
13:06:46.000000000 +0200
@@ -197,6 +197,7 @@
        .show_fds                      = show_fds_generic,
        .show_mounts                   = show_mounts_openbsd,
        .show_rlimits                  = show_rlimits_generic,
+       .show_timezone                 = show_timezone_generic,
 
        .handle_proc_branch            = handle_proc_branch_openbsd,
 };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/procenv-0.56/src/platform/platform-generic.c 
new/procenv-0.57/src/platform/platform-generic.c
--- old/procenv-0.56/src/platform/platform-generic.c    2021-06-13 
10:20:28.000000000 +0200
+++ new/procenv-0.57/src/platform/platform-generic.c    2021-06-19 
13:06:46.000000000 +0200
@@ -41,49 +41,74 @@
        show_limit (RLIMIT_STACK);
 }
 
-#if !defined (PROCENV_PLATFORM_DARWIN)
-
 void
 show_clocks_generic (void)
 {
-       show_clock_res (CLOCK_REALTIME);
-
-#if defined CLOCK_REALTIME_COARSE
-       show_clock_res (CLOCK_REALTIME_COARSE);
+#ifdef CLOCK_BOOTTIME
+       show_clock_res (CLOCK_BOOTTIME);
 #endif
 
-#if defined CLOCK_REALTIME_HR
-       show_clock_res (CLOCK_REALTIME_HR);
+#ifdef CLOCK_BOOTTIME_ALARM
+       show_clock_res (CLOCK_BOOTTIME_ALARM);
 #endif
 
+#ifdef CLOCK_MONOTONIC
        show_clock_res (CLOCK_MONOTONIC);
+#endif
 
-#if defined CLOCK_MONOTONIC_COARSE
+#ifdef CLOCK_MONOTONIC_COARSE
        show_clock_res (CLOCK_MONOTONIC_COARSE);
 #endif
 
-#if defined CLOCK_MONOTONIC_RAW
+#ifdef CLOCK_MONOTONIC_RAW
        show_clock_res (CLOCK_MONOTONIC_RAW);
 #endif
 
-#if defined (PROCENV_PLATFORM_LINUX) || defined (PROCENV_PLATFORM_HURD)
+#ifdef CLOCK_MONOTONIC_RAW_APPROX
+       show_clock_res (CLOCK_MONOTONIC_RAW_APPROX);
+#endif
 
+#ifdef CLOCK_PROCESS_CPUTIME_ID
        show_clock_res (CLOCK_PROCESS_CPUTIME_ID);
-       show_clock_res (CLOCK_THREAD_CPUTIME_ID);
-#if defined CLOCK_BOOTTIME
-       show_clock_res (CLOCK_BOOTTIME);
 #endif
 
+#ifdef CLOCK_REALTIME
+       show_clock_res (CLOCK_REALTIME);
+#endif
+
+#ifdef CLOCK_REALTIME_ALARM
+       show_clock_res (CLOCK_REALTIME_ALARM);
+#endif
+
+#ifdef CLOCK_REALTIME_COARSE
+       show_clock_res (CLOCK_REALTIME_COARSE);
+#endif
+
+#ifdef CLOCK_REALTIME_HR
+       show_clock_res (CLOCK_REALTIME_HR);
 #endif
 
-#if defined CLOCK_TAI
+#ifdef CLOCK_TAI
        show_clock_res (CLOCK_TAI);
 #endif
 
-}
+#ifdef CLOCK_PROCESS_CPUTIME_ID
+       show_clock_res (CLOCK_PROCESS_CPUTIME_ID);
+#endif
+
+#ifdef CLOCK_THREAD_CPUTIME_ID
+       show_clock_res (CLOCK_THREAD_CPUTIME_ID);
+#endif
 
+#ifdef CLOCK_UPTIME_RAW
+       show_clock_res (CLOCK_UPTIME_RAW);
 #endif
 
+#ifdef CLOCK_UPTIME_RAW_APPROX
+       show_clock_res (CLOCK_UPTIME_RAW_APPROX);
+#endif
+}
+
 long
 get_kernel_bits_generic (void)
 {
@@ -1061,3 +1086,22 @@
 }
 
 #endif /* PROCENV_PLATFORM_LINUX || PROCENV_PLATFORM_HURD */
+
+#if defined (PROCENV_PLATFORM_LINUX) || defined (PROCENV_PLATFORM_BSD) || 
defined (PROCENV_PLATFORM_DARWIN)
+
+void
+show_timezone_generic (void)
+{
+       tzset ();
+
+       entry ("tzname[0]", "'%s'", tzname[0]);
+       entry ("tzname[1]", "'%s'", tzname[1]);
+
+       entry ("timezone", "%ld", timezone);
+
+#ifndef PROCENV_PLATFORM_BSD
+       entry ("daylight", "%d", daylight);
+#endif
+}
+
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/procenv-0.56/src/platform/platform-generic.h 
new/procenv-0.57/src/platform/platform-generic.h
--- old/procenv-0.56/src/platform/platform-generic.h    2021-06-13 
10:20:28.000000000 +0200
+++ new/procenv-0.57/src/platform/platform-generic.h    2021-06-19 
13:06:46.000000000 +0200
@@ -69,8 +69,15 @@
 
 #if !defined (PROCENV_PLATFORM_DARWIN)
 bool get_time_generic (struct timespec *ts);
-void show_clocks_generic (void);
 void show_memory_generic (void);
 #endif
 
+void show_clocks_generic (void);
+
+#if defined (PROCENV_PLATFORM_LINUX) || defined (PROCENV_PLATFORM_BSD) || 
defined (PROCENV_PLATFORM_DARWIN)
+
+void show_timezone_generic (void);
+
+#endif
+
 #endif /* _PROCENV_PLATFORM_GENERIC_H */

Reply via email to