commit cpulimit for openSUSE:Factory

2020-09-01 Thread root
Hello community,

here is the log from the commit of package cpulimit for openSUSE:Factory 
checked in at 2020-09-01 20:10:25

Comparing /work/SRC/openSUSE:Factory/cpulimit (Old)
 and  /work/SRC/openSUSE:Factory/.cpulimit.new.3399 (New)


Package is "cpulimit"

Tue Sep  1 20:10:25 2020 rev:3 rq:830988 version:2.6

Changes:

--- /work/SRC/openSUSE:Factory/cpulimit/cpulimit.changes2018-02-19 
13:04:10.759128089 +0100
+++ /work/SRC/openSUSE:Factory/.cpulimit.new.3399/cpulimit.changes  
2020-09-01 20:10:41.972685891 +0200
@@ -1,0 +2,7 @@
+Tue Aug 25 21:26:56 UTC 2020 - Dirk Mueller 
+
+- update to 2.6:
+  * Fixed indentation to avoid compiler warnings. No functional change.
+  * Updated manual page to warn against using -m on a script.
+
+---

Old:

  cpulimit-2.5.tar.gz

New:

  cpulimit-2.6.tar.gz



Other differences:
--
++ cpulimit.spec ++
--- /var/tmp/diff_new_pack.ZzrA9E/_old  2020-09-01 20:10:42.808686282 +0200
+++ /var/tmp/diff_new_pack.ZzrA9E/_new  2020-09-01 20:10:42.812686284 +0200
@@ -2,7 +2,7 @@
 #
 # spec file for package cpulimit
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -13,17 +13,17 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   cpulimit
-Version:2.5
+Version:2.6
 Release:0
 Summary:Limit the CPU Usage of a Process
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  System/Monitoring
-Url:http://limitcpu.sourceforge.net/
+URL:http://limitcpu.sourceforge.net/
 Source0:
http://prdownloads.sourceforge.net/limitcpu/%{name}-%{version}.tar.gz
 Patch0: %{name}-2.2-do_not_forget_version.patch
 BuildRequires:  gcc
@@ -46,15 +46,16 @@
 %patch0 -p1
 
 %build
-make %{?_smp_mflags} \
+%make_build \
 CFLAGS="%{optflags}"
 
 %install
 %make_install PREFIX=%{buildroot}/%{_prefix}
 
 %files
-%doc LICENSE CHANGELOG README TODO
+%license LICENSE
+%doc CHANGELOG README
 %{_bindir}/%{name}
-%{_mandir}/man1/%{name}.1%{ext_man}
+%{_mandir}/man1/%{name}.1%{?ext_man}
 
 %changelog

++ cpulimit-2.5.tar.gz -> cpulimit-2.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpulimit-2.5/CHANGELOG new/cpulimit-2.6/CHANGELOG
--- old/cpulimit-2.5/CHANGELOG  2017-03-27 19:03:18.0 +0200
+++ new/cpulimit-2.6/CHANGELOG  2019-04-07 23:26:53.0 +0200
@@ -1,3 +1,9 @@
+== Changes in 2.6 (unreleased) 
+
+* Fixed indentation to avoid compiler warnings. No functional change.
+
+* Updated manual page to warn against using -m on a script.
+
 == Changes in 2.5 =
 
 * Added some protection against causing a fork bomb
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpulimit-2.5/Makefile new/cpulimit-2.6/Makefile
--- old/cpulimit-2.5/Makefile   2017-03-27 19:01:48.0 +0200
+++ new/cpulimit-2.6/Makefile   2019-04-07 23:53:59.0 +0200
@@ -1,4 +1,4 @@
-VERSION?=2.5
+VERSION?=2.6
 PREFIX?=/usr
 CFLAGS?=-Wall -O2 -DVERSION=$(VERSION)
 CC?=gcc
@@ -35,5 +35,5 @@
$(MAKE) -C test clean
 
 tarball: clean
-   cd .. && tar czf cpulimit-$(VERSION).tar.gz cpulimit-$(VERSION) 
--exclude=.svn
+   cd .. && tar czf cpulimit-$(VERSION).tar.gz --exclude=.svn 
cpulimit-$(VERSION) 

diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpulimit-2.5/README new/cpulimit-2.6/README
--- old/cpulimit-2.5/README 2016-11-19 23:23:20.0 +0100
+++ new/cpulimit-2.6/README 2019-04-07 23:27:05.0 +0200
@@ -42,11 +42,11 @@
 Once you have downloaded a copy of LimitCPU building should be fairly
 straight forward. First we unpack the source code
 
-tar zxf cpulimit-2.2.tar.gz
+tar zxf cpulimit-2.6.tar.gz
 
 Then we run the makefile.
 
-cd cpulimit-2.2
+cd cpulimit-2.6
 make
 
 This should produce the executable file "cpulimit". If you would like
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpulimit-2.5/TODO new/cpulimit-2.6/TODO
--- old/cpulimit-2.5/TODO   2016-11-19 23:23:20.0 +0100
+++ new/cpulimit-2.6/TODO   1970-01-01 01:00:00.0 +0100
@@ -1 +0,0 @@
-
diff -urN '--exclude=CVS' 

