summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-05-09 06:47:15 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-05-09 06:47:15 +0400
commit6306b6e26c0a4d3944c5daeb11229c663f740008 (patch)
treeb00dece0d38027990cd9bd3d583791742c0b88d4
parent00519f8bf5b56db1991923206c6cf8e01fcbfd9a (diff)
downloadlibdevice-master.tar.gz
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control65
-rw-r--r--debian/copyright26
-rw-r--r--debian/lib32device-dev.install2
-rw-r--r--debian/lib32device1.install1
-rw-r--r--debian/lib32device1.symbols48
-rw-r--r--debian/libdevice-dev.install3
-rw-r--r--debian/libdevice1.install1
-rw-r--r--debian/libdevice1.symbols48
-rwxr-xr-xdebian/rules47
-rw-r--r--debian/source/format1
12 files changed, 248 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ca6ca91
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libdevice (1.0-0+dyson1) unstable; urgency=low
+
+ * Initial release. For Dyson.
+
+ -- Igor Pashev <pashev.igor@gmail.com> Thu, 09 May 2013 06:11:21 +0400
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ad5f3bc
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,65 @@
+Source: libdevice
+Section: libs
+Priority: optional
+Maintainer: Igor Pashev <pashev.igor@gmail.com>
+Build-Depends:
+ debhelper ( >= 9 ),
+ dpkg-dev ( >= 1.16.1~ ),
+ libnvpair-dev, lib32nvpair-dev [illumos-amd64 kopensolaris-amd64],
+ gcc-multilib [illumos-amd64 kopensolaris-amd64],
+Standards-Version: 3.9.4
+Homepage: http://illumos.org/
+
+Package: libdevice1
+Section: libs
+Priority: optional
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: illumos device control library
+ This package includes shared libdevice library.
+ .
+ This library is an interface to illumos kernel and is used to control
+ devices available through illumos device tree (/devices). This includes power
+ management, configuring and deconfigureing a deivce, resetting a device, etc.
+
+Package: lib32device1
+Section: libs
+Priority: optional
+Architecture: illumos-amd64 kopensolaris-amd64
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: illumos device control library (32 bit)
+ This library is an interface to illumos kernel and is used to control
+ devices available through illumos device tree (/devices). This includes power
+ management, configuring and deconfigureing a deivce, resetting a device, etc.
+ .
+ This is 32-bit version of the library
+
+Package: libdevice-dev
+Architecture: any
+Priority: optional
+Section: libdevel
+Depends: ${misc:Depends}, libdevice1 (= ${binary:Version})
+Description: illumos device control library: development files
+ Contains the symlink, static library and headers needed to compile
+ applications using illumos device control library.
+ .
+ This library is an interface to illumos kernel and is used to control
+ devices available through illumos device tree (/devices). This includes power
+ management, configuring and deconfigureing a deivce, resetting a device, etc.
+
+Package: lib32device-dev
+Architecture: illumos-amd64 kopensolaris-amd64
+Priority: optional
+Section: libdevel
+Depends: ${misc:Depends}, lib32device1 (= ${binary:Version}),
+ libdevice-dev (= ${binary:Version})
+Description: illumos device control library: development files (32 bit)
+ Contains the symlink, static library and headers needed to compile
+ 32-bit applications using illumos device control library.
+ .
+ This library is an interface to illumos kernel and is used to control
+ devices available through illumos device tree (/devices). This includes power
+ management, configuring and deconfigureing a deivce, resetting a device, etc.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..00de10c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+
+Files: debian/*
+Copyright: 2013, 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: usr/*
+Copyright: 2005, Sun Microsystems, Inc.
+License: CDDL-1.0
+ .
+ On Debian system, the full text of the CDDL license
+ can be found in the file `/usr/share/common-licenses/CDDL-1.0'.
+
diff --git a/debian/lib32device-dev.install b/debian/lib32device-dev.install
new file mode 100644
index 0000000..fe89145
--- /dev/null
+++ b/debian/lib32device-dev.install
@@ -0,0 +1,2 @@
+usr/lib32/libdevice.a
+usr/lib32/libdevice.so
diff --git a/debian/lib32device1.install b/debian/lib32device1.install
new file mode 100644
index 0000000..194a752
--- /dev/null
+++ b/debian/lib32device1.install
@@ -0,0 +1 @@
+usr/lib32/libdevice.so.1*
diff --git a/debian/lib32device1.symbols b/debian/lib32device1.symbols
new file mode 100644
index 0000000..0a806b9
--- /dev/null
+++ b/debian/lib32device1.symbols
@@ -0,0 +1,48 @@
+libdevice.so.1 libdevice1 #MINVER#
+ LIBDEVICE_1.0@LIBDEVICE_1.0 1.0
+ devctl_ap_acquire@LIBDEVICE_1.0 1.0
+ devctl_ap_configure@LIBDEVICE_1.0 1.0
+ devctl_ap_connect@LIBDEVICE_1.0 1.0
+ devctl_ap_disconnect@LIBDEVICE_1.0 1.0
+ devctl_ap_getstate@LIBDEVICE_1.0 1.0
+ devctl_ap_insert@LIBDEVICE_1.0 1.0
+ devctl_ap_remove@LIBDEVICE_1.0 1.0
+ devctl_ap_unconfigure@LIBDEVICE_1.0 1.0
+ devctl_bus_acquire@LIBDEVICE_1.0 1.0
+ devctl_bus_configure@LIBDEVICE_1.0 1.0
+ devctl_bus_dev_create@LIBDEVICE_1.0 1.0
+ devctl_bus_getstate@LIBDEVICE_1.0 1.0
+ devctl_bus_quiesce@LIBDEVICE_1.0 1.0
+ devctl_bus_reset@LIBDEVICE_1.0 1.0
+ devctl_bus_resetall@LIBDEVICE_1.0 1.0
+ devctl_bus_unconfigure@LIBDEVICE_1.0 1.0
+ devctl_bus_unquiesce@LIBDEVICE_1.0 1.0
+ devctl_ddef_alloc@LIBDEVICE_1.0 1.0
+ devctl_ddef_byte_array@LIBDEVICE_1.0 1.0
+ devctl_ddef_free@LIBDEVICE_1.0 1.0
+ devctl_ddef_int@LIBDEVICE_1.0 1.0
+ devctl_ddef_int_array@LIBDEVICE_1.0 1.0
+ devctl_ddef_string@LIBDEVICE_1.0 1.0
+ devctl_ddef_string_array@LIBDEVICE_1.0 1.0
+ devctl_device_acquire@LIBDEVICE_1.0 1.0
+ devctl_device_getstate@LIBDEVICE_1.0 1.0
+ devctl_device_offline@LIBDEVICE_1.0 1.0
+ devctl_device_online@LIBDEVICE_1.0 1.0
+ devctl_device_remove@LIBDEVICE_1.0 1.0
+ devctl_device_reset@LIBDEVICE_1.0 1.0
+ devctl_get_pathname@LIBDEVICE_1.0 1.0
+ devctl_pm_bus_acquire@LIBDEVICE_1.0 1.0
+ devctl_pm_bus_no_invol@LIBDEVICE_1.0 1.0
+ devctl_pm_bus_teststrict@LIBDEVICE_1.0 1.0
+ devctl_pm_busycomponent@LIBDEVICE_1.0 1.0
+ devctl_pm_changepowerhigh@LIBDEVICE_1.0 1.0
+ devctl_pm_changepowerlow@LIBDEVICE_1.0 1.0
+ devctl_pm_dev_acquire@LIBDEVICE_1.0 1.0
+ devctl_pm_device_changeonresume@LIBDEVICE_1.0 1.0
+ devctl_pm_device_no_lower_power@LIBDEVICE_1.0 1.0
+ devctl_pm_device_promprintf@LIBDEVICE_1.0 1.0
+ devctl_pm_failsuspend@LIBDEVICE_1.0 1.0
+ devctl_pm_idlecomponent@LIBDEVICE_1.0 1.0
+ devctl_pm_raisepower@LIBDEVICE_1.0 1.0
+ devctl_pm_testbusy@LIBDEVICE_1.0 1.0
+ devctl_release@LIBDEVICE_1.0 1.0
diff --git a/debian/libdevice-dev.install b/debian/libdevice-dev.install
new file mode 100644
index 0000000..8d1437f
--- /dev/null
+++ b/debian/libdevice-dev.install
@@ -0,0 +1,3 @@
+usr/include/libdevice*
+usr/lib/*/libdevice.a
+usr/lib/*/libdevice.so
diff --git a/debian/libdevice1.install b/debian/libdevice1.install
new file mode 100644
index 0000000..b757898
--- /dev/null
+++ b/debian/libdevice1.install
@@ -0,0 +1 @@
+usr/lib/*/libdevice.so.1*
diff --git a/debian/libdevice1.symbols b/debian/libdevice1.symbols
new file mode 100644
index 0000000..0a806b9
--- /dev/null
+++ b/debian/libdevice1.symbols
@@ -0,0 +1,48 @@
+libdevice.so.1 libdevice1 #MINVER#
+ LIBDEVICE_1.0@LIBDEVICE_1.0 1.0
+ devctl_ap_acquire@LIBDEVICE_1.0 1.0
+ devctl_ap_configure@LIBDEVICE_1.0 1.0
+ devctl_ap_connect@LIBDEVICE_1.0 1.0
+ devctl_ap_disconnect@LIBDEVICE_1.0 1.0
+ devctl_ap_getstate@LIBDEVICE_1.0 1.0
+ devctl_ap_insert@LIBDEVICE_1.0 1.0
+ devctl_ap_remove@LIBDEVICE_1.0 1.0
+ devctl_ap_unconfigure@LIBDEVICE_1.0 1.0
+ devctl_bus_acquire@LIBDEVICE_1.0 1.0
+ devctl_bus_configure@LIBDEVICE_1.0 1.0
+ devctl_bus_dev_create@LIBDEVICE_1.0 1.0
+ devctl_bus_getstate@LIBDEVICE_1.0 1.0
+ devctl_bus_quiesce@LIBDEVICE_1.0 1.0
+ devctl_bus_reset@LIBDEVICE_1.0 1.0
+ devctl_bus_resetall@LIBDEVICE_1.0 1.0
+ devctl_bus_unconfigure@LIBDEVICE_1.0 1.0
+ devctl_bus_unquiesce@LIBDEVICE_1.0 1.0
+ devctl_ddef_alloc@LIBDEVICE_1.0 1.0
+ devctl_ddef_byte_array@LIBDEVICE_1.0 1.0
+ devctl_ddef_free@LIBDEVICE_1.0 1.0
+ devctl_ddef_int@LIBDEVICE_1.0 1.0
+ devctl_ddef_int_array@LIBDEVICE_1.0 1.0
+ devctl_ddef_string@LIBDEVICE_1.0 1.0
+ devctl_ddef_string_array@LIBDEVICE_1.0 1.0
+ devctl_device_acquire@LIBDEVICE_1.0 1.0
+ devctl_device_getstate@LIBDEVICE_1.0 1.0
+ devctl_device_offline@LIBDEVICE_1.0 1.0
+ devctl_device_online@LIBDEVICE_1.0 1.0
+ devctl_device_remove@LIBDEVICE_1.0 1.0
+ devctl_device_reset@LIBDEVICE_1.0 1.0
+ devctl_get_pathname@LIBDEVICE_1.0 1.0
+ devctl_pm_bus_acquire@LIBDEVICE_1.0 1.0
+ devctl_pm_bus_no_invol@LIBDEVICE_1.0 1.0
+ devctl_pm_bus_teststrict@LIBDEVICE_1.0 1.0
+ devctl_pm_busycomponent@LIBDEVICE_1.0 1.0
+ devctl_pm_changepowerhigh@LIBDEVICE_1.0 1.0
+ devctl_pm_changepowerlow@LIBDEVICE_1.0 1.0
+ devctl_pm_dev_acquire@LIBDEVICE_1.0 1.0
+ devctl_pm_device_changeonresume@LIBDEVICE_1.0 1.0
+ devctl_pm_device_no_lower_power@LIBDEVICE_1.0 1.0
+ devctl_pm_device_promprintf@LIBDEVICE_1.0 1.0
+ devctl_pm_failsuspend@LIBDEVICE_1.0 1.0
+ devctl_pm_idlecomponent@LIBDEVICE_1.0 1.0
+ devctl_pm_raisepower@LIBDEVICE_1.0 1.0
+ devctl_pm_testbusy@LIBDEVICE_1.0 1.0
+ devctl_release@LIBDEVICE_1.0 1.0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e59092a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,47 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/architecture.mk
+
+export DPKG_GENSYMBOLS_CHECK_LEVEL := 4
+
+# list of arch for which build 32-bit library
+lib32 := illumos-amd64 kopensolaris-amd64
+
+# list of arch for which build 64-bit library
+lib64 :=
+
+variants := default
+
+ifneq (,$(filter $(DEB_HOST_ARCH), $(lib32)))
+variants += 32
+endif
+ifneq (,$(filter $(DEB_HOST_ARCH), $(lib64)))
+variants += 64
+endif
+
+configure.32 := --libdir=\$${prefix}/lib32 CFLAGS="-m32"
+configure.64 := --libdir=\$${prefix}/lib64 CFLAGS="-m64"
+
+%:
+ dh $@
+
+override_dh_auto_configure : $(variants:%=configure-%-stamp)
+override_dh_auto_build : $(variants:%=build-%-stamp)
+override_dh_auto_install : $(variants:%=install-%-stamp)
+override_dh_auto_clean:
+ rm -rf debian/build
+
+configure-%-stamp:
+ dh_auto_configure -B debian/build/$* -- \
+ $(configure.$*)
+ touch $@
+
+build-%-stamp: configure-%-stamp
+ dh_auto_build -B debian/build/$*
+ touch $@
+
+install-%-stamp: build-%-stamp
+ dh_auto_install -B debian/build/$*
+ touch $@
+
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)