libbrand (4.3) unstable; urgency=medium
* New upstream snapshot * Updated debian/libbrand1.symbols * Rebuilt with gnu ld to correctly link to libxml2 (libbrand-use-gnuld.patch) * Use native version scheme (for new dpkg-source) * Strip binaries * Added libbrand1-dbg
This commit is contained in:
parent
c6205ad3ea
commit
29148b944e
|
@ -1,3 +1,15 @@
|
|||
libbrand (4.3) unstable; urgency=medium
|
||||
|
||||
* New upstream snapshot
|
||||
* Updated debian/libbrand1.symbols
|
||||
* Rebuilt with gnu ld to correctly link to libxml2
|
||||
(libbrand-use-gnuld.patch)
|
||||
* Use native version scheme (for new dpkg-source)
|
||||
* Strip binaries
|
||||
* Added libbrand1-dbg
|
||||
|
||||
-- Igor Pashev <pashev.igor@gmail.com> Sat, 05 Apr 2014 19:43:15 +0400
|
||||
|
||||
libbrand (2.10-1) unstable; urgency=low
|
||||
|
||||
* Initial release.
|
||||
|
|
|
@ -5,7 +5,7 @@ Maintainer: Igor Pashev <pashev.igor@gmail.com>
|
|||
Build-Depends:
|
||||
dh-illumos,
|
||||
gcc-multilib,
|
||||
illumos-source-2.10,
|
||||
illumos-source-4.3,
|
||||
libxml2-dev, lib32xml2-dev,
|
||||
quilt,
|
||||
symlinks,
|
||||
|
@ -15,7 +15,6 @@ Homepage: https://www.illumos.org
|
|||
|
||||
Package: libbrand-data
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}
|
||||
Description: shared files for the libbrand library
|
||||
|
@ -31,11 +30,10 @@ Description: shared files for the libbrand library
|
|||
|
||||
Package: libbrand1
|
||||
Section: libs
|
||||
Priority: standard
|
||||
Multi-Arch: same
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Architecture: illumos-any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libbrand-data
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libbrand-data (>= 4.3)
|
||||
Description: branded zones configuration library
|
||||
This package contains libbrand shared library.
|
||||
.
|
||||
|
@ -46,9 +44,16 @@ Description: branded zones configuration library
|
|||
Configuration files for each zone are placed in the
|
||||
/usr/share/brandz/<zone name>/ directory.
|
||||
|
||||
Package: libbrand1-dbg
|
||||
Section: libs
|
||||
Multi-Arch: same
|
||||
Architecture: illumos-any
|
||||
Depends: libbrand1 (= ${binary:Version})
|
||||
Description: branded zones configuration library: debug info
|
||||
This package contains detached debug info for libbrand shared library.
|
||||
|
||||
Package: libbrand1-dev
|
||||
Section: libdevel
|
||||
Priority: optional
|
||||
Architecture: illumos-any
|
||||
Provides: libbrand-dev
|
||||
Depends: libbrand1 (= ${binary:Version}), ${misc:Depends}, libc1-dev
|
||||
|
@ -62,7 +67,6 @@ Description: branded zones configuration library (development files)
|
|||
|
||||
Package: lib32brand1
|
||||
Section: libs
|
||||
Priority: standard
|
||||
Architecture: illumos-amd64
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libbrand-data
|
||||
Description: branded zones configuration library (32 bit)
|
||||
|
@ -76,7 +80,6 @@ Description: branded zones configuration library (32 bit)
|
|||
|
||||
Package: lib32brand1-dev
|
||||
Section: libdevel
|
||||
Priority: optional
|
||||
Architecture: illumos-amd64
|
||||
Provides: lib32brand-dev
|
||||
Depends: lib32brand1 (= ${binary:Version}), libbrand1-dev (= ${binary:Version}),
|
||||
|
|
|
@ -25,6 +25,7 @@ libbrand.so.1 libbrand1 #MINVER#
|
|||
brand_get_prestatechange@SUNWprivate 2.10-1
|
||||
brand_get_preuninstall@SUNWprivate 2.10-1
|
||||
brand_get_query@SUNWprivate 2.10-1
|
||||
brand_get_shutdown@SUNWprivate 4.3
|
||||
brand_get_sysboot@SUNWprivate 2.10-1
|
||||
brand_get_uninstall@SUNWprivate 2.10-1
|
||||
brand_get_user_cmd@SUNWprivate 2.10-1
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
Index: libbrand/usr/src/lib/Makefile.lib
|
||||
===================================================================
|
||||
--- libbrand.orig/usr/src/lib/Makefile.lib 2014-04-05 19:36:58.202174075 +0400
|
||||
+++ libbrand/usr/src/lib/Makefile.lib 2014-04-05 19:38:19.807440560 +0400
|
||||
@@ -136,8 +136,8 @@
|
||||
|
||||
|
||||
HSONAME= -h$(SONAME)
|
||||
-DYNFLAGS= $(HSONAME) $(ZTEXT) $(ZDEFS) $(BDIRECT) \
|
||||
- $(MAPFILES:%=-M%) $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%)
|
||||
+DYNFLAGS= $(HSONAME) $(ZTEXT) $(ZDEFS) \
|
||||
+ $(MAPFILES:%=-Wl,--version-script=%)
|
||||
|
||||
LDLIBS= $(LDLIBS.lib)
|
||||
|
||||
Index: libbrand/usr/src/lib/libbrand/common/mapfile-vers
|
||||
===================================================================
|
||||
--- libbrand.orig/usr/src/lib/libbrand/common/mapfile-vers 2014-03-01 16:18:11.000000000 +0400
|
||||
+++ libbrand/usr/src/lib/libbrand/common/mapfile-vers 2014-04-05 19:38:42.641032780 +0400
|
||||
@@ -37,9 +37,8 @@
|
||||
# MAPFILE HEADER END
|
||||
#
|
||||
|
||||
-$mapfile_version 2
|
||||
|
||||
-SYMBOL_VERSION SUNWprivate {
|
||||
+SUNWprivate {
|
||||
global:
|
||||
brand_allow_exclusive_ip;
|
||||
brand_close;
|
|
@ -1,2 +1,3 @@
|
|||
libbrand-dtd-location.patch
|
||||
libbrand-zoneconfig.patch
|
||||
libbrand-use-gnuld.patch
|
||||
|
|
|
@ -20,6 +20,7 @@ unpack-stamp:
|
|||
|
||||
# Not used and buggy:
|
||||
echo > usr/src/Makefile.msg.targ
|
||||
sed -e '/LD_ALTEXEC/d' -i usr/env.sh
|
||||
touch $@
|
||||
|
||||
patch: patch-stamp
|
||||
|
@ -78,6 +79,7 @@ binary-stamp: build-stamp
|
|||
dh_installexamples
|
||||
dh_installchangelogs
|
||||
dh_link
|
||||
dh_strip --dbg-package=libbrand1-dbg
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_makeshlibs -- -c4
|
||||
|
@ -91,6 +93,6 @@ binary-stamp: build-stamp
|
|||
clean: unpatch
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -rf usr .pc
|
||||
dh_clean
|
||||
rm -rf usr
|
||||
|
||||
|
|
Loading…
Reference in New Issue