[Buildroot] [PATCH 1/1] boinc: new package

Fabrice Fontaine fontaine.fabrice at gmail.com
Sat Mar 4 16:41:59 UTC 2017


Dear Thomas,

Thanks for your quick review.

2017-03-04 15:48 GMT+01:00 Thomas Petazzoni <
thomas.petazzoni at free-electrons.com>:

> Hello,
>
> On Sat,  4 Mar 2017 15:37:50 +0100, Fabrice Fontaine wrote:
>
> > + lib_LTLIBRARIES = libboinc_api.la
> > + libboinc_api_la_SOURCES = $(api_files)
> > +-libboinc_api_la_LDFLAGS = -L$(libdir) -rpath $(libdir) -version-number
> $(LIBBOINC_VERSION)
> > ++libboinc_api_la_LDFLAGS = -rpath $(libdir) -version-number
> $(LIBBOINC_VERSION)
>
> You should also remove the -rpath $(libdir) variable, because the
> -rpath option also causes the linker to look into $(libdir) during the
> build process:
>
> '-rpath=DIR'
>      Add a directory to the runtime library search path.  This is used
>      when linking an ELF executable with shared objects.  All '-rpath'
>      arguments are concatenated and passed to the runtime linker, which
>      uses them to locate shared objects at runtime.  The '-rpath' option
>      is also used when locating shared objects which are needed by
>      shared objects explicitly included in the link; see the description
>      of the '-rpath-link' option.  If '-rpath' is not used when linking
>      an ELF executable, the contents of the environment variable
>      'LD_RUN_PATH' will be used if it is defined.
>
> OK done

> > +BOINC_VERSION = 26198
> > +BOINC_SITE = $(call github,BOINC,boinc,vboxwrapper/$(BOINC_VERSION))
>
> What is this vboxwrapper/<xyz> version?
>
> All github releases since July 2016 starts with vboxwrapper. I suppose
that's becaue the "standard" way of installing boinc is through virtual
box. vboxwrapper is the name of the boinc package installed inside virtual
box. This package can contain the client, the server, the manager, ...

> > +BOINC_LICENSE = LGPLv3
> > +BOINC_LICENSE_FILES = COPYING COPYING.LESSER
>
> COPYING contains the text of the GPLv3, so are you sure the entire project
> is under LGPLv3 ?
>
I made a quick search and I found only LGPL in source files, moreover
README.md, wikipedia and https://boinc.berkeley.edu also mention only LGPL.
Should I remove COPYING from the list?

>
> > +ifeq ($(BR2_PACKAGE_LIBCURL)$(BR2_PACKAGE_OPENSSL),yy)
> > +BOINC_DEPENDENCIES += \
> > +     libcurl \
> > +     openssl
>
> One line is enough for this assignment.
>
OK done

>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
>

Best Regards,

Fabrice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170304/c5978e95/attachment.html>


More information about the buildroot mailing list