[Bug 453855] Review Request: globus-openssl-module - Globus Toolkit - Globus OpenSSL Module Wrapper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=453855





--- Comment #8 from Mattias Ellert <mattias.ellert@xxxxxxxxxxxx>  2009-04-24 17:03:53 EDT ---
The BuildRequires on globus-openssl-devel makes sense since there are direct
dependencies on openssl in the sources (globus-openssl is the GPT glue package
for openssl):

#include "openssl/crypto.h"
#include "openssl/err.h"
#include "openssl/ssl.h"

The requires in the devel package must not only satisfy the include
dependencies in the installed headers but also the link dependencies. These can
either be derived using GPT:

[ellert@ellert ~]$ globus-makefile-header globus_openssl_module
-flavor=gcc32pthr | grep GLOBUS_PKG_LIBS
GLOBUS_PKG_LIBS = -lglobus_openssl -lglobus_openssl_error -lglobus_proxy_ssl
-lglobus_common -ldl -L/usr/kerberos/lib -lssl -lcrypto -ldl -lz -lltdl

or using pkg-config:

[ellert@ellert ~]$ pkg-config --libs globus-openssl-module
-L/usr/kerberos/lib -lglobus_openssl -lglobus_proxy_ssl -lglobus_openssl_error
-lglobus_common -lltdl -lssl -lcrypto -ldl -lz  

The pkg-config file is generated from the GPT metadata, so the list should be
the same (though the order might differ).

The Requires and BuildRequires in the spec file are automatically derived from
the GPT source package description file pkgdata/pkg_data_src.gpt.in. This
information is also used during the build to generate the GPT package installed
GPT metadata file for the development package, which is the input for the
generation of the pkg-config file. So the Requires in the devel package and
what ends up as dependencies in the pkg-config file should be consistent.

The "magic globus thingy" is really only parsing and putting together the
relevant part of the GPT source package description file which is XML. The perl
script used is currently linked from the Packaging Draft page. It has been
suggested to make the script part of globus-core (see the discussion page for
the Packaging Draft).

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]