SHA256
1
0
forked from pool/OpenIPMI

96 Commits

Author SHA256 Message Date
b06a5f599d Accepting request 1306447 from systemsmanagement
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1306447
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=59
2025-09-22 14:40:46 +00:00
fe7d4375ad - Update to version 2.0.37.1+git.ed1a49ee:
* Some broken BMCs use an invalid padding length of 16
  * Move to version 2.0.37
  * lanserv: Add sysinfo.h to the makefile include list
  * lanserv: Set length on get chassis capability response
  * ipmi_sim: On a watchdog reset, stop the timer before starting
  * lanserv: Add platform event command handling

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=79
2025-09-19 13:15:31 +00:00
efd4bac4c3 Accepting request 1269190 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/1269190
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=58
2025-04-14 14:08:15 +00:00
b538ecfa39 - Update to version 2.0.36.56+git.0a3a991:
* lanserv: Mark serial channels special
  * sol: Refcount sol instance in ipmid_changed
  * lanserv: Set the channel info accurately for system interface
  * lanserv: Allow serial IPMI connections on channels besides 15
  * lanserv: Add limits to the receive queue
  * lanserv: Add timing for messages
  * lanserv: Fix a bug in response handling for LAN messages
  * lanserv: Yet another message dup bug
  * lanserv: Fix a bug in message duplication
  * lanserv: Remove one more unnecessary memset
  * lanserv: Remove unnecessary memsets
  * lanserv: Add the cmd to the things check for response matching
  * lanserv: Add a function to allocate and free message
  * lanserv: Fix a memory leak
  * lanserv: Don't allocate a new message for SMI handling
  * lanserv: Rework naming and message handling a bit
  * lanserv: More malloc/free cleanups
  * lanserv: Clean up memory handling
  * lanserv: Remove functions from channel and use sysinfo
  * lanserv: Create and use a message queue type
  * lanserv: Separate out the receive queue
  * lanserv: Reduce the size of the sim_addr_t passed around
  * lanserv: Get lun 2 commands working
  * lanserv: Rework receive queue to not have a dummy first byte
  * lanserv: More message routing work
  * lanserv: More work on the message routing
  * lanserv: More rework
  * lanserv: More work on restructure
  * lanserv: Rework address names
  * lanserv: More restructuring on message handling
  * lanserv: Move check_msg_length() to serv.c
  * lanserv: Round-robin sessions
  * lanserv: Rework the send message handling
  * lan: Don't set reponse LUN to 2 in bridged messages
  * lanserv: Allow RMCP authtype for no session messages
  * github: Add readline to the dependencies
  * Remove support for UCD SNMP
  * ipmish: Fix snmp trap handling
  * lanserv: Use ssize_t for the return value of read()
  * lanserv: Get rid of the rmcpplus session member
  * lanserv: Preserve handle when clearing session data
  * lanserv: Don't allow user 0 to be configured
  * utils:md5: Handle data for md5 cannot be NULL
  * lanserv: Validate message ordering at authentication
  * lanserv: Don't assign session privilege until after auth is done
  * lanserv: Clear out session data on a close
  * utils: Check for NULL before freeing MD5 data
  * lib:lan: Reject a zero sid
  * sample: Fix data parsing in ipmicmd
  * ui: Pass in a sockaddr_in to SNMP trap handler
  * Fix gen_random()
  * lanserv: Check that authdata is initialized before cleanup

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=77
2025-04-14 09:13:28 +00:00
50f4295611 Accepting request 1203915 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/1203915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=57
2024-09-29 16:09:08 +00:00
41bf6bb5f5 - Fix bsc#1229910 CVE-2024-42934 by below 2 patches:
* lanserv: Fix an issue with authorization range checking
  * lanserv: Check some bounds on incoming messages
- Remove mainlined patches:
D OpenIPMI-autoconf-m4-ax-python-devel-serial25.patch
D OpenIPMI-c99.patch
- Update to version 2.0.36.4+git.c114912:
  * strings: Fix an incorrect string in sensor type 0x1f
  * lanserv: Check that message and negotiated authtypes are the same
  * Update some strings for newer IPMI standards
  * Fix error report in startup_set_sel_time
  * Move to version 2.0.36
  * lanserv: Fix an issue with authorization range checking
  * lanserv: Fix an issue logging an error on a message
  * include: Add a doc for the lifetime of ipmi_entity_get_fru()
  * Move to version 2.0.35
  * lanserv: Check some bounds on incoming messages
  * Create SECURITY.md
  * swig: Cast some values to get proper passing of values
  * sample: Fix an snprintf overflow issue
  * ui: Fix an snprintf overflow issue
  * Add github actions
  * cmdlang: Remove yet more dead code
  * swig: Remove a double free
  * ui: More print issues
  * sensor: Remove more dead code
  * swig: Fix more resource leaks
  * Finish up error updates
  * ui: Fix a ton of formatting errors
  * cmdlang: Remove some dead code

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=75
2024-09-26 14:28:11 +00:00
3b9a73279b Accepting request 1193362 from systemsmanagement
D    OpenIPMI-no-return-in-nonvoid-function.patch

