SHA256
1
0
forked from pool/earlyoom

Accepting request 781663 from home:13ilya

- Add PREFIX=%{_prefix} to %make_build macro for correct ExecStart.
- Update to 1.4
  * https://github.com/rfjakob/earlyoom#changelog 
  * Make victim selection logic 50% faster by lazy-loading process
    attributes.
  * Log the user id uid of killed processes in addition to pid and
    name.
  * Color debug log in light grey.
  * Code clean-up
    * Use block-local variables where possible.
    * Introduce PATH_LEN to replace several hardcoded buffer
      lengths.
  * Expand testsuite (make test).
  * Run cppcheck when available.
  * Add unit-test benchmarks (make bench).
  * Drop root privileges in systemd unit file earlyoom.service.
  * Fix spurious testsuite failure on systems with a lot of RAM.

OBS-URL: https://build.opensuse.org/request/show/781663
OBS-URL: https://build.opensuse.org/package/show/Base:System/earlyoom?expand=0&rev=19
This commit is contained in:
OBS User embar- 2020-03-17 06:08:04 +00:00 committed by Git OBS Bridge
parent ee2407c81d
commit 4c7adb5347
4 changed files with 26 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2c605017d1208e43b92708e9bae623bc860b6ab2e5390c935e5e10ac932016f8
size 31399

3
earlyoom-1.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:859d044fc5149fb446e4f3cf3278a524c5f74084026152356de6b7c1270b47ce
size 48895

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Wed Mar 4 17:40:07 UTC 2020 - Илья Индиго <ilya@ilya.pp.ua>
- Add PREFIX=%{_prefix} to %make_build macro for correct ExecStart.
- Update to 1.4
* https://github.com/rfjakob/earlyoom#changelog
* Make victim selection logic 50% faster by lazy-loading process
attributes.
* Log the user id uid of killed processes in addition to pid and
name.
* Color debug log in light grey.
* Code clean-up
* Use block-local variables where possible.
* Introduce PATH_LEN to replace several hardcoded buffer
lengths.
* Expand testsuite (make test).
* Run cppcheck when available.
* Add unit-test benchmarks (make bench).
* Drop root privileges in systemd unit file earlyoom.service.
* Fix spurious testsuite failure on systems with a lot of RAM.
-------------------------------------------------------------------
Fri Feb 21 06:55:10 UTC 2020 - Илья Индиго <ilya@ilya.pp.ua>

View File

@ -20,7 +20,7 @@
%global _fillupdir %{_localstatedir}/adm/fillup-templates
%endif
Name: earlyoom
Version: 1.3
Version: 1.4
Release: 0
Summary: Early OOM Daemon for Linux
License: MIT
@ -51,7 +51,7 @@ sed -ri '/LDFLAGS/ s|$| -lrt|' Makefile
%build
CFLAGS='%{optflags} -DVERSION=\"%{version}\" -std=gnu99'
%make_build CFLAGS="$CFLAGS"
%make_build CFLAGS="$CFLAGS" PREFIX=%{_prefix}
%install
%make_install PREFIX=%{_prefix} SYSTEMDUNITDIR=%{_unitdir}