commit cpulimit for openSUSE:Factory

2018-02-19 Thread root
Hello community,

here is the log from the commit of package cpulimit for openSUSE:Factory 
checked in at 2018-02-19 13:03:32

Comparing /work/SRC/openSUSE:Factory/cpulimit (Old)
 and  /work/SRC/openSUSE:Factory/.cpulimit.new (New)


Package is "cpulimit"

Mon Feb 19 13:03:32 2018 rev:2 rq:577907 version:2.5

Changes:

--- /work/SRC/openSUSE:Factory/cpulimit/cpulimit.changes2015-01-08 
23:01:44.0 +0100
+++ /work/SRC/openSUSE:Factory/.cpulimit.new/cpulimit.changes   2018-02-19 
13:04:10.759128089 +0100
@@ -1,0 +2,18 @@
+Sun Feb 18 08:34:12 UTC 2018 - avin...@opensuse.org
+
+- new upstream version 2.5
+  * Added some protection against causing a fork bomb when the
+throttled process is a parent to LimitCPU.
+- includes 2.4
+  * Introduced ability to watch children of the target process. This
+means forks of the process we are throttling can also be
+throttled, using the "-m" or "--monitor-forks" flags.
+- includes 2.3
+  * Applied patch to man page which fixes -s description.
+  * Added --foreground, -f flag for launching target programs in the
+foreground. LimitCPU then waits for the target process to exit.
+Should be useful in scripts.
+- rebase cpulimit-2.2-do_not_forget_version.patch
+- cleanup with spec-cleaner
+
+---

Old:

  cpulimit-2.2.tar.gz

New:

  cpulimit-2.5.tar.gz



Other differences:
--
++ cpulimit.spec ++
--- /var/tmp/diff_new_pack.cKKSmU/_old  2018-02-19 13:04:12.107079477 +0100
+++ /var/tmp/diff_new_pack.cKKSmU/_new  2018-02-19 13:04:12.115079188 +0100
@@ -2,7 +2,7 @@
 #
 # spec file for package cpulimit
 #
-# Copyright (c) 2012-2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,18 +18,17 @@
 
 
 Name:   cpulimit
-Version:2.2
+Version:2.5
 Release:0
 Summary:Limit the CPU Usage of a Process
 License:GPL-2.0+
 Group:  System/Monitoring
 Url:http://limitcpu.sourceforge.net/
-Source0:
http://prdownloads.sourceforge.net/limitcpu/cpulimit-%{version}.tar.gz
+Source0:
http://prdownloads.sourceforge.net/limitcpu/%{name}-%{version}.tar.gz
 Patch0:%{name}-2.2-do_not_forget_version.patch
 BuildRequires:  gcc
 BuildRequires:  glibc-devel
 BuildRequires:  make
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 LimitCPU is a program to throttle the CPU cycles used by other applications.
@@ -47,21 +46,15 @@
 %patch0 -p1
 
 %build
-make %{?_smp_flags} \
-PREFIX="%{_prefix}" \
+make %{?_smp_mflags} \
 CFLAGS="%{optflags}"
 
 %install
-install -D -m0755 %{name} "%{buildroot}%{_bindir}/%{name}"
-install -D -m0644 %{name}.1 "%{buildroot}%{_mandir}/man1/%{name}.1"
-
-%clean
-%{?buildroot:rm -rf %{buildroot}}
+%make_install PREFIX=%{buildroot}/%{_prefix}
 
 %files
-%defattr(-,root,root)
 %doc LICENSE CHANGELOG README TODO
 %{_bindir}/%{name}
-%doc %{_mandir}/man1/%{name}.1%{ext_man}
+%{_mandir}/man1/%{name}.1%{ext_man}
 
 %changelog

++ cpulimit-2.2-do_not_forget_version.patch ++
--- /var/tmp/diff_new_pack.cKKSmU/_old  2018-02-19 13:04:12.139078323 +0100
+++ /var/tmp/diff_new_pack.cKKSmU/_new  2018-02-19 13:04:12.139078323 +0100
@@ -1,12 +1,11 @@
-diff -uNr old-cpulimit-2.2/cpulimit.c cpulimit-2.2/cpulimit.c
 old-cpulimit-2.2/cpulimit.c2014-12-26 10:24:53.788487238 +0100
-+++ cpulimit-2.2/cpulimit.c2014-12-26 10:25:17.024096912 +0100
+--- a/cpulimit.c   2014-12-26 10:24:53.788487238 +0100
 b/cpulimit.c   2014-12-26 10:25:17.024096912 +0100
 @@ -80,7 +80,7 @@
  #endif
  
  #ifndef VERSION
--#define VERSION 2.1
-+#define VERSION 2.2
+-#define VERSION 2.4
++#define VERSION 2.5
  #endif
  
  //pid of the controlled process

