Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f7360a8ed6 | ||
|
|
75553b58b3 | ||
|
|
fb7bcb4848 | ||
|
|
af7e96fdcc | ||
|
|
78fe5cb4fe |
2 changed files with 38 additions and 4 deletions
20
mon-1.2.0-fix_signal.patch
Normal file
20
mon-1.2.0-fix_signal.patch
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
diff -ru mon-1.2.0-orig/mon.d/rpc.monitor.c mon-1.2.0/mon.d/rpc.monitor.c
|
||||
--- mon-1.2.0-orig/mon.d/rpc.monitor.c 2004-06-09 07:18:04.000000000 +0200
|
||||
+++ mon-1.2.0/mon.d/rpc.monitor.c 2025-01-28 10:50:58.646048623 +0100
|
||||
@@ -82,7 +82,7 @@
|
||||
int get_inet_address(struct sockaddr_in *, char *);
|
||||
#endif
|
||||
void usage();
|
||||
-void alarm_nop();
|
||||
+void alarm_nop(int signal);
|
||||
|
||||
/* global variables */
|
||||
int opt_all; /* test all registered programs */
|
||||
@@ -439,6 +439,6 @@
|
||||
exit(0);
|
||||
}
|
||||
|
||||
-void alarm_nop() {
|
||||
+void alarm_nop(int signal) {
|
||||
return;
|
||||
}
|
||||
22
mon.spec
22
mon.spec
|
|
@ -7,7 +7,7 @@
|
|||
Name: mon
|
||||
Summary: General-purpose resource monitoring system
|
||||
Version: 1.2.0
|
||||
Release: 38%{?dist}
|
||||
Release: 42%{?dist}
|
||||
License: GPL-2.0-or-later
|
||||
URL: http://www.kernel.org/software/mon/
|
||||
|
||||
|
|
@ -23,6 +23,7 @@ Patch0: mon-1.2.0-perl.patch
|
|||
Patch1: mon-1.2.0-uucp.patch
|
||||
# Use libtirpc instead of rpc/rpc.h from glibc, bug #1675405
|
||||
Patch2: mon-1.2.0-Port-to-libtirpc.patch
|
||||
Patch3: mon-1.2.0-fix_signal.patch
|
||||
|
||||
Requires: perl(Authen::PAM)
|
||||
Requires: iputils
|
||||
|
|
@ -58,9 +59,10 @@ required, the mon server will not need to be changed.
|
|||
|
||||
%prep
|
||||
%setup -q -a 1 -a 2
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch -P0 -p1
|
||||
%patch -P1 -p1
|
||||
%patch -P2 -p1
|
||||
%patch -P3 -p1
|
||||
|
||||
# Filter out unwanted requires
|
||||
cat << \EOF > %{name}-req
|
||||
|
|
@ -195,6 +197,18 @@ fi
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-42
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Tue Jan 28 2025 Michal Josef Špaček <mspacek@redhat.com> - 1.2.0-41
|
||||
- Fix incompatible pointer type (rhbz#2340877)
|
||||
|
||||
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-40
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-39
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-38
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue