1
0
forked from pool/forkstat

37 Commits

Author SHA256 Message Date
7a0607d57d Accepting request 1174481 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1174481
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forkstat?expand=0&rev=18
2024-05-16 15:17:07 +00:00
120999b270 Accepting request 1172975 from home:dirkmueller:Factory
- update to 0.03.02:
  * Makefile: remove snap from make dist rule
  * debian/rules: update hardening flags
  * Update copyright to 2024
  * Check for array bounds limit while parsing pid length string

  * add missing memory initialization to zero

OBS-URL: https://build.opensuse.org/request/show/1172975
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/forkstat?expand=0&rev=39
2024-05-16 12:06:34 +00:00
1536a2597b Accepting request 1072735 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1072735
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forkstat?expand=0&rev=17
2023-03-18 23:31:01 +00:00
328cd48b03 Accepting request 1072702 from home:dirkmueller:Factory
- update to 0.03.01:
  * Makefile: bump version
  * debian/control: update standards version to 4.6.2
  * Manual: update copyright
  * forkstat: add -p process group id filtering option
  * forkstat: handle empty arg in argv[], replace with ' '
  * forkstat: make cmdline buffer 64K, allocate on heap

OBS-URL: https://build.opensuse.org/request/show/1072702
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/forkstat?expand=0&rev=37
2023-03-17 19:41:51 +00:00
787f32937d Accepting request 1060303 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1060303
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forkstat?expand=0&rev=16
2023-01-23 17:31:44 +00:00
704b74c2fe Accepting request 1060287 from home:amanzini:branches:server:monitoring
- Update to 0.03.00
  * Remove redundant null check on ptr
  * Update copyright
  * forkstat: remove redundant assignment to ptr
  * Add STAT_NONE to event_t enum and use it instead of 0

OBS-URL: https://build.opensuse.org/request/show/1060287
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/forkstat?expand=0&rev=35
2023-01-22 21:15:54 +00:00
b0951b7d68 Accepting request 847945 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/847945
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forkstat?expand=0&rev=15
2020-11-12 21:47:57 +00:00
c69e378520 Accepting request 846849 from home:mnhauke
- Update to version 0.02.16
  * forkstat: handle weird comm field in /proc/$PID/stat
  * conditionally build in helper functions

OBS-URL: https://build.opensuse.org/request/show/846849
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/forkstat?expand=0&rev=33
2020-11-11 19:58:22 +00:00
4f94b86f1a Accepting request 828649 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/828649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forkstat?expand=0&rev=14
2020-08-24 13:13:16 +00:00
1a1b15e6f8 Accepting request 827346 from home:dirkmueller:branches:server:monitoring
- update to 0.02.15:
  * add missing memory initialization to zero

OBS-URL: https://build.opensuse.org/request/show/827346
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/forkstat?expand=0&rev=31
2020-08-22 09:16:47 +00:00
2b26f057d5 Accepting request 782654 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/782654
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forkstat?expand=0&rev=13
2020-03-08 21:24:36 +00:00
af0f25e52c Accepting request 782653 from home:mnhauke
- Drop SLE12 compat ifdef

OBS-URL: https://build.opensuse.org/request/show/782653
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/forkstat?expand=0&rev=29
2020-03-08 10:45:47 +00:00
Lars Vogdt
f479c5ea00 Accepting request 780481 from home:mnhauke
- Update to version 0.02.14
  * Add effictive user id (EUID) for -x option
- Supplement against bash-completion, not bash

OBS-URL: https://build.opensuse.org/request/show/780481
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/forkstat?expand=0&rev=28
2020-03-02 06:58:06 +00:00
Lars Vogdt
c7dedf9dc9 Accepting request 779421 from home:mnhauke
- Update to version 0.02.13
  * Add bash completion

OBS-URL: https://build.opensuse.org/request/show/779421
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/forkstat?expand=0&rev=27
2020-02-26 23:08:17 +00:00
bc3b7bd604 Accepting request 757555 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/757555
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forkstat?expand=0&rev=12
2019-12-17 15:54:52 +00:00
7648259c5f Accepting request 757162 from home:mnhauke
- Update to version 0.02.12
  * Remove no-op free_proc_comm call on an unknown comm field
  * Return no info rather than NULL if proc_info_get returns NULL
  * Re-work unknown cmdline information

OBS-URL: https://build.opensuse.org/request/show/757162
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/forkstat?expand=0&rev=25
2019-12-17 14:00:28 +00:00
2dc1364e2e Accepting request 728285 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/728285
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forkstat?expand=0&rev=11
2019-09-05 10:45:07 +00:00
0e22117b3f Accepting request 726438 from home:mnhauke
- Update to version 0.02.11
  * fix off-by-one end of string strncpy bug in tty name copying

- Update to version 0.02.10
  * Fix spelling mistake in manual
  * Update copyright year

OBS-URL: https://build.opensuse.org/request/show/726438
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/forkstat?expand=0&rev=23
2019-09-04 12:46:11 +00:00
84113a39d3 Accepting request 666479 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/666479
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forkstat?expand=0&rev=10
2019-01-21 09:57:57 +00:00
Lars Vogdt
af2e7b2728 Accepting request 664971 from home:mnhauke
- Update to version 0.02.09
  * Manual: update date
  * Add -X option, fix up short getopts help with missing options
  * forkstat: add in -c option in help info
- Update to version 0.02.08
  * Reduce scope of pointer ptr
  * Use unsigned int for %u format specifiers
  * Add -c comm field info, also track comm field changes in proc info
- Update to version 0.02.07
  * remove '\r' and '\n' from command line process name
- Update to version 0.02.06
  * Add some extra paranoid clearing of tty and strncpy length,
    fixes potential buffer overrun
  * Add caching of dev to tty name lookup to fix expensive lookups
  * Add caching of uid to name lookup, print username rather than uids
    to fix expensive lookups
  * forkstat: pack structs a little more efficiently to save memory

OBS-URL: https://build.opensuse.org/request/show/664971
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/forkstat?expand=0&rev=21
2019-01-16 13:43:16 +00:00
67463818ec Accepting request 624404 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/624404
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forkstat?expand=0&rev=9
2018-07-22 21:05:09 +00:00
b7f43b658a Accepting request 622504 from home:mnhauke
- Update to version 0.02.05
  * Makefile: bump version
  * Manual, change -e all to -E in example to show alternate form
  * Reformat some lines, comments and overly wide scanf
  * Minor code clean ups
  * Ensure all fields in no_info are initialized
  * Manual: Fix process table information formatting
  * Voidify function returns
  * Add more constifications
  * Add -E (enable all events) option
  * PROC_EVENT_COREDUMP has been introduced in kernel version 3.10
  * Replace curved corner glyph with square corner

OBS-URL: https://build.opensuse.org/request/show/622504
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/forkstat?expand=0&rev=19
2018-07-21 08:32:00 +00:00
7caf6555a3 Accepting request 622043 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/622043
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forkstat?expand=0&rev=8
2018-07-12 07:19:58 +00:00
77b7bf52ea Accepting request 622030 from home:mnhauke
- Update to version 0.02.04
  * Makefile: bump version
  * Add .travis.yml to make dist rule
  * Makefile + debian/watch: produce a .xz tarball
  * Fix checking on zero sized reads
  * Add detection of first time all alive processes were started
  * Use UTF-16 codes for glyphs
  * Add travis build yaml file

OBS-URL: https://build.opensuse.org/request/show/622030
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/forkstat?expand=0&rev=17
2018-07-11 08:49:04 +00:00
8f44ffa45b Accepting request 615437 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/615437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forkstat?expand=0&rev=7
2018-06-13 13:38:47 +00:00
Lars Vogdt
f0dfb8f410 Accepting request 615394 from home:mnhauke
- Update to version 0.02.03
  * Makefile: bump version
  * debian/control: update debhelper to >= 11
  * debian/compat: update to 11
  * debian/copyright: replace http with https for secure URL
  * debian/control: remove trailing line
  * Add -g option to mini-help
  * Add -g glyph annotations
  * Add faster container check for systemd based systems
  * Add snapcraft plugins

OBS-URL: https://build.opensuse.org/request/show/615394
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/forkstat?expand=0&rev=15
2018-06-09 16:58:07 +00:00
deafdef1ae Accepting request 573310 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/573310
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forkstat?expand=0&rev=6
2018-02-06 15:51:17 +00:00
Lars Vogdt
b6ab568544 Accepting request 571523 from home:mnhauke
- update to version 0.02.02
  * Makefile: bump version
  * ensure tty string never overflows, fixes gcc warning
  * include <sys/uio.h> to fix clang warning
  * Add -x option into mini help

OBS-URL: https://build.opensuse.org/request/show/571523
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/forkstat?expand=0&rev=13
2018-02-06 13:16:00 +00:00
dd06b1a501 Accepting request 562359 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/562359
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forkstat?expand=0&rev=5
2018-01-09 13:54:17 +00:00
aba2183709 Accepting request 562048 from home:mnhauke
- update to version 0.02.01
  * Makefile: bump version
  * debian/control: update Standards-Version to 4.1.2
  * ensure tty string never overflows, fixes gcc warning
  * include <sys/uio.h> to fix clang warning
  * Add -x option into mini help

