mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/3] host-opensc: add new rule to build opensc on host
@ 2016-08-23  7:24 Steffen Trumtrar
  2016-08-23  7:24 ` [ptxdist] [PATCH 2/3] host-libp11: add new rule to build libp11 " Steffen Trumtrar
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Steffen Trumtrar @ 2016-08-23  7:24 UTC (permalink / raw)
  To: ptxdist; +Cc: Steffen Trumtrar

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
 rules/host-opensc.in   | 15 +++++++++++++++
 rules/host-opensc.make | 25 +++++++++++++++++++++++++
 2 files changed, 40 insertions(+)
 create mode 100644 rules/host-opensc.in
 create mode 100644 rules/host-opensc.make

diff --git a/rules/host-opensc.in b/rules/host-opensc.in
new file mode 100644
index 000000000000..a610490c70b2
--- /dev/null
+++ b/rules/host-opensc.in
@@ -0,0 +1,15 @@
+## SECTION=hosttools_noprompt
+## SECTION=hosttools_platform
+
+config HOST_OPENSC
+	tristate
+	select HOST_PCSC_LITE
+	help
+	  Smart card utilities with support for PKCS#15 compatible cards
+
+	  OpenSC provides a set of libraries and utilities to access
+	  smart cards. It mainly focuses on cards that support
+	  cryptographic operations. It facilitates their use in
+	  security applications such as mail encryption,
+	  authentication, and digital signature. OpenSC implements the
+	  PKCS#11 API.
diff --git a/rules/host-opensc.make b/rules/host-opensc.make
new file mode 100644
index 000000000000..9e0dd2a47bcb
--- /dev/null
+++ b/rules/host-opensc.make
@@ -0,0 +1,25 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2016 by Steffen Trumtrar <entwicklung@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_OPENSC) += host-opensc
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_OPENSC_CONF_TOOL	:= autoconf
+
+# vim: syntax=make
-- 
2.8.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ptxdist] [PATCH 2/3] host-libp11: add new rule to build libp11 on host
  2016-08-23  7:24 [ptxdist] [PATCH 1/3] host-opensc: add new rule to build opensc on host Steffen Trumtrar
@ 2016-08-23  7:24 ` Steffen Trumtrar
  2016-09-02  9:09   ` Michael Olbrich
  2016-08-23  7:24 ` [ptxdist] [PATCH 3/3] host-pcsc-lite: add new rule to build pcsc-lite " Steffen Trumtrar
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 6+ messages in thread
From: Steffen Trumtrar @ 2016-08-23  7:24 UTC (permalink / raw)
  To: ptxdist; +Cc: Steffen Trumtrar

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
 rules/host-libp11.in   | 12 ++++++++++++
 rules/host-libp11.make | 37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 rules/host-libp11.in
 create mode 100644 rules/host-libp11.make

diff --git a/rules/host-libp11.in b/rules/host-libp11.in
new file mode 100644
index 000000000000..c0618805bc42
--- /dev/null
+++ b/rules/host-libp11.in
@@ -0,0 +1,12 @@
+## SECTION=hosttools_noprompt
+## SECTION=hosttools_platform
+
+config HOST_LIBP11
+	tristate
+	select HOST_OPENSSL
+	select HOST_OPENSC
+	help
+	  pkcs#11 convenience library
+	  Libp11 is a library to simplify using smart cards via
+	  PKCS#11 modules. It was spun of the OpenSC project but can
+	  be used with any pkcs#11 module.
diff --git a/rules/host-libp11.make b/rules/host-libp11.make
new file mode 100644
index 000000000000..5628f3a783a2
--- /dev/null
+++ b/rules/host-libp11.make
@@ -0,0 +1,37 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2016 by Steffen Trumtrar <entwicklung@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_LIBP11) += host-libp11
+
+#
+# Paths and names
+#
+HOST_LIBP11_VERSION	:= 0.4.0
+HOST_LIBP11_MD5		:= 00b3e41db5be840d822bda12f3ab2ca7
+HOST_LIBP11		:= libp11-$(HOST_LIBP11_VERSION)
+HOST_LIBP11_SUFFIX	:= tar.gz
+HOST_LIBP11_URL		:= https://github.com/OpenSC/libp11/releases/download/$(HOST_LIBP11)/$(HOST_LIBP11).$(HOST_LIBP11_SUFFIX)
+HOST_LIBP11_SOURCE	:= $(SRCDIR)/$(HOST_LIBP11).$(HOST_LIBP11_SUFFIX)
+HOST_LIBP11_DIR		:= $(HOST_BUILDDIR)/$(HOST_LIBP11)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_LIBP11_CONF_TOOL	:= autoconf
+HOST_LIBP11_MAKE_PAR	:= NO
+
+# vim: syntax=make
-- 
2.8.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ptxdist] [PATCH 3/3] host-pcsc-lite: add new rule to build pcsc-lite on host
  2016-08-23  7:24 [ptxdist] [PATCH 1/3] host-opensc: add new rule to build opensc on host Steffen Trumtrar
  2016-08-23  7:24 ` [ptxdist] [PATCH 2/3] host-libp11: add new rule to build libp11 " Steffen Trumtrar
@ 2016-08-23  7:24 ` Steffen Trumtrar
  2016-09-02  9:07 ` [ptxdist] [PATCH 1/3] host-opensc: add new rule to build opensc " Michael Olbrich
  2016-09-02  9:11 ` Michael Olbrich
  3 siblings, 0 replies; 6+ messages in thread
From: Steffen Trumtrar @ 2016-08-23  7:24 UTC (permalink / raw)
  To: ptxdist; +Cc: Steffen Trumtrar

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
 rules/host-pcsc-lite.in   | 15 +++++++++++++++
 rules/host-pcsc-lite.make | 29 +++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 100644 rules/host-pcsc-lite.in
 create mode 100644 rules/host-pcsc-lite.make

diff --git a/rules/host-pcsc-lite.in b/rules/host-pcsc-lite.in
new file mode 100644
index 000000000000..e737ab59c359
--- /dev/null
+++ b/rules/host-pcsc-lite.in
@@ -0,0 +1,15 @@
+## SECTION=hosttools_noprompt
+## SECTION=hosttools_platform
+
+config HOST_PCSC_LITE
+	tristate
+	help
+	  Middleware to access a smart card using PC/SC (library)
+
+	  The purpose of PC/SC Lite is to provide a Windows(R) SCard
+	  interface in a very small form factor for communicating to
+	  smartcards and readers.
+
+	  The PC/SC Lite library is used to connect to the PC/SC
+	  daemon from a client application and provide access to the
+	  desired reader.
diff --git a/rules/host-pcsc-lite.make b/rules/host-pcsc-lite.make
new file mode 100644
index 000000000000..e6eee9643b35
--- /dev/null
+++ b/rules/host-pcsc-lite.make
@@ -0,0 +1,29 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2016 by Steffen Trumtrar <s.trumtrar@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_PCSC_LITE) += host-pcsc-lite
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_PCSC_LITE_CONF_TOOL := autoconf
+HOST_PCSC_LITE_CONF_OPT := \
+	$(HOST_AUTOCONF) \
+	--disable-libusb \
+	--disable-libudev
+
+# vim: syntax=make
-- 
2.8.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] [PATCH 1/3] host-opensc: add new rule to build opensc on host
  2016-08-23  7:24 [ptxdist] [PATCH 1/3] host-opensc: add new rule to build opensc on host Steffen Trumtrar
  2016-08-23  7:24 ` [ptxdist] [PATCH 2/3] host-libp11: add new rule to build libp11 " Steffen Trumtrar
  2016-08-23  7:24 ` [ptxdist] [PATCH 3/3] host-pcsc-lite: add new rule to build pcsc-lite " Steffen Trumtrar
@ 2016-09-02  9:07 ` Michael Olbrich
  2016-09-02  9:11 ` Michael Olbrich
  3 siblings, 0 replies; 6+ messages in thread
From: Michael Olbrich @ 2016-09-02  9:07 UTC (permalink / raw)
  To: ptxdist