Cleanup diff from 2 years ago: the patch was removed from the spec file, but
was not mentioned in changelog as being removed, nor was the actual file
being deleted. This was the reason why, for the last two years, this package
could not be forwarded to Factory (incl. the recent gcc14 fixes) (forwarded request 1193361 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1193362
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=56
2024-08-13 11:22:13 +00:00
775bf4744b Accepting request 976023 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/976023
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=55
2022-05-12 20:57:37 +00:00
225fad6f85 Accepting request 975918 from home:bnavigator:branches:systemsmanagement
- Add OpenIPMI-autoconf-m4-ax-python-devel-serial25.patch
  which updates m4/ax_python_devel.m4 to serial25, retaining
  upstreams PYTHON_VERSION addition, before the bootstrap runs
  automake, because the new serial 25 can deal with
  Python 3.10 version strings and deprecation of distutils.

OBS-URL: https://build.opensuse.org/request/show/975918
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=69
2022-05-10 08:44:34 +00:00
91b23f973c Accepting request 974498 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/974498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=54
2022-05-05 21:05:18 +00:00
efe37892dc Accepting request 973286 from home:jengelh:branches:systemsmanagement
- Resolve rpmlint report "libOpenIPMI0.x86_64: E:
  shlib-policy-name-error SONAME: libOpenIPMIui.so.1, expected
  package suffix: 1"
- Trim manual library Provides. Prospective users (packages) ought
  to let rpm find the dependencies (and their name is usually
  "libIPMIlanserv.so.0()(64bit)" not "libIPMIlanserv".

OBS-URL: https://build.opensuse.org/request/show/973286
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=67
2022-05-03 04:48:36 +00:00
bdb0ca4466 Accepting request 925987 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/925987
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=53
2021-10-20 18:23:48 +00:00
Klaus Kämpf
a34c555431 Accepting request 924946 from home:trenn:branches:systemsmanagement
- Fix file conflict with old python2 version (bsc#1190999):
found conflict of OpenIPMI-python-2.0.25-7.3.1.x86_64 with OpenIPMI-python3-2.0.31-1.1.x86_64
  /usr/bin/openipmigui
  /usr/share/man/man1/openipmigui.1.gz

OBS-URL: https://build.opensuse.org/request/show/924946
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=66
2021-10-18 09:43:12 +00:00
0ae02b5ae0 Accepting request 923424 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/923424
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=52
2021-10-06 17:49:57 +00:00
da4ca1acb4 Accepting request 923423 from home:trenn:branches:systemsmanagement
- Enhance changelog as demanded in an internal submitrequest

  * sample: Prefer glib for solterm instead of posix
  * sample: Remove -rdynamic from openipmicmd
  * smample: Compile ipmicmd with glib if it is available
  * glib: Allow NULL timeout to perform_one_op()
  * lanserv: Fix an issue with rmcp sending
  * Rework mcserv.h so that marvell-mod can get what it needs
  * lanserv: Move sol_init_mc() into sol code
  * lanserv: Remove all calls from the library to user code
  * Move ipmi_log() to ipmi_log.h
  * ui: export ipmi_ui_cb_handlers
  * ui: Add link libraries to UI library
  * Add -no-undefined to all shared library links
  * Rework ipmi_cmdlang_report_event()
  * Rework ipmi_cmdlang_global_err()
  * Get rid of posix_vlog()
  * lanserv: Use recv, not read, for a network socket
  * A lot windows (DLL, winsock, etc.) enhancements
- Update to version 2.0.30:
  * Switch to python3 by default
  * lanserv: Fix some various bugs
  * sol: Fix some various bugs
  * sdrcomp: Fix some memory leaks
  * sol: Fix some packet handling errors
  * solterm: Clean things up at shutdown
  * Fix a leak in the selector code
  * sol: Rewrite the library code
  * sol: Return errors from close if the send fails
  * Reconfigure the transmitter on a reconnect

OBS-URL: https://build.opensuse.org/request/show/923423
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=65
2021-10-06 07:21:06 +00:00
7b0adce71f Accepting request 921957 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/921957
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=51
2021-10-04 16:38:56 +00:00
3e390a39d7 Accepting request 921956 from home:trenn:branches:systemsmanagement
- Add latest mainline fixes:
A    lanserv-Add-the-judgment-on-the-validity-of-length-in-emu_cmd.c-and-session-in-lanserv_ipmi.c.patch
A    unix_thread-Remove-the-fd-handler-sets-before-it-s-set-up.patch 

- Update to version 2.0.31
  Adopted patches to latest sources:
M    OpenIMPI-add-libncurses.patch
M    OpenIPMI-no-return-in-nonvoid-function.patch
M    OpenIPMI-prefer_perl_vendor.patch
M    fix_dia_version_detection.patch
M    openipmi-tinfo.patch

- Use Python3 instead of Python2 (bsc#1190999).

OBS-URL: https://build.opensuse.org/request/show/921956
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=64
2021-09-28 08:36:49 +00:00
55df18e0bd Accepting request 903170 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/903170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=50
2021-07-02 11:26:35 +00:00
510144825a Accepting request 903131 from home:mcepl:branches:systemsmanagement
- Use Python3 instead of Python2.

OBS-URL: https://build.opensuse.org/request/show/903131
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=63
2021-06-30 06:35:50 +00:00
e7b62e2f5f Accepting request 878331 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/878331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=49
2021-03-15 09:53:51 +00:00
7b733ed769 Accepting request 877754 from home:mgerstner:branches:systemsmanagement
- drop -fPIC from CFLAGS which breaks our gcc-PIE profile resulting in
  non-position independent binaries and thus weakened security (bsc#1183046).

OBS-URL: https://build.opensuse.org/request/show/877754
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=61
2021-03-11 14:20:43 +00:00
e65e3b3d8a Accepting request 828914 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/828914
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=48
2020-08-28 19:17:55 +00:00
c94635f6a6 Accepting request 827440 from home:dirkmueller:branches:systemsmanagement
- update to 2.0.29:
  * changelog not available

OBS-URL: https://build.opensuse.org/request/show/827440
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=59
2020-08-24 11:34:44 +00:00
6d74dacd24 Accepting request 767528 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/767528
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=47
2020-01-29 12:11:15 +00:00
Lars Vogdt
f4f98f1b49 Accepting request 765861 from home:jmoellers:branches:systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/765861
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=57
2020-01-26 22:05:19 +00:00
1313c1ded9 Accepting request 689803 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/689803
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=46
2019-04-02 07:18:26 +00:00
05b1d38ef9 Accepting request 685757 from home:jengelh:sct
- Use noun phrase in summary. Remove em dashes from summaries.
- Implement shared library packaging policy.

OBS-URL: https://build.opensuse.org/request/show/685757
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=55
2019-03-29 10:47:58 +00:00
7f4e3b5665 Accepting request 635292 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/635292
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=45
2018-09-18 09:39:19 +00:00
c0dad2dace Accepting request 635048 from home:jengelh:branches:systemsmanagement
- Use noun phrase in summary. Ensure neutrality of description.
- Update unspecific summaries of subpackages.
- Drop --with-pic which is only relevant for static libs.
- Speedier /usr/bin/find call.

OBS-URL: https://build.opensuse.org/request/show/635048
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=53
2018-09-12 10:05:52 +00:00
6a9348ad5f OAD
0001-Apply-OpenIPMI-2.0.18-pthread-pkgconfig.patch.patch

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=52
2018-09-11 11:36:57 +00:00
4d6bd7de74 I also had to add the bootstrap file which seem to exist in git sources
but not in the exported tarball, even it is not listed in .gitignore:
A bootstrap

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=51
2018-09-10 15:36:17 +00:00
fe0460e762 I had to manually edit git diff v2.0.25.. and remove .gitignore deletion
to patch succesfully. Build service wants to have the original
.tar.gz tarball from sourceforge.

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=50
2018-09-10 14:56:36 +00:00
6044d06df9 This patch is mainline, already deleted in spec, also remove it
from obs

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=49
2018-09-10 14:16:17 +00:00
034e2076fe Accepting request 634248 from home:trenn:branches:systemsmanagement
- Update to latest version 2.0.25 plus latest fixes (fate#326195):

OBS-URL: https://build.opensuse.org/request/show/634248
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=48
2018-09-07 16:04:59 +00:00
39a1e9c7f0 Accepting request 634245 from home:trenn:branches:systemsmanagement
- Update to latest version 2.0.25 plus latest fixes:
- A    OpenIPMI-2.0.25..HEAD_git.diff
Patch to latest git commit:
commit 4ac55d7dc7016c9e5f0c474f69f4e64e7aacac42
Date:   Wed Jul 18 13:59:29 2018 -0500
    unix: Add a way to clear fd handlers with no callbacks
- Adjusted patches:
M    0003-Apply-OpenIPMI-2.0.21-nobundle.patch.patch
M    fix-conversions.patch
M    OpenIPMI-prefer_perl_vendor.patch
M    openipmi-tinfo.patch
- Fix build service error (use /usr/bin/python3 in shebang instead of env
A    use_python3_shebang
- Build documentation (IPMI.pdf) ourselves as IPMI.pdf vanished from sources
  For this quite some build requires had to be added as well
A    fix_dia_version_detection.patch

OBS-URL: https://build.opensuse.org/request/show/634245
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=47
2018-09-07 16:03:04 +00:00
dea61adf78 Accepting request 626022 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/626022
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=44
2018-07-31 13:52:47 +00:00
b7637c745a Accepting request 625318 from home:dimstar:Factory
- Replace usage of deprecated py_sitedir macro with
  python_sitearch.

OBS-URL: https://build.opensuse.org/request/show/625318
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=45
2018-07-29 07:55:23 +00:00
e274d4d19c Accepting request 568575 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/568575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=43
2018-01-24 14:24:49 +00:00
e517209ae3 Accepting request 567733 from home:jmoellers:branches:systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/567733
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=43
2018-01-23 13:17:54 +00:00
Josef Möllers
8e4c1fe819 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=42 2018-01-15 11:21:02 +00:00
Josef Möllers
ce5b094f9d OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=41 2018-01-15 11:08:23 +00:00
b78e8e0299 Accepting request 545085 from systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/545085
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=42
2017-11-30 11:40:30 +00:00
c30acc4854 Accepting request 544645 from home:RBrownSUSE:branches:systemsmanagement
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544645
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=39
2017-11-24 09:44:09 +00:00
Klaus Kämpf
235c928d5a Accepting request 528654 from home:jmoellers:branches:systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/528654
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=38
2017-09-27 13:26:16 +00:00
e7fa8ad5a8 Accepting request 507064 from systemsmanagement
1

OBS-URL: https://build.opensuse.org/request/show/507064
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=41
2017-07-04 09:53:31 +00:00
55b175b51f Accepting request 506477 from home:scarabeus_iv:branches:systemsmanagement
- Version update to lates trelease 2.0.23:
  * There is no longer actively updated changelog
  * Various bugfixes since last git pull from 2016-02-26
- Drop OpenIPMI-libtool.patch which was merged upstream
- Drop OpenIPMI_2.0.21_to_HEAD.patch patch as it is no longer
  needed
- Add patch openipmi-tinfo.patch to detect tinfo properly
- Add patch to fix OpenIPMIpthread pc file (from Fedora)
  0001-Apply-OpenIPMI-2.0.18-pthread-pkgconfig.patch.patch
- Add patch to not bundle libedit (from Fedora)
  0003-Apply-OpenIPMI-2.0.21-nobundle.patch.patch

OBS-URL: https://build.opensuse.org/request/show/506477
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=36
2017-06-29 12:50:18 +00:00
150611e64d Accepting request 427867 from systemsmanagement
1

OBS-URL: https://build.opensuse.org/request/show/427867
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=40
2016-09-17 12:35:27 +00:00
Klaus Kämpf
2754029346 Accepting request 427703 from home:fgerling:branches:systemsmanagement
- Update spec file to properly install sysconfig.ipmi (bsc#989985, bsc#988443)

OBS-URL: https://build.opensuse.org/request/show/427703
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=34
2016-09-15 07:01:31 +00:00
150a954f6c Accepting request 368223 from systemsmanagement
1

OBS-URL: https://build.opensuse.org/request/show/368223
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=39
2016-03-16 09:24:00 +00:00
4fabd2e832 Accepting request 368049 from home:dimstar:Factory
- Remove one occurence of perl_requires: once is sufficient.

OBS-URL: https://build.opensuse.org/request/show/368049
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=32
2016-03-08 10:56:50 +00:00
62c63fbc45 Accepting request 367731 from home:trenn:branches:systemsmanagement
- Fix perl requires by using the pre-defined macro (bsc#969576)

OBS-URL: https://build.opensuse.org/request/show/367731
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=31
2016-03-07 16:30:55 +00:00
378df13054 Accepting request 361841 from systemsmanagement
1

OBS-URL: https://build.opensuse.org/request/show/361841
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=38
2016-03-01 08:34:12 +00:00
19b9ab6a43 Accepting request 361826 from home:trenn:branches:systemsmanagement
- Update to latest git commit:
  a01bbe94efff3a5f239b3b5440c8..052d36ec88515c1b1177faa442833e3
Add: OpenIPMI_2.0.21_to_HEAD.patch
Removed modifications for:
 - lanserv/ipmi_sim_chassiscontrol
 - lanserv/marvell-bmc/TODO
due to git repo inconsistencies
- Some spec file cleanups obs complained about
  -> also spec-cleaner run through

OBS-URL: https://build.opensuse.org/request/show/361826
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=29
2016-02-26 14:57:39 +00:00
Stephan Kulow
a23ea4ab1d Accepting request 284720 from systemsmanagement
1

OBS-URL: https://build.opensuse.org/request/show/284720
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=37
2015-02-16 14:02:10 +00:00
Klaus Kämpf
d2b9526189 Accepting request 284698 from home:dimstar:Factory
- Do not try to register/deregister OpenIPMI.info.gz in post/postun
  of the devel package: we do not install such a file.

OBS-URL: https://build.opensuse.org/request/show/284698
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=27
2015-02-08 05:20:09 +00:00
39e7cbfcb9 Accepting request 266845 from systemsmanagement
1

OBS-URL: https://build.opensuse.org/request/show/266845
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=36
2015-01-05 03:44:17 +00:00
Klaus Kämpf
70f55ba467 Accepting request 266522 from home:Ledest:bashisms
fix bashisms in openipmi-helper script

OBS-URL: https://build.opensuse.org/request/show/266522
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=25
2014-12-30 09:45:40 +00:00
258b843bd5 Accepting request 262461 from systemsmanagement
1

OBS-URL: https://build.opensuse.org/request/show/262461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=35
2014-11-24 10:15:48 +00:00
51b69a2dd8 Accepting request 262394 from openSUSE:Factory:Staging:E
- Replace systemd BuildRequires with pkgconfig(systemd): we do not
  require the full installation / dep chain of systemd.

OBS-URL: https://build.opensuse.org/request/show/262394
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=23
2014-11-20 14:17:08 +00:00
Stephan Kulow
7bec0efbae Accepting request 258591 from systemsmanagement
1

OBS-URL: https://build.opensuse.org/request/show/258591
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=34
2014-10-31 08:39:23 +00:00
Klaus Kämpf
603bf60355 Accepting request 258381 from home:posophe:branches:systemsmanagement
Move to systemd

OBS-URL: https://build.opensuse.org/request/show/258381
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=21
2014-10-28 07:15:46 +00:00
e3af5c407d Accepting request 240957 from home:trenn:branches:systemsmanagement
- Split OpenIPMI into base package and OpenIPMI-python
  OpenIPMI-python gets OpenIPMI python library and openipmigui which is
  a python based gui.
  Like above the OpenIPMI base package does not need python-tk and tix
  packages any more.

OBS-URL: https://build.opensuse.org/request/show/240957
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=20
2014-07-14 16:44:02 +00:00
Stephan Kulow
1085bbc1e9 Accepting request 225563 from systemsmanagement
- Update to 2.0.21
  Bugfix release
  - marvell: Add a command to directly set the duty cycle of the fans.
  - The IANA numbers are supposed to be in bytes 2-4 off responses to
    IANA commands, but they were not being put there.  Fix this in the
    main IANA handling to do this automatically, and modify the
    command handling to strip the IANA from the command and add it to
    a message field.  This makes handling of IANA commands more
    natural and allows standard message response generation to work.
  - Drop upstreamed patches:
    tcl-includes-moved.patch, new-names-for-new-variables,
    OpenIPMI-popt.patch, OpenIPMI-2.0.16-larger-ipmibuf.patch,
    do-fclose.patch, bug-854693_segv_sol.patch

OBS-URL: https://build.opensuse.org/request/show/225563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=32
2014-03-16 07:04:55 +00:00
6c51539d0d OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=18 2014-03-11 10:22:30 +00:00
Klaus Kämpf
efc979a527 - Update to 2.0.21
Bugfix release
  - marvell: Add a command to directly set the duty cycle of the fans.
  - The IANA numbers are supposed to be in bytes 2-4 off responses to
    IANA commands, but they were not being put there.  Fix this in the
    main IANA handling to do this automatically, and modify the
    command handling to strip the IANA from the command and add it to
    a message field.  This makes handling of IANA commands more
    natural and allows standard message response generation to work.
  - Drop upstreamed patches:
    tcl-includes-moved.patch, new-names-for-new-variables,
    OpenIPMI-popt.patch, OpenIPMI-2.0.16-larger-ipmibuf.patch,
    do-fclose.patch, bug-854693_segv_sol.patch

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=17
2014-02-13 09:35:08 +00:00
Stephan Kulow
543b90b0e4 Accepting request 214115 from systemsmanagement
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/214115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=31
2014-01-17 10:05:00 +00:00
12f42c8f9b - Update to 1.2.9. Without fixing build warnings for now..
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=15
2014-01-09 15:08:25 +00:00
Tomáš Chvátal
cb0e9438fc Accepting request 202949 from systemsmanagement
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/202949
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=30
2013-10-11 10:53:56 +00:00
Klaus Kämpf
57b58cf51d - Fix SLE 11 build
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=13
2013-10-04 08:31:57 +00:00
Klaus Kämpf
8bfd991f5f - Suffix all patches with .patch
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=12
2013-10-04 08:00:00 +00:00
Stephan Kulow
f30027cfc2 Accepting request 142385 from systemsmanagement
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/142385
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=27
2012-11-22 15:50:46 +00:00
Klaus Kämpf
83c696aed6 - Update to 2.0.20-rc1
* Rename lanserv_emu to ipmi_sim, and modify ipmi_sim to use
    the OS handler.
  * lanserv, man: Did a massive restructure of lanserv and the
    IPMI simulator for supporting a VM interface.
  * Many bugs fixed

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=10
2012-11-15 12:40:39 +00:00
Ismail Dönmez
3fd5c38749 Accepting request 133831 from systemsmanagement
- use %perl_requires (forwarded request 133728 from coolo)

OBS-URL: https://build.opensuse.org/request/show/133831
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=26
2012-09-14 10:32:25 +00:00
Klaus Kämpf
855f69c7a8 Accepting request 133728 from home:coolo:branches:openSUSE:Factory
- use %perl_requires

OBS-URL: https://build.opensuse.org/request/show/133728
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=8
2012-09-12 15:29:58 +00:00
07628e4251 Accepting request 132815 from home:duwe:branches:systemsmanagement
- fix bnc#714634

OBS-URL: https://build.opensuse.org/request/show/132815
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=7
2012-09-05 15:12:37 +00:00
Stephan Kulow
dba8e672ed replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=24
2011-12-06 17:34:12 +00:00
Stephan Kulow
5551a7fcb9 Accepting request 91849 from systemsmanagement
- add libtool as buildrequire to avoid implicit dependency (forwarded request 91522 from coolo)

OBS-URL: https://build.opensuse.org/request/show/91849
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=23
2011-11-17 10:04:53 +00:00
Stephan Kulow
b1b98b5c11 Accepting request 91522 from home:coolo:removelibtool
- add libtool as buildrequire to avoid implicit dependency

OBS-URL: https://build.opensuse.org/request/show/91522
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=5
2011-11-16 16:22:08 +00:00
Klaus Kämpf
897b5d2f73 Accepting request 89103 from home:pbleser:branches:systemsmanagement
- fix mtime on python .pyc files
- remove python .pyo files (they're useless)
- add reload to init script, which fails with exit code 3 as it is not
  implemented
- update to 2.0.19 (cumulated):
  * ipmi.init - Initscripts should be idempotent, meaning you can safely call
    "start" multiple times in a row and receive a success each time if the
    service is running. This requirement is mentioned in the LSB Spec, version
    3.1, section 20.2.
  * lib/sensor.c: Change the "share count" checking to check if share count is
    > 1, not > 0, because some silly machines set the value to one when they
    should set it to zero, and one is a silly setting
  * add a cache option

OBS-URL: https://build.opensuse.org/request/show/89103
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=4
2011-10-28 18:37:38 +00:00
Sascha Peilicke
a13bd8fa76 Autobuild autoformatter for 66168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=21
2011-04-06 07:30:55 +00:00
Sascha Peilicke
d449734695 Accepting request 66168 from systemsmanagement
Accepted submit request 66168 from user licensedigger

OBS-URL: https://build.opensuse.org/request/show/66168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=20
2011-04-06 07:30:46 +00:00
OBS User autobuild
7cddec3bbb Accepting request 40440 from systemmanagement
Copy from systemmanagement/OpenIPMI based on submit request 40440 from user duwe

OBS-URL: https://build.opensuse.org/request/show/40440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=16
2010-05-23 22:24:15 +00:00
OBS User autobuild
0cef26dfab OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=15 2010-03-18 14:32:42 +00:00
OBS User autobuild
92c749d31e Accepting request 34929 from systemmanagement
Copy from systemmanagement/OpenIPMI based on submit request 34929 from user coolo

OBS-URL: https://build.opensuse.org/request/show/34929
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=14
2010-03-16 16:41:08 +00:00
OBS User autobuild
e5236dcb45 Accepting request 17618 from systemmanagement
Copy from systemmanagement/OpenIPMI based on submit request 17618 from user coolo

OBS-URL: https://build.opensuse.org/request/show/17618
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=12
2009-08-13 16:11:13 +00:00
OBS User unknown
4810791242 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=11 2009-03-02 23:51:29 +00:00
OBS User unknown
ad591c26d0 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=10 2008-09-15 10:20:38 +00:00
OBS User unknown
7f3a92b24f OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=9 2008-05-06 21:53:41 +00:00
OBS User unknown
4a5333f5dd OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=8 2008-04-17 15:54:26 +00:00
OBS User unknown
742b5124d0 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=7 2008-04-15 13:26:25 +00:00
OBS User unknown
ce912dd9ad OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=6 2008-04-06 22:19:39 +00:00
OBS User unknown
ca126b8fb5 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=5 2008-01-18 01:05:10 +00:00
OBS User unknown
bef35c6d8c OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=4 2007-04-20 13:57:55 +00:00
OBS User unknown
2d2244ac42 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=3 2007-03-26 23:45:27 +00:00
OBS User unknown
3ef0f863cf OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=2 2007-02-05 14:40:34 +00:00
OBS User unknown
90d0851434 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenIPMI?expand=0&rev=1 2006-12-22 09:09:45 +00:00
13 changed files with 171 additions and 412 deletions

Binary file not shown.

View File

@@ -1,240 +0,0 @@
diff --git a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4
index e0804c5..3696cef 100644
--- a/m4/ax_python_devel.m4
+++ b/m4/ax_python_devel.m4
@@ -1,5 +1,5 @@
# ===========================================================================
-# http://www.gnu.org/software/autoconf-archive/ax_python_devel.html
+# https://www.gnu.org/software/autoconf-archive/ax_python_devel.html
# ===========================================================================
#
# SYNOPSIS
@@ -52,7 +52,7 @@
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
-# with this program. If not, see <http://www.gnu.org/licenses/>.
+# with this program. If not, see <https://www.gnu.org/licenses/>.
#
# As a special exception, the respective Autoconf Macro's copyright owner
# gives unlimited permission to copy, distribute and modify the configure
@@ -67,7 +67,7 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
-#serial 18
+#serial 25
AU_ALIAS([AC_PYTHON_DEVEL], [AX_PYTHON_DEVEL])
AC_DEFUN([AX_PYTHON_DEVEL],[
@@ -118,15 +118,39 @@ to something else than an empty string.
fi
#
- # if the macro parameter ``version'' is set, honour it
+ # If the macro parameter ``version'' is set, honour it.
+ # A Python shim class, VPy, is used to implement correct version comparisons via
+ # string expressions, since e.g. a naive textual ">= 2.7.3" won't work for
+ # Python 2.7.10 (the ".1" being evaluated as less than ".3").
#
if test -n "$1"; then
AC_MSG_CHECKING([for a version of Python $1])
- ac_supports_python_ver=`$PYTHON -c "import sys; \
- ver = sys.version.split ()[[0]]; \
+ cat << EOF > ax_python_devel_vpy.py
+class VPy:
+ def vtup(self, s):
+ return tuple(map(int, s.strip().replace("rc", ".").split(".")))
+ def __init__(self):
+ import sys
+ self.vpy = tuple(sys.version_info)
+ def __eq__(self, s):
+ return self.vpy == self.vtup(s)
+ def __ne__(self, s):
+ return self.vpy != self.vtup(s)
+ def __lt__(self, s):
+ return self.vpy < self.vtup(s)
+ def __gt__(self, s):
+ return self.vpy > self.vtup(s)
+ def __le__(self, s):
+ return self.vpy <= self.vtup(s)
+ def __ge__(self, s):
+ return self.vpy >= self.vtup(s)
+EOF
+ ac_supports_python_ver=`$PYTHON -c "import ax_python_devel_vpy; \
+ ver = ax_python_devel_vpy.VPy(); \
print (ver $1)"`
+ rm -rf ax_python_devel_vpy*.py* __pycache__/ax_python_devel_vpy*.py*
if test "$ac_supports_python_ver" = "True"; then
- AC_MSG_RESULT([yes])
+ AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
AC_MSG_ERROR([this package requires Python $1.
@@ -141,16 +165,25 @@ variable to configure. See ``configure --help'' for reference.
#
# Check if you have distutils, else fail
#
- AC_MSG_CHECKING([for the distutils Python package])
- ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
- if test -z "$ac_distutils_result"; then
+ AC_MSG_CHECKING([for the sysconfig Python package])
+ ac_sysconfig_result=`$PYTHON -c "import sysconfig" 2>&1`
+ if test $? -eq 0; then
AC_MSG_RESULT([yes])
+ IMPORT_SYSCONFIG="import sysconfig"
else
AC_MSG_RESULT([no])
- AC_MSG_ERROR([cannot import Python module "distutils".
+
+ AC_MSG_CHECKING([for the distutils Python package])
+ ac_sysconfig_result=`$PYTHON -c "from distutils import sysconfig" 2>&1`
+ if test $? -eq 0; then
+ AC_MSG_RESULT([yes])
+ IMPORT_SYSCONFIG="from distutils import sysconfig"
+ else
+ AC_MSG_ERROR([cannot import Python module "distutils".
Please check your Python installation. The error was:
-$ac_distutils_result])
- PYTHON_VERSION=""
+$ac_sysconfig_result])
+ PYTHON_VERSION=""
+ fi
fi
#
@@ -158,10 +191,19 @@ $ac_distutils_result])
#
AC_MSG_CHECKING([for Python include path])
if test -z "$PYTHON_CPPFLAGS"; then
- python_path=`$PYTHON -c "import distutils.sysconfig; \
- print (distutils.sysconfig.get_python_inc ());"`
- plat_python_path=`$PYTHON -c "import distutils.sysconfig; \
- print (distutils.sysconfig.get_python_inc (plat_specific=1));"`
+ if test "$IMPORT_SYSCONFIG" = "import sysconfig"; then
+ # sysconfig module has different functions
+ python_path=`$PYTHON -c "$IMPORT_SYSCONFIG; \
+ print (sysconfig.get_path ('include'));"`
+ plat_python_path=`$PYTHON -c "$IMPORT_SYSCONFIG; \
+ print (sysconfig.get_path ('platinclude'));"`
+ else
+ # old distutils way
+ python_path=`$PYTHON -c "$IMPORT_SYSCONFIG; \
+ print (sysconfig.get_python_inc ());"`
+ plat_python_path=`$PYTHON -c "$IMPORT_SYSCONFIG; \
+ print (sysconfig.get_python_inc (plat_specific=1));"`
+ fi
if test -n "${python_path}"; then
if test "${plat_python_path}" != "${python_path}"; then
python_path="-I$python_path -I$plat_python_path"
@@ -185,7 +227,7 @@ $ac_distutils_result])
# join all versioning strings, on some systems
# major/minor numbers could be in different list elements
-from distutils.sysconfig import *
+from sysconfig import *
e = get_config_var('VERSION')
if e is not None:
print(e)
@@ -208,8 +250,8 @@ EOD`
ac_python_libdir=`cat<<EOD | $PYTHON -
# There should be only one
-import distutils.sysconfig
-e = distutils.sysconfig.get_config_var('LIBDIR')
+$IMPORT_SYSCONFIG
+e = sysconfig.get_config_var('LIBDIR')
if e is not None:
print (e)
EOD`
@@ -217,8 +259,8 @@ EOD`
# Now, for the library:
ac_python_library=`cat<<EOD | $PYTHON -
-import distutils.sysconfig
-c = distutils.sysconfig.get_config_vars()
+$IMPORT_SYSCONFIG
+c = sysconfig.get_config_vars()
if 'LDVERSION' in c:
print ('python'+c[['LDVERSION']])
else:
@@ -237,7 +279,7 @@ EOD`
else
# old way: use libpython from python_configdir
ac_python_libdir=`$PYTHON -c \
- "from distutils.sysconfig import get_python_lib as f; \
+ "from sysconfig import get_python_lib as f; \
import os; \
print (os.path.join(f(plat_specific=1, standard_lib=1), 'config'));"`
PYTHON_LIBS="-L$ac_python_libdir -lpython$ac_python_version"
@@ -258,35 +300,58 @@ EOD`
#
AC_MSG_CHECKING([for Python site-packages path])
if test -z "$PYTHON_SITE_PKG"; then
- PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
- print (distutils.sysconfig.get_python_lib(0,0));"`
+ if test "$IMPORT_SYSCONFIG" = "import sysconfig"; then
+ PYTHON_SITE_PKG=`$PYTHON -c "$IMPORT_SYSCONFIG; \
+ print (sysconfig.get_path('purelib'));"`
+ else
+ # distutils.sysconfig way
+ PYTHON_SITE_PKG=`$PYTHON -c "$IMPORT_SYSCONFIG; \
+ print (sysconfig.get_python_lib(0,0));"`
+ fi
fi
AC_MSG_RESULT([$PYTHON_SITE_PKG])
AC_SUBST([PYTHON_SITE_PKG])
+ #
+ # Check for platform-specific site packages
+ #
+ AC_MSG_CHECKING([for Python platform specific site-packages path])
+ if test -z "$PYTHON_SITE_PKG"; then
+ if test "$IMPORT_SYSCONFIG" = "import sysconfig"; then
+ PYTHON_PLATFORM_SITE_PKG=`$PYTHON -c "$IMPORT_SYSCONFIG; \
+ print (sysconfig.get_path('platlib'));"`
+ else
+ # distutils.sysconfig way
+ PYTHON_PLATFORM_SITE_PKG=`$PYTHON -c "$IMPORT_SYSCONFIG; \
+ print (sysconfig.get_python_lib(1,0));"`
+ fi
+ fi
+ AC_MSG_RESULT([$PYTHON_PLATFORM_SITE_PKG])
+ AC_SUBST([PYTHON_PLATFORM_SITE_PKG])
+
#
# libraries which must be linked in when embedding
#
AC_MSG_CHECKING(python extra libraries)
- if test -z "$PYTHON_EXTRA_LDFLAGS"; then
- PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; \
- conf = distutils.sysconfig.get_config_var; \
+ if test -z "$PYTHON_EXTRA_LIBS"; then
+ PYTHON_EXTRA_LIBS=`$PYTHON -c "$IMPORT_SYSCONFIG; \
+ conf = sysconfig.get_config_var; \
print (conf('LIBS') + ' ' + conf('SYSLIBS'))"`
fi
- AC_MSG_RESULT([$PYTHON_EXTRA_LDFLAGS])
- AC_SUBST(PYTHON_EXTRA_LDFLAGS)
+ AC_MSG_RESULT([$PYTHON_EXTRA_LIBS])
+ AC_SUBST(PYTHON_EXTRA_LIBS)
#
# linking flags needed when embedding
#
AC_MSG_CHECKING(python extra linking flags)
- if test -z "$PYTHON_EXTRA_LIBS"; then
- PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \
- conf = distutils.sysconfig.get_config_var; \
+ if test -z "$PYTHON_EXTRA_LDFLAGS"; then
+ PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "$IMPORT_SYSCONFIG; \
+ conf = sysconfig.get_config_var; \
print (conf('LINKFORSHARED'))"`
fi
- AC_MSG_RESULT([$PYTHON_EXTRA_LIBS])
- AC_SUBST(PYTHON_EXTRA_LIBS)
+ AC_MSG_RESULT([$PYTHON_EXTRA_LDFLAGS])
+ AC_SUBST(PYTHON_EXTRA_LDFLAGS)
#
# final check to see if everything compiles alright

View File

@@ -1,58 +0,0 @@
C type errors in the SWIG-generated Perl bindings
The first change fixes an error with newer compilers:
OpenIPMI_wrap.c: In function _wrap_strconstarray_val_set:
OpenIPMI_wrap.c:10491:27: error: assignment to const char ** from incompatible pointer type char **
10491 | if (arg1) (arg1)->val = arg2;
| ^
The second change is also about a compiler error:
In file included from /usr/lib64/perl5/CORE/perl.h:4530,
from OpenIPMI_wrap.c:751:
OpenIPMI_wrap.c: In function _wrap_ipmi_sol_conn_t_write:
/usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of Perl_SvPV_helper from incompatible pointer type
1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \
/usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro SvPV_flags
1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC)
| ^~~~~~~~~~
OpenIPMI_wrap.c:27664:24: note: in expansion of macro SvPV
27664 | (&arg2)->val = SvPV(tempsv, (&arg2)->len);
| ^~~~
In file included from /usr/lib64/perl5/CORE/perl.h:7812:
/usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected STRLEN * const {aka long unsigned int * const} but argument is of type int *
908 | STRLEN * const lp,
| ~~~~~~~~~~~~~~~^~
But the existing code looks broken on big-endian 64-bit architectures,
too.
diff --git a/swig/OpenIPMI.i b/swig/OpenIPMI.i
index 8e674a94e6f85f62..db2aa1b5292a276f 100644
--- a/swig/OpenIPMI.i
+++ b/swig/OpenIPMI.i
@@ -359,7 +359,7 @@ typedef struct iargarray
%}
typedef struct strconstarray
{
- char **val;
+ const char **val;
int len;
} strconstarray;
typedef struct argarray
diff --git a/swig/perl/OpenIPMI_lang.i b/swig/perl/OpenIPMI_lang.i
index d13b62f09e69e02a..d7482d1135cdc3e4 100644
--- a/swig/perl/OpenIPMI_lang.i
+++ b/swig/perl/OpenIPMI_lang.i
@@ -292,7 +292,9 @@
$1.val = NULL;
$1.len = 0;
} else {
- $1.val = SvPV(tempsv, $1.len);
+ STRLEN len;
+ $1.val = SvPV(tempsv, len);
+ $1.len = len;
}
}

View File

@@ -1,3 +1,153 @@
-------------------------------------------------------------------
Mon Sep 15 09:00:07 UTC 2025 - Thomas Renninger <trenn@suse.de>
- Update to version 2.0.37.1+git.ed1a49ee:
* Some broken BMCs use an invalid padding length of 16
* Move to version 2.0.37
* lanserv: Add sysinfo.h to the makefile include list
* lanserv: Set length on get chassis capability response
* ipmi_sim: On a watchdog reset, stop the timer before starting
* lanserv: Add platform event command handling
-------------------------------------------------------------------
Fri Apr 11 12:28:45 UTC 2025 - trenn@suse.de
- Update to version 2.0.36.56+git.0a3a991:
* lanserv: Mark serial channels special
* sol: Refcount sol instance in ipmid_changed
* lanserv: Set the channel info accurately for system interface
* lanserv: Allow serial IPMI connections on channels besides 15
* lanserv: Add limits to the receive queue
* lanserv: Add timing for messages
* lanserv: Fix a bug in response handling for LAN messages
* lanserv: Yet another message dup bug
* lanserv: Fix a bug in message duplication
* lanserv: Remove one more unnecessary memset
* lanserv: Remove unnecessary memsets
* lanserv: Add the cmd to the things check for response matching
* lanserv: Add a function to allocate and free message
* lanserv: Fix a memory leak
* lanserv: Don't allocate a new message for SMI handling
* lanserv: Rework naming and message handling a bit
* lanserv: More malloc/free cleanups
* lanserv: Clean up memory handling
* lanserv: Remove functions from channel and use sysinfo
* lanserv: Create and use a message queue type
* lanserv: Separate out the receive queue
* lanserv: Reduce the size of the sim_addr_t passed around
* lanserv: Get lun 2 commands working
* lanserv: Rework receive queue to not have a dummy first byte
* lanserv: More message routing work
* lanserv: More work on the message routing
* lanserv: More rework
* lanserv: More work on restructure
* lanserv: Rework address names
* lanserv: More restructuring on message handling
* lanserv: Move check_msg_length() to serv.c
* lanserv: Round-robin sessions
* lanserv: Rework the send message handling
* lan: Don't set reponse LUN to 2 in bridged messages
* lanserv: Allow RMCP authtype for no session messages
* github: Add readline to the dependencies
* Remove support for UCD SNMP
* ipmish: Fix snmp trap handling
* lanserv: Use ssize_t for the return value of read()
* lanserv: Get rid of the rmcpplus session member
* lanserv: Preserve handle when clearing session data
* lanserv: Don't allow user 0 to be configured
* utils:md5: Handle data for md5 cannot be NULL
* lanserv: Validate message ordering at authentication
* lanserv: Don't assign session privilege until after auth is done
* lanserv: Clear out session data on a close
* utils: Check for NULL before freeing MD5 data
* lib:lan: Reject a zero sid
* sample: Fix data parsing in ipmicmd
* ui: Pass in a sockaddr_in to SNMP trap handler
* Fix gen_random()
* lanserv: Check that authdata is initialized before cleanup
-------------------------------------------------------------------
Wed Sep 25 10:40:09 UTC 2024 - trenn@suse.de
- Fix bsc#1229910 CVE-2024-42934 by below 2 patches:
* lanserv: Fix an issue with authorization range checking
* lanserv: Check some bounds on incoming messages
- Remove mainlined patches:
D OpenIPMI-autoconf-m4-ax-python-devel-serial25.patch
D OpenIPMI-c99.patch
- Update to version 2.0.36.4+git.c114912:
* strings: Fix an incorrect string in sensor type 0x1f
* lanserv: Check that message and negotiated authtypes are the same
* Update some strings for newer IPMI standards
* Fix error report in startup_set_sel_time
* Move to version 2.0.36
* lanserv: Fix an issue with authorization range checking
* lanserv: Fix an issue logging an error on a message
* include: Add a doc for the lifetime of ipmi_entity_get_fru()
* Move to version 2.0.35
* lanserv: Check some bounds on incoming messages
* Create SECURITY.md
* swig: Cast some values to get proper passing of values
* sample: Fix an snprintf overflow issue
* ui: Fix an snprintf overflow issue
* Add github actions
* cmdlang: Remove yet more dead code
* swig: Remove a double free
* ui: More print issues
* sensor: Remove more dead code
* swig: Fix more resource leaks
* Finish up error updates
* ui: Fix a ton of formatting errors
* cmdlang: Remove some dead code
* cmdlang: Remove some dead code
* cmdlang: Remove an unneeded if
* cmdlang: Remove an unnecessary loop
* cmdlang: Remove some dead code
* lanserv: Fix an invalid overlapping copy
* lanserv: Add a missing break for watchdog handling
* lanserv: Add a check for the picmg address controller not found
* lanserv: Add a missing NULL pointer check
* lanserv: Fix an error report
* lanserv: Fix an unsigned compare issue
* lanserv: Remove some dead code
* lanserv: Fix reading persistance data
* domain: Fix some various bugs
* entity: Fix a ordering check issue
* fru: Remove unnecessary check
* smi: Remove some dead code
* utils: Fix address comparison
* fru: Fix record with possible NULL data
* mc: Fix sel re-fetch
* atca: Fix some various issues
* oem_motorola_mxp: Fix some minor issues
* control,sensor: Fix some string handling
* sel: Add a missing NULL check
* sample: Remove some dead code
* sensor: Fix some wrong sizes
* tcl: Fix an infinite loop
* swig: Fix a wrong malloc size
* lanserv: Fix a memory leak in sdrcomp
* unix: Add missing unlock on an error handler
* unix: Cast a variable to int from time()
* swig: Fix issues with memory handling
* Don't run perl tests in parallel
* C type errors in the SWIG-generated Perl bindings
* Move to version 2.0.34
* swig:perl: Fix the tests
* swig:perl: Add a way to print the test environment
* lanserv: Allow zero to be specified for the port
* lanserv: Return an error if sensor data is requested before ready
* unix: Handle EAGAIN along with EINTR
* ipmi_sim:sensor: Add the low 8 bits of discrete value to sensor reading
* fix coredump when use ipmi_ui
* Fix the name of global event support for sensors
* Update configure.ac
* Move to version 2.0.33
* exec: fix race in symlink install
* Make lan.conf and simulator startup file 600 permissions
* Update the python m4 file
* Avoid searching host library path
-------------------------------------------------------------------
Tue Jun 18 12:31:39 UTC 2024 - Martin Jambor <mjambor@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package OpenIPMI
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,11 +16,6 @@
#
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
%define _fillupdir %{_localstatedir}/adm/fillup-templates
%endif
# IPMI.pdf build for devel package
# It is not worth to build, but as I got it running I add it
# how it worked for me in Tumbleweed, Leap 42.2 and 42.3 and SLE 15
@@ -29,9 +24,12 @@
%if 0%{?suse_version} < 1500
%define doc_build 0
%endif
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
%define _fillupdir %{_localstatedir}/adm/fillup-templates
%endif
Name: OpenIPMI
Version: 2.0.32.3+git.05faa36e
Version: 2.0.37.1+git.ed1a49ee
Release: 0
Summary: Service processor access via IPMI
License: LGPL-2.1-or-later
@@ -49,13 +47,6 @@ Patch2: openipmi-tinfo.patch
Patch3: OpenIMPI-add-libncurses.patch
Patch4: fix_dia_version_detection.patch
Patch5: use_python3_shebang
# PATCH-FIX-UPSTREAM OpenIPMI-autoconf-m4-ax-python-devel-serial25.patch
# replace autoconf script serial18 addtion by serial 25 capable of finding python3.10
# retains upstream change https://sourceforge.net/p/openipmi/code/ci/53d2b36b58383d155e2410cae3b30975a92f417d
Patch6: OpenIPMI-autoconf-m4-ax-python-devel-serial25.patch
# Backport of upstream https://sourceforge.net/p/openipmi/patches/38/ to fix boo#1225871
Patch7: OpenIPMI-c99.patch
BuildRequires: autoconf-archive
BuildRequires: gd-devel
BuildRequires: gdbm-devel
@@ -79,6 +70,12 @@ BuildRequires: swig
BuildRequires: systemd-rpm-macros
BuildRequires: tcl-devel
BuildRequires: tix
Requires(post): %fillup_prereq
Provides: ipmi_ui
Provides: ipmicmd
Provides: ipmilan
%{?systemd_ordering}
%{?perl_requires}
%if 0%{?doc_build}
BuildRequires: dia
BuildRequires: ghostscript
@@ -89,13 +86,6 @@ BuildRequires: texlive-latex
BuildRequires: texlive-moreverb
%endif
Requires(post): %fillup_prereq
Provides: ipmi_ui
Provides: ipmicmd
Provides: ipmilan
%{?systemd_ordering}
%{?perl_requires}
%description
OpenIPMI allows access to IPMI information on a server and to abstract it.
@@ -137,8 +127,8 @@ Group: System/Monitoring
Requires: OpenIPMI
Requires: python3-tk
Requires: tix
Provides: openipmigui
Conflicts: OpenIPMI-python
Provides: openipmigui
%description python3
The Python parts provide an OpenIPMI Python library and a GUI, openipmigui,

View File

@@ -2,6 +2,7 @@
<service name="obs_scm" mode="localonly">
<param name="url">https://github.com/cminyard/openipmi.git</param>
<param name="scm">git</param>
<!-- <param name="basename">OpenIPMI</param> -->
<param name="versionrewrite-pattern">v(.*)</param>
<param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@+git.%h</param>
<param name="changesgenerate">enable</param>

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/cminyard/openipmi.git</param>
<param name="changesrevision">05faa36e93eaf7e150bd43d7935e755b6e8ca617</param></service></servicedata>
<param name="changesrevision">ed1a49ee3477d7385e078150420f9fed51ebeae6</param></service></servicedata>

View File

@@ -1,16 +0,0 @@
Not sure for what exactly this could be
Index: OpenIPMI-2.0.25/swig/OpenIPMI.i
===================================================================
--- OpenIPMI-2.0.25.orig/swig/OpenIPMI.i 2018-06-20 15:53:54.000000000 +0200
+++ OpenIPMI-2.0.25/swig/OpenIPMI.i 2018-08-27 16:31:55.632653896 +0200
@@ -2704,7 +2704,7 @@ sol_data_received_cb(ipmi_sol_conn_t *co
int rv = 0;
conn_ref = swig_make_ref(conn, ipmi_sol_conn_t);
- swig_call_cb_rv('i', &rv, cb, "sol_data_received", "%p%*b",
+ swig_call_cb_rv('i', &rv, cb, "sol_data_received", "%p%*s",
&conn_ref, count, buf);
swig_free_ref_check(conn_ref, ipmi_sol_conn_t);
return rv;

View File

@@ -1,37 +0,0 @@
From: zhangqiumiao <zhangqiumiao1@huawei.com>
Subject: lanserv: Add the judgment on the validity of length in emu_cmd.c and session in lanserv_ipmi.c
References:
Patch-Mainline:
Git-commit: 35525f7903bdbfe98c1b101f2c30afd78fbdda98
Git-repo: https://git.code.sf.net/p/openipmi/code.git
Signed-off-by: <trenn@suse.com>
diff --git a/lanserv/emu_cmd.c b/lanserv/emu_cmd.c
index ea3f8685..727bb0c8 100644
--- a/lanserv/emu_cmd.c
+++ b/lanserv/emu_cmd.c
@@ -913,6 +913,9 @@ mc_add_fru_data(emu_out_t *out, emu_data_t *emu, lmc_data_t *mc, char **toks)
if (rv)
return rv;
+ if (length > MAX_FRU_SIZE)
+ return EINVAL;
+
tok = mystrtok(NULL, " \t\n", toks);
if (!tok) {
out->eprintf(out, "**No FRU data type given");
diff --git a/lanserv/lanserv_ipmi.c b/lanserv/lanserv_ipmi.c
index 4005bcba..ccd60015 100644
--- a/lanserv/lanserv_ipmi.c
+++ b/lanserv/lanserv_ipmi.c
@@ -3143,7 +3143,7 @@ get_associated_mc(channel_t *chan, uint32_t session_id, unsigned int payload)
lanserv_data_t *lan = chan->chan_info;
session_t *session = sid_to_session(lan, session_id);
- if (payload >= LANSERV_NUM_CLOSERS)
+ if (payload >= LANSERV_NUM_CLOSERS || session == NULL)
return NULL;
return session->closers[payload].mc;

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
name: openipmi
version: 2.0.32.3+git.05faa36e
mtime: 1649625713
commit: 05faa36e93eaf7e150bd43d7935e755b6e8ca617
version: 2.0.37.1+git.ed1a49ee
mtime: 1754339351
commit: ed1a49ee3477d7385e078150420f9fed51ebeae6

View File

@@ -1,28 +0,0 @@
From: Corey Minyard <cminyard@mvista.com>
Subject: unix_thread: Remove the fd handler sets before it's set up
References:
Patch-Mainline:
Git-commit: d613d279dbce2d5e4594f6fed39653d83af0d99b
Git-repo: https://git.code.sf.net/p/openipmi/code.git
There were a couple of fd handler set before the fd was actually
configured. With recent changes in the selector code that would result
in an assert. The calls were unnecessary, so remove them.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: <trenn@suse.com>
diff --git a/unix/posix_thread_os_hnd.c b/unix/posix_thread_os_hnd.c
index 28c66898..cb315c5e 100644
--- a/unix/posix_thread_os_hnd.c
+++ b/unix/posix_thread_os_hnd.c
@@ -140,8 +140,6 @@ add_fd(os_handler_t *handler,
fd_data->data_ready = data_ready;
fd_data->handler = handler;
fd_data->freed = freed;
- sel_set_fd_write_handler(posix_sel, fd, SEL_FD_HANDLER_DISABLED);
- sel_set_fd_except_handler(posix_sel, fd, SEL_FD_HANDLER_DISABLED);
rv = sel_set_fd_handlers(posix_sel, fd, fd_data, fd_handler, NULL, NULL,
free_fd_data);
if (rv) {