Depends on what the timeframe is. The CBE for Userland is N-2. So
ideally you should deliver the packages that have the updated libraries
first and then deliver the dependencies two builds later. Of course this
might not be possible if this means that those same packages stop
delivering the old versions, since that would mean that the dependency
would be broken for two builds. In that case you need to make
arrangements to get the CBE changed early. This was just done for the
Highlander project, for instance.
On the other hand, all three packages deliver from the same distro,
right? I would think that most autoconf based distros can be built
without installing first, right? So, you might just need to deliver all
three packages simultaneously.
On 6/8/2012 10:09 AM, Petr Sumbera wrote:
Hi,
I'm playing with new Wireshark (1.8.0rc1) and I have problem.
We packages Wireshark in three separate packages:
- wireshark
- tshark
- wireshark-common (the one with shared libraries).
Current Wireshark version we have now in Solaris delivers libraries
with link "*.so.1". This is what we have now on build systems/repo.
New Wireshark 1.8 delivers and links "*.so.2" instead".
So wireshark and tshark packages are complaining that they are missing
dependency on package with "*.so.2" links. This I believe is because
we are looking only on dependencies in latest Solaris build.
I have following workaround for it:
--- old/components/wireshark/tshark.p5m Fri Jun 8 06:07:52 2012
+++ new/components/wireshark/tshark.p5m Fri Jun 8 06:07:52 2012
@@ -40,7 +40,17 @@
dir path=usr/share/man
dir path=usr/share/man/man1
file exec_attr.tshark
path=etc/security/exec_attr.d/diagnostic:wireshark:tshark
-file path=usr/sbin/tshark
+# Seems like dependencies are generated against packages on system
and not
+# against newly created ones. It means we cannot make it
automatically as *.so.2
+# are not on build system yet.
+file path=usr/sbin/tshark \
+ pkg.depend.bypass-generate=libwireshark.so.2 \
+ pkg.depend.bypass-generate=libwiretap.so.2 \
+ pkg.depend.bypass-generate=libwsutil.so.2
+# Therefore we need to temporary depend on dumpcap from wireshark-common
+# package to get dependency on this package.
+depend fmri=__TBD \
+ pkg.debug.depend.file=usr/sbin/dumpcap type=require
file path=usr/share/man/man1/tshark.1
license wireshark.license license=GPLv2
--
Is there any other solution? Or am I missing something?
Thanks,
Petr
_______________________________________________
userland-discuss mailing list
userland-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/userland-discuss
_______________________________________________
userland-discuss mailing list
userland-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/userland-discuss