OBS-URL: https://build.opensuse.org/request/show/562048
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/forkstat?expand=0&rev=11
2018-01-07 21:02:43 +00:00
125c22318b Accepting request 506335 from server:monitoring
1

OBS-URL: https://build.opensuse.org/request/show/506335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forkstat?expand=0&rev=4
2017-06-27 08:21:47 +00:00
Lars Vogdt
97a918b147 Accepting request 506137 from home:mnhauke
- update to version 0.02.00
  * Makefile: update version and change codename
  * Minor tweaks to the manual, cosmetic changes
  * Move arrays to end of stacks to help avoid any stack smashing
  * Minor source clean-up
  * Avoid TOCTOU race on stat + open
  * Use alternative ptrace pid info
  * Add -x extra UID and TTY information option
  * Add uid/sid event tracing
  * Display name of events on -e option when invalid event used
  * Add ptrace event spying
  * Fix realtime flag opts mask
  * Fix -r help option
  * Add extra spacing in heading as it is offset by one after PID
  * Remove old set_priority code now that -r replaces it
  * Manpage: fix pdf warning:
  * Makefile: add pdf man page rule and add .PHONEYs
  * Add Philipp Gesang to the man page for kudos for contributions.
  * Add -r real time scheduling option
  * Put help options into one large printf statement

OBS-URL: https://build.opensuse.org/request/show/506137
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/forkstat?expand=0&rev=9
2017-06-26 23:25:18 +00:00
dee9b6aa82 Accepting request 505863 from server:monitoring
1

OBS-URL: https://build.opensuse.org/request/show/505863
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forkstat?expand=0&rev=3
2017-06-26 13:53:31 +00:00
Lars Vogdt
d32f94b038 Accepting request 505618 from home:mnhauke
- update to version 0.01.19
  * Makefile: bump version again
  * Debian/control: update standards version to 4.0.0
  * Update man page date
  * forkstat: add flag for line buffered output

- update to version 0.01.18
  * Makefile: bump version
  * Only add proc_info if strtol parses pid correctly.
  * snapcraft: add default type and grade keys

OBS-URL: https://build.opensuse.org/request/show/505618
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/forkstat?expand=0&rev=7
2017-06-23 11:12:46 +00:00
9d65f4e5cf Accepting request 495694 from server:monitoring
1

OBS-URL: https://build.opensuse.org/request/show/495694
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forkstat?expand=0&rev=2
2017-05-18 18:50:08 +00:00
a906cda606 Accepting request 494321 from home:mnhauke
- update to version 0.01.17
  * Makefile: bump version
  * Manual: update copyright year and manual date
  * Makefile: add snapcraft to make dist rule
  * Add variable pid size handling.
  * Remove redundant free on a null pointer
  * Add snapcraft
  * Update copyright year
  * Manual: expand width of columns to 5i
- update to version 0.01.16
  * Makefile: bump version
  * Make kernel_tasks const
  * unconstify arg in parse_ev to fix pedantic build warning
  * Clean up formatting on ev_map table
  * constify s1 and s2
  * Makefile: add PEDANTIC build flags
- update to version 0.01.15
  * Makefile: bump version
  * forkstat: make counters size_t
  * forkstat: voidify return from fclose
  * Debian: fix spelling mistake in changelog
