All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: "José Pekkarinen" <jose.pekkarinen@unikie.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/opensc: add package
Date: Sun, 17 Oct 2021 18:18:00 +0200	[thread overview]
Message-ID: <dc50460f-e7cb-8863-9319-4904742ca2c8@mind.be> (raw)
In-Reply-To: <20211008110345.1901311-1-jose.pekkarinen@unikie.com>

  Hi José,

  Same comments on this patch as what Gilles gave on the softhsm2 one.

On 08/10/2021 13:03, José Pekkarinen wrote:
> The following patch will add a recipe to
> install opensc in final images.
> 
> Signed-off-by: José Pekkarinen <jose.pekkarinen@unikie.com>
> ---
>   package/opensc/Config.in |  7 +++++++
>   package/opensc/opensc.mk | 15 +++++++++++++++

  You need to add it to package/Config.in, you need to add a hash file, and 
preferably also add yourself to DEVELOPERS for this package.

  It's also convenient if you put the two packages together in a series, because 
the DEVELOPERS and package/Config.in are likely to cause conflicts.

>   2 files changed, 22 insertions(+)
>   create mode 100644 package/opensc/Config.in
>   create mode 100644 package/opensc/opensc.mk
> 
> diff --git a/package/opensc/Config.in b/package/opensc/Config.in
> new file mode 100644
> index 0000000000..abd26a9b08
> --- /dev/null
> +++ b/package/opensc/Config.in
> @@ -0,0 +1,7 @@
> +config BR2_PACKAGE_OPENSC
> +	bool "opensc"
> +	depends on BR2_PACKAGE_LIBOPENSSL && BR2_PACKAGE_PCSC_LITE
> +	help
> +		OpenSC provides a set of libraries and utilities to work with smart cards.

  Indentation + wrapping. Please use utils/check-package to verify.

> +
> +		https://github.com/OpenSC/OpenSC.git

  The URL shouldn't have a .git part. That said, a better location is 
https://github.com/OpenSC/OpenSC/wiki


> diff --git a/package/opensc/opensc.mk b/package/opensc/opensc.mk
> new file mode 100644
> index 0000000000..7741dac2a5
> --- /dev/null
> +++ b/package/opensc/opensc.mk
> @@ -0,0 +1,15 @@
> +################################################################################
> +#
> +# opensc
> +#
> +################################################################################
> +
> +OPENSC_VERSION = 0.22.0
> +OPENSC_SITE = $(call github,OpenSC,OpenSC,$(OPENSC_VERSION))

  There's an uploaded tarball at
https://github.com/OpenSC/OpenSC/releases/download/0.22.0/opensc-0.22.0.tar.gz

> +OPENSC_LICENSE = GPL-2

  I haven't checked in detail, but it seems to be LGPL-2.1+

> +OPENSC_LICENSE_FILES = LICENSE

  This file doesn't even exist.

> +OPENSC_DEPENDENCIES = openssl pcsc-lite
> +OPENSC_AUTORECONF = YES

  You need to add a comment why this is needed. It probably isn't with the 
uploaded tarball.

> +OPENSC_INSTALL_TARGET = YES

  This is unnecessary (default). _INSTALL_STAGING, on the other hand, *is* 
necessary.

> +
> +$(eval $(autotools-package))
> 
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2021-10-17 16:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-08 11:03 [Buildroot] [PATCH] package/opensc: add package José Pekkarinen
2021-10-17 16:18 ` Arnout Vandecappelle [this message]
2021-10-20 12:10   ` José Pekkarinen
2021-10-20 12:34     ` Arnout Vandecappelle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dc50460f-e7cb-8863-9319-4904742ca2c8@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@buildroot.org \
    --cc=jose.pekkarinen@unikie.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.