Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package: aespipe: add host variant
Date: Mon, 1 Feb 2016 19:41:24 +0100	[thread overview]
Message-ID: <56AFA6D4.3060109@mind.be> (raw)
In-Reply-To: <1454341047-14412-1-git-send-email-ariel@vanguardiasur.com.ar>

On 01-02-16 16:37, Ariel D'Alessandro wrote:
> Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>

 Your commit message should explain why this is needed. Something like:

Post-image scripts may want to encrypt the resulting image with aespipe
(and decrypt it in the update tool on the target), so it is useful to have
the host version and to be able to select it in the configuration.

> ---
>  package/Config.in.host         |  1 +
>  package/aespipe/Config.in.host | 10 ++++++++++
>  package/aespipe/aespipe.mk     |  1 +
>  3 files changed, 12 insertions(+)
>  create mode 100644 package/aespipe/Config.in.host
> 
> diff --git a/package/Config.in.host b/package/Config.in.host
> index 8e6b870..1c691a3 100644
> --- a/package/Config.in.host
> +++ b/package/Config.in.host
> @@ -1,5 +1,6 @@
>  menu "Host utilities"
>  
> +	source "package/aespipe/Config.in.host"
>  	source "package/checkpolicy/Config.in.host"
>  	source "package/cramfs/Config.in.host"
>  	source "package/dfu-util/Config.in.host"
> diff --git a/package/aespipe/Config.in.host b/package/aespipe/Config.in.host
> new file mode 100644
> index 0000000..29f6232
> --- /dev/null
> +++ b/package/aespipe/Config.in.host
> @@ -0,0 +1,10 @@
> +config BR2_PACKAGE_HOST_AESPIPE
> +	bool "host aespipe"
> +	depends on BR2_USE_MMU # fork()

 This shouldn't be there. If the target doesn't have a MMU, you can still build
it for the host.

 Otherwise looks good to me.

 Regards,
 Arnout

> +	help
> +	  aespipe program is AES encrypting or decrypting pipe. It reads from
> +	  standard input and writes to standard output. It can be used to
> +	  create and restore encrypted tar or cpio archives. It can be used to
> +	  encrypt and decrypt loop-AES compatible encrypted disk images.
> +
> +	  http://koti.tnnet.fi/jari.ruusu/linux/
> diff --git a/package/aespipe/aespipe.mk b/package/aespipe/aespipe.mk
> index a220688..c567092 100644
> --- a/package/aespipe/aespipe.mk
> +++ b/package/aespipe/aespipe.mk
> @@ -10,3 +10,4 @@ AESPIPE_SITE = http://loop-aes.sourceforge.net/aespipe
>  AESPIPE_LICENSE = GPL
>  
>  $(eval $(autotools-package))
> +$(eval $(host-autotools-package))
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

  reply	other threads:[~2016-02-01 18:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-01 15:37 [Buildroot] [PATCH] package: aespipe: add host variant Ariel D'Alessandro
2016-02-01 18:41 ` Arnout Vandecappelle [this message]
2016-02-02 21:36   ` Ariel D'Alessandro
2016-02-01 19:02 ` Thomas Petazzoni
2016-02-02 21:43   ` Ariel D'Alessandro
2016-02-03  8:31     ` Thomas Petazzoni

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=56AFA6D4.3060109@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox