[Pkg-xen-devel] Fwd: [Xen-devel] Xen 4.0 in debian packages? Blktap2 suport

Łukasz Oleś lukaszoles at gmail.com
Fri Jun 4 12:50:11 UTC 2010


---------- Wiadomość przekazana dalej ----------
Od: Stefano Stabellini <stefano.stabellini at eu.citrix.com>
Data: 4 czerwca 2010 14:13
Temat: Re: [Xen-devel] Xen 4.0 in debian packages?
Do: Thomas Goirand <thomas at goirand.fr>
DW: "xen-devel at lists.xensource.com" <xen-devel at lists.xensource.com>


On Thu, 3 Jun 2010, Thomas Goirand wrote:
> Łukasz Oleś wrote:
>
> Hi,
>
> 2010/6/3 Mike Viau <viaum at sheridanc.on.ca>:
>
>
> Also does
> your package address "blktap2" as Pasi pointed out may be missing?
>
>
> Actually blktap2 module is available in kernel. Blktap tools are
> missing due to openssl license issues.
>
>
>
> That is 100% correct, and there's nothing I can do about
> the incompatibility of the OpenSSL and the GPL. By the
> way, this should also be an issue in the upstream Xen
> sources, not only in Debian. I am surprised to see that it
> doesn't seem to be an issue for xensource...
>
> If I remember well, the bad clause is about advertising,
> where the author of OpenSSL ask that their product name
> be written when advertising about the functionalities.
>
> That being said, maybe it would be possible to make a
> package for the blktap2 that would go in non-free. I could
> also do that work if I get some directions on how to do it,
> eg what "upstream" source should I get, and what binary
> should I package. That is, if I get enough time after
> I get approved as a DD before Squeeze is frozen.
>

AFAIK blktap2 can be compiled against libgcrypt, see
tools/blktap2/drivers/Makefile:30

ifeq ($(CONFIG_Linux),y)
ifeq ($(shell . ./check_gcrypt $(CC)),yes)
CFLAGS += -DUSE_GCRYPT
CRYPT_LIB += -lgcrypt
else
CRYPT_LIB += -lcrypto
$(warning === libgcrypt not installed: falling back to libcrypto ===)
endif
else
CRYPT_LIB += -lcrypto
endif

just make sure ifeq ($(shell . ./check_gcrypt $(CC)),yes) succeed on
your system.

In any case ssl is only used to calculate MD5, I'll post another
implementation that doesn't need any library.
_______________________________________________
Xen-devel mailing list
Xen-devel at lists.xensource.com
http://lists.xensource.com/xen-devel




-- 
Łukasz Oleś



More information about the Pkg-xen-devel mailing list