- No sever build service errors/warnings -> remove openhpi-rpmlintrc
D openhpi-rpmlintrc - Remove has_systemd checks - Disable ipmi plugin (deprecated) -> ipmidirect up-to-date - Still add a patch that ipmi plugin would still build: A fix_openipmi_typedef_selector_change.patch OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/openhpi?expand=0&rev=38
This commit is contained in:
parent
2a5e556357
commit
80aca1ab6f
@ -1,23 +0,0 @@
|
|||||||
diff -Nurp openhpi-3.6.0-orig/plugins/snmp_bc/snmp_bc_session.c openhpi-3.6.0/plugins/snmp_bc/snmp_bc_session.c
|
|
||||||
--- openhpi-3.6.0-orig/plugins/snmp_bc/snmp_bc_session.c 2015-09-17 12:40:43.357513842 +0200
|
|
||||||
+++ openhpi-3.6.0/plugins/snmp_bc/snmp_bc_session.c 2015-09-17 13:54:53.386358885 +0200
|
|
||||||
@@ -201,14 +201,17 @@ void *snmp_bc_open(GHashTable *handler_c
|
|
||||||
}
|
|
||||||
|
|
||||||
custom_handle->session.securityLevel = SNMP_SEC_LEVEL_AUTHNOPRIV;
|
|
||||||
+#ifndef DISABLE_MD5
|
|
||||||
if (!authtype || !g_ascii_strncasecmp(authtype, "MD5", sizeof("MD5"))) {
|
|
||||||
custom_handle->session.securityAuthProto = usmHMACMD5AuthProtocol;
|
|
||||||
custom_handle->session.securityAuthProtoLen = USM_AUTH_PROTO_MD5_LEN;
|
|
||||||
- } else if (!g_ascii_strncasecmp(authtype, "SHA", sizeof("SHA"))) {
|
|
||||||
+ } else
|
|
||||||
+#endif
|
|
||||||
+ if (!g_ascii_strncasecmp(authtype, "SHA", sizeof("SHA"))) {
|
|
||||||
custom_handle->session.securityAuthProto = usmHMACSHA1AuthProtocol;
|
|
||||||
custom_handle->session.securityAuthProtoLen = USM_AUTH_PROTO_SHA_LEN;
|
|
||||||
} else {
|
|
||||||
- err("Unrecognized authenication type=%s.", authtype);
|
|
||||||
+ err("Unrecognized or unsupported authenication type=%s.", authtype);
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
|||||||
addFilter("incoherent-init-script-name")
|
|
||||||
addFilter("shlib-policy-missing-suffix")
|
|
||||||
addFilter("shlib-policy-nonversioned-dir")
|
|
||||||
addFilter("devel-file-in-non-devel-package")
|
|
@ -9,6 +9,12 @@ Wed Sep 26 14:25:38 UTC 2018 - trenn@suse.de
|
|||||||
- Patch mainline:
|
- Patch mainline:
|
||||||
D openhpi-3.6.0_fix_net-snmp_disable_MD5.patch
|
D openhpi-3.6.0_fix_net-snmp_disable_MD5.patch
|
||||||
- Used spec-cleaner
|
- Used spec-cleaner
|
||||||
|
- No sever build service errors/warnings -> remove openhpi-rpmlintrc
|
||||||
|
D openhpi-rpmlintrc
|
||||||
|
- Remove has_systemd checks
|
||||||
|
- Disable ipmi plugin (deprecated) -> ipmidirect up-to-date
|
||||||
|
- Still add a patch that ipmi plugin would still build:
|
||||||
|
A fix_openipmi_typedef_selector_change.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 24 16:32:49 UTC 2017 - kkaempf@suse.com
|
Fri Feb 24 16:32:49 UTC 2017 - kkaempf@suse.com
|
||||||
|
@ -16,9 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1140
|
|
||||||
%define has_systemd 1
|
|
||||||
%endif
|
|
||||||
Name: openhpi
|
Name: openhpi
|
||||||
Version: 3.8.0
|
Version: 3.8.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -31,6 +28,7 @@ Source: openhpi-%{version}.tar.xz
|
|||||||
Source2: AUTHORS
|
Source2: AUTHORS
|
||||||
Patch0: unlink-pidfile-on-error.patch
|
Patch0: unlink-pidfile-on-error.patch
|
||||||
Patch2: openhpi-3.4.0-systemd.patch
|
Patch2: openhpi-3.4.0-systemd.patch
|
||||||
|
Patch3: fix_openipmi_typedef_selector_change.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: docbook-toys
|
BuildRequires: docbook-toys
|
||||||
@ -128,7 +126,6 @@ out the status page.
|
|||||||
%autopatch -p1
|
%autopatch -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#cp %{S:2} .
|
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
|
|
||||||
# fix permissions
|
# fix permissions
|
||||||
@ -203,11 +200,7 @@ echo "Check OPENHPI_UNCONFIGURED in %{_sysconfdir}/openhpi/openhpi.conf"
|
|||||||
|
|
||||||
%files daemon
|
%files daemon
|
||||||
%doc README.daemon
|
%doc README.daemon
|
||||||
%if 0%{?has_systemd}
|
|
||||||
%{_unitdir}/openhpid.service
|
%{_unitdir}/openhpid.service
|
||||||
%else
|
|
||||||
%{_initddir}/openhpid
|
|
||||||
%endif
|
|
||||||
%{_sbindir}/openhpid
|
%{_sbindir}/openhpid
|
||||||
%{_sbindir}/rcopenhpid
|
%{_sbindir}/rcopenhpid
|
||||||
%{_mandir}/man8/openhpid.8%{?ext_man}
|
%{_mandir}/man8/openhpid.8%{?ext_man}
|
||||||
|
Loading…
Reference in New Issue
Block a user