[haiku-bugs] Re: [Haiku] #7286: webpositive has broken https

  • From: "mmadia" <trac@xxxxxxxxxxxx>
  • Date: Mon, 28 Feb 2011 10:50:38 -0000

#7286: webpositive has broken https
----------------------------------------+----------------------------
   Reporter:  mmadia                    |      Owner:  scottmc
       Type:  bug                       |     Status:  reopened
   Priority:  blocker                   |  Milestone:  R1/alpha3
  Component:  Applications/WebPositive  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  1                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by mmadia):

 '''This patch doesn't set the correct flags in
 InstallOptionalHaikuImage.'''

 Here is the rule from ImageRules, with different whitespace formatting for
 clarity

 {{{
 rule InstallOptionalHaikuImagePackage
         package
         : url
         : dirTokens
         : isCDPackage
         : isGCCAgnostic
 }}}

 To clarify, {{{ isCDPackage }}} affect's the ISO (not anyboot) targets.
 The flag will instruct the build system to store the optionalpackage as
 it's original zip in {{{ _packages_/ }}}.
 Installer will then automatically extract that zip (CAUTION: i'm not sure
 if Installer is capable of automatically extracting other archive
 formats). This flag exists, to make booting the ISO faster, at the expense
 of a more limited LiveCD experience.  IIRC, WebPositive and it's
 dependencies should not set this flag.

 {{{ isGCCAgnostic }}} shall be used on optionalpackages containing shared
 libraries, when there is only one archive, which can be used on either
 gcc2 or gcc4. (eg, cURL, SSL, and more than likely many others)  The {{{
 isGCCAgnostic }}} flag will instruct the build system to create symlinks
 in the respective gcc-sub-directory (eg, lib/gcc4 or lib/gcc2 depending on
 the host system).

 Building and mounting @alpha-cd will confirm that many packages are stored
 in _packages_/.

 Below is my original script for checking whether or not a library can
 utilize isGCCAgnostic. It's been a while since I looked at it. The most
 significant line of code is {{{ nm $lib | grep "\w _Z" }}}.

 {{{
 #!/bin/bash

 cd common/lib
 ls -1
 objdump -x *.so* | grep NEEDED | sort -u
 for lib in *.so*; do
         echo $lib
         #objdump -x $lib | grep NEEDED
         nm $lib | grep "\w _Z"
 done
 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7286#comment:12>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: