forked from pool/ipmitool
Thomas Renninger
db8676f436
- Switch to OBS service to generate the tarball and changelog automatically from git "osc service dr" - Update to version git checkout 20170406.ecb4cfb: * Prevent autoreconf from complaining about missing NEWS * Add git hash and dirty mark to ipmitool version - Remove patch ipmitool_1_8_18_ecb4cfbff855_to_HEAD.patch as the patch is directly in the tarball - Rename patch: ipmitool_adjust_suse.paths to ipmitool_adjust_suse_paths.patch - Drop the --pic switch as it was only for static library - Reduce the suse_version for 1210 check to switch systemd on as the package is not building on sle11 anyway * properly depend on systemd-rpm-macros and not full systemd - Enable switch for file-security to be more strict on open files OBS-URL: https://build.opensuse.org/request/show/514221 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ipmitool?expand=0&rev=45
46 lines
1.7 KiB
Diff
46 lines
1.7 KiB
Diff
Index: ipmitool-1.8.13/contrib/bmc-snmp-proxy.service
|
|
===================================================================
|
|
--- ipmitool-1.8.13.orig/contrib/bmc-snmp-proxy.service
|
|
+++ ipmitool-1.8.13/contrib/bmc-snmp-proxy.service
|
|
@@ -11,8 +11,8 @@ ConditionPathExists=/var/run/bmc-info
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
|
|
-ExecStart=/usr/libexec/bmc-snmp-proxy start
|
|
-ExecStop=/usr/libexec/bmc-snmp-proxy stop
|
|
+ExecStart=/usr/sbin/bmc-snmp-proxy start
|
|
+ExecStop=/usr/sbin/bmc-snmp-proxy stop
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Index: ipmitool-1.8.13/contrib/exchange-bmc-os-info.service.redhat
|
|
===================================================================
|
|
--- ipmitool-1.8.13.orig/contrib/exchange-bmc-os-info.service.redhat
|
|
+++ ipmitool-1.8.13/contrib/exchange-bmc-os-info.service.redhat
|
|
@@ -6,8 +6,8 @@ Requires=ipmi.service
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
-ExecStart=/usr/libexec/exchange-bmc-os-info start
|
|
-ExecStop=/usr/libexec/exchange-bmc-os-info stop
|
|
+ExecStart=/usr/sbin/exchange-bmc-os-info start
|
|
+ExecStop=/usr/sbin/exchange-bmc-os-info stop
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Index: ipmitool-1.8.13/contrib/bmc-snmp-proxy
|
|
===================================================================
|
|
--- ipmitool-1.8.13.orig/contrib/bmc-snmp-proxy
|
|
+++ ipmitool-1.8.13/contrib/bmc-snmp-proxy
|
|
@@ -14,6 +14,10 @@
|
|
#
|
|
# Assumptions: This script will work only when /etc/snmp/ is writable.
|
|
#
|
|
+# Provides: bmc-snmp-proxy
|
|
+# Required-Start: ipmi snmp
|
|
+# Default-Start: 3 4 5
|
|
+# Default-Stop: 0 1 2 6
|
|
#############################################################################
|
|
# GLOBALS
|
|
#############################################################################
|