mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-06-29 16:51:35 +00:00
ID:491 - Fetch vendor IDs from IANA
Prior to this commit, ipmitool had hard-coded list of OEM Vendor IDs that it recognized. With this commit, the list is fetched directly from IANA PEN registry at build time, so that each release will now contain an up-to-date list of vendors. Only basic ASCII characters are supported now. Any Unicode or extended ASCII will be either transliterated (cyrillic and diacritic) or simply removed (chinese). Closes: ID:491 https://sourceforge.net/p/ipmitool/bugs/491/ ID:505 https://sourceforge.net/p/ipmitool/bugs/505/ Signed-off-by: Alexander Amelkin <alexander@amelkin.msk.ru>
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
PEN_LIST = $(srcdir)/ipmi_pen_list.inc.c
|
||||
|
||||
noinst_LTLIBRARIES = libipmitool.la
|
||||
libipmitool_la_SOURCES = helper.c ipmi_sdr.c ipmi_sel.c ipmi_sol.c ipmi_pef.c \
|
||||
@@ -48,3 +49,8 @@ libipmitool_la_LDFLAGS = -export-dynamic
|
||||
libipmitool_la_LIBADD = -lm
|
||||
libipmitool_la_DEPENDENCIES =
|
||||
|
||||
$(PEN_LIST):
|
||||
$(srcdir)/create_pen_list $(PEN_LIST)
|
||||
|
||||
ipmi_strings.lo: $(PEN_LIST)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user