summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/control13
-rw-r--r--libc/debian/changelog5
-rw-r--r--libc/debian/compat1
-rw-r--r--libc/debian/compat_headers/features.h (renamed from debian/compat_headers/features.h)0
-rw-r--r--libc/debian/compat_headers/sys/cdefs.h (renamed from debian/compat_headers/sys/cdefs.h)0
-rw-r--r--libc/debian/control76
-rwxr-xr-xlibc/debian/ldconfig (renamed from debian/ldconfig)0
-rw-r--r--libc/debian/libc-bin.install (renamed from debian/libc-bin.install)0
-rw-r--r--libc/debian/libc-bin.links (renamed from debian/libc-bin.links)0
-rw-r--r--libc/debian/libc-compat.install (renamed from debian/libc-compat.install)0
-rw-r--r--libc/debian/libc1-dev-illumos-i386.install (renamed from debian/libc1-dev-illumos-i386.install)0
-rw-r--r--libc/debian/libc1-dev-illumos-i386.links (renamed from debian/libc1-dev-illumos-i386.links)0
-rw-r--r--libc/debian/libc1-dev.install (renamed from debian/libc1-dev.install)0
-rw-r--r--libc/debian/libc1-dev.links (renamed from debian/libc1-dev.links)0
-rw-r--r--libc/debian/libc1.dirs (renamed from debian/libc1.dirs)0
-rw-r--r--libc/debian/libc1.install (renamed from debian/libc1.install)0
-rw-r--r--libc/debian/libc1.links (renamed from debian/libc1.links)0
-rw-r--r--libc/debian/libc1.postinst (renamed from debian/libc1.postinst)0
-rw-r--r--libc/debian/patches/u_int_types.patch (renamed from debian/patches/u_int_types.patch)0
-rwxr-xr-xlibc/debian/rules48
20 files changed, 143 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index bc38079..ef206e1 100644
--- a/debian/control
+++ b/debian/control
@@ -551,6 +551,13 @@ Description: obsolete libc synonym symbols library
# machine-independent data representation, a remote procedure call mechanism,
# and other networking services useful for application programs.
+Package: libnvpair1-dev
+Section: libs
+Priority: standard
+Architecture: illumos-amd64
+Provides: libnvpair-dev
+Depends: libnvpair1 (= ${binary:Version}), ${misc:Depends}
+Description: name-value pair library (development files)
Package: libnvpair1
Section: libs
@@ -693,6 +700,12 @@ Description: library of device information functions
of device nodes, defined as di_node_t in the libdevinfo interfaces.
Each di_node_t represents a physical or logical (pseudo) device.
+Package: libdevinfo1-dev
+Section: libs
+Priority: standard
+Architecture: illumos-amd64
+Depends: libdevinfo1 (= ${binary:Version}), ${misc:Depends}, libnvpair1-dev
+Description: library of device information functions (development files)
Package: lib32uuid1
Section: libs
diff --git a/libc/debian/changelog b/libc/debian/changelog
new file mode 100644
index 0000000..babe0aa
--- /dev/null
+++ b/libc/debian/changelog
@@ -0,0 +1,5 @@
+libc (0.1+13513-20) unstable; urgency=low
+
+ * Initial release.
+
+ -- Igor Pashev <pashev.igor@gmail.com> Wed, 01 Feb 2012 14:03:23 +0400
diff --git a/libc/debian/compat b/libc/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/libc/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/compat_headers/features.h b/libc/debian/compat_headers/features.h
index db119d7..db119d7 100644
--- a/debian/compat_headers/features.h
+++ b/libc/debian/compat_headers/features.h
diff --git a/debian/compat_headers/sys/cdefs.h b/libc/debian/compat_headers/sys/cdefs.h
index 223cd3b..223cd3b 100644
--- a/debian/compat_headers/sys/cdefs.h
+++ b/libc/debian/compat_headers/sys/cdefs.h
diff --git a/libc/debian/control b/libc/debian/control
new file mode 100644
index 0000000..e55021e
--- /dev/null
+++ b/libc/debian/control
@@ -0,0 +1,76 @@
+Source: libc
+Maintainer: Igor Pashev <pashev.igor@gmail.com>
+Build-Depends:
+ debhelper ( >= 8 ),
+Standards-Version: 3.9.2
+Homepage: http://illumos.org/
+
+Package: libc1-dev
+Priority: optional
+Section: libdevel
+# Some stupid packages require libc6-dev (not libc6-dev | libc-dev)
+Provides: libc-dev, libc6-dev
+# link.h includes libelf.h, link.h should be a part of libc,
+# but I want to avoid Illumos' libelf:
+Recommends: libelf-dev
+Architecture: illumos-amd64
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Illumos C Library: development files
+ Contains the symlinks, headers, and object files needed to compile and link
+ programs which use the standard C library.
+ .
+ It is *NOT* GNU libc.
+
+Package: libc1-dev-illumos-i386
+Provides: libc-dev-illumos-i386, libc6-dev-illumos-i386
+Priority: optional
+Section: libdevel
+Architecture: illumos-amd64
+Depends: ${shlibs:Depends}, ${misc:Depends}, libc1-dev (= ${binary:Version})
+Description: Illumos C Library: development files
+ Contains the symlinks, headers, and object files needed to compile and link
+ programs which use the standard C library.
+ .
+ This is the 32bit version of the library, meant for AMD64 systems.
+ .
+ It is *NOT* GNU libc.
+
+
+Package: libc1
+Essential: yes
+Priority: required
+Section: libs
+Architecture: illumos-amd64
+Provides: libthread1, libpthread1, libsocket1, libnsl1, libm2, libm1
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Illumos C Library: Shared libraries
+ Contains the standard libraries that are used by nearly all programs on the
+ system. This package includes shared versions of the standard C library and
+ the standard math library, as well as many others.
+ .
+ It is *NOT* GNU libc.
+
+Package: libc-bin
+Section: libs
+Priority: required
+Architecture: illumos-amd64
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: utility programs related to the C Library
+
+Package: libc-compat
+Priority: extra
+Section: libs
+Architecture: illumos-amd64
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: obsolete libc synonym symbols library
+ This package contains a compatibility library to provide access to
+ obsolete libc synonym symbols.
+ .
+ The synonyms compatibility library, c_synonyms.so.1, provides access
+ mechanism to support old applications and libraries that were mistakenly
+ built using now-obsolete synonym symbols from libc.
+ .
+ The synonyms compatibility library is intended neither to enable the
+ generation of applications that call the obsolete leading-underscore
+ synonym functions, nor to endorse this particular programming practice.
+
diff --git a/debian/ldconfig b/libc/debian/ldconfig
index e11653f..e11653f 100755
--- a/debian/ldconfig
+++ b/libc/debian/ldconfig
diff --git a/debian/libc-bin.install b/libc/debian/libc-bin.install
index 2b46b0e..2b46b0e 100644
--- a/debian/libc-bin.install
+++ b/libc/debian/libc-bin.install
diff --git a/debian/libc-bin.links b/libc/debian/libc-bin.links
index 4453710..4453710 100644
--- a/debian/libc-bin.links
+++ b/libc/debian/libc-bin.links
diff --git a/debian/libc-compat.install b/libc/debian/libc-compat.install
index b286e0d..b286e0d 100644
--- a/debian/libc-compat.install
+++ b/libc/debian/libc-compat.install
diff --git a/debian/libc1-dev-illumos-i386.install b/libc/debian/libc1-dev-illumos-i386.install
index 639d3e3..639d3e3 100644
--- a/debian/libc1-dev-illumos-i386.install
+++ b/libc/debian/libc1-dev-illumos-i386.install
diff --git a/debian/libc1-dev-illumos-i386.links b/libc/debian/libc1-dev-illumos-i386.links
index 01f03d2..01f03d2 100644
--- a/debian/libc1-dev-illumos-i386.links
+++ b/libc/debian/libc1-dev-illumos-i386.links
diff --git a/debian/libc1-dev.install b/libc/debian/libc1-dev.install
index ccc2601..ccc2601 100644
--- a/debian/libc1-dev.install
+++ b/libc/debian/libc1-dev.install
diff --git a/debian/libc1-dev.links b/libc/debian/libc1-dev.links
index 51bb387..51bb387 100644
--- a/debian/libc1-dev.links
+++ b/libc/debian/libc1-dev.links
diff --git a/debian/libc1.dirs b/libc/debian/libc1.dirs
index 76a4cfe..76a4cfe 100644
--- a/debian/libc1.dirs
+++ b/libc/debian/libc1.dirs
diff --git a/debian/libc1.install b/libc/debian/libc1.install
index 5545f03..5545f03 100644
--- a/debian/libc1.install
+++ b/libc/debian/libc1.install
diff --git a/debian/libc1.links b/libc/debian/libc1.links
index daca160..daca160 100644
--- a/debian/libc1.links
+++ b/libc/debian/libc1.links
diff --git a/debian/libc1.postinst b/libc/debian/libc1.postinst
index c19f941..c19f941 100644
--- a/debian/libc1.postinst
+++ b/libc/debian/libc1.postinst
diff --git a/debian/patches/u_int_types.patch b/libc/debian/patches/u_int_types.patch
index 9831fd7..9831fd7 100644
--- a/debian/patches/u_int_types.patch
+++ b/libc/debian/patches/u_int_types.patch
diff --git a/libc/debian/rules b/libc/debian/rules
new file mode 100755
index 0000000..b4672af
--- /dev/null
+++ b/libc/debian/rules
@@ -0,0 +1,48 @@
+#!/usr/bin/make -f
+
+
+%:
+ dh $@
+
+# For a while we use binary "sources"
+override_dh_auto_configure:
+override_dh_auto_build:
+override_dh_auto_test:
+override_dh_auto_install:
+ ln -sf ../../root_i386 debian/tmp
+
+override_dh_auto_clean:
+
+override_dh_strip:
+
+override_dh_installmodules:
+
+override_dh_install:
+ dh_install
+
+# Seed for ld.so
+# Will be copied to /var/ld/ld.config
+# and /var/ld/64/ld/config
+ mkdir -p debian/libc1/usr/lib/ld/64
+ debian/libc-bin/sbin/crle \
+ -c debian/libc1/usr/lib/ld/ld.config \
+ -l /lib/i386-illumos \
+ -l /usr/lib/i386-illumos \
+ -l /usr/lib32
+ debian/libc-bin/sbin/crle \
+ -64 \
+ -c debian/libc1/usr/lib/ld/64/ld.config \
+ -l /lib/x86_64-illumos \
+ -l /usr/lib/x86_64-illumos \
+ -l /usr/lib \
+
+ # Add u_int*_t types:
+ cd debian/libc1-dev && \
+ patch -p1 < ../patches/u_int_types.patch
+
+
+override_dh_fixperms:
+ dh_fixperms
+ # ld.so.1 is an interpreter, so must be executable:
+ chmod +x debian/libc1/lib/*/ld.so*
+