libipmi
This commit is contained in:
parent
a8f88a63ca
commit
73428d3141
|
@ -0,0 +1,10 @@
|
||||||
|
Real sources are in the package illumos-source-X.Y,
|
||||||
|
where X and Y are numbers. Exact values of X and Y
|
||||||
|
are set in Build-Depends field of debian/control as
|
||||||
|
well as in the version string in debian/changelog,
|
||||||
|
in a form of X.Y-1.
|
||||||
|
|
||||||
|
To add a patch you need first to unpack files from
|
||||||
|
illumos-source-X.Y using ./debian/rules unpack
|
||||||
|
and, desirably, ./debian/rules patch
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
libipmi (2.10-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* Initial release.
|
||||||
|
|
||||||
|
-- Igor Pashev <pashev.igor@gmail.com> Wed, 09 Jan 2013 23:45:52 +0400
|
|
@ -0,0 +1 @@
|
||||||
|
9
|
|
@ -0,0 +1,72 @@
|
||||||
|
Source: libipmi
|
||||||
|
Section: libs
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Igor Pashev <pashev.igor@gmail.com>
|
||||||
|
Build-Depends:
|
||||||
|
dh-illumos,
|
||||||
|
gcc-multilib,
|
||||||
|
illumos-source-2.10,
|
||||||
|
libnvpair1-dev, lib32nvpair1-dev [illumos-amd64],
|
||||||
|
quilt,
|
||||||
|
symlinks,
|
||||||
|
Standards-Version: 3.9.3
|
||||||
|
Homepage: https://www.illumos.org
|
||||||
|
|
||||||
|
|
||||||
|
Package: libipmi1
|
||||||
|
Section: libs
|
||||||
|
Priority: optional
|
||||||
|
Multi-Arch: same
|
||||||
|
Pre-Depends: ${misc:Pre-Depends}
|
||||||
|
Architecture: illumos-any
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Description: Intelligent Platform Management Interface library
|
||||||
|
This package contains libipmi shared library.
|
||||||
|
.
|
||||||
|
This library is designed for system software communicating with
|
||||||
|
illumos-supported service processors over /dev/ipmi0.
|
||||||
|
It is not a generic IPMI library.
|
||||||
|
|
||||||
|
Package: libipmi1-dev
|
||||||
|
Section: libdevel
|
||||||
|
Priority: optional
|
||||||
|
Architecture: illumos-any
|
||||||
|
Provides: libipmi-dev
|
||||||
|
Depends: libipmi1 (= ${binary:Version}), ${misc:Depends},
|
||||||
|
Description: IPMI library (development files)
|
||||||
|
This package contains the header files and symlinks needed
|
||||||
|
to compile applications that use libipmi.
|
||||||
|
.
|
||||||
|
This library is designed for system software communicating with
|
||||||
|
illumos-supported service processors over /dev/ipmi0.
|
||||||
|
It is not a generic IPMI library.
|
||||||
|
|
||||||
|
Package: lib32ipmi1
|
||||||
|
Section: libs
|
||||||
|
Priority: optional
|
||||||
|
Architecture: illumos-amd64
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Description: Intelligent Platform Management Interface library (32-bit)
|
||||||
|
This package contains libipmi shared library.
|
||||||
|
.
|
||||||
|
This library is designed for system software communicating with
|
||||||
|
illumos-supported service processors over /dev/ipmi0.
|
||||||
|
It is not a generic IPMI library.
|
||||||
|
.
|
||||||
|
This is a 32-bit version of the library.
|
||||||
|
|
||||||
|
Package: lib32ipmi1-dev
|
||||||
|
Section: libdevel
|
||||||
|
Priority: optional
|
||||||
|
Architecture: illumos-amd64
|
||||||
|
Provides: lib32ipmi-dev
|
||||||
|
Depends: lib32ipmi1 (= ${binary:Version}), libipmi1-dev (= ${binary:Version}),
|
||||||
|
${misc:Depends}
|
||||||
|
Description: IPMI library (32-bit development files)
|
||||||
|
This package contains files needed to compile
|
||||||
|
32-bit applications that use libipmi.
|
||||||
|
.
|
||||||
|
This library is designed for system software communicating with
|
||||||
|
illumos-supported service processors over /dev/ipmi0.
|
||||||
|
It is not a generic IPMI library.
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: 2012, Igor Pashev <pashev.igor@gmail.com>
|
||||||
|
License: WTFPL-2
|
||||||
|
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||||
|
Version 2, December 2004
|
||||||
|
.
|
||||||
|
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
|
||||||
|
.
|
||||||
|
Everyone is permitted to copy and distribute verbatim or modified
|
||||||
|
copies of this license document, and changing it is allowed as long
|
||||||
|
as the name is changed.
|
||||||
|
.
|
||||||
|
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
.
|
||||||
|
0. You just DO WHAT THE FUCK YOU WANT TO.
|
||||||
|
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
License: CDDL
|
||||||
|
Note that sources are not in this package but in the package
|
||||||
|
illumos-source-X.Y. Those sources are covered by Common Development
|
||||||
|
and Distribution License (CDDL).
|
||||||
|
.
|
||||||
|
On Dyson system, the full text of the CDDL license
|
||||||
|
can be found in the file `/usr/share/common-licenses/CDDL-1.0'.
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
usr/lib32/libipmi.so
|
|
@ -0,0 +1 @@
|
||||||
|
usr/lib32/libipmi.so.1
|
|
@ -0,0 +1,2 @@
|
||||||
|
usr/lib/*/libipmi.so
|
||||||
|
usr/include/libipmi.h
|
|
@ -0,0 +1 @@
|
||||||
|
usr/lib/*/libipmi.so.1
|
|
@ -0,0 +1,56 @@
|
||||||
|
libipmi.so.1 libipmi1 #MINVER#
|
||||||
|
SUNWprivate_1.1@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_chassis_identify@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_close@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_entity_iter@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_entity_iter_children@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_entity_iter_sdr@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_entity_lookup@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_entity_lookup_sdr@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_entity_name@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_entity_parent@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_entity_present@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_entity_present_sdr@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_errmsg@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_errno@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_event_platform_message@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_firmware_version@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_fru_parse_board@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_fru_parse_product@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_fru_read@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_get_channel_info@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_get_deviceid@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_get_sensor_reading@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_is_sun_ilom@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_lan_get_config@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_lan_set_config@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_open@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sdr_changed@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sdr_conv_reading@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sdr_get@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sdr_iter@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sdr_lookup@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sdr_lookup_compact_sensor@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sdr_lookup_fru@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sdr_lookup_full_sensor@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sdr_lookup_generic@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sdr_refresh@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sel_get_entry@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sel_get_info@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sel_get_time@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sel_get_utc_offset@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sel_set_time@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sel_set_utc_offset@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_send@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sensor_reading_name@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sensor_type_name@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sensor_units_name@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_set_sensor_reading@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sunoem_led_get@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sunoem_led_set@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sunoem_update_fru@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_sunoem_uptime@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_user_iter@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_user_lookup_id@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_user_lookup_name@SUNWprivate_1.1 2.10-1
|
||||||
|
ipmi_user_set_password@SUNWprivate_1.1 2.10-1
|
|
@ -0,0 +1,78 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
include /usr/share/dpkg/architecture.mk
|
||||||
|
export DH_VERBOSE = 1
|
||||||
|
|
||||||
|
# libs having "install_h" target to install headers:
|
||||||
|
libs_headers := \
|
||||||
|
libipmi \
|
||||||
|
|
||||||
|
# All libraries to build and to package.
|
||||||
|
# Order is important:
|
||||||
|
libs := $(libs_headers) \
|
||||||
|
|
||||||
|
|
||||||
|
unpack: unpack-stamp
|
||||||
|
unpack-stamp:
|
||||||
|
dh_testdir
|
||||||
|
dh_illumos_gate --build \
|
||||||
|
$(libs:%=usr/src/lib/%)
|
||||||
|
|
||||||
|
# Not used and buggy:
|
||||||
|
echo > usr/src/Makefile.msg.targ
|
||||||
|
touch $@
|
||||||
|
|
||||||
|
patch: patch-stamp
|
||||||
|
patch-stamp: unpack-stamp
|
||||||
|
dh_testdir
|
||||||
|
[ ! -f debian/patches/series ] || QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
|
||||||
|
touch $@
|
||||||
|
|
||||||
|
unpatch:
|
||||||
|
dh_testdir
|
||||||
|
[ ! -f debian/patches/series ] || QUILT_PATCHES=debian/patches quilt pop -a -f || test $$? = 2
|
||||||
|
rm -f patch-stamp
|
||||||
|
|
||||||
|
dirs-stamp:
|
||||||
|
. usr/env.sh; mkdir -p \
|
||||||
|
debian/tmp/usr/include \
|
||||||
|
debian/tmp$$DEB_USRLIBDIR_32 \
|
||||||
|
debian/tmp$$DEB_USRLIBDIR_64
|
||||||
|
touch $@
|
||||||
|
|
||||||
|
headers-stamp: patch-stamp dirs-stamp
|
||||||
|
dh_illumos_make -t install_h $(libs:%=usr/src/lib/%)
|
||||||
|
touch $@
|
||||||
|
|
||||||
|
install build build-arch build-indep: build-stamp
|
||||||
|
build-stamp: patch-stamp dirs-stamp headers-stamp
|
||||||
|
dh_illumos_make $(libs:%=usr/src/lib/%)
|
||||||
|
touch $@
|
||||||
|
|
||||||
|
binary binary-arch binary-indep: binary-stamp
|
||||||
|
binary-stamp: build-stamp
|
||||||
|
dh_testdir
|
||||||
|
dh_testroot
|
||||||
|
dh_installdirs
|
||||||
|
dh_install
|
||||||
|
dh_installman
|
||||||
|
dh_installdocs
|
||||||
|
dh_installexamples
|
||||||
|
dh_installchangelogs
|
||||||
|
dh_link
|
||||||
|
dh_compress
|
||||||
|
dh_fixperms
|
||||||
|
dh_makeshlibs -- -c4
|
||||||
|
dh_installdeb
|
||||||
|
dh_shlibdeps
|
||||||
|
dh_gencontrol
|
||||||
|
dh_md5sums
|
||||||
|
dh_builddeb
|
||||||
|
touch $@
|
||||||
|
|
||||||
|
clean: unpatch
|
||||||
|
dh_testdir
|
||||||
|
dh_testroot
|
||||||
|
dh_clean
|
||||||
|
rm -rf usr
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
3.0 (native)
|
Loading…
Reference in New Issue