- update to version 0.01.14
  * Makefile: bump version
  * debian/control: update Standards-Version to 3.9.8
  * debian/rules: make build reproducible (Closes: #833439)
  * Update copyright year to 2016

OBS-URL: https://build.opensuse.org/request/show/494321
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/forkstat?expand=0&rev=5
2017-05-17 18:47:15 +00:00
854f792c2f Accepting request 416308 from server:monitoring
I want to maintain forkstat in Factory

OBS-URL: https://build.opensuse.org/request/show/416308
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forkstat?expand=0&rev=1
2016-09-21 16:46:13 +00:00
4 changed files with 265 additions and 14 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:185675738490149a36779c1e7f3a3288e87d24837924e5b531a10f0cf6c5b589
size 42664

3
forkstat-0.03.02.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,241 @@
-------------------------------------------------------------------
Thu May 9 18:48:42 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.03.02:
* Makefile: remove snap from make dist rule
* debian/rules: update hardening flags
* Update copyright to 2024
* Check for array bounds limit while parsing pid length string
-------------------------------------------------------------------
Fri Mar 17 17:02:58 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.03.01:
* Makefile: bump version
* debian/control: update standards version to 4.6.2
* Manual: update copyright
* forkstat: add -p process group id filtering option
* forkstat: handle empty arg in argv[], replace with ' '
* forkstat: make cmdline buffer 64K, allocate on heap
-------------------------------------------------------------------
Sun Jan 22 16:33:18 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>
- Update to 0.03.00
* Remove redundant null check on ptr
* Update copyright
* forkstat: remove redundant assignment to ptr
* Add STAT_NONE to event_t enum and use it instead of 0
-------------------------------------------------------------------
Sat Nov 7 18:17:09 UTC 2020 - Martin Hauke <mardnh@gmx.de>
- Update to version 0.02.16
* forkstat: handle weird comm field in /proc/$PID/stat
* conditionally build in helper functions
-------------------------------------------------------------------
Mon Aug 17 12:41:40 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 0.02.15:
* add missing memory initialization to zero
-------------------------------------------------------------------
Sun Mar 8 10:41:16 UTC 2020 - Martin Hauke <mardnh@gmx.de>
- Drop SLE12 compat ifdef
-------------------------------------------------------------------
Sat Feb 29 11:33:06 UTC 2020 - Martin Hauke <mardnh@gmx.de>
- Update to version 0.02.14
* Add effictive user id (EUID) for -x option
- Supplement against bash-completion, not bash
-------------------------------------------------------------------
Wed Feb 26 13:39:08 UTC 2020 - Martin Hauke <mardnh@gmx.de>
- Update to version 0.02.13
* Add bash completion
-------------------------------------------------------------------
Sun Dec 15 09:47:15 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- Update to version 0.02.12
* Remove no-op free_proc_comm call on an unknown comm field
* Return no info rather than NULL if proc_info_get returns NULL
* Re-work unknown cmdline information
-------------------------------------------------------------------
Tue Aug 27 09:40:34 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- Update to version 0.02.11
* fix off-by-one end of string strncpy bug in tty name copying
-------------------------------------------------------------------
Sun Jul 7 18:40:25 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- Update to version 0.02.10
* Fix spelling mistake in manual
* Update copyright year
-------------------------------------------------------------------
Sat Jan 12 12:32:24 UTC 2019 - mardnh@gmx.de
- Update to version 0.02.09
* Manual: update date
* Add -X option, fix up short getopts help with missing options
* forkstat: add in -c option in help info
- Update to version 0.02.08
* Reduce scope of pointer ptr
* Use unsigned int for %u format specifiers
* Add -c comm field info, also track comm field changes in proc info
- Update to version 0.02.07
* remove '\r' and '\n' from command line process name
- Update to version 0.02.06
* Add some extra paranoid clearing of tty and strncpy length,
fixes potential buffer overrun
* Add caching of dev to tty name lookup to fix expensive lookups
* Add caching of uid to name lookup, print username rather than uids
to fix expensive lookups
* forkstat: pack structs a little more efficiently to save memory
-------------------------------------------------------------------
Fri Jul 13 18:19:50 UTC 2018 - mardnh@gmx.de
- Update to version 0.02.05
* Makefile: bump version
* Manual, change -e all to -E in example to show alternate form
* Reformat some lines, comments and overly wide scanf
* Minor code clean ups
* Ensure all fields in no_info are initialized
* Manual: Fix process table information formatting
* Voidify function returns
* Add more constifications
* Add -E (enable all events) option
* PROC_EVENT_COREDUMP has been introduced in kernel version 3.10
* Replace curved corner glyph with square corner
-------------------------------------------------------------------
Wed Jul 11 07:47:25 UTC 2018 - mardnh@gmx.de
- Update to version 0.02.04
* Makefile: bump version
* Add .travis.yml to make dist rule
* Makefile + debian/watch: produce a .xz tarball
* Fix checking on zero sized reads
* Add detection of first time all alive processes were started
* Use UTF-16 codes for glyphs
* Add travis build yaml file
-------------------------------------------------------------------
Sat Jun 9 07:37:14 UTC 2018 - mardnh@gmx.de
- Update to version 0.02.03
* Makefile: bump version
* debian/control: update debhelper to >= 11
* debian/compat: update to 11
* debian/copyright: replace http with https for secure URL
* debian/control: remove trailing line
* Add -g option to mini-help
* Add -g glyph annotations
* Add faster container check for systemd based systems
* Add snapcraft plugins
-------------------------------------------------------------------
Wed Jan 31 19:29:12 UTC 2018 - mardnh@gmx.de
- update to version 0.02.02
* Makefile: bump version
* ensure tty string never overflows, fixes gcc warning
* include <sys/uio.h> to fix clang warning
* Add -x option into mini help
-------------------------------------------------------------------
Fri Jan 5 21:27:17 UTC 2018 - mardnh@gmx.de
- update to version 0.02.01
* Makefile: bump version
* debian/control: update Standards-Version to 4.1.2
* ensure tty string never overflows, fixes gcc warning
* include <sys/uio.h> to fix clang warning
* Add -x option into mini help
-------------------------------------------------------------------
Sun Jun 25 19:12:00 UTC 2017 - mardnh@gmx.de
- update to version 0.02.00
* Makefile: update version and change codename
* Minor tweaks to the manual, cosmetic changes
* Move arrays to end of stacks to help avoid any stack smashing
* Minor source clean-up
* Avoid TOCTOU race on stat + open
* Use alternative ptrace pid info
* Add -x extra UID and TTY information option
* Add uid/sid event tracing
* Display name of events on -e option when invalid event used
* Add ptrace event spying
* Fix realtime flag opts mask
* Fix -r help option
* Add extra spacing in heading as it is offset by one after PID
* Remove old set_priority code now that -r replaces it
* Manpage: fix pdf warning:
* Makefile: add pdf man page rule and add .PHONEYs
* Add Philipp Gesang to the man page for kudos for contributions.
* Add -r real time scheduling option
* Put help options into one large printf statement
-------------------------------------------------------------------
Thu Jun 22 08:15:16 UTC 2017 - mardnh@gmx.de
- update to version 0.01.19
* Makefile: bump version again
* Debian/control: update standards version to 4.0.0
* Update man page date
* forkstat: add flag for line buffered output
-------------------------------------------------------------------
Tue Jun 20 14:58:59 UTC 2017 - mardnh@gmx.de
- update to version 0.01.18
* Makefile: bump version
* Only add proc_info if strtol parses pid correctly.
* snapcraft: add default type and grade keys
-------------------------------------------------------------------
Wed May 10 14:53:13 UTC 2017 - mardnh@gmx.de
- update to version 0.01.17
* Makefile: bump version
* Manual: update copyright year and manual date
* Makefile: add snapcraft to make dist rule
* Add variable pid size handling.
* Remove redundant free on a null pointer
* Add snapcraft
* Update copyright year
* Manual: expand width of columns to 5i
- update to version 0.01.16
* Makefile: bump version
* Make kernel_tasks const
* unconstify arg in parse_ev to fix pedantic build warning
* Clean up formatting on ev_map table
* constify s1 and s2
* Makefile: add PEDANTIC build flags
- update to version 0.01.15
* Makefile: bump version
* forkstat: make counters size_t
* forkstat: voidify return from fclose
* Debian: fix spelling mistake in changelog
- update to version 0.01.14
* Makefile: bump version
* debian/control: update Standards-Version to 3.9.8
* debian/rules: make build reproducible (Closes: #833439)
* Update copyright year to 2016
-------------------------------------------------------------------
Thu Feb 18 10:39:31 UTC 2016 - mardnh@gmx.de

View File

@@ -1,7 +1,8 @@
#
# spec file for package forkstat
#
# Copyright (c) 2015, Martin Hauke <mardnh@gmx.de>
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2017-2020, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,39 +13,51 @@
# 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: forkstat
Version: 0.01.13
Version: 0.03.02
Release: 0
Summary: Process fork/exec/exit monitoring tool
License: GPL-2.0+
License: GPL-2.0-or-later
Group: System/Monitoring
Url: http://kernel.ubuntu.com/~cking/forkstat/
Source: http://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
URL: https://github.com/ColinIanKing/forkstat
Source: https://github.com/ColinIanKing/forkstat/archive/refs/tags/V%{version}.tar.gz#/%{name}-%{version}.tar.gz
%description
Forkstat monitors process fork(), exec() and exit() activity. It is useful for
monitoring system behaviour and to track down rogue processes that are spawning
off processes and potentially abusing the system.
%package bash-completion
Summary: Bash Completion for %{name}
Group: System/Benchmark
Requires: %{name} = %{version}
Requires: bash-completion
Supplements: (forkstat and bash-completion)
BuildArch: noarch
%description bash-completion
Bash completion script for %{name}.
%prep
%setup -q
%build
export CFLAGS="%{optflags}"
make %{?_smp_mflags}
%make_build
%install
%make_install
%files
%defattr(-,root,root)
%%doc COPYING
%license COPYING
%{_bindir}/forkstat
%{_mandir}/man8/*
%{_mandir}/man8/forkstat.8%{?ext_man}
%files bash-completion
%{_datadir}/bash-completion/completions/%{name}
%changelog