On Tue, Aug 23, 2016 at 09:24:00AM +0200, Steffen Trumtrar wrote:
> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
> ---
>  rules/host-opensc.in   | 15 +++++++++++++++
>  rules/host-opensc.make | 25 +++++++++++++++++++++++++
>  2 files changed, 40 insertions(+)
>  create mode 100644 rules/host-opensc.in
>  create mode 100644 rules/host-opensc.make
> 
> diff --git a/rules/host-opensc.in b/rules/host-opensc.in
> new file mode 100644
> index 000000000000..a610490c70b2
> --- /dev/null
> +++ b/rules/host-opensc.in
> @@ -0,0 +1,15 @@
> +## SECTION=hosttools_noprompt
> +## SECTION=hosttools_platform
> +
> +config HOST_OPENSC
> +	tristate
> +	select HOST_PCSC_LITE
> +	help
> +	  Smart card utilities with support for PKCS#15 compatible cards
> +
> +	  OpenSC provides a set of libraries and utilities to access
> +	  smart cards. It mainly focuses on cards that support
> +	  cryptographic operations. It facilitates their use in
> +	  security applications such as mail encryption,
> +	  authentication, and digital signature. OpenSC implements the
> +	  PKCS#11 API.
> diff --git a/rules/host-opensc.make b/rules/host-opensc.make
> new file mode 100644
> index 000000000000..9e0dd2a47bcb
> --- /dev/null
> +++ b/rules/host-opensc.make
> @@ -0,0 +1,25 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2016 by Steffen Trumtrar <entwicklung@pengutronix.de>
> +#
> +# See CREDITS for details about who has contributed to this project.
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +HOST_PACKAGES-$(PTXCONF_HOST_OPENSC) += host-opensc
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +#
> +# autoconf
> +#
> +HOST_OPENSC_CONF_TOOL	:= autoconf

The target package sets a lot of configure options. Do the same here.

Michael

> +
> +# vim: syntax=make
> -- 
> 2.8.1
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] [PATCH 2/3] host-libp11: add new rule to build libp11 on host
  2016-08-23  7:24 ` [ptxdist] [PATCH 2/3] host-libp11: add new rule to build libp11 " Steffen Trumtrar
@ 2016-09-02  9:09   ` Michael Olbrich
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Olbrich @ 2016-09-02  9:09 UTC (permalink / raw)
  To: ptxdist

On Tue, Aug 23, 2016 at 09:24:01AM +0200, Steffen Trumtrar wrote:
> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
> ---
>  rules/host-libp11.in   | 12 ++++++++++++
>  rules/host-libp11.make | 37 +++++++++++++++++++++++++++++++++++++
>  2 files changed, 49 insertions(+)
>  create mode 100644 rules/host-libp11.in
>  create mode 100644 rules/host-libp11.make
> 
> diff --git a/rules/host-libp11.in b/rules/host-libp11.in
> new file mode 100644
> index 000000000000..c0618805bc42
> --- /dev/null
> +++ b/rules/host-libp11.in
> @@ -0,0 +1,12 @@
> +## SECTION=hosttools_noprompt
> +## SECTION=hosttools_platform
> +
> +config HOST_LIBP11
> +	tristate
> +	select HOST_OPENSSL
> +	select HOST_OPENSC
> +	help
> +	  pkcs#11 convenience library
> +	  Libp11 is a library to simplify using smart cards via
> +	  PKCS#11 modules. It was spun of the OpenSC project but can
> +	  be used with any pkcs#11 module.
> diff --git a/rules/host-libp11.make b/rules/host-libp11.make
> new file mode 100644
> index 000000000000..5628f3a783a2
> --- /dev/null
> +++ b/rules/host-libp11.make
> @@ -0,0 +1,37 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2016 by Steffen Trumtrar <entwicklung@pengutronix.de>
> +#
> +# See CREDITS for details about who has contributed to this project.
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +HOST_PACKAGES-$(PTXCONF_HOST_LIBP11) += host-libp11
> +
> +#
> +# Paths and names
> +#
> +HOST_LIBP11_VERSION	:= 0.4.0
> +HOST_LIBP11_MD5		:= 00b3e41db5be840d822bda12f3ab2ca7
> +HOST_LIBP11		:= libp11-$(HOST_LIBP11_VERSION)
> +HOST_LIBP11_SUFFIX	:= tar.gz
> +HOST_LIBP11_URL		:= https://github.com/OpenSC/libp11/releases/download/$(HOST_LIBP11)/$(HOST_LIBP11).$(HOST_LIBP11_SUFFIX)
> +HOST_LIBP11_SOURCE	:= $(SRCDIR)/$(HOST_LIBP11).$(HOST_LIBP11_SUFFIX)
> +HOST_LIBP11_DIR		:= $(HOST_BUILDDIR)/$(HOST_LIBP11)
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +#
> +# autoconf
> +#
> +HOST_LIBP11_CONF_TOOL	:= autoconf