++ cpulimit-2.2.tar.gz -> cpulimit-2.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cpulimit-2.2/CHANGELOG new/cpulimit-2.5/CHANGELOG
--- old/cpulimit-2.2/CHANGELOG  2014-05-24 00:09:14.0 +0200
+++ new/cpulimit-2.5/CHANGELOG  2017-03-27 19:03:18.0 +0200
@@ -1,3 +1,24 @@
+== Changes in 2.5 =
+
+* Added some protection against causing a fork bomb
+  when the throttled process is a parent to LimitCPU.
+  Patch provided by Johann Felix.
+
+== Changes in 2.4 =
+
+* Introduced ability to watch children of the target
+  process. This means forks of the process we are throttling
+  can also be throttled, using the "-m" or "--monitor-forks" 

commit cpulimit for openSUSE:Factory

2015-01-08 Thread h_root
Hello community,

here is the log from the commit of package cpulimit for openSUSE:Factory 
checked in at 2015-01-08 23:01:42

Comparing /work/SRC/openSUSE:Factory/cpulimit (Old)
 and  /work/SRC/openSUSE:Factory/.cpulimit.new (New)


Package is cpulimit

Changes:

New Changes file:

--- /dev/null   2014-12-25 22:38:16.200041506 +0100
+++ /work/SRC/openSUSE:Factory/.cpulimit.new/cpulimit.changes   2015-01-08 
23:01:44.0 +0100
@@ -0,0 +1,71 @@
+---
+Fri Dec 26 09:11:15 UTC 2014 - and...@opensuse.org
+
+- new upstream version 2.2
+  + Escaped double-dashed in manual page to avoid
+  warnings from Debian check tool.
+  + Added -s --signal flag. This flag allows the user to
+  specify an alternative signal to send a watched process
+  when cpulimit terminates. By default we send SIGCONT.
+  The -s flag can accept a number (1-35) or a written
+  value such as SIGCONT, SIGSTOP, SIGINT, SIGTERM.
+
+- from version 2.1
+  + Added the --quiet (-q) flag to make 
+  limitcpu run silently
+  + Make sure error messages are printed to stderr.
+  + Placed source code in Subversion (svn) repository.
+  Accessable using the SVN checkout command. For
+  details, please see the README file.
+
+- from version 2.0
+  + Added the -- flag to make sure child processes
+  run with command line flags would not confuse
+  cpulimit.
+  + Corrected output of child process name in verbose mode.
+
+- added cpulimit-2.2-do_not_forget_version.patch
+
+---
+Wed Jul 24 00:34:45 UTC 2013 - malcolmle...@opensuse.org
+
+- Updated to version 1.9:
+  + Added --kill (-k) and --restore (-r) flags to allow target
+processes to be killed and restored rather than simply
+throttled.
+- Updates from version 1.8:
+  + When displaying verbose output, cpulimit now redisplays the
+column headers every 20 lines.
+  + Fixed limiting CPU usage on multicore machines when the desired
+usage limit is great than 100%.
+
+---
+Fri Aug 24 20:10:09 UTC 2012 - devel.opensuse@gmail.com
+
+- Upstream update to version 1.7:
+  * Minor code cleanup.
+  * Make sure we do not try to throttle our own process.
+  * Added tarball option to the Makefile to assist
+in packaging. Moved version number to the makefile.
+  * Added version information to CPUlimit's help screen.
+  * Detect the number of CPU cores on the machine and
+cap the % we can limit. 1 CPU means we can
+limit processes 1-100%, 2 means 1-200%, 4 means 1-400%.
+  * Removed extra priority changes. We now only bump
+our priority once, if we have access to do so.
+Also simplified priority increases so it's flexible
+rather than all or nothing.
+  * Since we now attempt to detect the number of CPUs
+available, we also give the user the ability to
+override our guess. The -c and --cpu flags have
+been added for this purpose.
+  * Commands can be launched and throttled by appending
+commands to the end of CPUlimit's argument list. For
+example:
+cpulimit -l 25 firefox
+
+---
+Tue May 17 23:26:20 CET 2011 - pascal.ble...@opensuse.org
+
+- initial version (1.3)
+

New:

  cpulimit-2.2-do_not_forget_version.patch
  cpulimit-2.2.tar.gz
  cpulimit.changes
  cpulimit.spec



Other differences:
--
++ cpulimit.spec ++
# vim: set sw=4 ts=4 et nu:
#
# spec file for package cpulimit
#
# Copyright (c) 2012-2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:   cpulimit
Version:2.2
Release:0
Summary:Limit the CPU Usage of a Process
License:GPL-2.0+
Group:  System/Monitoring
Url:http://limitcpu.sourceforge.net/
Source0:
http://prdownloads.sourceforge.net/limitcpu/cpulimit-%{version}.tar.gz
Patch0: %{name}-2.2-do_not_forget_version.patch
BuildRequires:  gcc
BuildRequires:  glibc-devel
BuildRequires:  make
BuildRoot:  %{_tmppath}/%{name}-%{version}-build