No configure options?

> +HOST_LIBP11_MAKE_PAR	:= NO

Please add a comment why this is necessary to the commit message.

Michael

> +
> +# vim: syntax=make
> -- 
> 2.8.1
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] [PATCH 1/3] host-opensc: add new rule to build opensc on host
  2016-08-23  7:24 [ptxdist] [PATCH 1/3] host-opensc: add new rule to build opensc on host Steffen Trumtrar
                   ` (2 preceding siblings ...)
  2016-09-02  9:07 ` [ptxdist] [PATCH 1/3] host-opensc: add new rule to build opensc " Michael Olbrich
@ 2016-09-02  9:11 ` Michael Olbrich
  3 siblings, 0 replies; 6+ messages in thread
From: Michael Olbrich @ 2016-09-02  9:11 UTC (permalink / raw)
  To: ptxdist

On Tue, Aug 23, 2016 at 09:24:00AM +0200, Steffen Trumtrar wrote:
> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
> ---
>  rules/host-opensc.in   | 15 +++++++++++++++
>  rules/host-opensc.make | 25 +++++++++++++++++++++++++
>  2 files changed, 40 insertions(+)
>  create mode 100644 rules/host-opensc.in
>  create mode 100644 rules/host-opensc.make
> 
> diff --git a/rules/host-opensc.in b/rules/host-opensc.in
> new file mode 100644
> index 000000000000..a610490c70b2
> --- /dev/null
> +++ b/rules/host-opensc.in
> @@ -0,0 +1,15 @@
> +## SECTION=hosttools_noprompt
> +## SECTION=hosttools_platform
> +
> +config HOST_OPENSC
> +	tristate
> +	select HOST_PCSC_LITE

And order the patches correctly to make sure all dependencies are available
during a git-bisect.

> +	help
> +	  Smart card utilities with support for PKCS#15 compatible cards
> +
> +	  OpenSC provides a set of libraries and utilities to access
> +	  smart cards. It mainly focuses on cards that support
> +	  cryptographic operations. It facilitates their use in
> +	  security applications such as mail encryption,
> +	  authentication, and digital signature. OpenSC implements the
> +	  PKCS#11 API.
> diff --git a/rules/host-opensc.make b/rules/host-opensc.make
> new file mode 100644
> index 000000000000..9e0dd2a47bcb
> --- /dev/null
> +++ b/rules/host-opensc.make
> @@ -0,0 +1,25 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2016 by Steffen Trumtrar <entwicklung@pengutronix.de>
> +#
> +# See CREDITS for details about who has contributed to this project.
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +HOST_PACKAGES-$(PTXCONF_HOST_OPENSC) += host-opensc
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +#
> +# autoconf
> +#
> +HOST_OPENSC_CONF_TOOL	:= autoconf
> +
> +# vim: syntax=make
> -- 
> 2.8.1
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-09-02  9:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-23  7:24 [ptxdist] [PATCH 1/3] host-opensc: add new rule to build opensc on host Steffen Trumtrar
2016-08-23  7:24 ` [ptxdist] [PATCH 2/3] host-libp11: add new rule to build libp11 " Steffen Trumtrar
2016-09-02  9:09   ` Michael Olbrich
2016-08-23  7:24 ` [ptxdist] [PATCH 3/3] host-pcsc-lite: add new rule to build pcsc-lite " Steffen Trumtrar
2016-09-02  9:07 ` [ptxdist] [PATCH 1/3] host-opensc: add new rule to build opensc " Michael Olbrich
2016-09-02  9:11 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox